gloomberb 0.20.6 → 0.20.8

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 (639) hide show
  1. package/README.ja.md +74 -0
  2. package/README.md +2 -0
  3. package/README.zh-CN.md +2 -0
  4. package/package.json +6 -1
  5. package/src/account/auth-model.ts +22 -0
  6. package/src/api-client/auth.ts +7 -2
  7. package/src/api-client/awards.ts +5 -0
  8. package/src/api-client/bond-trades.ts +22 -0
  9. package/src/api-client/catalysts.ts +11 -1
  10. package/src/api-client/data.ts +30 -6
  11. package/src/api-client/debt-maturities.ts +7 -0
  12. package/src/api-client/equity-screener.ts +17 -0
  13. package/src/api-client/errors.ts +2 -0
  14. package/src/api-client/exchange-announcements.ts +14 -7
  15. package/src/api-client/fund-facts.ts +41 -7
  16. package/src/api-client/futures-curve.ts +14 -1
  17. package/src/api-client/geo.ts +10 -0
  18. package/src/api-client/hiring.ts +2 -0
  19. package/src/api-client/index.ts +3 -0
  20. package/src/api-client/insider-signals.ts +14 -0
  21. package/src/api-client/members.ts +30 -2
  22. package/src/api-client/money-markets.ts +11 -1
  23. package/src/api-client/paths.ts +6 -1
  24. package/src/api-client/perps.ts +2 -0
  25. package/src/api-client/request.ts +2 -1
  26. package/src/api-client/socket.ts +11 -4
  27. package/src/api-client/types/econ.ts +2 -1
  28. package/src/api-client/types/filings-and-calls.ts +6 -0
  29. package/src/api-client/types/market.ts +4 -0
  30. package/src/api-client/web-experiments.ts +5 -6
  31. package/src/app/runtime/update.ts +2 -1
  32. package/src/architecture/floating-promise-allowlist.json +33 -106
  33. package/src/architecture/shortcut-labels-allowlist.json +1 -0
  34. package/src/capabilities/asset-data-inputs.ts +183 -0
  35. package/src/capabilities/factories.ts +8 -2
  36. package/src/cli/base-converter.ts +36 -2
  37. package/src/cli/commands/api.ts +2 -2
  38. package/src/cli/commands/command-utils.ts +18 -0
  39. package/src/cli/commands/hong-kong-movers.ts +50 -0
  40. package/src/cli/commands/market.ts +568 -143
  41. package/src/cli/commands/options-chain.ts +7 -1
  42. package/src/cli/commands/overview.ts +74 -14
  43. package/src/cli/commands/plugins.ts +7 -6
  44. package/src/cli/commands/search.ts +71 -12
  45. package/src/cli/commands/system.ts +15 -10
  46. package/src/cli/commands/ticker.ts +97 -44
  47. package/src/cli/content-figures.ts +45 -0
  48. package/src/cli/context.ts +5 -0
  49. package/src/cli/desktop-pane-shot-routes.ts +13 -4
  50. package/src/cli/desktop-pane-shot.ts +147 -12
  51. package/src/cli/earnings-calendar.ts +36 -5
  52. package/src/cli/export-source.ts +17 -3
  53. package/src/cli/fx-pair.ts +111 -11
  54. package/src/cli/glossary.ts +36 -2
  55. package/src/cli/help.ts +1 -1
  56. package/src/cli/history-export.ts +29 -11
  57. package/src/cli/history-rows.ts +130 -21
  58. package/src/cli/index.ts +8 -5
  59. package/src/cli/known-gaps.ts +45 -1
  60. package/src/cli/listing-arg.ts +366 -19
  61. package/src/cli/pane-functions/capabilities.ts +2 -2
  62. package/src/cli/pane-functions/catalog.ts +105 -9
  63. package/src/cli/pane-functions/discovery.ts +2 -0
  64. package/src/cli/pane-functions/dom.ts +50 -13
  65. package/src/cli/pane-functions/freshness.ts +45 -8
  66. package/src/cli/pane-functions/function-help.ts +9 -6
  67. package/src/cli/pane-functions/headless.ts +77 -6
  68. package/src/cli/pane-functions/index.ts +141 -23
  69. package/src/cli/pane-functions/options.ts +1 -3
  70. package/src/cli/pane-functions/plugin-code.ts +169 -0
  71. package/src/cli/pane-functions/report.ts +10 -0
  72. package/src/cli/pane-functions/resolver.ts +69 -21
  73. package/src/cli/pane-functions/screenshot-assessment.ts +98 -7
  74. package/src/cli/pane-functions/screenshot-data-evidence.ts +3 -1
  75. package/src/cli/pane-functions/screenshot-types.ts +6 -0
  76. package/src/cli/quote-answer.ts +106 -3
  77. package/src/cli/registry.ts +42 -4
  78. package/src/cli/report-tables.ts +26 -6
  79. package/src/cli/result.ts +30 -2
  80. package/src/cli/series-search.ts +17 -7
  81. package/src/cli/statement-filings.ts +22 -8
  82. package/src/cli/symbol-args.ts +9 -0
  83. package/src/cli/ticker-resolution.ts +3 -2
  84. package/src/cli/unknown-command.ts +111 -14
  85. package/src/components/chart/composite/format.ts +15 -1
  86. package/src/components/chart/composite/legend.tsx +101 -47
  87. package/src/components/chart/composite/panel-labels.ts +4 -4
  88. package/src/components/chart/composite/panel-surface.tsx +4 -6
  89. package/src/components/chart/composite/scene/build.ts +180 -0
  90. package/src/components/chart/composite/scene/cursor.ts +226 -0
  91. package/src/components/chart/composite/scene/domain.ts +170 -0
  92. package/src/components/chart/composite/scene/markers.ts +115 -0
  93. package/src/components/chart/composite/scene/panels.ts +85 -0
  94. package/src/components/chart/composite/scene/points.ts +169 -0
  95. package/src/components/chart/composite/scene/projection.ts +105 -0
  96. package/src/components/chart/composite/scene/timeline.ts +71 -0
  97. package/src/components/chart/composite/scene.ts +12 -1066
  98. package/src/components/chart/composite/types.ts +4 -2
  99. package/src/components/chart/curve/model.ts +2 -2
  100. package/src/components/chart-table/axis.ts +18 -6
  101. package/src/components/command-bar/layout-items/focused-pane.ts +3 -0
  102. package/src/components/command-bar/list/model.ts +9 -0
  103. package/src/components/command-bar/pane-templates/items.ts +61 -15
  104. package/src/components/command-bar/pane-templates/workflow.ts +16 -5
  105. package/src/components/command-bar/routes/root/plugin-install.ts +7 -46
  106. package/src/components/command-bar/routes/root/provider-search.ts +8 -5
  107. package/src/components/command-bar/routes/root/results.ts +6 -1
  108. package/src/components/command-bar/routes/root/runtime.ts +1 -0
  109. package/src/components/command-bar/routes/root/shortcut-feedback.ts +4 -1
  110. package/src/components/command-bar/routes/ticker-search/actions.ts +7 -5
  111. package/src/components/command-bar/routes/ticker-search/results.ts +51 -3
  112. package/src/components/command-bar/view-model.ts +12 -0
  113. package/src/components/command-bar/workflow/ops.ts +21 -4
  114. package/src/components/command-bar/workflow/ticker-listing-picker.ts +3 -1
  115. package/src/components/command-bar/workflow/tickers.ts +6 -2
  116. package/src/components/data-table/view.tsx +46 -1
  117. package/src/components/form-modal/confirm.tsx +3 -2
  118. package/src/components/form-modal/content.tsx +3 -2
  119. package/src/components/form-modal/field-row.tsx +2 -0
  120. package/src/components/form-modal/host.tsx +18 -3
  121. package/src/components/form-modal/remote-reads.test-helpers.ts +34 -0
  122. package/src/components/index.ts +1 -1
  123. package/src/components/layout/pane/title.ts +21 -5
  124. package/src/components/layout/shell/pane/layers.tsx +20 -14
  125. package/src/components/layout/shell/pane-occlusion.ts +21 -0
  126. package/src/components/onboarding/desks-step.tsx +7 -1
  127. package/src/components/onboarding/onboarding-keyboard.ts +48 -6
  128. package/src/components/onboarding/onboarding-wizard.tsx +47 -8
  129. package/src/components/onboarding/portfolio-step/positions-panel.tsx +17 -3
  130. package/src/components/onboarding/use-onboarding-progress.ts +57 -14
  131. package/src/components/onboarding/wizard-positions.ts +2 -0
  132. package/src/components/paged-rows.ts +11 -5
  133. package/src/components/ticker/list-table-view.tsx +24 -5
  134. package/src/components/toggle-list.tsx +44 -1
  135. package/src/components/ui/data-table/opentui/index.tsx +7 -6
  136. package/src/components/ui/data-table/opentui/model.ts +7 -3
  137. package/src/components/ui/data-table/types.ts +13 -2
  138. package/src/components/ui/fields.tsx +16 -4
  139. package/src/components/ui/query-bar.tsx +43 -9
  140. package/src/components/ui/table-layout.ts +56 -2
  141. package/src/core/app-services.ts +7 -2
  142. package/src/core/connection-health.ts +26 -0
  143. package/src/core/state/app/layout.ts +12 -4
  144. package/src/data/config/layout.ts +3 -1
  145. package/src/data/config/store/node.ts +4 -2
  146. package/src/docs/snapshot.json +794 -215
  147. package/src/i18n/es.ts +6 -1
  148. package/src/i18n/ja.ts +6 -1
  149. package/src/i18n/ko.ts +6 -1
  150. package/src/i18n/zh-cn.ts +6 -1
  151. package/src/i18n/zh-tw.ts +6 -1
  152. package/src/layout/pane-follow.ts +1 -1
  153. package/src/layout/pane-manager/gridlock.ts +18 -5
  154. package/src/layout/pane-manager/index.ts +1 -0
  155. package/src/layout/pane-manager/transient.ts +56 -0
  156. package/src/layout-marketplace/gallery.tsx +2 -1
  157. package/src/layout-marketplace/model.ts +4 -10
  158. package/src/market-data/commodity-names.ts +24 -0
  159. package/src/market-data/connection-follow.ts +9 -7
  160. package/src/market-data/coordinator/auxiliary.ts +4 -3
  161. package/src/market-data/coordinator/entries.ts +22 -1
  162. package/src/market-data/coordinator/financials.ts +2 -3
  163. package/src/market-data/coordinator/index.ts +67 -12
  164. package/src/market-data/coordinator/quotes.ts +2 -3
  165. package/src/market-data/fund-facts.ts +7 -1
  166. package/src/market-data/futures-board.ts +38 -4
  167. package/src/market-data/futures-contract.ts +5 -2
  168. package/src/market-data/fx-closes.ts +4 -1
  169. package/src/market-data/market/bar-period.ts +15 -0
  170. package/src/market-data/market/change-basis.ts +49 -8
  171. package/src/market-data/market/dated-previous-close.ts +133 -10
  172. package/src/market-data/market/format.ts +4 -2
  173. package/src/market-data/market/freshness.ts +22 -6
  174. package/src/market-data/market/status.ts +32 -4
  175. package/src/market-data/options-alternatives.ts +21 -9
  176. package/src/market-data/published-futures-sessions.ts +9 -0
  177. package/src/market-data/published-nse-sessions.ts +16 -1
  178. package/src/market-data/quotes/balance-sheet-rate.ts +34 -0
  179. package/src/market-data/quotes/delisting.ts +26 -2
  180. package/src/market-data/quotes/freshness.ts +77 -0
  181. package/src/market-data/quotes/listing-enterprise-value.ts +250 -19
  182. package/src/market-data/quotes/regular-session-valuation.ts +8 -0
  183. package/src/market-data/realized-volatility.ts +3 -1
  184. package/src/market-data/request-types.ts +2 -0
  185. package/src/market-data/selectors.ts +1 -0
  186. package/src/news/aggregator.ts +3 -3
  187. package/src/plugins/builtin/account-management/delete-account.ts +78 -0
  188. package/src/plugins/builtin/account-management/pane.tsx +22 -19
  189. package/src/plugins/builtin/account-management/password-dialog.tsx +75 -0
  190. package/src/plugins/builtin/alerts/alert-engine.ts +15 -0
  191. package/src/plugins/builtin/alerts/alert-log.ts +3 -2
  192. package/src/plugins/builtin/alerts/cli-forms.ts +1 -1
  193. package/src/plugins/builtin/alerts/cli.ts +94 -13
  194. package/src/plugins/builtin/alerts/format.ts +8 -2
  195. package/src/plugins/builtin/alerts/headless.ts +1 -1
  196. package/src/plugins/builtin/alerts/index.tsx +13 -6
  197. package/src/plugins/builtin/alerts/metric-command.ts +1 -1
  198. package/src/plugins/builtin/alerts/pane.tsx +5 -3
  199. package/src/plugins/builtin/alerts/research-builder.ts +12 -0
  200. package/src/plugins/builtin/analytics/index.tsx +3 -3
  201. package/src/plugins/builtin/analytics/risk-client.ts +14 -3
  202. package/src/plugins/builtin/analytics/risk-pane.tsx +3 -3
  203. package/src/plugins/builtin/attention/pane.tsx +1 -1
  204. package/src/plugins/builtin/attention/trending.tsx +1 -1
  205. package/src/plugins/builtin/awards/detail.tsx +4 -1
  206. package/src/plugins/builtin/awards/headless.ts +7 -3
  207. package/src/plugins/builtin/awards/model.ts +11 -0
  208. package/src/plugins/builtin/awards/pane.tsx +12 -5
  209. package/src/plugins/builtin/backtest/client.ts +7 -2
  210. package/src/plugins/builtin/backtest/headless.ts +2 -1
  211. package/src/plugins/builtin/backtest/pane.tsx +4 -2
  212. package/src/plugins/builtin/bond-calculator/pane.tsx +1 -1
  213. package/src/plugins/builtin/broker-manager/sign-in-end.ts +1 -1
  214. package/src/plugins/builtin/broker-trading/orders.tsx +2 -2
  215. package/src/plugins/builtin/buildout/company/pane.tsx +1 -1
  216. package/src/plugins/builtin/buildout/model/index.ts +2 -2
  217. package/src/plugins/builtin/catalysts/headless.ts +9 -6
  218. package/src/plugins/builtin/catalysts/model.ts +72 -10
  219. package/src/plugins/builtin/catalysts/pane.tsx +10 -7
  220. package/src/plugins/builtin/cds/pane.tsx +5 -3
  221. package/src/plugins/builtin/central-bank-rates/pane.tsx +3 -2
  222. package/src/plugins/builtin/chart-composer/catalog-series.ts +59 -0
  223. package/src/plugins/builtin/chart-composer/headless-schema.ts +2 -1
  224. package/src/plugins/builtin/chart-composer/headless.ts +104 -23
  225. package/src/plugins/builtin/chart-composer/index.tsx +6 -3
  226. package/src/plugins/builtin/chart-composer/legend-names.ts +19 -0
  227. package/src/plugins/builtin/chart-composer/pane.tsx +37 -10
  228. package/src/plugins/builtin/chart-composer/presets.ts +63 -6
  229. package/src/plugins/builtin/chart-composer/roll-events.ts +38 -0
  230. package/src/plugins/builtin/chart-composer/series-catalog.ts +12 -5
  231. package/src/plugins/builtin/chart-composer/series-expression.ts +8 -4
  232. package/src/plugins/builtin/chart-composer/series-listings.ts +33 -9
  233. package/src/plugins/builtin/chart-composer/use-series-catalog.ts +2 -2
  234. package/src/plugins/builtin/clinical-trials/client.ts +13 -0
  235. package/src/plugins/builtin/clinical-trials/index.tsx +1 -1
  236. package/src/plugins/builtin/clinical-trials/pane.tsx +77 -27
  237. package/src/plugins/builtin/clinical-trials/search.ts +117 -0
  238. package/src/plugins/builtin/cloud/askg/conversation-store.ts +17 -6
  239. package/src/plugins/builtin/cloud/askg/lock-note.ts +4 -2
  240. package/src/plugins/builtin/cloud/askg/manifest.ts +3 -2
  241. package/src/plugins/builtin/cloud/askg/pane.tsx +2 -2
  242. package/src/plugins/builtin/cloud/askg/sources.ts +3 -3
  243. package/src/plugins/builtin/cloud/one-tap/one-tap-prompt.tsx +7 -3
  244. package/src/plugins/builtin/cloud/team/acm-tab.tsx +1 -1
  245. package/src/plugins/builtin/cloud/team/pane.tsx +17 -10
  246. package/src/plugins/builtin/cloud/team/views.ts +15 -3
  247. package/src/plugins/builtin/cloud/terminal-relay/redact.ts +105 -16
  248. package/src/plugins/builtin/cloud/thesis/board-pane.tsx +17 -2
  249. package/src/plugins/builtin/cloud/thesis/module.tsx +3 -2
  250. package/src/plugins/builtin/cloud/thesis/store.ts +17 -3
  251. package/src/plugins/builtin/commodities-energy/index.tsx +35 -3
  252. package/src/plugins/builtin/commodity-balances/index.tsx +1 -1
  253. package/src/plugins/builtin/company-attention/app-rank.tsx +1 -1
  254. package/src/plugins/builtin/company-attention/building.tsx +1 -1
  255. package/src/plugins/builtin/company-attention/model.ts +2 -1
  256. package/src/plugins/builtin/company-attention/moves.tsx +1 -1
  257. package/src/plugins/builtin/company-attention/pane.tsx +1 -1
  258. package/src/plugins/builtin/company-attention/signals.tsx +1 -1
  259. package/src/plugins/builtin/company-kpis/pane.tsx +1 -1
  260. package/src/plugins/builtin/correlation/headless.ts +7 -5
  261. package/src/plugins/builtin/correlation/history.ts +17 -6
  262. package/src/plugins/builtin/correlation/index.tsx +1 -1
  263. package/src/plugins/builtin/correlation/relationship/history.ts +1 -1
  264. package/src/plugins/builtin/correlation/relationship/pane.tsx +1 -1
  265. package/src/plugins/builtin/cot/headless.ts +10 -3
  266. package/src/plugins/builtin/cot/pane.tsx +2 -2
  267. package/src/plugins/builtin/cpi/pane.tsx +1 -1
  268. package/src/plugins/builtin/credit-boards/model.ts +1 -1
  269. package/src/plugins/builtin/credit-documents/pane.tsx +1 -1
  270. package/src/plugins/builtin/crypto-board/defi-view.tsx +2 -2
  271. package/src/plugins/builtin/crypto-board/defi.ts +9 -3
  272. package/src/plugins/builtin/crypto-board/headless.ts +19 -10
  273. package/src/plugins/builtin/crypto-board/model.ts +8 -0
  274. package/src/plugins/builtin/crypto-board/pane.tsx +11 -5
  275. package/src/plugins/builtin/crypto-board/series.ts +17 -3
  276. package/src/plugins/builtin/crypto-board/supply.ts +26 -3
  277. package/src/plugins/builtin/crypto-etf-flows/headless.ts +3 -2
  278. package/src/plugins/builtin/crypto-etf-flows/model.ts +13 -3
  279. package/src/plugins/builtin/crypto-etf-flows/pane.tsx +6 -3
  280. package/src/plugins/builtin/custom-view/pane.tsx +5 -5
  281. package/src/plugins/builtin/debt-maturities/client.ts +5 -0
  282. package/src/plugins/builtin/debt-maturities/headless.ts +3 -1
  283. package/src/plugins/builtin/debt-maturities/model.ts +1 -0
  284. package/src/plugins/builtin/debt-maturities/pane.tsx +1 -1
  285. package/src/plugins/builtin/dividend-yield/pane.tsx +1 -1
  286. package/src/plugins/builtin/doe/model.ts +1 -1
  287. package/src/plugins/builtin/doe/pane.tsx +1 -1
  288. package/src/plugins/builtin/earnings/board.tsx +2 -2
  289. package/src/plugins/builtin/earnings/history.tsx +1 -1
  290. package/src/plugins/builtin/earnings-calls/calendar.tsx +1 -1
  291. package/src/plugins/builtin/earnings-calls/data.ts +2 -1
  292. package/src/plugins/builtin/earnings-calls/headless.ts +15 -0
  293. package/src/plugins/builtin/earnings-calls/model.ts +68 -8
  294. package/src/plugins/builtin/earnings-calls/pane.tsx +29 -8
  295. package/src/plugins/builtin/earnings-calls/transcript-view.tsx +32 -2
  296. package/src/plugins/builtin/earnings-ripple/pane.tsx +1 -1
  297. package/src/plugins/builtin/econ/calendar-model.ts +94 -2
  298. package/src/plugins/builtin/econ/detail-view.tsx +15 -11
  299. package/src/plugins/builtin/econ/index.tsx +25 -9
  300. package/src/plugins/builtin/econ/types.ts +4 -1
  301. package/src/plugins/builtin/equity-screener/headless.ts +23 -7
  302. package/src/plugins/builtin/equity-screener/index.tsx +3 -0
  303. package/src/plugins/builtin/equity-screener/live.ts +39 -12
  304. package/src/plugins/builtin/equity-screener/model.ts +86 -5
  305. package/src/plugins/builtin/equity-screener/pane.tsx +20 -21
  306. package/src/plugins/builtin/equity-screener/results.ts +12 -3
  307. package/src/plugins/builtin/equity-screener/ticker-check.tsx +2 -2
  308. package/src/plugins/builtin/estimate-revisions/pane.tsx +2 -2
  309. package/src/plugins/builtin/executives/pane.tsx +2 -2
  310. package/src/plugins/builtin/exposure/pane.tsx +1 -1
  311. package/src/plugins/builtin/fear-greed/data.ts +3 -1
  312. package/src/plugins/builtin/fear-greed/headless.ts +8 -2
  313. package/src/plugins/builtin/fear-greed/pane.tsx +8 -4
  314. package/src/plugins/builtin/filing-events/pane.tsx +1 -1
  315. package/src/plugins/builtin/futures/index.tsx +5 -4
  316. package/src/plugins/builtin/futures/model.ts +17 -9
  317. package/src/plugins/builtin/futures/returns.ts +2 -0
  318. package/src/plugins/builtin/futures/series.ts +44 -8
  319. package/src/plugins/builtin/futures/table.tsx +3 -3
  320. package/src/plugins/builtin/futures-curve/client.ts +1 -0
  321. package/src/plugins/builtin/futures-curve/headless.ts +14 -12
  322. package/src/plugins/builtin/futures-curve/index.tsx +7 -4
  323. package/src/plugins/builtin/futures-curve/model.ts +93 -7
  324. package/src/plugins/builtin/futures-curve/pane.tsx +18 -7
  325. package/src/plugins/builtin/fx-matrix/amount.ts +2 -1
  326. package/src/plugins/builtin/fx-matrix/index.tsx +9 -0
  327. package/src/plugins/builtin/gpu/changes.tsx +1 -1
  328. package/src/plugins/builtin/gpu/equities.tsx +1 -1
  329. package/src/plugins/builtin/gpu/pane.tsx +2 -2
  330. package/src/plugins/builtin/help/function-card.tsx +4 -2
  331. package/src/plugins/builtin/help/function-index.ts +12 -6
  332. package/src/plugins/builtin/help/index.tsx +1 -1
  333. package/src/plugins/builtin/holders/beneficial-view.tsx +1 -1
  334. package/src/plugins/builtin/holders/fund-holders.ts +22 -1
  335. package/src/plugins/builtin/holders/headless.ts +5 -4
  336. package/src/plugins/builtin/holders/pane.tsx +8 -4
  337. package/src/plugins/builtin/holders/report-header.ts +23 -0
  338. package/src/plugins/builtin/insider/base-values.ts +55 -0
  339. package/src/plugins/builtin/insider/headless.ts +307 -83
  340. package/src/plugins/builtin/insider/index.tsx +65 -23
  341. package/src/plugins/builtin/insider/insiders.tsx +26 -16
  342. package/src/plugins/builtin/insider/model.ts +2 -2
  343. package/src/plugins/builtin/insider/signals-cells.tsx +4 -1
  344. package/src/plugins/builtin/insider/signals-model.ts +13 -5
  345. package/src/plugins/builtin/insider/signals.tsx +5 -3
  346. package/src/plugins/builtin/insider/tickers.tsx +466 -0
  347. package/src/plugins/builtin/ipo-calendar/pane.tsx +1 -1
  348. package/src/plugins/builtin/iv-history/client.ts +35 -4
  349. package/src/plugins/builtin/iv-history/headless.ts +10 -4
  350. package/src/plugins/builtin/iv-history/model.ts +85 -16
  351. package/src/plugins/builtin/iv-history/pane.tsx +2 -2
  352. package/src/plugins/builtin/iv-history/screen-pane.tsx +6 -3
  353. package/src/plugins/builtin/jobs/pane.tsx +5 -5
  354. package/src/plugins/builtin/macro-day/pane.tsx +1 -1
  355. package/src/plugins/builtin/macro-day/release-table.ts +5 -5
  356. package/src/plugins/builtin/macro-day/releases.ts +11 -9
  357. package/src/plugins/builtin/market-movers/headless.ts +6 -2
  358. package/src/plugins/builtin/market-movers/screener.ts +18 -4
  359. package/src/plugins/builtin/members/breadth-pane.tsx +3 -3
  360. package/src/plugins/builtin/members/client.ts +24 -2
  361. package/src/plugins/builtin/members/headless.ts +68 -9
  362. package/src/plugins/builtin/members/index.tsx +7 -6
  363. package/src/plugins/builtin/members/model.ts +99 -13
  364. package/src/plugins/builtin/members/pane.tsx +72 -20
  365. package/src/plugins/builtin/mna/distress/pane.tsx +2 -1
  366. package/src/plugins/builtin/mna/pane.tsx +1 -1
  367. package/src/plugins/builtin/money-markets/client.ts +43 -15
  368. package/src/plugins/builtin/money-markets/headless.ts +18 -11
  369. package/src/plugins/builtin/money-markets/index.tsx +7 -6
  370. package/src/plugins/builtin/money-markets/model.ts +20 -5
  371. package/src/plugins/builtin/money-markets/pane.tsx +28 -17
  372. package/src/plugins/builtin/news/wire/news/footer.ts +11 -1
  373. package/src/plugins/builtin/news/wire/news/table.tsx +15 -5
  374. package/src/plugins/builtin/notes/headless.ts +94 -0
  375. package/src/plugins/builtin/notes/index.tsx +3 -1
  376. package/src/plugins/builtin/notes/store.ts +10 -3
  377. package/src/plugins/builtin/options/footer.ts +8 -2
  378. package/src/plugins/builtin/options/open-interest-as-of.ts +12 -3
  379. package/src/plugins/builtin/options/view.tsx +10 -1
  380. package/src/plugins/builtin/options-calculator/pane.tsx +1 -1
  381. package/src/plugins/builtin/options-positioning/client.ts +35 -8
  382. package/src/plugins/builtin/options-positioning/headless.ts +17 -7
  383. package/src/plugins/builtin/options-positioning/index.tsx +10 -0
  384. package/src/plugins/builtin/options-positioning/pane.tsx +16 -7
  385. package/src/plugins/builtin/options-scenario/csp-screen-pane.tsx +1 -1
  386. package/src/plugins/builtin/options-scenario/pane.tsx +1 -1
  387. package/src/plugins/builtin/pe-band/pane.tsx +2 -2
  388. package/src/plugins/builtin/perps/cascade-tabs.tsx +2 -2
  389. package/src/plugins/builtin/perps/client.ts +54 -15
  390. package/src/plugins/builtin/perps/headless.ts +39 -13
  391. package/src/plugins/builtin/perps/index.tsx +2 -1
  392. package/src/plugins/builtin/perps/model.ts +43 -1
  393. package/src/plugins/builtin/perps/pane.tsx +35 -18
  394. package/src/plugins/builtin/portfolio-list/allocation-rows.ts +74 -0
  395. package/src/plugins/builtin/portfolio-list/cell-version.ts +1 -0
  396. package/src/plugins/builtin/portfolio-list/cli/period-report.ts +7 -3
  397. package/src/plugins/builtin/portfolio-list/cli/portfolio-command.ts +37 -4
  398. package/src/plugins/builtin/portfolio-list/cli/render.ts +214 -46
  399. package/src/plugins/builtin/portfolio-list/headless.ts +32 -10
  400. package/src/plugins/builtin/portfolio-list/income.ts +63 -30
  401. package/src/plugins/builtin/portfolio-list/index.tsx +4 -4
  402. package/src/plugins/builtin/portfolio-list/pane/data.ts +16 -6
  403. package/src/plugins/builtin/portfolio-list/pane/fx-day-moves.ts +52 -0
  404. package/src/plugins/builtin/portfolio-list/pane/index.tsx +81 -13
  405. package/src/plugins/builtin/portfolio-list/pane/target-weights.tsx +178 -0
  406. package/src/plugins/builtin/portfolio-list/period-pnl.ts +44 -5
  407. package/src/plugins/builtin/portfolio-list/settings.ts +12 -6
  408. package/src/plugins/builtin/portfolio-list/summary/index.tsx +9 -4
  409. package/src/plugins/builtin/portfolio-list/summary/totals.ts +21 -2
  410. package/src/plugins/builtin/portfolio-list/table.tsx +33 -25
  411. package/src/plugins/builtin/portfolio-list/use-throttled-ticker-order.ts +40 -3
  412. package/src/plugins/builtin/power/gas.tsx +2 -2
  413. package/src/plugins/builtin/power/prices.tsx +2 -2
  414. package/src/plugins/builtin/primary-dealers/pane.tsx +10 -11
  415. package/src/plugins/builtin/rate-path/model.ts +9 -0
  416. package/src/plugins/builtin/rate-path/pane.tsx +6 -5
  417. package/src/plugins/builtin/realized-vol/fx-proxy.ts +27 -0
  418. package/src/plugins/builtin/realized-vol/headless.ts +8 -6
  419. package/src/plugins/builtin/realized-vol/pane.tsx +13 -7
  420. package/src/plugins/builtin/relative-rotation/pane.tsx +1 -1
  421. package/src/plugins/builtin/research/analyst-headless.ts +5 -1
  422. package/src/plugins/builtin/research/analyst-model.ts +7 -1
  423. package/src/plugins/builtin/research/analyst-pane.tsx +1 -1
  424. package/src/plugins/builtin/research/relative-valuation-basis.ts +44 -4
  425. package/src/plugins/builtin/research/relative-valuation-headless.ts +59 -14
  426. package/src/plugins/builtin/research/relative-valuation-model.ts +65 -26
  427. package/src/plugins/builtin/research/relative-valuation-pane.tsx +42 -17
  428. package/src/plugins/builtin/revenue-breakdown/pane.tsx +1 -1
  429. package/src/plugins/builtin/reverse-dcf/client.ts +34 -4
  430. package/src/plugins/builtin/reverse-dcf/headless.ts +30 -15
  431. package/src/plugins/builtin/reverse-dcf/model.ts +190 -29
  432. package/src/plugins/builtin/reverse-dcf/pane.tsx +35 -13
  433. package/src/plugins/builtin/risk-factors/pane.tsx +2 -2
  434. package/src/plugins/builtin/roadmap/pane.tsx +2 -2
  435. package/src/plugins/builtin/scanner/flow-pane.tsx +4 -4
  436. package/src/plugins/builtin/scanner/headless.ts +15 -1
  437. package/src/plugins/builtin/seasonality/pane.tsx +1 -1
  438. package/src/plugins/builtin/sec/fund-facts-view.tsx +5 -2
  439. package/src/plugins/builtin/sec/fund-facts.ts +66 -6
  440. package/src/plugins/builtin/sec/headless.ts +8 -4
  441. package/src/plugins/builtin/sec/index.tsx +41 -13
  442. package/src/plugins/builtin/shared/report-freshness.ts +15 -6
  443. package/src/plugins/builtin/shared/ticker-company.ts +111 -0
  444. package/src/plugins/builtin/shared/use-quote-board.ts +37 -2
  445. package/src/plugins/builtin/shared/volatility/live-session.ts +23 -0
  446. package/src/plugins/builtin/shared/volatility-indices.ts +2 -0
  447. package/src/plugins/builtin/short-interest/publications-pane.tsx +1 -1
  448. package/src/plugins/builtin/short-volume/pane.tsx +1 -1
  449. package/src/plugins/builtin/social-mentions/outliers.tsx +3 -3
  450. package/src/plugins/builtin/social-mentions/pane.tsx +2 -2
  451. package/src/plugins/builtin/supply-chain/graph-pane.tsx +1 -1
  452. package/src/plugins/builtin/supply-chain/model.ts +18 -6
  453. package/src/plugins/builtin/supply-chain/pane.tsx +1 -1
  454. package/src/plugins/builtin/themes/pane.tsx +4 -4
  455. package/src/plugins/builtin/thirteenf/api.ts +1 -0
  456. package/src/plugins/builtin/thirteenf/format.ts +5 -0
  457. package/src/plugins/builtin/thirteenf/headless.ts +2 -2
  458. package/src/plugins/builtin/thirteenf/model.ts +128 -5
  459. package/src/plugins/builtin/thirteenf/overlap-pane.tsx +1 -1
  460. package/src/plugins/builtin/thirteenf/report-notes.ts +10 -3
  461. package/src/plugins/builtin/thirteenf/signals-pane.tsx +1 -1
  462. package/src/plugins/builtin/thirteenf/table.ts +2 -2
  463. package/src/plugins/builtin/thirteenf/types.ts +12 -0
  464. package/src/plugins/builtin/ticker-detail/data-panes/historical-prices.tsx +27 -14
  465. package/src/plugins/builtin/ticker-detail/data-panes/returns-history.ts +6 -3
  466. package/src/plugins/builtin/ticker-detail/data-panes/returns-model.ts +14 -0
  467. package/src/plugins/builtin/ticker-detail/data-panes/returns-pane.tsx +4 -1
  468. package/src/plugins/builtin/ticker-detail/financials/aggregation.ts +87 -19
  469. package/src/plugins/builtin/ticker-detail/financials/exchange-results.ts +54 -0
  470. package/src/plugins/builtin/ticker-detail/financials/model.ts +114 -9
  471. package/src/plugins/builtin/ticker-detail/financials/ratios.ts +37 -20
  472. package/src/plugins/builtin/ticker-detail/financials/tab.tsx +42 -19
  473. package/src/plugins/builtin/ticker-detail/headless-schema.ts +3 -2
  474. package/src/plugins/builtin/ticker-detail/headless.ts +90 -31
  475. package/src/plugins/builtin/ticker-detail/overview/model.ts +22 -15
  476. package/src/plugins/builtin/ticker-detail/overview-tab.tsx +5 -2
  477. package/src/plugins/builtin/ticker-detail/quote-monitor/card.tsx +12 -7
  478. package/src/plugins/builtin/ticker-detail/quote-monitor/index.tsx +21 -0
  479. package/src/plugins/builtin/trace-bonds/client.ts +107 -10
  480. package/src/plugins/builtin/trace-bonds/detail.tsx +1 -1
  481. package/src/plugins/builtin/trace-bonds/headless.ts +20 -5
  482. package/src/plugins/builtin/trace-bonds/pane.tsx +15 -4
  483. package/src/plugins/builtin/treasury-auctions/hk-view.tsx +1 -1
  484. package/src/plugins/builtin/treasury-auctions/pane.tsx +1 -1
  485. package/src/plugins/builtin/treasury-daily/pane.tsx +2 -2
  486. package/src/plugins/builtin/vol-surface/charts.tsx +30 -5
  487. package/src/plugins/builtin/vol-surface/client.ts +40 -12
  488. package/src/plugins/builtin/vol-surface/events.ts +213 -0
  489. package/src/plugins/builtin/vol-surface/headless.ts +82 -13
  490. package/src/plugins/builtin/vol-surface/index.tsx +5 -1
  491. package/src/plugins/builtin/vol-surface/model.ts +42 -6
  492. package/src/plugins/builtin/vol-surface/pane.tsx +95 -23
  493. package/src/plugins/builtin/volatility/dvol.ts +14 -2
  494. package/src/plugins/builtin/volatility/headless.ts +3 -2
  495. package/src/plugins/builtin/volatility/index.tsx +1 -1
  496. package/src/plugins/builtin/volatility/pane.tsx +1 -1
  497. package/src/plugins/builtin/volatility/series.ts +7 -3
  498. package/src/plugins/builtin/world-venue-map/activity-series.ts +89 -0
  499. package/src/plugins/builtin/world-venue-map/chokepoint-report.ts +123 -0
  500. package/src/plugins/builtin/world-venue-map/evidence.ts +2 -0
  501. package/src/plugins/builtin/world-venue-map/geo-series.ts +35 -1
  502. package/src/plugins/builtin/world-venue-map/headless.ts +58 -9
  503. package/src/plugins/builtin/world-venue-map/index.ts +6 -3
  504. package/src/plugins/builtin/world-venue-map/layered-pane.tsx +6 -1
  505. package/src/plugins/builtin/world-venue-map/pane.tsx +4 -3
  506. package/src/plugins/builtin/yield-curve/index.tsx +12 -10
  507. package/src/plugins/builtin/yield-curve/swaps.tsx +1 -1
  508. package/src/plugins/extracted-plugins.ts +14 -10
  509. package/src/plugins/installer.ts +17 -1
  510. package/src/plugins/marketplace/feed.ts +14 -0
  511. package/src/plugins/marketplace/install-offer.ts +64 -0
  512. package/src/plugins/registry/contributions.ts +46 -8
  513. package/src/plugins/registry/index.ts +5 -0
  514. package/src/portfolio/collection-name.ts +38 -4
  515. package/src/portfolio/column-values.ts +35 -4
  516. package/src/portfolio/period-pnl.ts +4 -2
  517. package/src/portfolio/valuation-basis.ts +23 -1
  518. package/src/react/async-resource.ts +24 -8
  519. package/src/remote/endpoint.ts +38 -12
  520. package/src/remote/secrets.ts +22 -6
  521. package/src/remote/server.ts +20 -4
  522. package/src/renderers/dom/data-table/index.tsx +2 -1
  523. package/src/renderers/dom/data-table/row.tsx +49 -7
  524. package/src/renderers/dom/desktop/controls.tsx +2 -0
  525. package/src/renderers/dom/desktop/query-bar.tsx +57 -7
  526. package/src/renderers/dom/host/surface-3d.tsx +46 -5
  527. package/src/renderers/dom/styles.css +17 -0
  528. package/src/renderers/electrobun/view/backend-rpc.ts +15 -21
  529. package/src/renderers/electrobun/view/cli-pane-shot-entry.tsx +16 -61
  530. package/src/renderers/electrobun/view/cli-pane-shot-socket.ts +134 -0
  531. package/src/renderers/electrobun/view/host-route.ts +119 -0
  532. package/src/renderers/electrobun/view/rpc-timeout.ts +6 -5
  533. package/src/renderers/opentui/toast-host.tsx +6 -3
  534. package/src/renderers/opentui/ui-host.tsx +29 -5
  535. package/src/series/registry.ts +1 -0
  536. package/src/series/standalone-catalog.ts +40 -0
  537. package/src/series/types.ts +10 -0
  538. package/src/series/validate.ts +5 -0
  539. package/src/shares/portable-layout.ts +2 -7
  540. package/src/sources/gloomberb-cloud/dated-chunks.ts +133 -0
  541. package/src/sources/gloomberb-cloud/index.ts +46 -5
  542. package/src/sources/gloomberb-cloud/news.ts +15 -9
  543. package/src/sources/gloomberb-cloud/normalizers.ts +17 -0
  544. package/src/sources/history-coverage.ts +13 -0
  545. package/src/sources/history-result.ts +1 -0
  546. package/src/sources/provider-errors.ts +9 -0
  547. package/src/sources/provider-router/batches.ts +7 -3
  548. package/src/sources/provider-router/financial-routes.ts +3 -1
  549. package/src/sources/provider-router/history.ts +6 -4
  550. package/src/sources/provider-router/index.ts +5 -1
  551. package/src/sources/provider-router/primary.ts +4 -3
  552. package/src/sources/provider-router/retrieved-at.ts +12 -0
  553. package/src/state/hooks/quote-streaming.ts +14 -6
  554. package/src/team/store.ts +17 -4
  555. package/src/telemetry/crash-reports.ts +3 -1
  556. package/src/test-support/cli-context.ts +3 -2
  557. package/src/test-support/test-env.ts +7 -0
  558. package/src/theme/themes.ts +16 -9
  559. package/src/theme/tone-contrast.ts +29 -5
  560. package/src/tickers/company-name-listing.ts +31 -3
  561. package/src/tickers/company-name.ts +9 -0
  562. package/src/tickers/index-roots.ts +56 -4
  563. package/src/tickers/instrument-kind.ts +22 -1
  564. package/src/tickers/listing-name.ts +7 -2
  565. package/src/tickers/listing-venues.ts +17 -2
  566. package/src/tickers/search/home-listing.ts +2 -0
  567. package/src/tickers/search/index.ts +69 -11
  568. package/src/tickers/search/major-listings.json +595 -592
  569. package/src/tickers/search/ranking.ts +19 -1
  570. package/src/tickers/terminal-codes.ts +20 -6
  571. package/src/time-series/bar-aggregation.ts +3 -2
  572. package/src/time-series/base-series.ts +18 -1
  573. package/src/time-series/chart-data.ts +9 -6
  574. package/src/time-series/chart-seed.ts +11 -3
  575. package/src/time-series/currency-conversion.ts +1 -0
  576. package/src/time-series/date-window.ts +8 -0
  577. package/src/time-series/formula-months.ts +57 -0
  578. package/src/time-series/fundamentals/current-valuation.ts +244 -0
  579. package/src/time-series/fundamentals/historical-valuation.ts +99 -0
  580. package/src/time-series/fundamentals/metric-ids.ts +61 -0
  581. package/src/time-series/fundamentals/period-points.ts +104 -0
  582. package/src/time-series/fundamentals/quarterly-ttm.ts +220 -0
  583. package/src/time-series/fundamentals/series.ts +164 -0
  584. package/src/time-series/fundamentals/source-statements.ts +178 -0
  585. package/src/time-series/fundamentals/statement-fields.ts +154 -0
  586. package/src/time-series/fundamentals/statement-merge.ts +124 -0
  587. package/src/time-series/fundamentals/statement.ts +114 -0
  588. package/src/time-series/fundamentals/valuation-multiples.ts +50 -0
  589. package/src/time-series/fundamentals.ts +18 -1407
  590. package/src/time-series/leverage.ts +12 -4
  591. package/src/time-series/live-bars.ts +12 -7
  592. package/src/time-series/live-quotes.ts +6 -2
  593. package/src/time-series/market.ts +10 -3
  594. package/src/time-series/price-comparison.ts +106 -0
  595. package/src/time-series/range.ts +10 -0
  596. package/src/time-series/resolve-context.ts +7 -2
  597. package/src/time-series/resolve.ts +61 -5
  598. package/src/time-series/series-name.ts +2 -2
  599. package/src/time-series/series-presentation.ts +91 -2
  600. package/src/time-series/session-bar.ts +13 -7
  601. package/src/time-series/spec.ts +21 -2
  602. package/src/time-series/studies/formula.ts +262 -36
  603. package/src/time-series/studies/leverage.ts +9 -3
  604. package/src/time-series/studies/resolve.ts +7 -2
  605. package/src/time-series/types.ts +34 -0
  606. package/src/time-series/use-chart-resolution.ts +18 -1
  607. package/src/types/data-provider.ts +7 -0
  608. package/src/types/financials.ts +112 -1
  609. package/src/types/headless.ts +64 -3
  610. package/src/types/instrument.ts +6 -0
  611. package/src/types/plugin-context.ts +9 -0
  612. package/src/types/plugin-pane-templates.ts +6 -0
  613. package/src/types/plugin-panes.ts +7 -0
  614. package/src/types/price-history.ts +6 -0
  615. package/src/ui/host.tsx +3 -1
  616. package/src/ui/index.tsx +7 -2
  617. package/src/utils/cli-output.ts +21 -1
  618. package/src/utils/currency-units.ts +14 -0
  619. package/src/utils/datetime-format.ts +11 -0
  620. package/src/utils/debug-log.ts +29 -0
  621. package/src/utils/exchange-announcements.ts +26 -3
  622. package/src/utils/exchange-notation.generated.ts +3 -4
  623. package/src/utils/exchange-results.ts +144 -0
  624. package/src/utils/exchanges.ts +10 -0
  625. package/src/utils/financial-statements.ts +212 -22
  626. package/src/utils/fire-and-forget.ts +1 -1
  627. package/src/utils/fiscal-period.ts +41 -3
  628. package/src/utils/format.ts +10 -6
  629. package/src/utils/fundamentals.ts +179 -12
  630. package/src/utils/futures-generic.ts +26 -0
  631. package/src/utils/lease-liabilities.ts +15 -5
  632. package/src/utils/lookup-token.ts +22 -0
  633. package/src/utils/max-drawdown.ts +25 -4
  634. package/src/utils/price-history-integrity.ts +56 -8
  635. package/src/utils/price-history.ts +6 -2
  636. package/src/utils/price-window.ts +38 -2
  637. package/src/utils/replace-file.ts +47 -0
  638. package/src/utils/rpc-timeout-error.ts +16 -2
  639. package/src/utils/untrusted-text.ts +14 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "format": 1,
