gloomberb 0.20.4 → 0.20.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (316) hide show
  1. package/README.md +3 -1
  2. package/README.zh-CN.md +1 -1
  3. package/bin/gloom +9 -0
  4. package/bin/without-bun.cjs +98 -0
  5. package/package.json +4 -1
  6. package/src/api-client/data.ts +148 -37
  7. package/src/api-client/hk-tenders.ts +59 -0
  8. package/src/api-client/index.ts +1 -0
  9. package/src/api-client/types/econ.ts +30 -0
  10. package/src/api-client/yield-curves.ts +1 -1
  11. package/src/app/global-shortcuts.ts +4 -1
  12. package/src/app/keybindings/actions.ts +6 -0
  13. package/src/app/keybindings/config.ts +2 -1
  14. package/src/app/keybindings/index.ts +1 -0
  15. package/src/app/keybindings/labels.ts +6 -1
  16. package/src/app/keybindings/resolve.ts +23 -4
  17. package/src/app/keybindings/terminal-keys.ts +35 -0
  18. package/src/app/pane-runtime/index.tsx +2 -2
  19. package/src/app/pane-runtime/ticker-open-runtime.ts +68 -40
  20. package/src/app.tsx +18 -13
  21. package/src/architecture/floating-promise-allowlist.json +313 -0
  22. package/src/architecture/ui-literals-allowlist.json +1 -1
  23. package/src/capabilities/chart-series.ts +27 -1
  24. package/src/cli/commands/keybindings.ts +5 -5
  25. package/src/cli/commands/market.ts +238 -57
  26. package/src/cli/commands/news-search.ts +81 -14
  27. package/src/cli/commands/overview.ts +27 -6
  28. package/src/cli/commands/remote.ts +16 -17
  29. package/src/cli/commands/system.ts +1 -1
  30. package/src/cli/commands/ticker.ts +3 -1
  31. package/src/cli/early-command.ts +2 -0
  32. package/src/cli/errors.ts +10 -1
  33. package/src/cli/fx-forward.ts +89 -7
  34. package/src/cli/fx-pair.ts +1 -1
  35. package/src/cli/fx-quote-rate.ts +23 -0
  36. package/src/cli/glossary.ts +19 -5
  37. package/src/cli/help.ts +1 -0
  38. package/src/cli/history-rows.ts +5 -3
  39. package/src/cli/index-roots.ts +5 -4
  40. package/src/cli/index.ts +40 -3
  41. package/src/cli/known-gaps.ts +38 -9
  42. package/src/cli/listing-arg.ts +17 -5
  43. package/src/cli/name-entries.ts +5 -1
  44. package/src/cli/not-a-ticker.ts +4 -0
  45. package/src/cli/options.ts +52 -3
  46. package/src/cli/output-file.ts +5 -3
  47. package/src/cli/pane-functions/catalog.ts +15 -0
  48. package/src/cli/pane-functions/function-help.ts +4 -4
  49. package/src/cli/pane-functions/headless.ts +9 -4
  50. package/src/cli/pane-functions/index.ts +6 -4
  51. package/src/cli/pane-functions/resolver.ts +2 -2
  52. package/src/cli/result.ts +21 -2
  53. package/src/cli/spreadsheet-hint.ts +7 -3
  54. package/src/cli/treasury-yields.ts +5 -3
  55. package/src/components/chart/composite/legend.tsx +40 -2
  56. package/src/components/command-bar/pane-settings.ts +2 -2
  57. package/src/components/command-bar/routes/root/results.ts +6 -2
  58. package/src/components/command-bar/workflow/tickers.ts +2 -2
  59. package/src/components/data-table/view.tsx +9 -2
  60. package/src/components/input-search-bar.tsx +9 -2
  61. package/src/components/layout/pane/header.tsx +2 -0
  62. package/src/components/layout/shell/pane/capture.ts +4 -1
  63. package/src/components/layout/status-bar.tsx +6 -1
  64. package/src/components/onboarding/first-run-workspace.ts +44 -2
  65. package/src/components/onboarding/onboarding-frame.tsx +11 -2
  66. package/src/components/onboarding/onboarding-keyboard.ts +16 -0
  67. package/src/components/onboarding/onboarding-wizard.tsx +8 -8
  68. package/src/components/onboarding/portfolio-step/positions-panel.tsx +62 -1
  69. package/src/components/onboarding/use-onboarding-progress.ts +12 -4
  70. package/src/components/pane-settings-dialog/desktop.tsx +2 -2
  71. package/src/components/pane-settings-dialog/tui.tsx +2 -2
  72. package/src/components/pane-settings-dialog/value.ts +6 -0
  73. package/src/components/pane-settings-dialog.tsx +3 -3
  74. package/src/components/reader/detail-reader.tsx +4 -0
  75. package/src/components/ui/data-table/opentui/index.tsx +11 -4
  76. package/src/components/ui/data-table/opentui/model.ts +8 -6
  77. package/src/components/ui/data-table/types.ts +6 -1
  78. package/src/components/ui/index.ts +1 -1
  79. package/src/components/ui/page-stack-view.tsx +3 -0
  80. package/src/components/ui/pane-link-chip.tsx +269 -54
  81. package/src/components/ui/query-bar.tsx +2 -1
  82. package/src/components/ui/table-layout.ts +38 -1
  83. package/src/components/ui/tabs.tsx +97 -19
  84. package/src/core/state/app/layout-reducer.ts +7 -0
  85. package/src/core/state/app/layout.ts +44 -7
  86. package/src/core/state/app/state.ts +1 -1
  87. package/src/core/state/app/types.ts +22 -2
  88. package/src/docs/snapshot.json +30 -13
  89. package/src/market-data/depositary-pair.ts +5 -3
  90. package/src/market-data/market/change-basis.ts +9 -5
  91. package/src/market-data/market/dated-previous-close.ts +147 -17
  92. package/src/market-data/market/status.ts +17 -1
  93. package/src/market-data/quotes/contributions.ts +2 -0
  94. package/src/market-data/quotes/listing-enterprise-value.ts +50 -0
  95. package/src/plugins/builtin/alerts/metric-data.ts +15 -2
  96. package/src/plugins/builtin/analytics/risk-client.ts +10 -4
  97. package/src/plugins/builtin/analytics/risk-episodes.ts +5 -4
  98. package/src/plugins/builtin/analytics/risk-headless.ts +4 -2
  99. package/src/plugins/builtin/analytics/risk-sectors.ts +91 -0
  100. package/src/plugins/builtin/awards/index.tsx +1 -1
  101. package/src/plugins/builtin/backtest/headless.ts +1 -1
  102. package/src/plugins/builtin/buildout/index.tsx +1 -0
  103. package/src/plugins/builtin/catalysts/index.tsx +2 -2
  104. package/src/plugins/builtin/cds/headless.ts +4 -0
  105. package/src/plugins/builtin/cds/model.ts +0 -6
  106. package/src/plugins/builtin/chart-composer/formula.ts +16 -3
  107. package/src/plugins/builtin/chart-composer/headless-schema.ts +2 -0
  108. package/src/plugins/builtin/chart-composer/headless.ts +4 -2
  109. package/src/plugins/builtin/chart-composer/index.tsx +1 -0
  110. package/src/plugins/builtin/chart-composer/presets.ts +1 -0
  111. package/src/plugins/builtin/chat/content/composer.tsx +5 -4
  112. package/src/plugins/builtin/chat/content/index.tsx +12 -2
  113. package/src/plugins/builtin/chat/content/layout-metrics.ts +3 -3
  114. package/src/plugins/builtin/chat/content/open-targets.ts +3 -3
  115. package/src/plugins/builtin/chat/layout.ts +5 -2
  116. package/src/plugins/builtin/chat/message/pane-chip.tsx +61 -40
  117. package/src/plugins/builtin/chat/message/terminal.tsx +13 -15
  118. package/src/plugins/builtin/chat/pane-links/previews.ts +51 -5
  119. package/src/plugins/builtin/chat/pane-links/share-card.ts +36 -0
  120. package/src/plugins/builtin/cloud/askg/pane.tsx +55 -13
  121. package/src/plugins/builtin/cloud/askg/tool-display.ts +1 -0
  122. package/src/plugins/builtin/cloud/terminal-relay/redact.ts +5 -3
  123. package/src/plugins/builtin/commodity-balances/index.tsx +1 -0
  124. package/src/plugins/builtin/company-attention/index.tsx +1 -1
  125. package/src/plugins/builtin/company-kpis/headless.ts +3 -1
  126. package/src/plugins/builtin/company-kpis/index.tsx +2 -2
  127. package/src/plugins/builtin/cot/index.tsx +1 -1
  128. package/src/plugins/builtin/cpi/index.tsx +1 -1
  129. package/src/plugins/builtin/credit-boards/cdx-pane.tsx +20 -7
  130. package/src/plugins/builtin/credit-boards/client.ts +8 -0
  131. package/src/plugins/builtin/credit-boards/headless.ts +4 -1
  132. package/src/plugins/builtin/credit-boards/model.ts +58 -4
  133. package/src/plugins/builtin/credit-boards/series.ts +63 -6
  134. package/src/plugins/builtin/credit-boards/sovr-pane.tsx +3 -2
  135. package/src/plugins/builtin/credit-conditions/headless.ts +24 -6
  136. package/src/plugins/builtin/credit-conditions/index.tsx +1 -1
  137. package/src/plugins/builtin/credit-conditions/model.ts +12 -6
  138. package/src/plugins/builtin/credit-conditions/series.ts +2 -1
  139. package/src/plugins/builtin/crypto-board/index.tsx +1 -0
  140. package/src/plugins/builtin/dividend-yield/index.tsx +1 -0
  141. package/src/plugins/builtin/doe/index.tsx +1 -1
  142. package/src/plugins/builtin/earnings-calls/headless.ts +5 -1
  143. package/src/plugins/builtin/earnings-calls/index.tsx +1 -0
  144. package/src/plugins/builtin/econ/calendar-model.ts +115 -8
  145. package/src/plugins/builtin/econ/calendar-source.ts +7 -1
  146. package/src/plugins/builtin/econ/fred-catalog.ts +3 -1
  147. package/src/plugins/builtin/econ/index.tsx +42 -8
  148. package/src/plugins/builtin/econ/types.ts +3 -0
  149. package/src/plugins/builtin/econ-statistics/index.tsx +1 -0
  150. package/src/plugins/builtin/econ-statistics/pane.tsx +6 -0
  151. package/src/plugins/builtin/estimate-revisions/index.tsx +1 -0
  152. package/src/plugins/builtin/executives/index.tsx +1 -0
  153. package/src/plugins/builtin/filing-events/index.tsx +1 -0
  154. package/src/plugins/builtin/fixed-income/index.tsx +3 -0
  155. package/src/plugins/builtin/futures-curve/headless.ts +3 -3
  156. package/src/plugins/builtin/futures-curve/index.tsx +1 -1
  157. package/src/plugins/builtin/futures-curve/model.ts +18 -0
  158. package/src/plugins/builtin/fx-matrix/index.tsx +44 -14
  159. package/src/plugins/builtin/gpu/index.tsx +1 -1
  160. package/src/plugins/builtin/help/functions-table.tsx +1 -1
  161. package/src/plugins/builtin/help/index.tsx +11 -1
  162. package/src/plugins/builtin/help/keybindings-editor.tsx +7 -3
  163. package/src/plugins/builtin/holders/index.tsx +1 -0
  164. package/src/plugins/builtin/holders/report-header.ts +2 -2
  165. package/src/plugins/builtin/insider/index.tsx +1 -0
  166. package/src/plugins/builtin/iv-history/index.tsx +1 -1
  167. package/src/plugins/builtin/jobs/index.tsx +1 -0
  168. package/src/plugins/builtin/macro-day/headless.ts +27 -8
  169. package/src/plugins/builtin/macro-day/index.tsx +1 -1
  170. package/src/plugins/builtin/macro-day/model.ts +19 -3
  171. package/src/plugins/builtin/macro-day/pane.tsx +14 -9
  172. package/src/plugins/builtin/macro-day/releases.ts +25 -7
  173. package/src/plugins/builtin/market-valuation/index.tsx +1 -0
  174. package/src/plugins/builtin/market-valuation/pane.tsx +8 -0
  175. package/src/plugins/builtin/members/index.tsx +1 -1
  176. package/src/plugins/builtin/mna/index.tsx +1 -0
  177. package/src/plugins/builtin/news/index.tsx +1 -0
  178. package/src/plugins/builtin/news/wire/index.tsx +5 -1
  179. package/src/plugins/builtin/news/wire/news/detail-view.tsx +4 -0
  180. package/src/plugins/builtin/news/wire/news/list-search.ts +5 -2
  181. package/src/plugins/builtin/options/index.tsx +1 -0
  182. package/src/plugins/builtin/options-positioning/index.tsx +1 -0
  183. package/src/plugins/builtin/pe-band/index.tsx +1 -1
  184. package/src/plugins/builtin/portfolio-list/cli/portfolio-command.ts +25 -0
  185. package/src/plugins/builtin/portfolio-list/cli/render.ts +20 -3
  186. package/src/plugins/builtin/portfolio-list/cli/watchlist-command.ts +5 -1
  187. package/src/plugins/builtin/portfolio-list/headless.ts +15 -6
  188. package/src/plugins/builtin/power/index.tsx +1 -1
  189. package/src/plugins/builtin/realized-vol/index.tsx +1 -1
  190. package/src/plugins/builtin/research/headless-schema.ts +4 -3
  191. package/src/plugins/builtin/research/headless.ts +10 -4
  192. package/src/plugins/builtin/research/index.tsx +4 -0
  193. package/src/plugins/builtin/research/relative-valuation-columns.ts +145 -47
  194. package/src/plugins/builtin/research/relative-valuation-currency.ts +31 -0
  195. package/src/plugins/builtin/research/relative-valuation-headless.ts +25 -8
  196. package/src/plugins/builtin/research/relative-valuation-model.ts +40 -9
  197. package/src/plugins/builtin/research/relative-valuation-pane.tsx +3 -2
  198. package/src/plugins/builtin/research/relative-valuation-peers.ts +2 -2
  199. package/src/plugins/builtin/research-search/index.tsx +1 -0
  200. package/src/plugins/builtin/research-search/pane.tsx +8 -0
  201. package/src/plugins/builtin/revenue-breakdown/index.tsx +1 -0
  202. package/src/plugins/builtin/reverse-dcf/index.tsx +1 -1
  203. package/src/plugins/builtin/risk-factors/index.tsx +1 -0
  204. package/src/plugins/builtin/scanner/headless.ts +52 -13
  205. package/src/plugins/builtin/seasonality/index.tsx +1 -1
  206. package/src/plugins/builtin/sec/index.tsx +1 -0
  207. package/src/plugins/builtin/series-inventory.ts +1 -1
  208. package/src/plugins/builtin/shared/scanner-capture.ts +11 -3
  209. package/src/plugins/builtin/shared/series-list-detail.tsx +5 -0
  210. package/src/plugins/builtin/short-interest/index.tsx +1 -0
  211. package/src/plugins/builtin/social-mentions/index.tsx +1 -1
  212. package/src/plugins/builtin/supply-chain/index.tsx +1 -0
  213. package/src/plugins/builtin/thirteenf/api.ts +47 -4
  214. package/src/plugins/builtin/thirteenf/data.ts +43 -10
  215. package/src/plugins/builtin/thirteenf/headless.ts +55 -11
  216. package/src/plugins/builtin/thirteenf/model.ts +25 -9
  217. package/src/plugins/builtin/thirteenf/report-notes.ts +27 -6
  218. package/src/plugins/builtin/thirteenf/types.ts +2 -0
  219. package/src/plugins/builtin/ticker-detail/adr-pair/model.ts +1 -1
  220. package/src/plugins/builtin/ticker-detail/data-panes/historical-prices.tsx +8 -7
  221. package/src/plugins/builtin/ticker-detail/data-panes/history-bars.ts +8 -5
  222. package/src/plugins/builtin/ticker-detail/financials/model.ts +18 -2
  223. package/src/plugins/builtin/ticker-detail/financials/ratio-table.tsx +3 -3
  224. package/src/plugins/builtin/ticker-detail/financials/tab.tsx +6 -6
  225. package/src/plugins/builtin/ticker-detail/headless.ts +24 -17
  226. package/src/plugins/builtin/ticker-detail/index.tsx +4 -0
  227. package/src/plugins/builtin/ticker-detail/overview/model.ts +6 -4
  228. package/src/plugins/builtin/ticker-detail/overview-tab.tsx +6 -4
  229. package/src/plugins/builtin/time-sales/client.ts +9 -11
  230. package/src/plugins/builtin/time-sales/index.tsx +1 -1
  231. package/src/plugins/builtin/treasury-auctions/after.ts +267 -0
  232. package/src/plugins/builtin/treasury-auctions/cache.ts +54 -5
  233. package/src/plugins/builtin/treasury-auctions/client.ts +33 -2
  234. package/src/plugins/builtin/treasury-auctions/headless.ts +150 -22
  235. package/src/plugins/builtin/treasury-auctions/hk-headless.ts +126 -0
  236. package/src/plugins/builtin/treasury-auctions/hk-view.tsx +347 -0
  237. package/src/plugins/builtin/treasury-auctions/hk.ts +363 -0
  238. package/src/plugins/builtin/treasury-auctions/index.tsx +27 -4
  239. package/src/plugins/builtin/treasury-auctions/model.ts +264 -28
  240. package/src/plugins/builtin/treasury-auctions/pane.tsx +176 -41
  241. package/src/plugins/builtin/treasury-auctions/treasury-direct.ts +5 -2
  242. package/src/plugins/builtin/treasury-auctions/types.ts +7 -1
  243. package/src/plugins/builtin/vol-surface/index.tsx +1 -1
  244. package/src/plugins/builtin/world-venue-map/index.ts +1 -0
  245. package/src/plugins/builtin/yield-curve/curves.ts +10 -4
  246. package/src/plugins/builtin/yield-curve/headless.ts +6 -2
  247. package/src/plugins/builtin/yield-curve/index.tsx +3 -3
  248. package/src/plugins/builtin/yield-curve/series.ts +10 -0
  249. package/src/plugins/builtin/yield-curve/world.ts +3 -1
  250. package/src/portfolio/collection-name.ts +22 -0
  251. package/src/portfolio/column-values.ts +2 -1
  252. package/src/public/__snapshots__/public-api.test.ts.snap +4 -0
  253. package/src/public/remote.ts +7 -1
  254. package/src/remote/client.ts +191 -11
  255. package/src/remote/controller-utils.ts +13 -1
  256. package/src/remote/controller.ts +88 -26
  257. package/src/remote/endpoint.ts +24 -0
  258. package/src/remote/form.ts +59 -4
  259. package/src/remote/resources.ts +44 -18
  260. package/src/remote/schema.ts +21 -9
  261. package/src/remote/secrets.ts +12 -0
  262. package/src/remote/semantic-tree.tsx +14 -2
  263. package/src/remote/server.ts +2 -1
  264. package/src/remote/surface.tsx +192 -0
  265. package/src/remote/types.ts +5 -0
  266. package/src/renderers/dom/data-table/frozen-column.ts +3 -1
  267. package/src/renderers/dom/data-table/index.tsx +27 -9
  268. package/src/renderers/dom/data-table/row.tsx +2 -0
  269. package/src/renderers/electrobun/bun/desktop/backend.ts +27 -24
  270. package/src/renderers/electrobun/bun/desktop/detached-windows.ts +3 -3
  271. package/src/renderers/electrobun/bun/desktop/snapshot-commit.ts +77 -0
  272. package/src/renderers/electrobun/shared/protocol.ts +4 -0
  273. package/src/renderers/electrobun/view/backend-rpc.ts +3 -0
  274. package/src/renderers/electrobun/view/desktop/window/bridge.ts +3 -0
  275. package/src/renderers/opentui/host.tsx +6 -0
  276. package/src/series/standalone.ts +2 -2
  277. package/src/shares/api.ts +21 -4
  278. package/src/shares/item.ts +73 -0
  279. package/src/shares/pane-item.ts +205 -0
  280. package/src/shares/pane.ts +4 -0
  281. package/src/shares/payload.ts +9 -5
  282. package/src/sources/gloomberb-cloud/news.ts +2 -0
  283. package/src/sources/gloomberb-cloud/normalizers.ts +9 -5
  284. package/src/sources/provider-router/cache.ts +3 -1
  285. package/src/sync/controller.ts +17 -2
  286. package/src/sync/other-window-tabs.ts +32 -1
  287. package/src/sync/react.ts +4 -4
  288. package/src/tickers/renamed-listings.ts +105 -0
  289. package/src/tickers/search/index.ts +103 -16
  290. package/src/time-series/bar-spacing.ts +33 -0
  291. package/src/time-series/base-series.ts +21 -3
  292. package/src/time-series/chart-bounds.ts +31 -0
  293. package/src/time-series/field-catalog.ts +17 -0
  294. package/src/time-series/fundamentals.ts +143 -11
  295. package/src/time-series/ice-credit.ts +32 -6
  296. package/src/time-series/resolve.ts +11 -7
  297. package/src/time-series/session-bar.ts +78 -9
  298. package/src/time-series/studies/formula.ts +53 -10
  299. package/src/time-series/studies/pair.ts +18 -7
  300. package/src/time-series/studies/units.ts +49 -2
  301. package/src/time-series/types.ts +12 -0
  302. package/src/types/desktop-window.ts +2 -0
  303. package/src/types/financials.ts +7 -0
  304. package/src/types/headless.ts +8 -0
  305. package/src/types/plugin-pane-settings.ts +2 -0
  306. package/src/types/plugin-panes.ts +22 -0
  307. package/src/utils/central-banks.ts +86 -1
  308. package/src/utils/cli-output.ts +6 -3
  309. package/src/utils/datetime-format.ts +12 -3
  310. package/src/utils/depositary-receipt.ts +28 -3
  311. package/src/utils/ebitda.ts +128 -0
  312. package/src/utils/format.ts +1 -1
  313. package/src/utils/fundamentals.ts +14 -0
  314. package/src/utils/max-drawdown.ts +97 -16
  315. package/src/utils/shell-word.ts +13 -0
  316. package/src/utils/untrusted-text.ts +29 -0