3
3
  "site": "https://gloom.sh",
4
- "updatedAt": "2026-11-07",
4
+ "updatedAt": "2026-11-12",
5
5
  "categories": [
6
6
  {
7
7
  "id": "research",
@@ -171,7 +171,7 @@
171
171
  "code": "CMP",
172
172
  "name": "Compare performance",
173
173
  "description": "Indexed returns for a group",
174
- "detail": "Price returns rebased to a shared start date for two or more tickers, so relative performance is readable at a glance.",
174
+ "detail": "Price returns rebased to a shared start date for two or more tickers, so relative performance is readable at a glance. A leveraged or inverse fund also gets the k× daily line of its index fund (3× daily QQQ beside TQQQ) and its decay against it, in percentage points.",
175
175
  "category": "research",
176
176
  "arg": "NVDA, AMD, AVGO",
177
177
  "shot": "https://gloom.sh/screenshots/fn/CMP.png",
@@ -797,9 +797,9 @@
797
797
  },
798
798
  {
799
799
  "code": "PERP",
800
- "name": "Perpetual history",
801
- "description": "Funding, open interest and premium history",
802
- "detail": "Funding, open interest and premium history for one perpetual on Hyperliquid, Binance, Bybit or OKX, with each reading's source. Pro shows the history; Free a limited preview. Live board and trading are in the Hyperliquid plugin.",
800
+ "name": "Perpetuals",
801
+ "description": "Perpetual funding, open interest and premium",
802
+ "detail": "A board and rankings of perpetuals on Hyperliquid, Binance, Bybit and OKX, one asset across the venues, and one perpetual's funding, open interest and premium history with each reading's source. Pro shows the history; Free a limited preview. Trading is in the Hyperliquid plugin.",
803
803
  "category": "markets",
804
804
  "arg": "BTC",
805
805
  "access": "pro",
@@ -810,7 +810,7 @@
810
810
  "code": "FUT",
811
811
  "name": "Futures board",
812
812
  "description": "Front-month futures",
813
- "detail": "Each root's front contract until its stated roll date across equity index, rates, energy, metals, agriculture, and FX with last price, unit and session change, grouped by sector, naming the day's most active month by volume when it is another one.",
813
+ "detail": "Each root's front contract until its stated roll date across equity index, volatility (VIX futures, at Cboe's daily settlement), rates, energy, metals, agriculture, and FX with last price, unit and session change, grouped by sector, naming the day's most active month by volume when it is another one.",
814
814
  "category": "markets",
815
815
  "shot": "https://gloom.sh/screenshots/fn/FUT.png",
816
816
  "lesson": "/academy/futures-commodities-energy/futures-from-zero"
@@ -819,7 +819,7 @@
819
819
  "code": "CTM",
820
820
  "name": "Futures curve",
821
821
  "description": "Futures term structure",
822
- "detail": "A futures root's listed contracts as a curve against a week and a month ago, with roll yield, contango or backwardation, and each contract's price, open interest, and volume. CTM VIX is the VIX futures curve from Cboe's daily settlements, with spot VIX and the front month's premium to it.",
822
+ "detail": "A futures root's listed contracts as a curve against a week and a month ago, with roll yield, contango or backwardation, and each contract's price, open interest, and volume. CTM VIX is the VIX futures curve from Cboe's daily settlements, with spot VIX and the front month's premium to it. Ann. roll yield is what a long position earns or pays rolling from the front contract into the next, scaled to a year: (front / next - 1) × 365 / days between the two, positive in backwardation and negative in contango. PCTL ranks a figure against its own daily values over the past year, 100 the highest and 0 the lowest: the roll yield and the front spread against theirs, and in the table each contract's price against its own.",
823
823
  "category": "markets",
824
824
  "arg": "GC",
825
825
  "shot": "https://gloom.sh/screenshots/fn/CTM.png",
@@ -1773,10 +1773,11 @@
1773
1773
  "category": "Start here",
1774
1774
  "tags": [
1775
1775
  "install",
1776
+ "uninstall",
1776
1777
  "desktop",
1777
1778
  "tui"
1778
1779
  ],
1779
- "updatedAt": "2026-11-06",
1780
+ "updatedAt": "2026-11-09",
1780
1781
  "blocks": [
1781
1782
  {
1782
1783
  "type": "heading",
@@ -1795,6 +1796,10 @@
1795
1796
  "type": "paragraph",
1796
1797
  "text": "Or use the [direct download](/download/desktop). The desktop app and the Homebrew cask (`brew install --cask gloom`) need Apple Silicon; on an Intel Mac use the [browser version](#browser), or look for a terminal binary in the [release assets](https://github.com/gloom-sh/gloomberb/releases/latest)."
1797
1798
  },
1799
+ {
1800
+ "type": "paragraph",
1801
+ "text": "The script downloads the latest GitHub release, checks its SHA-256, and installs the app to `/Applications` and `gloom` to `~/.local/bin`, using sudo only for a folder you can't write. It prints a PATH line and edits no shell file. Source: [scripts/install.sh](https://github.com/gloom-sh/gloomberb/blob/main/scripts/install.sh) in gloom-sh/gloomberb."
1802
+ },
1798
1803
  {
1799
1804
  "type": "paragraph",
1800
1805
  "text": "Coming from Bloomberg? [What runs on a Mac](/answers/bloomberg-terminal-on-mac)."
@@ -1806,12 +1811,16 @@
1806
1811
  },
1807
1812
  {
1808
1813
  "type": "paragraph",
1809
- "text": "Terminal UI only; Ghostty, Kitty, or WezTerm render charts best. Installs `gloom` into `~/.local/bin`."
1814
+ "text": "Terminal UI only; Ghostty, Kitty, or WezTerm render charts best."
1810
1815
  },
1811
1816
  {
1812
1817
  "type": "code",
1813
1818
  "code": "curl -fsSL gloom.sh/install | bash"
1814
1819
  },
1820
+ {
1821
+ "type": "paragraph",
1822
+ "text": "The script downloads the latest GitHub release, checks its SHA-256, and installs `gloom` to `~/.local/bin`, using sudo only for a folder you can't write. It prints a PATH line and edits no shell file. Source: [scripts/install.sh](https://github.com/gloom-sh/gloomberb/blob/main/scripts/install.sh) in gloom-sh/gloomberb."
1823
+ },
1815
1824
  {
1816
1825
  "type": "heading",
1817
1826
  "level": 2,
@@ -1853,7 +1862,9 @@
1853
1862
  "**Terminal:** the installer adds `gloom` to your PATH, so open a new terminal window. PowerShell works.",
1854
1863
  "**PowerShell line:** installs `gloom.exe` from the latest release into `%USERPROFILE%\\.local\\bin`, checks its SHA-256 and adds the folder to your PATH, with no admin rights. Under Git Bash the bash line points here. With [Bun](https://bun.sh), `bun install -g @gloom-sh/terminal` works too.",
1855
1864
  "**Charts:** Windows Terminal has no Kitty graphics, so terminal charts draw as text. The desktop app draws them in full.",
1865
+ "**cmd.exe:** run `chcp 65001` so long dashes, `€` and `·` show, and quote an index symbol (`gloom quote \"^SPX\"`): cmd drops a bare `^`. See [CLI](/docs/cli-functions).",
1856
1866
  "**Data:** `%USERPROFILE%\\.gloomberb`, printed by `gloom version`. `GLOOMBERB_HOME` moves it.",
1867
+ "**Exports:** save an export with `--output` (`gloom fn RV NVDA,AMD,ASML:AMS --csv --output rv.csv`), which writes UTF-8 without a byte-order mark; a `>` redirect in Windows PowerShell 5.1 writes UTF-16. See [CLI](/docs/cli-functions).",
1857
1868
  "**Git and Bun:** Bun ships with the app; Git does not. Some official plugins (TV, Substack, Interactive Brokers, IBKR Gateway, Public, Robinhood, SimpleFIN, Polls, Prediction Markets, BYOK AI) install from GitHub and need [Git for Windows](https://git-scm.com/download/win). Without it Gloom starts without them, says so, and `gloom doctor` names them.",
1858
1869
  "**Versions:** Windows 11 x64 is tested. ARM PCs run the x64 build through Windows' emulation: the desktop app is checked to open and stay open on Windows 11 on Arm, nothing more. Windows 10 is untested."
1859
1870
  ]
@@ -1952,6 +1963,88 @@
1952
1963
  }
1953
1964
  ]
1954
1965
  },
1966
+ {
1967
+ "type": "heading",
1968
+ "level": 2,
1969
+ "text": "Uninstall"
1970
+ },
1971
+ {
1972
+ "type": "paragraph",
1973
+ "text": "Quit Gloom, then remove it the way you installed it:"
1974
+ },
1975
+ {
1976
+ "type": "list",
1977
+ "items": [
1978
+ "**Homebrew:** `brew uninstall --cask gloom` removes the app and its commands. Add `--zap` to delete your data too.",
1979
+ "**macOS install script:** `rm -rf /Applications/Gloom.app ~/.local/bin/gloom ~/.local/bin/gloomberb`",
1980
+ "**macOS disk image:** drag `Gloom.app` from Applications to the Trash.",
1981
+ "**Linux:** `rm ~/.local/bin/gloom ~/.local/bin/gloomberb`",
1982
+ "**Windows installer:** **Settings > Apps**, Gloom, **Uninstall**.",
1983
+ "**Windows PowerShell line:** delete `%USERPROFILE%\\.local\\bin\\gloom.exe`, then that folder's entry in your user PATH.",
1984
+ "**Bun:** `bun remove -g @gloom-sh/terminal`"
1985
+ ]
1986
+ },
1987
+ {
1988
+ "type": "paragraph",
1989
+ "text": "Your data stays unless you use `--zap` or delete it yourself."
1990
+ },
1991
+ {
1992
+ "type": "details",
1993
+ "summary": "Where Gloom keeps its data, and the small print",
1994
+ "blocks": [
1995
+ {
1996
+ "type": "paragraph",
1997
+ "text": "`gloom version` prints the data folder in use."
1998
+ },
1999
+ {
2000
+ "type": "list",
2001
+ "items": [
2002
+ "**macOS and Windows:** `~/.gloomberb` (`%USERPROFILE%\\.gloomberb` on Windows). It holds settings, the database, plugins and logs. `config.json` there can hold broker credentials.",
2003
+ "**Linux:** `~/.gloomberb` if you have it. A new install without it uses `~/.config/gloomberb`, `~/.local/share/gloomberb` and `~/.cache/gloomberb`, or the folders `$XDG_CONFIG_HOME`, `$XDG_DATA_HOME` and `$XDG_CACHE_HOME` name when set.",
2004
+ "**`GLOOMBERB_HOME`:** if you set it, everything above lives in that folder instead."
2005
+ ]
2006
+ },
2007
+ {
2008
+ "type": "paragraph",
2009
+ "text": "The Mac desktop app also keeps these three. With `--zap`, Homebrew deletes them and `~/.gloomberb`:"
2010
+ },
2011
+ {
2012
+ "type": "code",
2013
+ "code": "~/Library/Application Support/com.vincelwt.gloomberb\n~/Library/Preferences/com.vincelwt.gloomberb.plist\n~/Library/WebKit/com.vincelwt.gloomberb"
2014
+ },
2015
+ {
2016
+ "type": "paragraph",
2017
+ "text": "The Windows desktop app keeps this folder, if uninstalling left it:"
2018
+ },
2019
+ {
2020
+ "type": "code",
2021
+ "code": "%LOCALAPPDATA%\\com.vincelwt.gloomberb"
2022
+ },
2023
+ {
2024
+ "type": "paragraph",
2025
+ "text": "Those folders are named after the desktop app's identifier, `com.vincelwt.gloomberb`. If a newer build has moved to `sh.gloom.desktop`, delete that name too."
2026
+ },
2027
+ {
2028
+ "type": "paragraph",
2029
+ "text": "The small print:"
2030
+ },
2031
+ {
2032
+ "type": "list",
2033
+ "items": [
2034
+ "**Shell files:** the macOS and Linux script edits none. If you added the PATH line it printed, delete that line.",
2035
+ "**sudo:** use it for a folder the script needed it for.",
2036
+ "**Before 0.18.4:** an install from then that has not updated since has `Gloomberb.app`, not `Gloom.app`.",
2037
+ "**Intel Mac:** the script installs the terminal command only, so there is no app to delete.",
2038
+ "**Windows installer:** its entry is listed once the app has started; before that, delete the folder above. If the app folder's `bin` is still on your user PATH afterwards, remove it.",
2039
+ "**Windows PATH:** to edit your user PATH, search for \"Edit environment variables for your account\"."
2040
+ ]
2041
+ },
2042
+ {
2043
+ "type": "paragraph",
2044
+ "text": "Your Gloom account and what it synced stay until you delete the account in the app's account settings."
2045
+ }
2046
+ ]
2047
+ },
1955
2048
  {
1956
2049
  "type": "paragraph",
1957
2050
  "text": "Next: [your first session](/docs/first-session)."
@@ -2978,6 +3071,160 @@
2978
3071
  }