@@ -0,0 +1,363 @@
1
+ import { apiClient } from "../../../api-client";
2
+ import { ApiRequestError } from "../../../api-client/errors";
3
+ import type { HkTender, HkTendersPayload } from "../../../api-client/hk-tenders";
4
+ import type { DataTableColumn } from "../../../components";
5
+ import { dropColumnsToFit } from "../../../components/ui/table-layout";
6
+ import { createPluginCache, savedCopyForTransientFailure } from "../../../data/plugin-cache";
7
+ import { servedFromSavedCopy } from "../../../data/saved-copies";
8
+ import type { PluginPersistence } from "../../../types/plugin";
9
+ import { formatShortDate } from "../../../utils/datetime-format";
10
+ import { displayWidth, formatCompact } from "../../../utils/format";
11
+ import { compareSortValues, type SortDirection } from "../../../utils/sort-values";
12
+ import { AUCTION_HISTORY_ALL, type AuctionHistoryWindow } from "./client";
13
+ import type { AuctionFilter } from "./model";
14
+
15
+ /**
16
+ * Hong Kong government paper tenders in AUCT: Exchange Fund Bills and Notes
17
+ * and HKSAR institutional Government Bonds, from the Hong Kong Monetary
18
+ * Authority's Open API (its Monthly Statistical Bulletin's tender figures),
19
+ * served by Gloom Cloud (`/cloud/econ/hk-tenders`) and credited "Source: HKMA".
20
+ */
21
+
22
+ export type AuctionMarket = "us" | "hk";
23
+
24
+ export const AUCTION_MARKETS: ReadonlyArray<{ value: AuctionMarket; label: string }> = [
25
+ { value: "us", label: "US" },
26
+ { value: "hk", label: "HK" },
27
+ ];
28
+
29
+ export const isAuctionMarket = (value: unknown): value is AuctionMarket => value === "us" || value === "hk";
30
+
31
+ /** Words that only pick the market: `AUCT HK 10Y` searches Hong Kong's paper for 10Y. */
32
+ const HK_MARKET_WORDS = /\b(hong\s*kong|hk|hkma|hksar)\b/gi;
33
+ /** Paper only Hong Kong issues: it picks the market and stays the search. */
34
+ const HK_PAPER_WORDS = /\b(efbs?|efns?|exchange\s+fund|hkgbs?|hkd|honia|rmb|cnh)\b/i;
35
+
36
+ /**
37
+ * The market a search names, and the search left once the words that only
38
+ * name the market are taken out: `HK 10Y` is Hong Kong's 10-year, `EFB` its
39
+ * bills. Null when it names none, so the market chosen stands.
40
+ */
41
+ export function auctionSearchMarket(query: string): { market: AuctionMarket | null; search: string } {
42
+ const named = HK_MARKET_WORDS.test(query);
43
+ HK_MARKET_WORDS.lastIndex = 0;
44
+ const search = named ? query.replace(HK_MARKET_WORDS, " ").replace(/\s+/g, " ").trim() : query.trim();
45
+ return { market: named || HK_PAPER_WORDS.test(query) ? "hk" : null, search };
46
+ }
47
+
48
+ /** The table's short name for each kind of paper, and the detail's long one. */
49
+ const PAPER_TYPES: Record<HkTender["paper"], { type: string; name: string; filter: Exclude<AuctionFilter, "all"> }> = {
50
+ efb: { type: "EFB", name: "Exchange Fund Bills", filter: "bill" },
51
+ efn: { type: "EFN", name: "Exchange Fund Notes", filter: "note" },
52
+ hkgb: { type: "HKGB", name: "Government Bond", filter: "bond" },
53
+ "hkgb-frn": { type: "FRN", name: "Government floating rate note", filter: "bond" },
54
+ };
55
+
56
+ export const hkTenderType = (tender: HkTender) => PAPER_TYPES[tender.paper]?.type ?? tender.paper.toUpperCase();
57
+ export const hkTenderName = (tender: HkTender) => `${PAPER_TYPES[tender.paper]?.name ?? tender.paper}${tender.currency === "CNH" ? " (RMB)" : ""}`;
58
+ /** A tender's row id: its issue day, paper, currency and issue (an EF tender's tenor, HKMA naming no EF issue). */
59
+ export const hkTenderId = (tender: HkTender) => `${tender.date}|${tender.paper}|${tender.currency}|${tender.issue ?? tender.term}`;
60
+
61
+ /** HKMA's page documenting the dataset a tender came from, which `o` opens. */
62
+ const DATASET_PAGES: ReadonlyArray<[RegExp, string]> = [
63
+ [/^efb-/, "efbn/efbn-tender-results-efb"],
64
+ [/^efn-/, "efbn/efbn-tender-results-efn"],
65
+ [/^ibip-/, "gov-bond/tender-results-gov-bonds-ibip"],
66
+ [/^hkgb-hkd$/, "ibpgsbp/tender-results-gov-bonds-ibpgsbp-hkd"],
67
+ [/^hkgb-rmb$/, "ibpgsbp/tender-results-gov-bonds-ibpgsbp-rmb"],
68
+ ];
69
+ export function hkDatasetPage(tender: HkTender): string | undefined {
70
+ const path = DATASET_PAGES.find(([pattern]) => pattern.test(tender.dataset))?.[1];
71
+ return path ? `https://apidocs.hkma.gov.hk/documentation/market-data-and-statistics/monthly-statistical-bulletin/${path}/` : undefined;
72
+ }
73
+
74
+ const monthName = new Intl.DateTimeFormat("en-US", { month: "short", year: "numeric", timeZone: "UTC" });
75
+ /** "Oct 28, 2026", or "May 2026" for a bond's issue month. */
76
+ export const hkDateText = (date: string) => date.length === 7
77
+ ? Number.isFinite(Date.parse(`${date}-01T00:00:00Z`)) ? monthName.format(new Date(`${date}-01T00:00:00Z`)) : date
78
+ : formatShortDate(date, { utc: true, fallback: date });
79
+
80
+ /** What the search box understands in Hong Kong's tenders. */
81
+ export const HK_SEARCH_FIELDS = "paper (EFB, HKGB), tenor (3M, 10Y), issue, HKD or RMB, or date (YYYY-MM-DD)";
82
+
83
+ const paperWords = (words: readonly string[], papers: readonly HkTender["paper"][]) =>
84
+ words.map((word): [string, ReadonlySet<HkTender["paper"]>] => [word, new Set(papers)]);
85
+ const PAPER_WORDS: ReadonlyMap<string, ReadonlySet<HkTender["paper"]>> = new Map([
86
+ ...paperWords(["bill", "bills", "efb", "efbs"], ["efb"]),
87
+ ...paperWords(["note", "notes", "efn", "efns"], ["efn"]),
88
+ ...paperWords(["bond", "bonds", "hkgb", "hkgbs", "government"], ["hkgb", "hkgb-frn"]),
89
+ ...paperWords(["frn", "frns", "floating", "honia"], ["hkgb-frn"]),
90
+ ]);
91
+ const CURRENCY_WORDS: ReadonlyMap<string, HkTender["currency"]> = new Map([["hkd", "HKD"], ["rmb", "CNH"], ["cnh", "CNH"], ["cny", "CNH"]]);
92
+ const TENOR = /^(\d{1,2}) ?-? ?(y|yr|yrs|years?|m|mo|mos|months?)$/;
93
+
94
+ /** A term's length in months: 3-Month is 3, 10-Year 120. */
95
+ const termMonths = (term: string) => {
96
+ const own = /^(\d+)-(Month|Year)$/.exec(term);
97
+ return own ? Number(own[1]) * (own[2] === "Year" ? 12 : 1) : null;
98
+ };
99
+
100
+ /** "3M" is the 3-Month bill; "1Y" the 12-Month bill as well as a 1-Year note. */
101
+ function matchesTenor(tender: HkTender, word: string): boolean | null {
102
+ const tenor = TENOR.exec(word);
103
+ if (!tenor) return null;
104
+ const count = Number(tenor[1]);
105
+ return termMonths(tender.term) === (tenor[2]![0] === "y" ? count * 12 : count);
106
+ }
107
+
108
+ function matchesWord(tender: HkTender, word: string): boolean {
109
+ const paper = PAPER_WORDS.get(word);
110
+ if (paper) return paper.has(tender.paper);
111
+ if (word === "exchange" || word === "fund") return tender.paper === "efb" || tender.paper === "efn";
112
+ const currency = CURRENCY_WORDS.get(word);
113
+ if (currency) return tender.currency === currency;
114
+ const tenor = matchesTenor(tender, word);
115
+ if (tenor != null) return tenor;
116
+ return tender.date.startsWith(word) || !!tender.issue?.toLowerCase().includes(word) || tender.term.toLowerCase().includes(word);
117
+ }
118
+
119
+ /** Every word of the search names the tender (`10Y RMB`, `EFB 2026-10`); words that only pick the market are left out. */
120
+ function matchesHkSearch(tender: HkTender, query: string): boolean {
121
+ const words = auctionSearchMarket(query).search.toLowerCase().split(/\s+/).filter(Boolean);
122
+ return words.every((word) => matchesWord(tender, word));
123
+ }
124
+
125
+ /** A floating rate note's spread over HONIA, in bp, stands where another's yield does. */
126
+ const spreadBp = (value: number | null) => value == null ? null : Math.round(value * 1000) / 10;
127
+
128
+ /** The average accepted yield, or a floating rate note's spread in bp. */
129
+ export const hkRate = (tender: HkTender) => tender.averageYield ?? spreadBp(tender.spread);
130
+ export const isSpread = (tender: HkTender) => tender.averageYield == null && tender.spread != null;
131
+
132
+ /** `2.827%`, or `20.0bp` for a floating rate note's spread, as a US FRN's reads. */
133
+ export function formatHkRate(tender: HkTender, value: number | null, empty: string): string {
134
+ if (value == null) return empty;
135
+ return isSpread(tender) ? `${value.toFixed(1)}bp` : `${value.toFixed(3)}%`;
136
+ }
137
+
138
+ /** The size: a bond's amount allotted, EF paper's amount offered as worked out from its applications. */
139
+ export const hkSize = (tender: HkTender) => tender.allotted ?? tender.offered;
140
+ /** EF paper's size is worked out, so the table marks it about (≈). */
141
+ export const hkSizeWorkedOut = (tender: HkTender) => tender.allotted == null && tender.offered != null;
142
+
143
+ /** The amount in its currency: HK$66.3B, RMB750M; `≈HK$65.7B` for EF paper's worked-out size. */
144
+ export function formatHkAmount(tender: HkTender, value: number | null, empty = "—", about = false): string {
145
+ if (value == null) return empty;
146
+ return `${about ? "≈" : ""}${tender.currency === "CNH" ? "RMB" : "HK$"}${formatCompact(value)}`;
147
+ }
148
+
149
+ export type HkColumnId = "date" | "type" | "term" | "rate" | "btc" | "size" | "cusip";
150
+
151
+ export interface HkColumn extends DataTableColumn {
152
+ id: HkColumnId;
153
+ }
154
+
155
+ export interface HkSortPreference {
156
+ columnId: HkColumnId;
157
+ direction: SortDirection;
158
+ }
159
+
160
+ export const DEFAULT_HK_SORT: HkSortPreference = { columnId: "date", direction: "desc" };
161
+
162
+ /** The order [ and ] step through the columns. */
163
+ export const HK_SORT_COLUMN_IDS: readonly HkColumnId[] = ["date", "type", "term", "rate", "btc", "size", "cusip"];
164
+
165
+ /** `--sort` and the pane's kept sort, by name: the US names that mean the same here. */
166
+ const HK_SORT_NAMES: ReadonlyArray<{ names: readonly string[]; column: HkColumnId }> = [
167
+ { names: ["date"], column: "date" },
168
+ { names: ["type"], column: "type" },
169
+ { names: ["term"], column: "term" },
170
+ { names: ["rate", "yield", "average", "avg"], column: "rate" },
171
+ { names: ["btc", "b/c", "bid-to-cover", "bc"], column: "btc" },
172
+ { names: ["size"], column: "size" },
173
+ { names: ["cusip", "issue"], column: "cusip" },
174
+ ];
175
+
176
+ /** The column a sort name means for Hong Kong's tenders; null for a US-only one (`indirect`, `btc-pctl`). */
177
+ export function hkSortColumn(name: string): HkColumnId | null {
178
+ const value = name.trim().toLowerCase();
179
+ return HK_SORT_NAMES.find((entry) => entry.names.includes(value))?.column ?? null;
180
+ }
181
+
182
+ export const hkSortName = (column: HkColumnId) => HK_SORT_NAMES.find((entry) => entry.column === column)!.names[0]!;
183
+
184
+ /** Text columns read best A to Z; every figure highest first. */
185
+ export const firstHkSortDirection = (column: HkColumnId): SortDirection =>
186
+ column === "type" || column === "term" || column === "cusip" ? "asc" : "desc";
187
+
188
+ /** A month (a Government Bond's issue) sorts after the days of that month. */
189
+ const sortDay = (date: string) => date.length === 7 ? `${date}-00` : date;
190
+
191
+ function hkSortValue(tender: HkTender, column: HkColumnId): number | string | null {
192
+ switch (column) {
193
+ case "date": return sortDay(tender.date);
194
+ case "type": return hkTenderType(tender);
195
+ case "term": return termMonths(tender.term);
196
+ case "rate": return hkRate(tender);
197
+ case "btc": return tender.bidToCover;
198
+ case "size": return hkSize(tender);
199
+ case "cusip": return tender.issue;
200
+ }
201
+ }
202
+
203
+ /**
204
+ * Figures that do not compare are ranked apart, in either direction: yields
205
+ * before floating rate notes' spreads, HK$ sizes before RMB ones.
206
+ */
207
+ function hkSortGroup(tender: HkTender, column: HkColumnId): number {
208
+ if (column === "rate") return isSpread(tender) ? 1 : 0;
209
+ if (column === "size") return tender.currency === "CNH" ? 1 : 0;
210
+ return 0;
211
+ }
212
+
213
+ /** Hong Kong's day, which a window counts back from: its tenders are dated in Hong Kong. */
214
+ const hongKongDay = new Intl.DateTimeFormat("en-CA", { timeZone: "Asia/Hong_Kong", year: "numeric", month: "2-digit", day: "2-digit" });
215
+
216
+ /** The first day a window lists, counted back from today in Hong Kong: null for ALL. */
217
+ export function hkWindowStart(window: AuctionHistoryWindow, now = Date.now()): string | null {
218
+ if (window === AUCTION_HISTORY_ALL) return null;
219
+ const today = Date.parse(`${hongKongDay.format(now)}T00:00:00Z`);
220
+ return new Date(today - window * 86_400_000).toISOString().slice(0, 10);
221
+ }
222
+
223
+ /** A month row (a Government Bond's issue) is in a window that starts within or before its month. */
224
+ export const hkOnOrAfter = (date: string, from: string) => date.length === 7 ? date >= from.slice(0, 7) : date >= from;
225
+
226
+ /** The tenders a group, a search and a window keep, in the sort's order; ties keep the newest first. */
227
+ export function visibleHkTenders(
228
+ tenders: readonly HkTender[],
229
+ options: { filter: AuctionFilter; query: string; sort: HkSortPreference; from?: string | null },
230
+ ): HkTender[] {
231
+ const { columnId, direction } = options.sort;
232
+ return tenders
233
+ .filter((tender) => (options.filter === "all" || PAPER_TYPES[tender.paper]?.filter === options.filter)
234
+ && (!options.from || hkOnOrAfter(tender.date, options.from)) && matchesHkSearch(tender, options.query))
235
+ .sort((left, right) => hkSortGroup(left, columnId) - hkSortGroup(right, columnId)
236
+ || compareSortValues(hkSortValue(left, columnId), hkSortValue(right, columnId), direction)
237
+ || sortDay(right.date).localeCompare(sortDay(left.date)) || hkTenderId(left).localeCompare(hkTenderId(right)));
238
+ }
239
+
240
+ /** The pane's columns, as wide as what they list; the issue closes the row where the pane has room for it. */
241
+ export function buildHkColumns(options: { showYear?: boolean; rows?: readonly HkTender[]; width?: number } = {}): HkColumn[] {
242
+ const { showYear = false, rows = [], width } = options;
243
+ const widest = (least: number, text: (tender: HkTender) => string) => Math.max(least, ...rows.map((tender) => displayWidth(text(tender))));
244
+ const columns: HkColumn[] = [
245
+ { id: "date", label: "DATE", width: showYear ? 10 : 6, align: "left", title: "Issue day (a Government Bond's issue month): the business day after the tender" },
246
+ { id: "type", label: "TYPE", width: 6, align: "left" },
247
+ { id: "term", label: "TERM", width: widest(7, (tender) => tender.term), align: "left" },
248
+ { id: "rate", label: "RATE", width: widest(6, (tender) => formatHkRate(tender, hkRate(tender), "—")), align: "right",
249
+ title: "Average accepted yield; a floating rate note's spread over HONIA, bp" },
250
+ { id: "btc", label: "B/C", width: 5, align: "right" },
251
+ { id: "size", label: "SIZE", width: widest(7, (tender) => formatHkAmount(tender, hkSize(tender), "—", hkSizeWorkedOut(tender))), align: "right",
252
+ title: "A bond's amount allotted; EF paper's amount offered, worked out from its applications (≈)" },
253
+ { id: "cusip", label: "ISSUE", width: widest(5, (tender) => tender.issue ?? ""), align: "left", flexGrow: 1 },
254
+ ];
255
+ if (width == null) return columns;
256
+ const shown = dropColumnsToFit(columns, width, ["cusip"]);
257
+ return shown.length === columns.length ? shown : shown.map((column) => ({ ...column, flexGrow: undefined }));
258
+ }
259
+
260
+ const DATE = /^\d{4}-\d{2}(-\d{2})?$/;
261
+ const isNumber = (value: unknown) => typeof value === "number" && Number.isFinite(value);
262
+ const isNumberOrNull = (value: unknown) => value === null || isNumber(value);
263
+
264
+ /** A tender as this app reads it: one without its date, paper, term or figures as numbers is no tender. */
265
+ function readsAsTender(tender: HkTender): boolean {
266
+ return !!tender && typeof tender.date === "string" && DATE.test(tender.date) && tender.paper in PAPER_TYPES
267
+ && (tender.issue === null || typeof tender.issue === "string") && (tender.currency === "HKD" || tender.currency === "CNH")
268
+ && typeof tender.term === "string" && typeof tender.dataset === "string" && isNumber(tender.applied) && isNumber(tender.bidToCover)
269
+ && [tender.allotted, tender.offered, tender.averageYield, tender.spread, tender.coupon].every(isNumberOrNull);
270
+ }
271
+
272
+ /** What the HK market lists, and how far HKMA's figures run. */
273
+ export interface HkTendersBoard {
274
+ tenders: HkTender[];
275
+ /** The first issue Gloom Cloud's record holds: a wider window adds rows only past it. */
276
+ firstTender: string | null;
277
+ runsTo: HkTendersPayload["runsTo"];
278
+ /** The server held more tenders in the window than it sent. */
279
+ truncated: boolean;
280
+ }
281
+
282
+ /** HKMA's tender figures not served yet: no route (404), an empty record (503), or an answer that says nothing. */
283
+ const HK_NOT_AVAILABLE = "Hong Kong tender results are not available yet";
284
+
285
+ /** The reply's board, or an error: a reply that is not the record is no board, never an empty one. */
286
+ function readHkBoard(payload: HkTendersPayload): HkTendersBoard {
287
+ if (!payload || payload.status !== "available" || !Array.isArray(payload.tenders)) throw new Error(HK_NOT_AVAILABLE);
288
+ return {
289
+ tenders: payload.tenders.filter(readsAsTender),
290
+ firstTender: typeof payload.firstTender === "string" ? payload.firstTender : null,
291
+ runsTo: {
292
+ efb: payload.runsTo?.efb ?? null,
293
+ efn: payload.runsTo?.efn ?? null,
294
+ hkgb: payload.runsTo?.hkgb ?? null,
295
+ },
296
+ truncated: payload.truncated === true,
297
+ };
298
+ }
299
+
300
+ /** A failure that only says the figures are not there yet reads as that. */
301
+ function notAvailableYet(error: unknown): unknown {
302
+ const status = error instanceof ApiRequestError ? error.status : undefined;
303
+ const message = error instanceof Error ? error.message.trim() : "";
304
+ return status === 404 || status === 503 || !message ? new Error(HK_NOT_AVAILABLE) : error;
305
+ }
306
+
307
+ export interface HkTendersResult extends HkTendersBoard {
308
+ fetchedAt: number;
309
+ stale: boolean;
310
+ savedAt?: number;
311
+ refreshError?: string;
312
+ }
313
+
314
+ /** HKMA adds its tender figures a month at a time; the server reads each dataset about twice a day. */
315
+ const HK_CACHE_POLICY = { staleMs: 60 * 60 * 1000, expireMs: 7 * 24 * 60 * 60 * 1000 } as const;
316
+ const hkCache = createPluginCache<HkTendersBoard>({
317
+ kind: "treasury-auctions",
318
+ source: "hk-tenders",
319
+ schemaVersion: 2,
320
+ policy: HK_CACHE_POLICY,
321
+ decode: (board) => {
322
+ if (!board || !Array.isArray(board.tenders)) throw new Error("Invalid cached tenders");
323
+ return board;
324
+ },
325
+ });
326
+
327
+ export function attachHkTendersPersistence(persistence: PluginPersistence): void {
328
+ hkCache.attach(persistence);
329
+ }
330
+
331
+ export function resetHkTendersPersistence(): void {
332
+ hkCache.reset();
333
+ }
334
+
335
+ /** Every tender on record: HKMA's figures start in the 1990s. */
336
+ const HK_RECORD_START = "1990-01-01";
337
+ /** As many as the server sends: a window never comes back cut. */
338
+ const HK_LIMIT = 10_000;
339
+
340
+ type HkTendersLoader = (from: string, limit: number) => Promise<HkTendersPayload>;
341
+
342
+ /** A window's tenders from Gloom Cloud, cached an hour; a saved copy answers a failure asking again may get past. */
343
+ export async function loadHkTenders(
344
+ force = false,
345
+ window: AuctionHistoryWindow,
346
+ loader: HkTendersLoader = (from, limit) => apiClient.getCloudHkTenders(from, limit),
347
+ ): Promise<HkTendersResult> {
348
+ const from = hkWindowStart(window) ?? HK_RECORD_START;
349
+ const read = savedCopyForTransientFailure(await hkCache.load(`hk:${window}`, async () => {
350
+ try {
351
+ return readHkBoard(await loader(from, HK_LIMIT));
352
+ } catch (error) {
353
+ throw notAvailableYet(error);
354
+ }
355
+ }, { force }));
356
+ const result: HkTendersResult = {
357
+ ...read.data,
358
+ fetchedAt: read.fetchedAt,
359
+ stale: read.stale,
360
+ ...(read.refreshError ? { refreshError: read.refreshError } : {}),
361
+ };
362
+ return read.source === "stale-fallback" ? servedFromSavedCopy({ ...result, savedAt: read.fetchedAt }, read.fetchedAt) : result;
363
+ }
@@ -7,9 +7,11 @@ import {
7
7
  TREASURY_DIRECT_CONNECTION_ID,
8
8
  TREASURY_FISCAL_DATA_CONNECTION_ID,
9
9
  } from "./cache";