2979
3072
  ]
2980
3073
  },
3074
+ {
3075
+ "slug": "alerts",
3076
+ "title": "Alerts",
3077
+ "lead": "Every alert Gloom sets, and where each one is checked: in the app while it runs, and in Gloom Cloud when you are signed in.",
3078
+ "category": "Start here",
3079
+ "tags": [
3080
+ "ALRT",
3081
+ "SA",
3082
+ "alerts",
3083
+ "price alert",
3084
+ "IV alert",
3085
+ "risk reversal",
3086
+ "news alert",
3087
+ "earnings alert",
3088
+ "options flow",
3089
+ "push",
3090
+ "email",
3091
+ "gloom alerts add"
3092
+ ],
3093
+ "updatedAt": "2026-11-11",
3094
+ "blocks": [
3095
+ {
3096
+ "type": "heading",
3097
+ "level": 2,
3098
+ "text": "Open it"
3099
+ },
3100
+ {
3101
+ "type": "table",
3102
+ "headers": [
3103
+ "Command",
3104
+ "Does"
3105
+ ],
3106
+ "rows": [
3107
+ [
3108
+ "`ALRT`",
3109
+ "Your alerts: **Levels**, **Events** and **History**"
3110
+ ],
3111
+ [
3112
+ "`SA AAPL above 250`",
3113
+ "Adds a price alert from the command bar"
3114
+ ],
3115
+ [
3116
+ "`gloom alerts add ...`",
3117
+ "Adds any alert from the shell; `gloom help alerts` lists every form"
3118
+ ]
3119
+ ]
3120
+ },
3121
+ {
3122
+ "type": "heading",
3123
+ "level": 2,
3124
+ "text": "Who checks what"
3125
+ },
3126
+ {
3127
+ "type": "paragraph",
3128
+ "text": "The running app checks price, move, valuation, technical and ratio alerts. Signed in with Cloud sync, Gloom Cloud checks them too while the app is closed. A few others are checked only by the running app, and the news, filing and market rules only by Gloom Cloud, for a signed-in account."
3129
+ },
3130
+ {
3131
+ "type": "table",
3132
+ "headers": [
3133
+ "Alert",
3134
+ "Checked by",
3135
+ "Reaches you"
3136
+ ],
3137
+ "rows": [
3138
+ [
3139
+ "Price: above, below, crosses",
3140
+ "The running app, as quotes arrive. With Cloud sync, Gloom Cloud while the app is closed",
3141
+ "In the app. With the app closed, on your phone and by email"
3142
+ ],
3143
+ [
3144
+ "Move from the previous close",
3145
+ "The running app, once a session. With Cloud sync, Gloom Cloud while the app is closed",
3146
+ "In the app. With the app closed, on your phone and in that day's market email"
3147
+ ],
3148
+ [
3149
+ "P/E, P/S, ratio to a benchmark",
3150
+ "The running app. With Cloud sync, Gloom Cloud while the app is closed",
3151
+ "As price alerts"
3152
+ ],
3153
+ [
3154
+ "RSI and moving averages, RRG",
3155
+ "The running app, on the daily close (RRG on the weekly close). With Cloud sync, Gloom Cloud while the app is closed",
3156
+ "As price alerts"
3157
+ ],
3158
+ [
3159
+ "IV level: 30-day ATM IV or 25-delta risk reversal",
3160
+ "The running app, every 15 minutes",
3161
+ "In the app only"
3162
+ ],
3163
+ [
3164
+ "Earnings date, CPI, FOMC, an economic release",
3165
+ "The running app, every 15 minutes",
3166
+ "In the app, on the day the lead time is reached, and with the actual figures once out. Earnings alerts also reach your phone, once per report and never on the day itself"
3167
+ ],
3168
+ [
3169
+ "[Catalysts](/docs/catalysts) (trial readouts, FDA dates)",
3170
+ "The running app, signed in, on Gloom Pro, every five minutes",
3171
+ "In the app"
3172
+ ],
3173
+ [
3174
+ "News keyword, SEC filing, analyst change, 52-week high or low, unusual volume, short interest, insider trade, hiring, a perpetual's funding or open interest",
3175
+ "Gloom Cloud, signed in",
3176
+ "On your phone"
3177
+ ],
3178
+ [
3179
+ "IV spike on one option contract, options flow",
3180
+ "Gloom Cloud, signed in, on Gloom Pro",
3181
+ "On your phone"
3182
+ ],
3183
+ [
3184
+ "IPO, Congress trades, 13F filings",
3185
+ "Gloom Cloud, signed in",
3186
+ "On your phone"
3187
+ ]
3188
+ ]
3189
+ },
3190
+ {
3191
+ "type": "paragraph",
3192
+ "text": "A Cloud alert added while signed out is kept, and reads **Needs sign-in** in `ALRT` and `gloom alerts list` until you sign in. Commands such as `gloom doctor` or `gloom fn` never check alerts: only the app does."
3193
+ },
3194
+ {
3195
+ "type": "heading",
3196
+ "level": 2,
3197
+ "text": "Add one"
3198
+ },
3199
+ {
3200
+ "type": "code",
3201
+ "code": "gloom alerts add AAPL above 250\ngloom alerts add GBPUSD=X moves 0.5%\ngloom alerts add BTC-USD iv above 50 # bitcoin's 30-day ATM IV, from Deribit's options\ngloom alerts add SPY rr below -6 # 30-day 25-delta risk reversal, in vol points\ngloom alerts add CRWV earnings --days 3\ngloom alerts add news bitcoin # any story that mentions it\ngloom alerts add NVDA flow 5m calls sweeps\ngloom alerts add AAPL271217C00300000 iv spike 5"
3202
+ },
3203
+ {
3204
+ "type": "list",
3205
+ "items": [
3206
+ "A symbol is read as `gloom quote` reads it. A target more than 10 times the last price, or under a tenth of it, is refused.",
3207
+ "An IV level reads the 1M row of `OVDV`'s Table: US listings, and `BTC-USD` and `ETH-USD` from Deribit's options.",
3208
+ "News, flow and the other Cloud rules follow US listings. A coin's news is a keyword alert, on the words you typed when they name the coin, else on its name: `gloom alerts add news bitcoin`.",
3209
+ "A ticker that is also a series name says which listing the alert follows. `DVOL` is a US fund; Deribit's bitcoin volatility index is `gloom fn G CAP:volatility:dvol-btc`, and an alert on bitcoin's implied volatility is `gloom alerts add BTC-USD iv above 60`.",
3210
+ "An IV spike needs a live contract: one past its expiry is refused."
3211
+ ]
3212
+ },
3213
+ {
3214
+ "type": "heading",
3215
+ "level": 2,
3216
+ "text": "After it goes off"
3217
+ },
3218
+ {
3219
+ "type": "paragraph",
3220
+ "text": "A price or IV level alert goes off once, then reads **Triggered** or **Alerted** until you re-arm it (`m` in `ALRT`, or `gloom alerts rearm <id>`). A move alert arms itself again for the next session."
3221
+ },
3222
+ {
3223
+ "type": "paragraph",
3224
+ "text": "**History** in `ALRT`, and `gloom fn ALRT --tab history`, lists the alerts that went off on this device, newest first, with the figure and the quote behind each, beside the alerts you created, re-armed or deleted."
3225
+ }
3226
+ ]
3227
+ },
2981
3228
  {
2982
3229
  "slug": "ai-workflows",
2983
3230
  "title": "AI workflows",
@@ -3097,7 +3344,7 @@
3097
3344
  "troubleshooting",
3098
3345
  "diagnostics"
3099
3346
  ],
3100
- "updatedAt": "2026-10-25",
3347
+ "updatedAt": "2026-11-09",
3101
3348
  "blocks": [
3102
3349
  {
3103
3350
  "type": "heading",
@@ -3147,7 +3394,7 @@
3147
3394
  {
3148
3395
  "type": "list",
3149
3396
  "items": [
3150
- "`Bad CPU type in executable` on macOS: an Intel Mac running the Apple Silicon app. Delete `/Applications/Gloom.app` (`Gloomberb.app` before the app was renamed) and rerun `curl -fsSL gloom.sh/install | bash` for the Intel terminal build.",
3397
+ "`Bad CPU type in executable` on macOS: an Intel Mac running the Apple Silicon app. [Delete](/docs/getting-started#uninstall) `/Applications/Gloom.app` (`Gloomberb.app` before the app was renamed) and rerun `curl -fsSL gloom.sh/install | bash` for the Intel terminal build.",
3151
3398
  "`gloom doctor` shows runtime errors.",
3152
3399
  "Update with the same method you installed with. See [Install and update](/docs/getting-started)."
3153
3400
  ]
@@ -3899,7 +4146,7 @@
3899
4146
  "government",
3900
4147
  "SPLC"
3901
4148
  ],
3902
- "updatedAt": "2026-10-07",
4149
+ "updatedAt": "2026-11-12",
3903
4150
  "blocks": [
3904
4151
  {
3905
4152
  "type": "heading",
@@ -3999,7 +4246,8 @@
3999
4246
  {
4000
4247
  "type": "list",
4001
4248
  "items": [
4002
- "A contract is evidence of a government customer, not recognised revenue. Prime awards, subawards and modifications overlap, so do not add them, and currencies are never combined."
4249
+ "A contract is evidence of a government customer, not recognised revenue. Prime awards, subawards and modifications overlap, so do not add them, and currencies are never combined.",
4250
+ "Singapore's GeBIZ amounts are as printed. For a tender awarded by items, a panel or a framework, an amount can be a ceiling, a rate or an estimate, not the supplier's revenue. An amount under S$6,000, or the same amount printed for several suppliers of one tender, shows as no amount."
4003
4251
  ]
4004
4252
  },
4005
4253
  {
@@ -4436,7 +4684,7 @@
4436
4684
  {
4437
4685
  "slug": "perpetuals",
4438
4686
  "title": "Perpetual history",
4439
- "lead": "PERP shows funding, open interest and premium history for one perpetual on Hyperliquid, Binance, Bybit or OKX",
4687
+ "lead": "PERP shows a board and rankings of perpetuals on Hyperliquid, Binance, Bybit and OKX, and one perpetual's funding, open interest and premium history",
4440
4688
  "category": "Understand the data",
4441
4689
  "tags": [
4442
4690
  "PERP",
@@ -4445,7 +4693,7 @@
4445
4693
  "perpetuals",
4446
4694
  "history"
4447
4695
  ],
4448
- "updatedAt": "2026-10-26",
4696
+ "updatedAt": "2026-11-09",
4449
4697
  "blocks": [
4450
4698
  {
4451
4699
  "type": "heading",
@@ -4461,11 +4709,11 @@
4461
4709
  "rows": [
4462
4710
  [
4463
4711
  "`PERP`",
4464
- "A market search"
4712
+ "The Board of every market"
4465
4713
  ],
4466
4714
  [
4467
4715
  "`PERP BTC`",
4468
- "Bitcoin perpetuals"
4716
+ "Bitcoin on the venue with the most open interest"
4469
4717
  ],
4470
4718
  [
4471
4719
  "`PERP hyperliquid:xyz:TSLA`",
@@ -4485,6 +4733,14 @@
4485
4733
  "Shows"
4486
4734
  ],
4487
4735
  "rows": [
4736
+ [
4737
+ "Board",
4738
+ "Every market by venue: mark, funding, premium, open interest and its 24-hour change, long share and APR, filtered by asset class and venue"
4739
+ ],
4740
+ [
4741
+ "Rankings",
4742
+ "The highest and lowest funding, open-interest surges and premium dislocations, across every asset class or within one"
4743
+ ],
4488
4744
  [
4489
4745
  "Compare",
4490
4746
  "One asset's contracts across the venues: mark, funding, premium and when each was observed"
@@ -4569,6 +4825,7 @@
4569
4825
  "type": "list",
4570
4826
  "items": [
4571
4827
  "Stored readings cover Hyperliquid, Binance, Bybit and OKX. Compare shows each venue's leading contract free; Pro lists every contract.",
4828
+ "A contract's asset class is the one its venue gives it: OKX's instrument category, Binance's underlying type and Bybit's symbol type, so a venue's stock, commodity or FX perpetual is never counted as crypto. Hyperliquid's builder-deployed markets are classed from a checked list and stay Other until checked.",
4572
4829
  "Positive funding means longs pay shorts. Open interest in contracts and in USD differ, because a price rise adds USD open interest without new contracts.",
4573
4830
  "A stock perpetual's premium is blank while the stock market is closed. The live board and trading are in the Hyperliquid plugin."
4574
4831
  ]
@@ -5655,19 +5912,24 @@
5655
5912
  "functions",
5656
5913
  "screenshots"
5657
5914
  ],
5658
- "updatedAt": "2026-11-07",
5915
+ "updatedAt": "2026-11-08",
5659
5916
  "blocks": [
5660
5917
  {
5661
5918
  "type": "paragraph",
5662
- "text": "`gloom` alone, or `gloom launch-ui` from a script, opens the terminal UI. Every other command runs headless and prints a result."
5919
+ "text": "`gloom` opens the terminal UI (`gloom launch-ui` from a script). Every other command runs headless and prints text, or `--json`, `--csv` or `--ndjson`."
5663
5920
  },
5664
5921
  {
5665
- "type": "paragraph",
5666
- "text": "`gloom help <command>` shows usage and examples. Plugins add commands of their own, such as `ai ask` from BYOK AI."
5922
+ "type": "code",
5923
+ "code": "gloom quote AAPL MSFT\ngloom fn GP NVDA\ngloom financials MSFT --csv --output msft.csv\ngloom shot QQ AAPL,MSFT,NVDA --output quotes.png"
5667
5924
  },
5668
5925
  {
5669
5926
  "type": "paragraph",
5670
- "text": "Output is readable text by default. Global flags:"
5927
+ "text": "`gloom help <command>` shows usage and examples. Plugins add commands, such as `ai ask` from BYOK AI."
5928
+ },
5929
+ {
5930
+ "type": "heading",
5931
+ "level": 2,
5932
+ "text": "Global flags"
5671
5933
  },
5672
5934
  {
5673
5935
  "type": "table",
@@ -5678,7 +5940,11 @@
5678
5940
  "rows": [
5679
5941
  [
5680
5942
  "`--json`, `--csv`, `--ndjson`",
5681
- "Machine-readable output. `--json` is the richest."
5943
+ "Machine-readable output; `--json` is the richest"
5944
+ ],
5945
+ [
5946
+ "`--output file`, `--out file`",
5947
+ "Write that output to a file ([more](#files-and-windows))"
5682
5948
  ],
5683
5949
  [
5684
5950
  "`--limit n`",
@@ -5690,14 +5956,26 @@
5690
5956
  ],
5691
5957
  [
5692
5958
  "`--dry-run`",
5693
- "Preview a change without saving. Applies to `config`, `cache`, `notes`, `alerts`, `plugin enable` and `disable`, and `remote`."
5959
+ "Preview a change without saving: `config`, `cache`, `notes`, `alerts`, `plugin enable` and `disable`, `remote`"
5694
5960
  ],
5695
5961
  [
5696
5962
  "`-q`, `--quiet`, `--no-color`",
5697
5963
  "Less output, no colour"
5964
+ ],
5965
+ [
5966
+ "`--plain`, `--no-plain`",
5967
+ "Text for a screen reader or very large text ([more](#plain-output))"
5968
+ ],
5969
+ [
5970
+ "`--width n`",
5971
+ "Fit tables, help and notes to n columns, in a terminal or piped"
5698
5972
  ]
5699
5973
  ]
5700
5974
  },
5975
+ {
5976
+ "type": "paragraph",
5977
+ "text": "Exit codes: 0 when it worked, 1 when it failed (bad input, no data found, a failed check). `gloom help` ends with the list."
5978
+ },
5701
5979
  {
5702
5980
  "type": "heading",
5703
5981
  "level": 2,
@@ -5732,11 +6010,11 @@
5732
6010
  ],
5733
6011
  [
5734
6012
  "`fn CMP <symbols> [--from <date>] [--to <date>] [--total-return] [--currency <code>]`",
5735
- "Returns side by side, each in its listing's currency: price returns, or with `--total-return` each distribution reinvested at its ex-date close. `--currency USD` converts every close at that day's FX close, so a lira stock's return carries the lira's move"
6013
+ "Returns side by side"
5736
6014
  ],
5737
6015
  [
5738
6016
  "`fn DVD <symbols>`",
5739
- "Dividend yield and history; several symbols rank in one table by yield, with payout, growth, last ex-date and pay date"
6017
+ "Dividend yield and history; several rank by yield, with payout, growth, last ex-date and pay date"
5740
6018
  ],
5741
6019
  [
5742
6020
  "`holders`, `insider`, `13f`, `filings` `<symbol>`",
@@ -5752,6 +6030,13 @@
5752
6030
  ]
5753
6031
  ]
5754
6032
  },
6033
+ {
6034
+ "type": "list",
6035
+ "items": [
6036
+ "`fn CMP` gives price returns in each listing's currency. `--total-return` reinvests each distribution at its ex-date close.",
6037
+ "`--currency USD` converts every close at that day's FX close, so a lira stock's return carries the lira's move."
6038
+ ]
6039
+ },
5755
6040
  {
5756
6041
  "type": "heading",
5757
6042
  "level": 2,
@@ -5769,12 +6054,24 @@
5769
6054
  "Market overview"
5770
6055
  ],
5771
6056
  [
5772
- "`earnings <symbols>`, `fx <currency>`",
5773
- "Earnings dates; a currency into your base currency. Gold, silver, platinum and palladium have no spot quote, so `fx XAU/TRY` is derived from the front-month future (GC=F) and the dollar pair, and says so"
6057
+ "`earnings <symbols>`",
6058
+ "Earnings dates"
6059
+ ],
6060
+ [
6061
+ "`fx <currency>`, `fx <base>/<quote>`, `fx <amount> <from>/<to>`",
6062
+ "A currency into your base currency, a pair as markets quote it with its move on the day (`fx USD/MXN`), or an amount converted (`fx 5000000 USD/EUR`)"
6063
+ ],
6064
+ [
6065
+ "`fx <pair> --date <day>`",
6066
+ "The rate at that day's daily FX close (`fx USD/MXN --date 2026-11-06`)"
6067
+ ],
6068
+ [
6069
+ "`fx [amount] <pair> --forward <tenor>`",
6070
+ "The forward implied by both currencies' short rates, with forward points (`fx 5000000 USD/MXN --forward 30d`)"
5774
6071
  ],
5775
6072
  [
5776
6073
  "`econ [--country all|US|G7|EU|<codes>] [--impact high|medium|low|all] [--search <words>] [--from <date>] [--tz <zone>]`",
5777
- "Economic calendar; `--country` also takes countries by their two-letter codes, comma separated (`TR`, `MX,BR,ZA`), and `--from` an earlier day lists past events with their actuals"
6074
+ "Economic calendar"
5778
6075
  ],
5779
6076
  [
5780
6077
  "`fred <series>`, `yield-curve`",
@@ -5786,6 +6083,16 @@
5786
6083
  ]
5787
6084
  ]
5788
6085
  },
6086
+ {
6087
+ "type": "list",
6088
+ "items": [
6089
+ "Gold, silver, platinum and palladium have no spot quote: `fx XAU/TRY` uses the front-month future (GC=F) and the dollar pair, and says so.",
6090
+ "A weekend or holiday `--date` reads the trading day before, and says so.",
6091
+ "`--forward` is covered interest parity, not a dealer quote. With an amount it adds the carry in your base currency, and which side earns it.",
6092
+ "Short rates cover USD, EUR, GBP, MXN, BRL, SGD and ZAR, and for TRY the CBRT policy rate, named so.",
6093
+ "`econ --country` takes two-letter codes, comma separated (`TR`, `MX,BR,ZA`). An earlier `--from` lists past events with their actuals."
6094
+ ]
6095
+ },
5789
6096
  {
5790
6097
  "type": "heading",
5791
6098
  "level": 2,
@@ -5800,35 +6107,39 @@
5800
6107
  "rows": [
5801
6108
  [
5802
6109
  "`portfolio list|show|create|delete <name>`",
5803
- "Manual portfolios; `show` lists value, weight, a year of dividend income and its yield, target, drift and the trade to rebalance; `show --explain` adds what those terms mean, `show --drip [--years 1-5] [--withholding <pct>]` projects reinvested dividends, and `show --from <date> [--to <date>]` gives the P&L between two closes with the FX move; `--real` adds the return after the portfolio currency's consumer prices (USD and TRY) and names the CPI months it used"
6110
+ "Manual portfolios"
5804
6111
  ],
5805
6112
  [
5806
6113
  "`portfolio create <name> --currency <code>`",
5807
- "A portfolio that totals in another currency than your base currency (`--currency TRY`); a name's last word in capitals (`Baht THB`) is read as one too"
6114
+ "A portfolio that totals in another currency (`--currency TRY`)"
5808
6115
  ],
5809
6116
  [
5810
6117
  "`portfolio add|remove <portfolio> <symbols...> [--file <csv|txt>]`",
5811
- "Add or remove tickers: several at once (commas, spaces or lines), a CSV or text file, or piped input (`-`); one line per symbol and a summary of what was not found"
6118
+ "Several tickers at once, from a file, or piped (`-`)"
5812
6119
  ],
5813
6120
  [
5814
6121
  "`portfolio position set <portfolio> <symbol> <shares> <avg-cost> [currency] [--date <purchase date> | --cost-fx <rate>]`",
5815
- "Set a position. The cost is in the currency named after it, else the listing's. A holding in another currency than the portfolio's can be entered at its cost in the portfolio's currency, or in its own with `--date` (that day's FX close) or `--cost-fx` (the rate paid, portfolio currency per unit of the holding's), so P&L carries the currency's move"
6122
+ "Set a position"
5816
6123
  ],
5817
6124
  [
5818
6125
  "`portfolio import <file> [--name <portfolio>] [--merge|--replace] [--dry-run]`",
5819
- "Fill a portfolio from a broker's positions CSV (`-` reads standard input): Fidelity, Schwab, Vanguard, E*TRADE, Merrill, or any table with a symbol and a quantity column. It reads shares, cost, purchase date and currency; the portfolio is named after the broker unless `--name` says otherwise. `--dry-run` previews and saves nothing. A portfolio that holds tickers needs `--merge` (update) or `--replace` (also remove what the file lacks; refused while a stock row failed to import). Cash, options, bonds and pending rows are skipped with the reason, a trade history is refused"
6126
+ "From a broker's positions CSV (`-` reads standard input)"
5820
6127
  ],
5821
6128
  [
5822
6129
  "`portfolio cash set <portfolio> <amount> [currency]`, `portfolio cash clear <portfolio>`",
5823
- "Record or clear the cash line; it counts in the total and the weights"
6130
+ "The cash line, counted in the total and the weights"
6131
+ ],
6132
+ [
6133
+ "`portfolio target set <portfolio> <symbol|CASH> <weight%>`",
6134
+ "A target weight; `portfolio show` and `PF` then add drift and the trade to reach it"
5824
6135
  ],
5825
6136
  [
5826
- "`portfolio target set <portfolio> <symbol|CASH> <weight%>`, `portfolio target clear <portfolio> [symbol|CASH]`, `portfolio target show <portfolio>`",
5827
- "Target weights; drift and the trade to reach them then show in `portfolio show` and `PF`"
6137
+ "`portfolio target clear <portfolio> [symbol|CASH]`, `portfolio target show <portfolio>`",
6138
+ "Clear or list targets"
5828
6139
  ],
5829
6140
  [
5830
6141
  "`watchlist list|show|create|delete|add|remove`",
5831
- "The same verbs for watchlists, with the same multi-symbol and `--file` add; `watchlist show <name> --csv` or `--json` prints one row per ticker, market cap included"
6142
+ "The same for watchlists, with the same multi-symbol and `--file` add"
5832
6143
  ],
5833
6144
  [
5834
6145
  "`broker list [--type ibkr]`",
@@ -5840,29 +6151,72 @@
5840
6151
  ],
5841
6152
  [
5842
6153
  "`alerts list`, `alerts add ...`, `alerts delete|rearm <id>`",
5843
- "Price, valuation, daily technical and event alerts, every kind the `ALRT` pane offers; the forms are below"
6154
+ "Price, valuation, daily technical and event alerts ([forms](#alerts))"
5844
6155
  ]
5845
6156
  ]
5846
6157
  },
5847
6158
  {
5848
6159
  "type": "paragraph",
5849
- "text": "[Portfolios and rebalancing](/docs/portfolio) walks through importing a broker CSV, targets and the drift table. `CASH` in `portfolio target` is the cash line; `portfolio add` and `position set` refuse a bare `CASH` (the stock is `CASH:NASDAQ`). `portfolio` and `watchlist` write immediately; `--dry-run` previews `add` and `portfolio import <file>`, and every other change refuses it. Sign-in, account management and chat are app-only."
6160
+ "text": "[Portfolios and rebalancing](/docs/portfolio) covers what `portfolio show` lists and its options, other currencies, cost, broker CSV imports and targets."
5850
6161
  },
5851
6162
  {
5852
- "type": "paragraph",
5853
- "text": "The alerts commands, as `gloom help alerts` lists them:"
6163
+ "type": "list",
6164
+ "items": [
6165
+ "`portfolio show --from <date> --to <date>` gives the P&L between two closes, with the FX move.",
6166
+ "`portfolio add` takes symbols split by commas, spaces or lines, and prints one line per symbol and what was not found.",
6167
+ "`watchlist show <name> --csv` or `--json` prints one row per ticker, market cap included.",
6168
+ "`CASH` in `portfolio target` is the cash line. `portfolio add` and `position set` refuse a bare `CASH` (the stock is `CASH:NASDAQ`).",
6169
+ "`portfolio` and `watchlist` write immediately. `--dry-run` previews `add` and `portfolio import <file>`; other changes refuse it.",
6170
+ "Sign-in, account management and chat are app-only."
6171
+ ]
5854
6172
  },
5855
6173
  {
5856
- "type": "code",
5857
- "code": "gloom alerts list\ngloom alerts add <symbol> <above|below|crosses> <price>\ngloom alerts add <symbol> <pe|ps|rsi(14)> <above|below> <level>\ngloom alerts add <symbol> ma(50) crosses <above|below> ma(200)\ngloom alerts add <symbol> closes <above|below> ma(200)\ngloom alerts add <symbol>/<benchmark> <above|below|crosses> <ratio>\ngloom alerts add <symbol> rrg <leading|weakening|lagging|improving> [--benchmark <symbol>]\ngloom alerts add <symbol> earnings [--days <n> | results]\ngloom alerts add <calendar event> [--country <code>] [--days <n>]\ngloom alerts add [symbol] news <keyword>\ngloom alerts add [symbol] flow [premium] [calls|puts] [sweeps|blocks]\ngloom alerts add <symbol> <iv|rr> <above|below> <level>\ngloom alerts add <OCC contract> iv spike <points>\ngloom alerts add <symbol> 52-week <high|low>\ngloom alerts add <symbol> unusual volume [<multiple>x]\ngloom alerts add <symbol> filing [8-K|10-K|10-Q|S-1|13D|13D/A|13G|13G/A|6-K|20-F]\ngloom alerts add <symbol> insider [buy|sell]\ngloom alerts add <symbol> short interest [increase|decrease] [<percent>%]\ngloom alerts add <symbol> analyst [upgrade|downgrade]\ngloom alerts add <symbol> hiring [accelerating|slowing]\ngloom alerts add perps <market> <funding|oi|premium|closed-premium> <above|below> <percent>\ngloom alerts add catalyst [type <type> | agency <agency> | country <code>]\ngloom alerts add <symbol> catalyst\ngloom alerts add congress [member name]\ngloom alerts add 13f <fund CIK>\ngloom alerts delete <id>\ngloom alerts rearm <id>"
6174
+ "type": "heading",
6175
+ "level": 2,
6176
+ "text": "Functions: `catalog`, `fn`, `shot`"
5858
6177
  },
5859
6178
  {
5860
6179
  "type": "paragraph",
5861
- "text": "Words none of these forms read are refused with the list of kinds. Adding a rule that already exists names the existing alert's ID and adds nothing, and `rearm` on an alert that has not gone off says it is already active. An RSI or moving-average alert is always saved: it reads the same daily closes `history` shows as final and says when it is first checked."
6180
+ "text": "Every [function](/docs/functions) can run headless. `gloom catalog <function>` lists a function's options, and `shot` draws them as the pane does."
5862
6181
  },
5863
6182
  {
5864
- "type": "paragraph",
5865
- "text": "`alerts list` shows each alert's listing with its currency, its last reading with when it is from (or `not checked yet`) and when it was created, in ISO 8601 UTC. `alerts list --csv` keeps its columns in order (`id,kind,target,trigger,eventDate,status,lastCheckedPrice,triggeredAt`) and adds `createdAt,listing,currency,lastReading,lastReadingAt` after them. Creating, re-arming and deleting an alert go in the app's alert log beside the alerts that fired (`gloom fn ALRT --tab history`)."
6183
+ "type": "table",
6184
+ "headers": [
6185
+ "Command",
6186
+ "Use"
6187
+ ],
6188
+ "rows": [
6189
+ [
6190
+ "`catalog [query] [--all] [--bot-safe]`",
6191
+ "Find functions and their options"
6192
+ ],
6193
+ [
6194
+ "`catalog glossary [term]`, `catalog explain <term>`",
6195
+ "What a term means, such as `stop-out`, `B/C`, `drift`, `NAV`, `beta`, `R²` or `VaR`"
6196
+ ],
6197
+ [
6198
+ "`fn <function> [argument] [--option value] [--explain]`",
6199
+ "Print a function's report; `--explain` adds the meaning of its terms"
6200
+ ],
6201
+ [
6202
+ "`shot <function> [argument] [--output file] [--width px] [--height px] [--theme id] [--tab id] [--no-status] [--strict]`",
6203
+ "Save a PNG of the function as it looks on the desktop"
6204
+ ]
6205
+ ]
6206
+ },
6207
+ {
6208
+ "type": "code",
6209
+ "code": "gloom catalog chart\ngloom fn GP NVDA\ngloom fn 13F AAPL --view=ticker-holdings --json\ngloom shot QQ AAPL,MSFT,NVDA --output quotes.png\ngloom shot FA ASML --statement income --width 1400 --height 900\ngloom shot 13F 0001067983 --compare SPY # overlap with SPY"
6210
+ },
6211
+ {
6212
+ "type": "list",
6213
+ "items": [
6214
+ "An option only the text report reads, such as `--limit`, fails `shot` with exit 1 and names the `fn` command that reads it.",
6215
+ "`shot` saves its PNG, prints a Reason line and exits 0 when the pane drew an error, was empty, still loading or behind an access gate.",
6216
+ "`shot --strict` exits 2 in those cases instead, still saving the PNG and printing the Reason.",
6217
+ "A name nothing opens (`fn volsurf SPY`) lists up to five functions closest by name, keyword and description, and how to search the catalog.",
6218
+ "`shot` lays out 720 to 2400 wide and 360 to 1800 tall, drawing the PNG at twice that. Other sizes are clamped, with a warning."
6219
+ ]
5866
6220
  },
5867
6221
  {
5868
6222
  "type": "heading",
@@ -5905,73 +6259,101 @@
5905
6259
  {
5906
6260
  "type": "heading",
5907
6261
  "level": 2,
5908
- "text": "Functions: `catalog`, `fn`, `shot`"
5909
- },
5910
- {
5911
- "type": "paragraph",
5912
- "text": "Every [function](/docs/functions) can run headless."
5913
- },
5914
- {
5915
- "type": "table",
5916
- "headers": [
5917
- "Command",
5918
- "Use"
5919
- ],
5920
- "rows": [
5921
- [
5922
- "`catalog [query] [--all] [--bot-safe]`",
5923
- "Find functions and their options"
5924
- ],
5925
- [
5926
- "`catalog glossary [term]`, `catalog explain <term>`",
5927
- "What a term means, such as `stop-out`, `B/C`, `drift`, `NAV`, `beta`, `R²` or `VaR`"
5928
- ],
5929
- [
5930
- "`fn <function> [argument] [--option value] [--explain]`",
5931
- "Print a function's report; `--explain` adds the meaning of the terms it shows"
5932
- ],
5933
- [
5934
- "`shot <function> [argument] [--output file] [--width px] [--height px] [--theme id] [--no-status] [--strict]`",
5935
- "Save a PNG of the function as it looks on the desktop; `--strict` exits 2 when the pane has no usable data"
5936
- ]
5937
- ]
6262
+ "text": "Plugin capabilities"
5938
6263
  },
5939
6264
  {
5940
6265
  "type": "code",
5941
- "code": "gloom catalog chart\ngloom fn GP NVDA\ngloom fn 13F AAPL --view=ticker-holdings --json\ngloom shot QQ AAPL,MSFT,NVDA --output quotes.png\ngloom shot FA ASML --statement income --width 1400 --height 900"
6266
+ "code": "gloom api list --json\ngloom api get <capability-id>\ngloom api invoke asset-data.gloomberb-cloud.getQuote '{\"ticker\":\"AAPL\",\"exchange\":\"NASDAQ\"}' --json\ngloom api subscribe <capability.operation> [json] --limit 10"
5942
6267
  },
5943
6268
  {
5944
- "type": "paragraph",
5945
- "text": "`gloom catalog <function>` lists a function's options. `shot` also takes `--tab <id>`. `shot` draws a function's options as its pane does: `gloom shot 13F 0001067983 --compare SPY` opens the fund's overlap with SPY. An option only the text report reads, such as `--limit`, fails `shot` with exit 1 and names the `fn` command that reads it, instead of saving the pane without it."
6269
+ "type": "heading",
6270
+ "level": 2,
6271
+ "text": "Alerts"
5946
6272
  },
5947
6273
  {
5948
6274
  "type": "paragraph",
5949
- "text": "A command exits 0 when it worked and 1 when it failed (bad input, no data found, a failed check); `gloom help` ends with the list. `shot` saves its PNG, prints the Reason line and still exits 0 when the pane drew an error, was empty, was still loading or was behind an access gate, so a script cannot tell that from a good capture. `shot --strict` exits 2 in those cases instead, with the PNG still saved and the Reason still printed."
6275
+ "text": "Every kind the `ALRT` pane offers, as `gloom help alerts` lists them:"
5950
6276
  },
5951
6277
  {
5952
- "type": "paragraph",
5953
- "text": "A function name nothing opens (`fn volsurf SPY`) fails with the functions closest to it by name, keyword and description, at most five, and `Search the catalog: gloom catalog volsurf`."
6278
+ "type": "code",
6279
+ "code": "gloom alerts list\ngloom alerts add <symbol> <above|below|crosses> <price>\ngloom alerts add <symbol> <pe|ps|rsi(14)> <above|below> <level>\ngloom alerts add <symbol> ma(50) crosses <above|below> ma(200)\ngloom alerts add <symbol> closes <above|below> ma(200)\ngloom alerts add <symbol>/<benchmark> <above|below|crosses> <ratio>\ngloom alerts add <symbol> rrg <leading|weakening|lagging|improving> [--benchmark <symbol>]\ngloom alerts add <symbol> earnings [--days <n> | results]\ngloom alerts add <calendar event> [--country <code>] [--days <n>]\ngloom alerts add [symbol] news <keyword>\ngloom alerts add [symbol] flow [premium] [calls|puts] [sweeps|blocks]\ngloom alerts add <symbol> <iv|rr> <above|below> <level>\ngloom alerts add <OCC contract> iv spike <points>\ngloom alerts add <symbol> 52-week <high|low>\ngloom alerts add <symbol> unusual volume [<multiple>x]\ngloom alerts add <symbol> filing [8-K|10-K|10-Q|S-1|13D|13D/A|13G|13G/A|6-K|20-F]\ngloom alerts add <symbol> insider [buy|sell]\ngloom alerts add <symbol> short interest [increase|decrease] [<percent>%]\ngloom alerts add <symbol> analyst [upgrade|downgrade]\ngloom alerts add <symbol> hiring [accelerating|slowing]\ngloom alerts add perps <market> <funding|oi|premium|closed-premium> <above|below> <percent>\ngloom alerts add catalyst [type <type> | agency <agency> | country <code>]\ngloom alerts add <symbol> catalyst\ngloom alerts add congress [member name]\ngloom alerts add 13f <fund CIK>\ngloom alerts delete <id>\ngloom alerts rearm <id>"
6280
+ },
6281
+ {
6282
+ "type": "list",
6283
+ "items": [
6284
+ "Words none of these forms read are refused with the list of kinds.",
6285
+ "Adding a rule that exists names its ID and adds nothing. `rearm` on an alert that has not gone off says it is already active.",
6286
+ "RSI and moving-average alerts are always saved. They read the daily closes `history` shows as final, and say when they are first checked.",
6287
+ "`alerts list` shows each alert's listing and currency, its last reading and when (or `not checked yet`), and when it was created, in ISO 8601 UTC.",
6288
+ "Creating, re-arming and deleting an alert go in the app's alert log beside fired alerts (`gloom fn ALRT --tab history`)."
6289
+ ]
5954
6290
  },
5955
6291
  {
5956
6292
  "type": "paragraph",
5957
- "text": "`shot` sizes the layout from 720 to 2400 wide and 360 to 1800 tall, and the PNG is drawn at twice that. A size outside the limits is clamped, and a warning says what was used."
6293
+ "text": "`alerts list --csv` keeps its first eight columns in their original order, and adds five after them:"
6294
+ },
6295
+ {
6296
+ "type": "code",
6297
+ "code": "id,kind,target,trigger,eventDate,status,lastCheckedPrice,triggeredAt,createdAt,listing,currency,lastReading,lastReadingAt"
6298
+ },
6299
+ {
6300
+ "type": "heading",
6301
+ "level": 2,
6302
+ "text": "Status line and times"
5958
6303
  },
5959
6304
  {
5960
6305
  "type": "paragraph",
5961
- "text": "Reports end with their source and a dated status line, such as `Source: Gloom Cloud · US trading day Fri 9 Oct 2026 close · 15 min delayed · markets closed until Mon`: when the data is from (UTC, or the close of a market's trading day, always with the year), how far it is held back, and when its market reopens. Screenshots draw the same line, without the source, in the pane footer, inside the requested size; `--no-status` leaves it out."
6306
+ "text": "Reports end with their source and a dated status line:"
6307
+ },
6308
+ {
6309
+ "type": "code",
6310
+ "code": "Source: Gloom Cloud · US trading day Fri 9 Oct 2026 close · 15 min delayed · markets closed until Mon"
6311
+ },
6312
+ {
6313
+ "type": "list",
6314
+ "items": [
6315
+ "It says when the data is from (UTC, or a market's trading-day close, always with the year), how far it is held back, and when its market reopens.",
6316
+ "Screenshots draw the same line, without the source, in the pane footer inside the requested size. `--no-status` leaves it out.",
6317
+ "Times print in UTC. `gloom config set timezone Asia/Tokyo` (any `Region/City`; `none` turns it off) adds your clock beside them:"
6318
+ ]
6319
+ },
6320
+ {
6321
+ "type": "code",
6322
+ "code": "Sat 10 Oct 2026 16:56 UTC (Sun 11 Oct 01:56 Asia/Tokyo)"
5962
6323
  },
5963
6324
  {
5964
6325
  "type": "paragraph",
5965
- "text": "Times print in UTC. To see your own clock beside them, run `gloom config set timezone Asia/Tokyo` (any `Region/City` name; `none` turns it off): `Sat 10 Oct 2026 16:56 UTC (Sun 11 Oct 01:56 Asia/Tokyo)`. A trading day keeps its market's date in every zone, and `--json` and `--csv` keep the raw values."
6326
+ "text": "A trading day keeps its market's date in every zone, and `--json` and `--csv` keep the raw values."
5966
6327
  },
5967
6328
  {
5968
6329
  "type": "heading",
5969
6330
  "level": 2,
5970
- "text": "Plugin capabilities"
6331
+ "text": "Files and Windows"
5971
6332
  },
5972
6333
  {
5973
- "type": "code",
5974
- "code": "gloom api list --json\ngloom api get <capability-id>\ngloom api invoke asset-data.gloomberb-cloud.getQuote '{\"ticker\":\"AAPL\",\"exchange\":\"NASDAQ\"}' --json\ngloom api subscribe <capability.operation> [json] --limit 10"
6334
+ "type": "list",
6335
+ "items": [
6336
+ "`--output` writes the export in UTF-8 without a byte-order mark, and prints `Saved` or `Replaced` with its full path.",
6337
+ "Without `--csv`, `--json` or `--ndjson` it is refused, except on a command with an `--output` of its own.",
6338
+ "Those keep theirs: `fn` writes its report in the format asked for, text included; `shot` writes a PNG; a plugin command what its help says.",
6339
+ "On Windows, use `--output` rather than a `>` redirect: Windows PowerShell 5.1 writes UTF-16, which a spreadsheet misreads.",
6340
+ "Output uses UTF-8 (long dashes, `€`, `·`). Windows Terminal and PowerShell show it; in an older cmd.exe console, run `chcp 65001` first.",
6341
+ "cmd.exe drops a bare `^`, so quote an index symbol: `gloom quote \"^SPX\"`."
6342
+ ]
6343
+ },
6344
+ {
6345
+ "type": "heading",
6346
+ "level": 2,
6347
+ "text": "Plain output"
6348
+ },
6349
+ {
6350
+ "type": "list",
6351
+ "items": [
6352
+ "`--plain` drops rule lines, writes arrows as words and keeps every table column, with a dash in an empty cell.",
6353
+ "A narrow table moves columns under each row instead of dropping them.",
6354
+ "It is on without the flag when output is piped or redirected, or `NO_COLOR` is non-empty, which also turns colour off. `--no-plain` turns it off.",
6355
+ "Without `--width`, the terminal's width applies; piped output fits `COLUMNS` when set."
6356
+ ]
5975
6357
  }
5976
6358
  ]
5977
6359
  },
@@ -5984,22 +6366,22 @@
5984
6366
  "agents",
5985
6367
  "remote",
5986
6368
  "cli",
5987
- "automation"
6369
+ "automation",
6370
+ "setup"
5988
6371
  ],
5989
- "updatedAt": "2026-10-09",
6372
+ "updatedAt": "2026-11-08",
5990
6373
  "blocks": [
5991
6374
  {
5992
- "type": "heading",
5993
- "level": 2,
5994
- "text": "What this is"
6375
+ "type": "paragraph",
6376
+ "text": "`gloom remote` drives a Gloom app running on this machine, terminal (TUI) or desktop. Scripts and local agents read the screen, open panes, pick tickers and arrange layouts by name."
5995
6377
  },
5996
6378
  {
5997
- "type": "paragraph",
5998
- "text": "The remote API drives a running Gloom app. Agents and scripts read semantic state, open panes, navigate tickers, arrange layouts, and call plugin capabilities, with no screen coordinates."
6379
+ "type": "code",
6380
+ "code": "gloom # one terminal: the app\ngloom remote help # another: the agent guide\ngloom remote get app://snapshot --json # what is on screen"
5999
6381
  },
6000
6382
  {
6001
6383
  "type": "paragraph",
6002
- "text": "Use it to operate the live desktop or TUI, and to capture a pane of the desktop app as it looks right now (`pane.screenshot`). Use the [CLI](/docs/cli-functions) for headless data, reports, and screenshots of a function with no app open."
6384
+ "text": "Leave `--app` out when one app runs. Pass `--app tui` or `--app desktop` when both do."
6003
6385
  },
6004
6386
  {
6005
6387
  "type": "table",
@@ -6010,122 +6392,242 @@
6010
6392
  "rows": [
6011
6393
  [
6012
6394
  "A script or local agent on the same machine as the app",
6013
- "This remote API: no account, no network, nothing asks"
6395
+ "`gloom remote`: no account, no network"
6014
6396
  ],
6015
6397
  [
6016
6398
  "Claude Code, Codex or another assistant connected to Gloom Cloud",
6017
6399
  "The [MCP server](/docs/mcp) with [Terminal control](/docs/mcp#terminal-control): the same operations, one MCP for data and the terminal, and the app asks you before an assistant takes over and before anything leaves the app"
6018
6400
  ],
6019
6401
  [
6020
- "Anything that needs Cloud data with no terminal open",
6402
+ "Anything that needs Cloud data with no app open",
6021
6403
  "The [MCP server](/docs/mcp) without Terminal control"
6022
6404
  ]
6023
6405
  ]
6024
6406
  },
6025
6407
  {
6026
6408
  "type": "paragraph",
6027
- "text": "Launch the app first. Pass `--app desktop` or `--app tui` when both may be running. No endpoint found? Check the session is still open and rerun `remote help`."
6409
+ "text": "For headless data, reports and a screenshot of a function with no app open, use the [CLI](/docs/cli-functions)."
6028
6410
  },
6029
6411
  {
6030
6412
  "type": "heading",
6031
6413
  "level": 2,
6032
- "text": "Core concepts"
6414
+ "text": "Commands"
6033
6415
  },
6034
6416
  {
6035
6417
  "type": "table",
6036
6418
  "headers": [
6037
- "Concept",
6038
- "Meaning"
6419
+ "Command",
6420
+ "Use"
6039
6421
  ],
6040
6422
  "rows": [
6041
6423
  [
6042
- "App kind",
6043
- "`desktop` and `tui` are separate surfaces. `--app` picks one."
6424
+ "`gloom remote help`",
6425
+ "Agent-focused usage from the running app"
6044
6426
  ],
6045
6427
  [
6046
- "Resources",
6047
- "Read-only state: `app://snapshot`, `app://panes`, `app://pane-templates`, `app://commands`, `app://capabilities`, `ui://tree`."
6428
+ "`gloom remote schema`",
6429
+ "Resource URIs, operations, request and response shapes"
6048
6430
  ],
6049
6431
  [
6050
- "Operations",
6051
- "Mutations: `app.search`, `commandBar.activateResult`, `pane.createFromTemplate`, `pane.focus`, `ticker.navigate`, `layout.setGrid`, `ui.invokeMatching`."
6432
+ "`gloom remote get <resource>`",
6433
+ "Read one resource"
6052
6434
  ],
6053
6435
  [
6054
- "Capabilities",
6055
- "Plugin service operations. Use app operations for UI, capabilities for plugin-owned data and side effects."
6436
+ "`gloom remote call <operation> [json] [--dry-run]`",
6437
+ "Invoke one operation"
6438
+ ],
6439
+ [
6440
+ "`gloom remote patch <resource> <json-patch> [--expect-rev rev] [--dry-run]`",
6441
+ "JSON Patch a mutable resource"
6442
+ ],
6443
+ [
6444
+ "`gloom remote batch <json> [--dry-run]`",
6445
+ "Run a multi-step workflow"
6446
+ ],
6447
+ [
6448
+ "`gloom remote watch <resource> [--interval ms] [--limit n]`",
6449
+ "Poll for changes"
6056
6450
  ]
6057
6451
  ]
6058
6452
  },
6059
6453
  {
6060
6454
  "type": "paragraph",
6061
- "text": "Every operation changes only the local app, except `capability.invoke`, which runs a plugin capability and can reach external services. Nothing asks for confirmation."
6455
+ "text": "All take `--app tui|desktop` and `--json`. `--dry-run` on `call` only echoes the payload, with no check of the operation or its fields; on `patch` it returns the patched result without saving."
6062
6456
  },
6063
6457
  {
6064
6458
  "type": "heading",
6065
6459
  "level": 2,
6066
- "text": "CLI quick reference"
6460
+ "text": "When no app answers"
6461
+ },
6462
+ {
6463
+ "type": "paragraph",
6464
+ "text": "With `--json` the reason is in `error.code`, with `message` and `details` (what to do), and the command exits 1:"
6067
6465
  },
6068
6466
  {
6069
6467
  "type": "table",
6070
6468
  "headers": [
6071
- "Command",
6072
- "Use"
6469
+ "`error.code`",
6470
+ "Means, and what to do"
6073
6471
  ],
6074
6472
  "rows": [
6075
6473
  [
6076
- "`gloom remote help`",
6077
- "Agent-focused usage from the running app."
6474
+ "`app_not_running`",
6475
+ "No app of this profile runs. Start `gloom` in another terminal, or open the desktop app"
6078
6476
  ],
6079
6477
  [
6080
- "`gloom remote schema`",
6081
- "Resource URIs, operations, request and response shapes."
6478
+ "`app_ambiguous`",
6479
+ "The terminal and desktop apps both run, and neither is the one started last. Pass `--app tui` or `--app desktop`"
6082
6480
  ],
6083
6481
  [
6084
- "`gloom remote get <resource>`",
6085
- "Read one resource."
6482
+ "`app_unreachable`",
6483
+ "The app's port does not answer from here, but nothing proves it gone: usually a sandbox that blocks localhost. Run the command where it can reach 127.0.0.1, or start Gloom again"
6484
+ ]
6485
+ ]
6486
+ },
6487
+ {
6488
+ "type": "paragraph",
6489
+ "text": "An endpoint file left by an app that exited without quitting is removed once its process is gone and its port refuses. An unreachable app's file is kept."
6490
+ },
6491
+ {
6492
+ "type": "paragraph",
6493
+ "text": "Asked for the desktop app while only the terminal app runs:"
6494
+ },
6495
+ {
6496
+ "type": "code",
6497
+ "code": "{ \"ok\": false, \"error\": { \"code\": \"app_not_running\", \"message\": \"The Gloom desktop app is not running.\", \"details\": \"The terminal app is: pass --app tui, or leave --app out.\" } }"
6498
+ },
6499
+ {
6500
+ "type": "paragraph",
6501
+ "text": "Anything else that fails, such as an operation the app refuses, is `cli_error`."
6502
+ },
6503
+ {
6504
+ "type": "heading",
6505
+ "level": 2,
6506
+ "text": "Read the screen"
6507
+ },
6508
+ {
6509
+ "type": "paragraph",
6510
+ "text": "`app://snapshot` is what is on screen in one read:"
6511
+ },
6512
+ {
6513
+ "type": "table",
6514
+ "headers": [
6515
+ "Key",
6516
+ "Holds"
6517
+ ],
6518
+ "rows": [
6519
+ [
6520
+ "`app`",
6521
+ "Focus and command bar. Read `app.focusedPaneId`; `app.activePanel` is deprecated and always `left`"
6086
6522
  ],
6087
6523
  [
6088
- "`gloom remote call <operation> [json] [--dry-run]`",
6089
- "Invoke one operation."
6524
+ "`config`",
6525
+ "Settings and the layouts"
6090
6526
  ],
6091
6527
  [
6092
- "`gloom remote patch <resource> <json-patch> [--expect-rev rev] [--dry-run]`",
6093
- "JSON Patch a mutable resource."
6528
+ "`panes`",
6529
+ "Each pane, where it is, and whether it has focus"
6094
6530
  ],
6095
6531
  [
6096
- "`gloom remote batch <json> [--dry-run]`",
6097
- "Run a multi-step workflow."
6532
+ "`commandBar`, `form`",
6533
+ "The command bar, and an open form or the setup dialog"
6098
6534
  ],
6099
6535
  [
6100
- "`gloom remote watch <resource> [--interval ms] [--limit n]`",
6101
- "Poll for changes."
6536
+ "`ui`",
6537
+ "The labelled UI controls"
6538
+ ],
6539
+ [
6540
+ "`references`",
6541
+ "Where to read what the snapshot leaves out"
6542
+ ]
6543
+ ]
6544
+ },
6545
+ {
6546
+ "type": "paragraph",
6547
+ "text": "It leaves out what an agent reads once or rarely:"
6548
+ },
6549
+ {
6550
+ "type": "table",
6551
+ "headers": [
6552
+ "Left out",
6553
+ "Read it from"
6554
+ ],
6555
+ "rows": [
6556
+ [
6557
+ "Every resource and operation with its input",
6558
+ "`gloom remote schema`, once"
6559
+ ],
6560
+ [
6561
+ "Recipes and caveats",
6562
+ "`gloom remote help` (`app://remote/help`)"
6563
+ ],
6564
+ [
6565
+ "What each pane loaded (`runtimeState`, a saved layout's `paneState`)",
6566
+ "`app://pane-state/{paneId}`, `app://panes`, `app://config`"
6567
+ ],
6568
+ [
6569
+ "Unlabelled UI nodes",
6570
+ "`ui://tree`"
6102
6571
  ]
6103
6572
  ]
6104
6573
  },
6105
6574
  {
6106
6575
  "type": "paragraph",
6107
- "text": "All take `--app desktop|tui` and `--json`. `--dry-run` on `call` only echoes the payload, with no check of the operation or its fields; on `patch` it returns the patched result without saving."
6576
+ "text": "`app://snapshot/full` has all of it inline, the shape the snapshot had before 0.20.5. It is often several times the size: 413 KB against 73 KB with nine panes open."
6577
+ },
6578
+ {
6579
+ "type": "code",
6580
+ "code": "gloom remote get app://pane-templates --json\ngloom remote get ui://tree --json"
6581
+ },
6582
+ {
6583
+ "type": "paragraph",
6584
+ "text": "`pane.screenshot` returns a pane as a PNG (base64 in `image.data`, with its pixel size): the focused pane, or `paneId` from `app://panes`. Desktop only: the terminal app draws text."
6585
+ },
6586
+ {
6587
+ "type": "code",
6588
+ "code": "gloom remote call pane.screenshot '{}' --app desktop --json"
6108
6589
  },
6109
6590
  {
6110
6591
  "type": "heading",
6111
6592
  "level": 2,
6112
- "text": "Read before acting"
6593
+ "text": "First-run setup"
6113
6594
  },
6114
6595
  {
6115
6596
  "type": "paragraph",
6116
- "text": "The snapshot has the config and layout, focused pane, panes, command-bar state, UI tree, and schema. Plugin capabilities are in `app://capabilities`."
6597
+ "text": "On a new profile the setup dialog covers the app. `app://form` (and the snapshot's `form`) reads `\"open\": true, \"kind\": \"setup\"`, with its `step`, `title`, `fields` by `id` and `buttons`:"
6117
6598
  },
6118
6599
  {
6119
6600
  "type": "code",
6120
- "code": "gloom remote get app://snapshot --app desktop --json\ngloom remote get app://pane-templates --app desktop --json\ngloom remote get ui://tree --app desktop --json"
6601
+ "code": "{ \"open\": true, \"kind\": \"setup\", \"step\": \"PORTFOLIO\", \"title\": \"What do you hold?\",\n \"fields\": [{ \"id\": \"ticker\", \"label\": \"Ticker\", \"value\": \"\" }, { \"id\": \"shares\" }, { \"id\": \"avgCost\" }, { \"id\": \"currency\" }],\n \"buttons\": [{ \"label\": \"Skip\" }, { \"label\": \"Continue\", \"disabled\": true, \"shortcut\": \"Enter\" }] }"
6121
6602
  },
6122
6603
  {
6123
6604
  "type": "paragraph",
6124
- "text": "To see a pane as drawn, `pane.screenshot` returns it as a PNG (base64 in `image.data`, with its pixel size), the focused pane when `paneId` is left out. Desktop only; the TUI has no pixels."
6605
+ "text": "While it is open:"
6606
+ },
6607
+ {
6608
+ "type": "list",
6609
+ "items": [
6610
+ "`app.search` and `app.openCommandBar` refuse, and `app.closeDialog` does not close it.",
6611
+ "A change made behind it still runs, and its answer carries `warnings` saying the setup dialog covers it.",
6612
+ "Its own controls match first in `ui.invokeMatching`."
6613
+ ]
6614
+ },
6615
+ {
6616
+ "type": "paragraph",
6617
+ "text": "Add a ticker and continue, or skip a step:"
6125
6618
  },
6126
6619
  {
6127
6620
  "type": "code",
6128
- "code": "gloom remote call pane.screenshot '{ \"paneId\": \"chart:main\" }' --app desktop --json"
6621
+ "code": "gloom remote batch '{ \"type\": \"batch\", \"requests\": [\n { \"type\": \"call\", \"operation\": \"ui.invokeMatching\", \"input\": { \"role\": \"form-field\", \"metadata\": { \"fieldId\": \"ticker\" }, \"action\": \"setValue\", \"input\": \"NVDA\" } },\n { \"type\": \"call\", \"operation\": \"ui.invokeMatching\", \"input\": { \"role\": \"form-field\", \"metadata\": { \"fieldId\": \"ticker\" }, \"action\": \"submit\" } },\n { \"type\": \"call\", \"operation\": \"ui.invokeMatching\", \"input\": { \"role\": \"form\", \"action\": \"submit\" } }\n] }' --json\ngloom remote call ui.invokeMatching '{ \"role\": \"button\", \"label\": \"Skip\", \"action\": \"press\" }' --json"
6622
+ },
6623
+ {
6624
+ "type": "list",
6625
+ "items": [
6626
+ "Submit on the Ticker field adds the position; `{ \"role\": \"form\", \"action\": \"submit\" }` presses the button Enter would.",
6627
+ "Skip leaves one step unfilled. A new profile has two steps, Portfolio and Desks.",
6628
+ "A step can change after the call answers, so read `app://form` again before the next call.",
6629
+ "When setup is run again, `form.actions` includes `cancel`, which skips all of it."
6630
+ ]
6129
6631
  },
6130
6632
  {
6131
6633
  "type": "heading",
@@ -6138,7 +6640,7 @@
6138
6640
  },
6139
6641
  {
6140
6642
  "type": "code",
6141
- "code": "gloom remote call pane.createFromTemplate '{ \"templateId\": \"market-heatmap-pane\" }' --app desktop --json\ngloom remote call ticker.pin '{ \"symbol\": \"NVDA\", \"forceNewPane\": true }' --app desktop --json"
6643
+ "code": "gloom remote call pane.createFromTemplate '{ \"templateId\": \"market-heatmap-pane\" }' --json\ngloom remote call ticker.pin '{ \"symbol\": \"NVDA\", \"forceNewPane\": true }' --json"
6142
6644
  },
6143
6645
  {
6144
6646
  "type": "paragraph",
@@ -6146,7 +6648,7 @@
6146
6648
  },
6147
6649
  {
6148
6650
  "type": "code",
6149
- "code": "gloom remote batch '{\n \"type\": \"batch\",\n \"include\": [\"panes\", \"commandBar\"],\n \"requests\": [\n { \"type\": \"call\", \"operation\": \"app.search\", \"input\": { \"mode\": \"ticker\", \"query\": \"NVDA\" } },\n { \"type\": \"call\", \"operation\": \"commandBar.activateResult\", \"input\": { \"index\": 0 } }\n ]\n}' --app desktop --json"
6651
+ "code": "gloom remote batch '{\n \"type\": \"batch\",\n \"include\": [\"panes\", \"commandBar\"],\n \"requests\": [\n { \"type\": \"call\", \"operation\": \"app.search\", \"input\": { \"mode\": \"ticker\", \"query\": \"NVDA\" } },\n { \"type\": \"call\", \"operation\": \"commandBar.activateResult\", \"input\": { \"index\": 0 } }\n ]\n}' --json"
6150
6652
  },
6151
6653
  {
6152
6654
  "type": "heading",
@@ -6155,19 +6657,15 @@
6155
6657
  },
6156
6658
  {
6157
6659
  "type": "code",
6158
- "code": "gloom remote call layout.setGrid '{ \"columns\": 2 }' --app desktop --json\ngloom remote call layout.focusRegion '{ \"region\": \"right\" }' --app desktop --json\ngloom remote call layout.closeFloating '{}' --app desktop --json"
6660
+ "code": "gloom remote call layout.setGrid '{ \"columns\": 2 }' --json\ngloom remote call layout.focusRegion '{ \"region\": \"right\" }' --json\ngloom remote call layout.closeFloating '{}' --json\ngloom remote call app.switchPanel '{ \"panel\": \"right\" }' --json"
6159
6661
  },
6160
6662
  {
6161
6663
  "type": "paragraph",
6162
- "text": "Switch panels without touching layout internals:"
6163
- },
6164
- {
6165
- "type": "code",
6166
- "code": "gloom remote call app.switchPanel '{ \"panel\": \"right\" }' --app desktop --json"
6664
+ "text": "`remote patch` works on what `remote schema` marks patchable: `app://config`, `app://layout/current`, `app://pane-state/{paneId}` and `app://pane-settings/{paneId}`."
6167
6665
  },
6168
6666
  {
6169
6667
  "type": "paragraph",
6170
- "text": "`remote patch` works on the resources `remote schema` marks patchable: `app://config`, `app://layout/current`, `app://pane-state/{paneId}`, `app://pane-settings/{paneId}`. Read the resource and its `rev` first, then pass `--expect-rev` so a stale edit fails instead of overwriting."
6668
+ "text": "Read the resource and its `rev` first, then pass `--expect-rev`, so a stale edit fails instead of overwriting."
6171
6669
  },
6172
6670
  {
6173
6671
  "type": "heading",
@@ -6180,11 +6678,48 @@
6180
6678
  },
6181
6679
  {
6182
6680
  "type": "code",
6183
- "code": "gloom remote get ui://tree --app desktop --json\ngloom remote call ui.invokeMatching '{ \"role\": \"button\", \"label\": \"Done\", \"action\": \"press\" }' --app desktop --json"
6681
+ "code": "gloom remote call ui.invokeMatching '{ \"role\": \"button\", \"label\": \"Open Help\", \"action\": \"press\" }' --json"
6184
6682
  },
6185
6683
  {
6186
6684
  "type": "paragraph",
6187
6685
  "text": "Use it sparingly; higher-level operations survive UI changes."
6686
+ },
6687
+ {
6688
+ "type": "heading",
6689
+ "level": 2,
6690
+ "text": "Concepts"
6691
+ },
6692
+ {
6693
+ "type": "table",
6694
+ "headers": [
6695
+ "Concept",
6696
+ "Meaning"
6697
+ ],
6698
+ "rows": [
6699
+ [
6700
+ "App kind",
6701
+ "`tui` and `desktop` are separate apps; `--app` picks one"
6702
+ ],
6703
+ [
6704
+ "Resources",
6705
+ "State to read: `app://snapshot`, `app://form`, `app://panes`, `app://pane-templates`, `app://commands`, `app://capabilities`, `ui://tree`"
6706
+ ],
6707
+ [
6708
+ "Operations",
6709
+ "Changes: `app.search`, `commandBar.activateResult`, `pane.createFromTemplate`, `pane.focus`, `ticker.navigate`, `layout.setGrid`, `ui.invokeMatching`"
6710
+ ],
6711
+ [
6712
+ "Capabilities",
6713
+ "Plugin service operations, for plugin-owned data and side effects. The UI goes through app operations"
6714
+ ]
6715
+ ]
6716
+ },
6717
+ {
6718
+ "type": "list",
6719
+ "items": [
6720
+ "Every operation changes only the local app, except `capability.invoke`, which runs a plugin capability and can reach external services.",
6721
+ "`watchlist.add` and `watchlist.remove` ask in the app first and answer with what happened. Nothing else asks."
6722
+ ]
6188
6723
  }
6189
6724
  ]
6190
6725
  },
@@ -6202,15 +6737,15 @@
6202
6737
  "terminal",
6203
6738
  "remote control"
6204
6739
  ],
6205
- "updatedAt": "2026-11-07",
6740
+ "updatedAt": "2026-11-08",
6206
6741
  "blocks": [
6207
6742
  {
6208
6743
  "type": "paragraph",
6209
- "text": "Gloom Cloud hosts a [Model Context Protocol](https://modelcontextprotocol.io) server at `https://api.gloom.sh/mcp`. It gives an agent the research tools Gloom's own assistant uses, and with the right access your notes, [teams](/docs/teams) and connected brokers. Part of [Gloom Pro](/cloud)."
6744
+ "text": "Gloom Cloud's [MCP](https://modelcontextprotocol.io) server at `https://api.gloom.sh/mcp` has the research tools Gloom's own assistant uses, and with access your notes, [teams](/docs/teams) and brokers."
6210
6745
  },
6211
6746
  {
6212
6747
  "type": "paragraph",
6213
- "text": "The same keys work for the [REST API](/docs/rest-api) and [Google Sheets](/docs/google-sheets). With [Terminal control](#terminal-control) the same server also drives your open desktop or TUI; for one-off reports, use the [CLI](/docs/cli-functions)."
6748
+ "text": "Part of [Gloom Pro](/cloud). The same keys work for the [REST API](/docs/rest-api) and [Google Sheets](/docs/google-sheets). [Terminal control](#terminal-control) also drives your open app; for one-off reports, use the [CLI](/docs/cli-functions)."
6214
6749
  },
6215
6750
  {
6216
6751
  "type": "heading",
@@ -6219,7 +6754,7 @@
6219
6754
  },
6220
6755
  {
6221
6756
  "type": "paragraph",
6222
- "text": "**Sign in from the client.** OAuth clients (Claude Code, claude.ai, Cursor and most recent clients) only need the endpoint. The first call opens a browser tab where you choose what the client may reach."
6757
+ "text": "**Sign in from the client.** OAuth clients (Claude Code, claude.ai, Cursor and most recent ones) need only the endpoint. The first call opens a browser tab to choose what the client may reach."
6223
6758
  },
6224
6759
  {
6225
6760
  "type": "code",
@@ -6227,7 +6762,11 @@
6227
6762
  },
6228
6763
  {
6229
6764
  "type": "paragraph",
6230
- "text": "**Use a key.** For scripts and clients without a browser, create a key in [Cloud settings, Agents](/cloud/account?view=agents) and send it as a bearer token (`x-api-key` also works). Keys are shown once; you can hold up to 10."
6765
+ "text": "**Use a key** for scripts and clients without a browser. Create one in [Cloud settings, Agents](/cloud/account?view=agents) and send it as a bearer token (`x-api-key` also works)."
6766
+ },
6767
+ {
6768
+ "type": "paragraph",
6769
+ "text": "Keys are shown once; you can hold up to 10."
6231
6770
  },
6232
6771
  {
6233
6772
  "type": "code",
@@ -6276,8 +6815,27 @@
6276
6815
  ]
6277
6816
  },
6278
6817
  {
6279
- "type": "paragraph",
6280
- "text": "A key's access, Terminal control and optional team pin are fixed at creation. Signed-in clients get the same levels through the `mcp:read`, `mcp:write` and `mcp:terminal` scopes; the consent page leaves Terminal control unticked. `tools/list` returns only what the caller may call."
6818
+ "type": "list",
6819
+ "items": [
6820
+ "A key's access, Terminal control and optional team pin are fixed at creation.",
6821
+ "Signed-in clients get the same levels through the `mcp:read`, `mcp:write` and `mcp:terminal` scopes; the consent page leaves Terminal control unticked.",
6822
+ "`tools/list` returns only what the caller may call."
6823
+ ]
6824
+ },
6825
+ {
6826
+ "type": "heading",
6827
+ "level": 2,
6828
+ "text": "Plans and limits"
6829
+ },
6830
+ {
6831
+ "type": "list",
6832
+ "items": [
6833
+ "Creating keys needs Pro. Any valid key can `initialize` and `tools/list`, but tool calls need Pro, except `portfolio.*`.",
6834
+ "Tool calls get real-time quotes and the live news wire.",
6835
+ "Keys allow 120 requests a minute and 5,000 a day; over the limit returns `429` with `Retry-After`.",
6836
+ "If Pro lapses, keys stay but tool calls are refused.",
6837
+ "Revoking a key applies on the next request. A disconnected client's token expires within two hours; its terminal calls stop at once."
6838
+ ]
6281
6839
  },
6282
6840
  {
6283
6841
  "type": "heading",
@@ -6286,7 +6844,7 @@
6286
6844
  },
6287
6845
  {
6288
6846
  "type": "paragraph",
6289
- "text": "Read-only unless marked write. Most take `limit`; `?` marks an optional argument. `tools/list` has the full schema. Start with `market.search` when a ticker is ambiguous."
6847
+ "text": "Read-only unless marked write. Most take `limit`; `?` marks an optional argument, and `tools/list` has the full schema. Start with `market.search` when a ticker is ambiguous."
6290
6848
  },
6291
6849
  {
6292
6850
  "type": "heading",
@@ -6326,10 +6884,14 @@
6326
6884
  ],
6327
6885
  [
6328
6886
  "`market.options_flow`",
6329
- "`symbol?`, `days?`, `minPremium?` (a filter searches recorded prints, not the live tape)"
6887
+ "`symbol?`, `days?`, `minPremium?`"
6330
6888
  ]
6331
6889
  ]
6332
6890
  },
6891
+ {
6892
+ "type": "paragraph",
6893
+ "text": "`market.options_flow` with a filter searches recorded prints, not the live tape."
6894
+ },
6333
6895
  {
6334
6896
  "type": "heading",
6335
6897
  "level": 3,
@@ -6374,7 +6936,7 @@
6374
6936
  ],
6375
6937
  [
6376
6938
  "`sec.insider_transactions`",
6377
- "`ticker`, `since?`, `until?` (trade dates, `YYYY-MM-DD`: every Form 4 of the window, and which days it covers), `offset?`"
6939
+ "`ticker`, `since?`, `until?`, `offset?`"
6378
6940
  ],
6379
6941
  [
6380
6942
  "`sec.thirteenf_holders`",
@@ -6390,6 +6952,10 @@
6390
6952
  ]
6391
6953
  ]