10
- import { AUCTION_HISTORY_WINDOWS, auctionHistoryLabel } from "./model";
10
+ import { AUCTION_HISTORY_WINDOWS, auctionCommandRequest, auctionHistoryLabel } from "./model";
11
+ import { AUCTION_HISTORY_DAYS } from "./client";
11
12
  import { createPublicPaneShare } from "../shared/public-pane";
12
13
  import { treasuryAuctionsHeadless } from "./headless";
14
+ import { attachHkTendersPersistence, resetHkTendersPersistence } from "./hk";
13
15
 
14
16
 
15
17
  let disposeConnections: Array<() => void> = [];
@@ -24,6 +26,7 @@ export function treasuryAuctionsSettings(): PaneSettingsDef {
24
26
  description: "How far back auction results are requested.",
25
27
  type: "select",
26
28
  options: AUCTION_HISTORY_WINDOWS.map((days) => ({ value: String(days), label: auctionHistoryLabel(days) })),
29
+ defaultValue: String(AUCTION_HISTORY_DAYS),
27
30
  },
28
31
  ],
29
32
  };
@@ -32,6 +35,7 @@ export function treasuryAuctionsSettings(): PaneSettingsDef {
32
35
  export const treasuryAuctionsModule: PluginModule = {
33
36
  setup(ctx) {
34
37
  attachTreasuryAuctionsPersistence(ctx.persistence, ctx.connectionHealth);
38
+ attachHkTendersPersistence(ctx.persistence);
35
39
  disposeConnections = [
36
40
  ctx.connectionHealth.registerSource({
37
41
  id: TREASURY_FISCAL_DATA_CONNECTION_ID,
@@ -56,6 +60,7 @@ export const treasuryAuctionsModule: PluginModule = {
56
60
  for (const dispose of disposeConnections) dispose();
57
61
  disposeConnections = [];
58
62
  resetTreasuryAuctionsPersistence();
63
+ resetHkTendersPersistence();
59
64
  },
60
65
 
61
66
  paneTemplates: [
@@ -65,7 +70,7 @@ export const treasuryAuctionsModule: PluginModule = {
65
70
  paneId: "treasury-auctions",
66
71
  label: "Treasury Auctions",
67
72
  description:
68
- "Bill, note, bond, and TIPS auction results from Treasury Fiscal Data: rate, stop-out versus average, bid-to-cover, indirect, direct and dealer takedown, and size. Search by benchmark (10Y) or CUSIP.",
73
+ "Bill, note, bond and TIPS auction results since 1979, from Treasury Fiscal Data and TreasuryDirect: rate, stop-out versus median, bid-to-cover, bidder takedown and size; an after view ranks each auction against its tenor and shows the yield's moves after it. Search by benchmark (10Y) or CUSIP. Hong Kong's EF Bills, EF Notes and Government Bond tenders too.",
69
74
  keywords: [
70
75
  "treasury",
71
76
  "auction",
@@ -82,15 +87,33 @@ export const treasuryAuctionsModule: PluginModule = {
82
87
  "tail",
83
88
  "stop-out",
84
89
  "stop out",
90
+ "treasury auction",
91
+ "bond auction",
92
+ "note auction",
93
+ "bill auction",
94
+ "auction results",
95
+ "10 year auction",
96
+ "30 year auction",
97
+ "percentile",
85
98
  "cusip",
86
99
  "reopening",
87
100
  "issuance",
101
+ "hong kong",
102
+ "hk",
103
+ "hkma",
104
+ "exchange fund bills",
105
+ "exchange fund notes",
106
+ "efb",
107
+ "hkgb",
108
+ "hk government bonds",
109
+ "tender",
110
+ "tender results",
88
111
  ],
89
112
  shortcut: { prefix: "AUCT", argKind: "text", argOptional: true, argPlaceholder: "search" },
90
113
  headless: treasuryAuctionsHeadless,
91
114
  createInstance: (_context, options) => {
92
- const search = options?.arg?.trim();
93
- return { placement: "floating", ...(search ? { params: { search } } : {}) };
115
+ const { params, settings } = auctionCommandRequest(options?.arg);
116
+ return { placement: "floating", params, ...(settings ? { settings } : {}) };
94
117
  },
95
118
  publicShare: createPublicPaneShare("Treasury Auctions"),
96
119
  }, "treasury", "auctions"),