6392
6954
  },
6955
+ {
6956
+ "type": "paragraph",
6957
+ "text": "`sec.insider_transactions` takes trade dates (`YYYY-MM-DD`) for `since` and `until`, returns every Form 4 of the window, and says which days it covers."
6958
+ },
6393
6959
  {
6394
6960
  "type": "heading",
6395
6961
  "level": 3,
@@ -6679,53 +7245,20 @@
6679
7245
  {
6680
7246
  "type": "heading",
6681
7247
  "level": 2,
6682
- "text": "Brokers"
6683
- },
6684
- {
6685
- "type": "paragraph",
6686
- "text": "Connect a broker in Gloom and every client with read access reaches it through Gloom. The `portfolio.*` tools cover every connected broker in one call and need no Pro."
7248
+ "text": "Terminal control"
6687
7249
  },
6688
7250
  {
6689
7251
  "type": "paragraph",
6690
- "text": "With no connection they return no rows and a note; a broker that fails adds an `error` row and the result is `partial`. They read brokerage accounts, not team portfolios (use `collections.get`)."
7252
+ "text": "Terminal control reaches everything the [remote API](/docs/agents) does in your open, signed-in desktop or TUI: the screen, panes, tickers, layouts, UI actions and plugin capabilities."
6691
7253
  },
6692
7254
  {
6693
- "type": "table",
6694
- "headers": [
6695
- "Broker",
6696
- "Tools",
6697
- "Writes (read and write access)"
6698
- ],
6699
- "rows": [
6700
- [
6701
- "Interactive Brokers",
6702
- "`ibkr.*`: positions, balances, trades, orders, contract search, prices, alerts, watchlists",
6703
- "Order instructions, alerts and watchlists, when trading instructions are enabled"
6704
- ],
6705
- [
6706
- "Robinhood",
6707
- "`robinhood.*`: accounts and equity positions",
6708
- "None"
6709
- ]
7255
+ "type": "list",
7256
+ "items": [
7257
+ "The app asks once before an assistant takes over.",
7258
+ "Plugin capabilities, button presses, commands and anything that reaches an outside service (orders, transfers, messages) ask you in the app on every call.",
7259
+ "An unanswered one is denied after 60 seconds."
6710
7260
  ]
6711
7261
  },
6712
- {
6713
- "type": "paragraph",
6714
- "text": "An IBKR order instruction is not an order: IBKR returns a link where you review and submit it yourself."
6715
- },
6716
- {
6717
- "type": "paragraph",
6718
- "text": "IBKR allows one AI connection per user, and Gloom holds it: connecting IBKR in Gloom disconnects IBKR from other AI apps, so reach it through Gloom instead of connecting it directly. The IBKR sign-in ends seven days after you consent, however often it is used, and only signing in again brings it back. A day before, the Brokers pane shows when it ends and Gloom emails you once. Background: [IBKR in Claude or ChatGPT](/answers/ibkr-claude-chatgpt-connector)."
6719
- },
6720
- {
6721
- "type": "heading",
6722
- "level": 2,
6723
- "text": "Terminal control"
6724
- },
6725
- {
6726
- "type": "paragraph",
6727
- "text": "Terminal control reaches everything the [remote API](/docs/agents) does in your open, signed-in desktop or TUI: read the screen, open and arrange panes, navigate tickers, switch and edit layouts, semantic UI actions and plugin capabilities. The app asks once before an assistant takes over; plugin capabilities, button presses, commands and anything that reaches an outside service (orders, transfers, messages) ask you in the app on every call, and an unanswered one is denied after 60 seconds."
6728
- },
6729
7262
  {
6730
7263
  "type": "code",
6731
7264
  "code": "Claude Code ──MCP──> api.gloom.sh/mcp ──Cloud socket──> your Gloom app ──> panes, layouts, tickers\n │\n asks you: once per assistant, every call that leaves the app"
@@ -6751,7 +7284,7 @@
6751
7284
  ],
6752
7285
  [
6753
7286
  "`terminal.pane.screenshot`",
6754
- "One pane of the desktop app as a PNG image, as it looks on screen (`paneId?`, `width?`). A read: it runs once you approved the assistant, without asking each call. Up to 1600 px on the long side and 512 KB; the TUI answers `unsupported`"
7287
+ "One pane of the desktop app as a PNG image, as it looks on screen (`paneId?`, `width?`)"
6755
7288
  ],
6756
7289
  [
6757
7290
  "`terminal.get_resource`, `terminal.patch_resource`",
@@ -6768,25 +7301,71 @@
6768
7301
  ]
6769
7302
  },
6770
7303
  {
6771
- "type": "paragraph",
6772
- "text": "Each tool takes `device?` (an id or name from `terminal.devices`). Descriptions carry the operation's tier and whether you confirm each call. A call that waits on you longer than 45 seconds answers `pending` with a `callId`; read the outcome with `terminal.call_result`. With no app open, tools answer `no_terminal`. Revoke an assistant in the app (Account Management, Agents), or revoke its key or disconnect it here, and its next call stops."
7304
+ "type": "list",
7305
+ "items": [
7306
+ "Each tool takes `device?`, an id or name from `terminal.devices`. Its description gives the operation's tier and whether you confirm each call.",
7307
+ "A call that waits on you over 45 seconds answers `pending` with a `callId`; `terminal.call_result` reads the outcome.",
7308
+ "With no app open, tools answer `no_terminal`.",
7309
+ "`terminal.pane.screenshot` is a read: once you approved the assistant it runs without asking. Up to 1600 px on the long side and 512 KB; the TUI answers `unsupported`.",
7310
+ "Revoke an assistant in the app (Account Management, Agents), or revoke its key or disconnect it here, and its next call stops."
7311
+ ]
6773
7312
  },
6774
7313
  {
6775
7314
  "type": "heading",
6776
7315
  "level": 2,
6777
- "text": "Results and limits"
7316
+ "text": "Brokers"
6778
7317
  },
6779
7318
  {
6780
7319
  "type": "paragraph",
6781
- "text": "Each call returns text plus `structuredContent` with `status` (`ok`, `partial` when a limit removed rows, or `error`), `rowCount`, `truncated`, `asOf` and `data`. Results are capped at 256 KB. A failed source returns `status: \"error\"` with `data.error = { code, source, reason }`. `terminal.pane.screenshot` returns the same JSON as text plus an image block, and no `structuredContent`, since some clients read only that and would drop the image."
7320
+ "text": "Connect a broker in Gloom and every client with read access reaches it through Gloom. The `portfolio.*` tools cover every connected broker in one call and need no Pro."
6782
7321
  },
6783
7322
  {
6784
- "type": "paragraph",
6785
- "text": "Creating keys needs Pro. Any valid key can `initialize` and `tools/list`; tool calls need Pro, except `portfolio.*`, and get real-time quotes and the live news wire."
7323
+ "type": "table",
7324
+ "headers": [
7325
+ "Broker",
7326
+ "Tools",
7327
+ "Writes (read and write access)"
7328
+ ],
7329
+ "rows": [
7330
+ [
7331
+ "Interactive Brokers",
7332
+ "`ibkr.*`: positions, balances, trades, orders, contract search, prices, alerts, watchlists",
7333
+ "Order instructions, alerts and watchlists, when trading instructions are enabled"
7334
+ ],
7335
+ [
7336
+ "Robinhood",
7337
+ "`robinhood.*`: accounts and equity positions",
7338
+ "None"
7339
+ ]
7340
+ ]
7341
+ },
7342
+ {
7343
+ "type": "list",
7344
+ "items": [
7345
+ "With no connection, `portfolio.*` returns no rows and a note. A broker that fails adds an `error` row, and the result is `partial`.",
7346
+ "They read brokerage accounts, not team portfolios (use `collections.get`).",
7347
+ "An IBKR order instruction is not an order: IBKR returns a link where you review and submit it yourself.",
7348
+ "IBKR allows one AI connection per user, and Gloom holds it: connecting IBKR in Gloom disconnects it from other AI apps, so reach it through Gloom.",
7349
+ "The IBKR sign-in ends seven days after you consent, however often it is used; only signing in again brings it back.",
7350
+ "A day before, the Brokers pane shows when it ends, and Gloom emails you once."
7351
+ ]
6786
7352
  },
6787
7353
  {
6788
7354
  "type": "paragraph",
6789
- "text": "Keys allow 120 requests a minute and 5,000 a day; over the limit returns `429` with `Retry-After`. If Pro lapses, keys stay but tool calls are refused. Revoking a key applies on the next request; a disconnected client's token expires within two hours, and its terminal calls stop at once."
7355
+ "text": "Background: [IBKR in Claude or ChatGPT](/answers/ibkr-claude-chatgpt-connector)."
7356
+ },
7357
+ {
7358
+ "type": "heading",
7359
+ "level": 2,
7360
+ "text": "Results"
7361
+ },
7362
+ {
7363
+ "type": "list",
7364
+ "items": [
7365
+ "Each call returns text plus `structuredContent` with `status`, `rowCount`, `truncated`, `asOf` and `data`. Results are capped at 256 KB.",
7366
+ "`status` is `ok`, `partial` when a limit removed rows, or `error`. A failed source returns `status: \"error\"` with `data.error = { code, source, reason }`.",
7367
+ "`terminal.pane.screenshot` returns the same JSON as text plus an image block, and no `structuredContent`: some clients read only that and would drop the image."
7368
+ ]
6790
7369
  }
6791
7370
  ]
6792
7371
  },
@@ -7443,7 +8022,7 @@
7443
8022
  "title": "What a stock is",
7444
8023
  "summary": "A share is a small slice of a company, so owning one means owning a tiny piece of everything the company has and earns.",
7445
8024
  "chapter": "Markets from zero",
7446
- "minutes": 6
8025
+ "minutes": 5
7447
8026
  },
7448
8027
  {
7449
8028
  "url": "/academy/markets-from-zero/stocks-funds-and-quotes/funds-etfs-and-indices",
@@ -7555,7 +8134,7 @@
7555
8134
  "title": "Panes, focus and linking (WIN, GL, PS, LMA)",
7556
8135
  "summary": "Every function opens in a pane, one pane at a time has the focus and receives your keys, and panes can be moved, stacked as tabs, tidied, given a new ticker and linked so they follow a list.",
7557
8136
  "chapter": "The terminal and your workspace",
7558
- "minutes": 6
8137
+ "minutes": 5
7559
8138
  },
7560
8139
  {
7561
8140
  "url": "/academy/terminal-and-workspace/how-the-terminal-works/layouts-and-desks",
@@ -7576,7 +8155,7 @@
7576
8155
  "title": "Free, Pro and how fresh your data is (UPGRADE, CONN)",
7577
8156
  "summary": "Every number has an age (real-time, 15 minutes behind, daily or on release), and the help card's Data line and the clock mark on a quote tell you which.",
7578
8157
  "chapter": "The terminal and your workspace",
7579
- "minutes": 6
8158
+ "minutes": 5
7580
8159
  },
7581
8160
  {
7582
8161
  "url": "/academy/terminal-and-workspace/how-the-terminal-works/the-cli",
@@ -7616,9 +8195,9 @@
7616
8195
  {
7617
8196
  "url": "/academy/terminal-and-workspace/your-workspace/alerts",
7618
8197
  "title": "Alerts (ALRT, SA)",
7619
- "summary": "An alert watches the market for you, firing on a price level, a valuation or technical level, or an event such as an earnings date, a filing or an insider trade, and ALRT lists them all.",
8198
+ "summary": "An alert watches the market for you, firing on a price level, a day's move, a valuation or technical level, or an event such as an earnings date, a filing or an insider trade, and ALRT lists them all.",
7620
8199
  "chapter": "The terminal and your workspace",
7621
- "minutes": 6
8200
+ "minutes": 5
7622
8201
  },
7623
8202
  {
7624
8203
  "url": "/academy/terminal-and-workspace/your-workspace/notes-and-theses",
@@ -7828,7 +8407,7 @@
7828
8407
  "title": "Dividends and corporate actions (DVD, EVT)",
7829
8408
  "summary": "DVD shows a stock's dividend history, yield, payout ratio and growth, and EVT puts dividends, splits, earnings dates and estimates on one timeline.",
7830
8409
  "chapter": "Fundamentals and earnings",
7831
- "minutes": 4
8410
+ "minutes": 5
7832
8411
  },
7833
8412
  {
7834
8413
  "url": "/academy/fundamentals-and-earnings/events-and-deals/catalysts",
@@ -7959,9 +8538,9 @@
7959
8538
  {
7960
8539
  "url": "/academy/compare-screen-follow-money/filings-and-attention/attention",
7961
8540
  "title": "Social buzz (BUZZ)",
7962
- "summary": "BUZZ counts the day's posts on X naming a ticker against its usual level, with the top posts and their stance.",
8541
+ "summary": "BUZZ counts the day's posts on X naming a ticker against its usual level, with the top posts and their stance, and alone ranks the tickers whose posts jump most above their own usual level.",
7963
8542
  "chapter": "Compare, screen and follow the money",
7964
- "minutes": 3
8543
+ "minutes": 4
7965
8544
  },
7966
8545
  {
7967
8546
  "url": "/academy/options-and-volatility/options-from-zero/what-is-an-option",
@@ -8148,9 +8727,9 @@
8148
8727
  {
8149
8728
  "url": "/academy/rates-bonds-credit/rates/auctions",
8150
8729
  "title": "Treasury auctions (AUCT)",
8151
- "summary": "AUCT lists upcoming and recent US Treasury auctions with the rate each cleared at, how well it was covered and who bought.",
8730
+ "summary": "AUCT lists upcoming and recent US Treasury auctions with the rate each cleared at, how well it was covered and who bought, and Hong Kong's government paper tenders.",
8152
8731
  "chapter": "Rates, bonds and credit",
8153
- "minutes": 4
8732
+ "minutes": 5
8154
8733
  },
8155
8734
  {
8156
8735
  "url": "/academy/rates-bonds-credit/rates/bond-calculator",
@@ -8178,7 +8757,7 @@
8178
8757
  "title": "Debt maturities and covenants (DDIS, CRDOC, COVN)",
8179
8758
  "summary": "DDIS shows how much of a company's debt comes due each year, and CRDOC and COVN read its loan and bond documents into a capital structure and covenant headroom.",
8180
8759
  "chapter": "Rates, bonds and credit",
8181
- "minutes": 4
8760
+ "minutes": 5
8182
8761
  },
8183
8762
  {
8184
8763
  "url": "/academy/macro-markets-and-news/the-economy/economic-calendar",
@@ -8206,7 +8785,7 @@
8206
8785
  "title": "Currencies and cross rates (FXC)",
8207
8786
  "summary": "FXC is a matrix of exchange rates between the major currencies, each cell saying how many units of the column currency one unit of the row currency buys.",
8208
8787
  "chapter": "The big picture: macro, markets and news",
8209
- "minutes": 4
8788
+ "minutes": 5
8210
8789
  },
8211
8790
  {
8212
8791
  "url": "/academy/macro-markets-and-news/markets/world-indices-and-venues",