gloomberb 0.20.2 → 0.20.3
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.
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/package.json +2 -1
- package/src/account/auth-form.tsx +13 -8
- package/src/account/upgrade-dialog.tsx +1 -1
- package/src/api-client/central-bank-rates.ts +5 -0
- package/src/api-client/data.ts +17 -4
- package/src/api-client/debt-maturities.ts +45 -2
- package/src/api-client/earnings.ts +4 -2
- package/src/api-client/errors.ts +21 -11
- package/src/api-client/index.ts +1 -0
- package/src/api-client/paths.ts +9 -1
- package/src/api-client/social-mentions.ts +47 -0
- package/src/api-client/types/econ.ts +4 -0
- package/src/app.tsx +11 -1
- package/src/cli/command-options.ts +2 -1
- package/src/cli/commands/market.ts +111 -29
- package/src/cli/commands/options-chain.ts +23 -6
- package/src/cli/commands/overview.ts +13 -5
- package/src/cli/commands/plugins.ts +49 -18
- package/src/cli/commands/search.ts +25 -6
- package/src/cli/commands/ticker.ts +4 -2
- package/src/cli/fx-quote-rate.ts +49 -1
- package/src/cli/glossary.ts +95 -15
- package/src/cli/history-rows.ts +9 -25
- package/src/cli/index.ts +6 -38
- package/src/cli/known-gaps.ts +3 -3
- package/src/cli/listing-arg.ts +78 -18
- package/src/cli/name-entries.ts +3 -2
- package/src/cli/not-a-ticker.ts +6 -2
- package/src/cli/pane-functions/capabilities.ts +12 -1
- package/src/cli/pane-functions/function-help.ts +23 -11
- package/src/cli/pane-functions/headless.ts +3 -1
- package/src/cli/pane-functions/index.ts +32 -4
- package/src/cli/pane-functions/market-session.ts +8 -3
- package/src/cli/pane-functions/resolver.ts +18 -11
- package/src/cli/pane-functions/screenshot-payload.ts +36 -6
- package/src/cli/pane-functions/screenshot-render.ts +4 -0
- package/src/cli/quote-answer.ts +10 -0
- package/src/cli/report-tables.ts +22 -2
- package/src/cli/result.ts +7 -3
- package/src/cli/spreadsheet-hint.ts +43 -0
- package/src/cli/symbol-list.ts +58 -4
- package/src/cli/symbol-rows.ts +49 -2
- package/src/cli/ticker-resolution.ts +98 -5
- package/src/cli/unknown-command.ts +88 -0
- package/src/components/command-bar/assist/model.ts +6 -1
- package/src/components/command-bar/commands/direct/index.ts +9 -1
- package/src/components/command-bar/commands/registry.ts +18 -0
- package/src/components/command-bar/pane-actions.ts +30 -13
- package/src/components/command-bar/panel/index.tsx +6 -3
- package/src/components/command-bar/panel/prompt-binding.ts +4 -0
- package/src/components/command-bar/panel/types.ts +3 -0
- package/src/components/command-bar/routes/header-market.ts +108 -0
- package/src/components/command-bar/routes/root/command-items.ts +5 -0
- package/src/components/command-bar/routes/root/provider-search.ts +190 -32
- package/src/components/command-bar/routes/root/results.ts +3 -0
- package/src/components/command-bar/routes/root/runtime.ts +28 -5
- package/src/components/command-bar/routes/ticker-search/results.ts +53 -6
- package/src/components/command-bar/routing/list-state.ts +38 -0
- package/src/components/command-bar/selection-hint.ts +28 -0
- package/src/components/command-bar/surface/index.tsx +41 -3
- package/src/components/command-bar/view-model.ts +15 -0
- package/src/components/command-bar/workflow/tickers.ts +3 -2
- package/src/components/company-logo.tsx +20 -2
- package/src/components/data-table/export.ts +13 -8
- package/src/components/feedback-dialog.tsx +2 -1
- package/src/components/form-modal/field-row.tsx +2 -1
- package/src/components/input-search-bar.tsx +2 -2
- package/src/components/layout/double-escape-close.ts +8 -5
- package/src/components/layout/header.tsx +75 -44
- package/src/components/layout/market-summary.ts +322 -116
- package/src/components/layout/pane/footer/index.tsx +26 -8
- package/src/components/layout/pane/footer/model.ts +46 -20
- package/src/components/layout/pane/header.tsx +3 -2
- package/src/components/layout/shell/chrome.ts +15 -15
- package/src/components/layout/status-bar.tsx +8 -7
- package/src/components/layout/status-widget-space.ts +8 -0
- package/src/components/markdown-editor.tsx +2 -2
- package/src/components/onboarding/account-step/form-panel.tsx +0 -3
- package/src/components/onboarding/onboarding-keyboard.ts +15 -6
- package/src/components/onboarding/onboarding-wizard.tsx +61 -11
- package/src/components/onboarding/portfolio-step/broker-fields-panel.tsx +0 -1
- package/src/components/onboarding/portfolio-step/positions-panel.tsx +0 -2
- package/src/components/price-sparkline/model.ts +26 -10
- package/src/components/ticker/list-table-view.tsx +29 -4
- package/src/components/ui/button.tsx +13 -2
- package/src/components/ui/column-grid.tsx +18 -9
- package/src/components/ui/data-table/index.tsx +1 -1
- package/src/components/ui/data-table/opentui/index.tsx +2 -1
- package/src/components/ui/data-table/types.ts +18 -0
- package/src/components/ui/delayed-mark.tsx +3 -2
- package/src/components/ui/field-grid.tsx +0 -2
- package/src/components/ui/fields.tsx +7 -4
- package/src/components/ui/inline-quick-add.tsx +2 -2
- package/src/components/ui/key-hint-words.ts +153 -0
- package/src/components/ui/key-hints.tsx +73 -0
- package/src/components/ui/menu.tsx +3 -1
- package/src/components/ui/message-composer.tsx +2 -2
- package/src/components/ui/shortcut-hint.tsx +28 -3
- package/src/components/ui/tabs.tsx +7 -0
- package/src/components/ui/text-prompt-dialog.tsx +2 -1
- package/src/core/state/app/command-bar-launch.ts +3 -0
- package/src/data/config/store/normalize.ts +6 -0
- package/src/docs/snapshot.json +120 -69
- package/src/i18n/es.ts +24 -1
- package/src/i18n/ja.ts +24 -1
- package/src/i18n/ko.ts +24 -1
- package/src/i18n/zh-cn.ts +24 -1
- package/src/i18n/zh-tw.ts +24 -1
- package/src/layout/pane-manager/gridlock.ts +11 -0
- package/src/market-data/bars-per-year.ts +27 -9
- package/src/market-data/coordinator/quotes.ts +22 -3
- package/src/market-data/futures-board.ts +80 -0
- package/src/market-data/futures-contract.ts +9 -3
- package/src/market-data/market/change-basis.ts +2 -2
- package/src/market-data/market/dated-previous-close.ts +163 -47
- package/src/market-data/market/format.ts +14 -3
- package/src/market-data/market/freshness.ts +24 -7
- package/src/market-data/market/header-market.ts +154 -0
- package/src/market-data/market/index-level.ts +29 -0
- package/src/market-data/market/index-session-venues.ts +44 -0
- package/src/market-data/market/status.ts +7 -2
- package/src/market-data/market/venue-session.ts +72 -0
- package/src/market-data/model-dividend-yield.ts +23 -8
- package/src/market-data/options-alternatives.ts +39 -4
- package/src/market-data/published-apac-sessions.ts +40 -2
- package/src/market-data/quotes/export-identity.ts +76 -0
- package/src/market-data/quotes/freshness.ts +22 -0
- package/src/market-data/quotes/time.ts +42 -1
- package/src/market-data/realized-volatility.ts +11 -7
- package/src/market-data/tax-equivalent.ts +145 -27
- package/src/plugins/builtin/account-management/pane.tsx +2 -2
- package/src/plugins/builtin/alerts/alert-engine.ts +12 -6
- package/src/plugins/builtin/alerts/alert-log.ts +6 -2
- package/src/plugins/builtin/alerts/calendar-events.ts +74 -12
- package/src/plugins/builtin/alerts/cli-forms.ts +11 -1
- package/src/plugins/builtin/alerts/cli-move.ts +234 -0
- package/src/plugins/builtin/alerts/cli.ts +224 -33
- package/src/plugins/builtin/alerts/command.ts +33 -6
- package/src/plugins/builtin/alerts/event-rows.ts +18 -4
- package/src/plugins/builtin/alerts/events-pane.tsx +6 -2
- package/src/plugins/builtin/alerts/events.ts +9 -0
- package/src/plugins/builtin/alerts/format.ts +40 -15
- package/src/plugins/builtin/alerts/headless.ts +31 -18
- package/src/plugins/builtin/alerts/history.ts +1 -0
- package/src/plugins/builtin/alerts/index.tsx +86 -12
- package/src/plugins/builtin/alerts/live.ts +2 -1
- package/src/plugins/builtin/alerts/move-checks.ts +155 -0
- package/src/plugins/builtin/alerts/move.ts +160 -0
- package/src/plugins/builtin/alerts/pane.tsx +52 -22
- package/src/plugins/builtin/alerts/price-text.ts +62 -0
- package/src/plugins/builtin/alerts/price.ts +17 -0
- package/src/plugins/builtin/alerts/quotes.ts +84 -3
- package/src/plugins/builtin/alerts/scheduled-check.ts +7 -1
- package/src/plugins/builtin/alerts/storage.ts +20 -7
- package/src/plugins/builtin/alerts/types.ts +13 -0
- package/src/plugins/builtin/analytics/risk-client.ts +60 -39
- package/src/plugins/builtin/analytics/risk-episodes.ts +18 -0
- package/src/plugins/builtin/analytics/risk-headless.ts +20 -4
- package/src/plugins/builtin/analytics/risk-model.ts +68 -1
- package/src/plugins/builtin/analytics/risk-pane.tsx +15 -3
- package/src/plugins/builtin/backtest/engine.ts +4 -2
- package/src/plugins/builtin/backtest/window.ts +3 -1
- package/src/plugins/builtin/broker-manager/sign-in-end.ts +1 -1
- package/src/plugins/builtin/central-bank-rates/client.ts +4 -0
- package/src/plugins/builtin/central-bank-rates/headless.ts +1 -1
- package/src/plugins/builtin/central-bank-rates/model.ts +18 -8
- package/src/plugins/builtin/central-bank-rates/pane.tsx +6 -3
- package/src/plugins/builtin/chart-composer/cli-options.ts +5 -0
- package/src/plugins/builtin/chart-composer/headless-schema.ts +17 -1
- package/src/plugins/builtin/chart-composer/headless.ts +2 -0
- package/src/plugins/builtin/cloud/upgrade-status-widget.tsx +9 -2
- package/src/plugins/builtin/crypto-board/headless.ts +82 -17
- package/src/plugins/builtin/crypto-board/index.tsx +24 -2
- package/src/plugins/builtin/crypto-board/model.ts +5 -2
- package/src/plugins/builtin/crypto-board/pane.tsx +4 -1
- package/src/plugins/builtin/debt-maturities/client.ts +111 -6
- package/src/plugins/builtin/debt-maturities/headless.ts +84 -1
- package/src/plugins/builtin/debt-maturities/model.ts +97 -14
- package/src/plugins/builtin/debt-maturities/pane.tsx +165 -15
- package/src/plugins/builtin/debt-maturities/series.ts +3 -1
- package/src/plugins/builtin/dividend-yield/client.ts +22 -6
- package/src/plugins/builtin/dividend-yield/headless.ts +113 -46
- package/src/plugins/builtin/dividend-yield/model.ts +5 -2
- package/src/plugins/builtin/dividend-yield/pane.tsx +6 -3
- package/src/plugins/builtin/dividend-yield/ranking-reads.ts +11 -4
- package/src/plugins/builtin/dividend-yield/ranking.ts +113 -18
- package/src/plugins/builtin/dividend-yield/types.ts +2 -0
- package/src/plugins/builtin/dividend-yield/view.ts +3 -0
- package/src/plugins/builtin/econ/calendar-model.ts +21 -3
- package/src/plugins/builtin/econ/detail-view.tsx +5 -3
- package/src/plugins/builtin/econ/figures.ts +13 -0
- package/src/plugins/builtin/econ/fred-catalog.ts +6 -3
- package/src/plugins/builtin/econ/index.tsx +5 -3
- package/src/plugins/builtin/econ/types.ts +5 -0
- package/src/plugins/builtin/equity-screener/footer.ts +45 -0
- package/src/plugins/builtin/equity-screener/pane.tsx +4 -18
- package/src/plugins/builtin/equity-screener/ticker-check.tsx +2 -1
- package/src/plugins/builtin/fixed-income/model.ts +1 -0
- package/src/plugins/builtin/futures/table.tsx +1 -1
- package/src/plugins/builtin/futures-curve/model.ts +3 -10
- package/src/plugins/builtin/help/function-card.tsx +2 -1
- package/src/plugins/builtin/help/function-index.ts +1 -0
- package/src/plugins/builtin/insider/client.ts +31 -14
- package/src/plugins/builtin/insider/signals-model.ts +2 -7
- package/src/plugins/builtin/iv-history/headless.ts +1 -2
- package/src/plugins/builtin/iv-history/model.ts +33 -23
- package/src/plugins/builtin/iv-history/screen-pane.tsx +0 -3
- package/src/plugins/builtin/kelly-sizer/headless.ts +64 -16
- package/src/plugins/builtin/kelly-sizer/history.ts +37 -28
- package/src/plugins/builtin/kelly-sizer/pane.tsx +43 -10
- package/src/plugins/builtin/kelly-sizer/sections.tsx +7 -2
- package/src/plugins/builtin/kelly-sizer/units.ts +29 -0
- package/src/plugins/builtin/news/index.tsx +7 -13
- package/src/plugins/builtin/news/overview-headlines.tsx +117 -0
- package/src/plugins/builtin/news/ticker-news.ts +35 -0
- package/src/plugins/builtin/news/wire/news/detail-view.tsx +8 -6
- package/src/plugins/builtin/news/wire/news/row.ts +49 -0
- package/src/plugins/builtin/news/wire/news/table.tsx +9 -20
- package/src/plugins/builtin/options/analytics.ts +7 -2
- package/src/plugins/builtin/options/live-quotes.ts +6 -1
- package/src/plugins/builtin/options/table.ts +3 -2
- package/src/plugins/builtin/options/view.tsx +11 -9
- package/src/plugins/builtin/options-scenario/client.ts +3 -0
- package/src/plugins/builtin/options-scenario/headless.ts +1 -1
- package/src/plugins/builtin/perps/client.ts +5 -4
- package/src/plugins/builtin/perps/headless.ts +134 -124
- package/src/plugins/builtin/perps/markets-section.tsx +2 -2
- package/src/plugins/builtin/perps/model.ts +8 -4
- package/src/plugins/builtin/perps/open-market.ts +4 -4
- package/src/plugins/builtin/perps/venue-markets.ts +3 -6
- package/src/plugins/builtin/portfolio-list/cell-version.ts +1 -0
- package/src/plugins/builtin/portfolio-list/cli/bulk-symbols.ts +34 -10
- package/src/plugins/builtin/portfolio-list/cli/period-report.ts +28 -2
- package/src/plugins/builtin/portfolio-list/cli/portfolio-command.ts +7 -3
- package/src/plugins/builtin/portfolio-list/cli/render.ts +66 -22
- package/src/plugins/builtin/portfolio-list/grid.tsx +5 -3
- package/src/plugins/builtin/portfolio-list/pane/data.ts +34 -1
- package/src/plugins/builtin/portfolio-list/pane/index.tsx +6 -0
- package/src/plugins/builtin/portfolio-list/pane/streaming.ts +15 -6
- package/src/plugins/builtin/portfolio-list/quick-add/resolution.ts +19 -7
- package/src/plugins/builtin/portfolio-list/table.tsx +30 -4
- package/src/plugins/builtin/realized-vol/evidence.ts +33 -6
- package/src/plugins/builtin/realized-vol/fx-proxy.ts +135 -0
- package/src/plugins/builtin/realized-vol/headless.ts +44 -8
- package/src/plugins/builtin/realized-vol/model.ts +9 -5
- package/src/plugins/builtin/realized-vol/pane.tsx +49 -15
- package/src/plugins/builtin/sec/headless.ts +48 -6
- package/src/plugins/builtin/sec/index.tsx +6 -4
- package/src/plugins/builtin/sec/model.ts +4 -1
- package/src/plugins/builtin/shared/earnings-calendar.ts +2 -0
- package/src/plugins/builtin/shared/market-cap-bands.ts +12 -0
- package/src/plugins/builtin/shared/report-freshness.ts +3 -1
- package/src/plugins/builtin/shared/use-quote-board.ts +5 -3
- package/src/plugins/builtin/shared/volatility/options.ts +63 -2
- package/src/plugins/builtin/social-mentions/headless.ts +72 -3
- package/src/plugins/builtin/social-mentions/index.tsx +8 -4
- package/src/plugins/builtin/social-mentions/lock-note.ts +6 -2
- package/src/plugins/builtin/social-mentions/outliers-client.ts +101 -0
- package/src/plugins/builtin/social-mentions/outliers-model.ts +162 -0
- package/src/plugins/builtin/social-mentions/outliers-names.ts +51 -0
- package/src/plugins/builtin/social-mentions/outliers.tsx +276 -0
- package/src/plugins/builtin/social-mentions/pane.tsx +32 -3
- package/src/plugins/builtin/supply-chain/graph-pane.tsx +2 -2
- package/src/plugins/builtin/thirteenf/api.ts +36 -2
- package/src/plugins/builtin/thirteenf/data.ts +4 -1
- package/src/plugins/builtin/thirteenf/headless.ts +14 -6
- package/src/plugins/builtin/thirteenf/model.ts +56 -1
- package/src/plugins/builtin/thirteenf/pane.tsx +8 -8
- package/src/plugins/builtin/thirteenf/report-notes.ts +11 -0
- package/src/plugins/builtin/thirteenf/table.ts +2 -1
- package/src/plugins/builtin/thirteenf/types.ts +6 -0
- package/src/plugins/builtin/ticker-detail/data-panes/historical-prices.tsx +23 -3
- package/src/plugins/builtin/ticker-detail/financials/model.ts +5 -0
- package/src/plugins/builtin/ticker-detail/headless-schema.ts +2 -1
- package/src/plugins/builtin/ticker-detail/headless.ts +21 -66
- package/src/plugins/builtin/ticker-detail/index.tsx +5 -0
- package/src/plugins/builtin/ticker-detail/overview/components.tsx +13 -1
- package/src/plugins/builtin/ticker-detail/overview/model.ts +6 -4
- package/src/plugins/builtin/ticker-detail/overview/pane.tsx +15 -0
- package/src/plugins/builtin/ticker-detail/overview/tax-equivalent.ts +69 -0
- package/src/plugins/builtin/ticker-detail/overview-tab.tsx +41 -6
- package/src/plugins/builtin/ticker-detail/quote-monitor/card.tsx +47 -24
- package/src/plugins/builtin/ticker-detail/quote-monitor/export.ts +46 -0
- package/src/plugins/builtin/ticker-detail/quote-monitor/index.tsx +20 -1
- package/src/plugins/builtin/ticker-detail/quote-monitor/rows.ts +120 -0
- package/src/plugins/builtin/ticker-detail/research-tabs.ts +1 -5
- package/src/plugins/builtin/ticker-detail/settings.ts +6 -6
- package/src/plugins/builtin/treasury-auctions/cache.ts +85 -19
- package/src/plugins/builtin/treasury-auctions/index.tsx +22 -11
- package/src/plugins/builtin/treasury-auctions/model.ts +23 -0
- package/src/plugins/builtin/treasury-auctions/treasury-direct.ts +128 -0
- package/src/plugins/builtin/world-indices/client.ts +2 -0
- package/src/plugins/compat.ts +15 -0
- package/src/plugins/host-link.ts +6 -1
- package/src/plugins/installer.ts +8 -3
- package/src/portfolio/column-values.ts +14 -4
- package/src/portfolio/listed-symbol.ts +78 -0
- package/src/portfolio/real-return.ts +172 -0
- package/src/public/__snapshots__/public-api.test.ts.snap +1 -0
- package/src/renderers/browser/config-host.ts +56 -15
- package/src/renderers/browser/main.tsx +3 -1
- package/src/renderers/browser/ui-host.tsx +1 -0
- package/src/renderers/cloudflare/http-proxy.ts +1 -0
- package/src/renderers/dom/boot-frame.ts +2 -2
- package/src/renderers/dom/data-table/row.tsx +4 -1
- package/src/renderers/dom/desktop/controls.tsx +4 -4
- package/src/renderers/dom/desktop/dialog-actions.tsx +60 -41
- package/src/renderers/dom/dom-ui-host.tsx +3 -1
- package/src/renderers/dom/host/input.tsx +4 -1
- package/src/renderers/dom/host/tabs.tsx +10 -1
- package/src/renderers/dom/styles.css +33 -13
- package/src/renderers/electrobun/bun/desktop/app-name.ts +1 -1
- package/src/renderers/opentui/host.tsx +2 -1
- package/src/sources/gloomberb-cloud/fred-series.ts +12 -0
- package/src/sources/gloomberb-cloud/index.ts +31 -2
- package/src/sources/gloomberb-cloud/normalizers.ts +29 -3
- package/src/sources/provider-router/cached-routes.ts +19 -7
- package/src/state/pane-table-export-registry.ts +19 -6
- package/src/test-support/preload.ts +5 -1
- package/src/theme/colors.ts +9 -1
- package/src/theme/themes.ts +62 -15
- package/src/theme/tone-contrast.ts +40 -0
- package/src/theme/ui-tokens.ts +23 -3
- package/src/tickers/batched-lookups.ts +57 -8
- package/src/tickers/company-name-listing.ts +156 -14
- package/src/tickers/company-name.ts +30 -6
- package/src/tickers/list.ts +7 -0
- package/src/tickers/search/home-listing.ts +31 -9
- package/src/tickers/search/index.ts +13 -3
- package/src/tickers/search/listing-index.ts +558 -0
- package/src/tickers/search/major-listings.chunk.ts +10 -0
- package/src/tickers/search/major-listings.json +3346 -0
- package/src/tickers/search/ranking.ts +68 -1
- package/src/tickers/search/types.ts +4 -0
- package/src/tickers/terminal-codes.ts +26 -1
- package/src/time-series/calendar-month-returns.ts +47 -0
- package/src/time-series/currency-conversion.ts +130 -0
- package/src/time-series/hooks.ts +2 -0
- package/src/time-series/price-comparison.ts +34 -11
- package/src/time-series/resolve-context.ts +3 -0
- package/src/time-series/resolve.ts +14 -2
- package/src/time-series/spec.ts +1 -0
- package/src/time-series/studies/indicators.ts +4 -1
- package/src/time-series/types.ts +8 -0
- package/src/types/config.ts +8 -0
- package/src/types/data-provider.ts +28 -0
- package/src/types/financials.ts +20 -2
- package/src/types/headless.ts +12 -0
- package/src/ui/host.tsx +8 -0
- package/src/utils/datetime-format.ts +17 -3
- package/src/utils/display-number.ts +15 -0
- package/src/utils/double-escape-close.ts +61 -16
- package/src/utils/float32-price.ts +24 -0
- package/src/utils/forward-dividend.ts +81 -16
- package/src/utils/fx-market-hours.ts +11 -0
- package/src/utils/plugin-proxy-hosts.json +2 -1
- package/src/utils/price-history.ts +7 -6
- package/src/utils/report-timing.ts +62 -0
- package/src/utils/sec-filings.ts +32 -0
- package/src/utils/utc-time.ts +5 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { StyledText, Text,
|
|
1
|
+
import { StyledText, Text, useShortcutLabel, useUiHost } from "../../ui";
|
|
2
2
|
import { colors } from "../../theme/colors";
|
|
3
3
|
import { useRef } from "react";
|
|
4
|
+
import { KeyHint } from "./key-hints";
|
|
5
|
+
import { keyHintWords } from "./key-hint-words";
|
|
4
6
|
|
|
5
7
|
type ShortcutHintMouseEvent = {
|
|
6
8
|
pixelX?: number;
|
|
@@ -12,14 +14,20 @@ type ShortcutHintMouseEvent = {
|
|
|
12
14
|
export interface ShortcutHintProps {
|
|
13
15
|
/** The key as written (`a`, `Enter`, `Ctrl+S`); it shows in the host's notation. */
|
|
14
16
|
hotkey: string;
|
|
17
|
+
/** What the terminal writes after `[key]`: `eries` for `[s]eries`, ` remove` for `[x] remove`. */
|
|
15
18
|
label: string;
|
|
19
|
+
/**
|
|
20
|
+
* The whole words the desktop and the web show after the keycap ("series").
|
|
21
|
+
* Read from `hotkey` and `label` when left out (keyHintWords).
|
|
22
|
+
*/
|
|
23
|
+
words?: string;
|
|
16
24
|
prefix?: string;
|
|
17
25
|
disabled?: boolean;
|
|
18
26
|
dataGloomRole?: string;
|
|
19
27
|
onPress?: (event?: ShortcutHintMouseEvent) => void;
|
|
20
28
|
}
|
|
21
29
|
|
|
22
|
-
/** Cells a hint takes, for the key as it shows (useShortcutLabel). */
|
|
30
|
+
/** Cells a hint takes in the terminal, for the key as it shows (useShortcutLabel). */
|
|
23
31
|
export function getShortcutHintWidth(hotkey: string, label: string, prefix = ""): number {
|
|
24
32
|
return prefix.length + hotkey.length + label.length + 2;
|
|
25
33
|
}
|
|
@@ -29,20 +37,38 @@ function stopMouseEvent(event?: ShortcutHintMouseEvent) {
|
|
|
29
37
|
event?.preventDefault?.();
|
|
30
38
|
}
|
|
31
39
|
|
|
40
|
+
/**
|
|
41
|
+
* A key and its action: `[s]eries` in the terminal, the key brightest; on the
|
|
42
|
+
* desktop and the web the KeyHint every key hint shares, the key in a keycap
|
|
43
|
+
* before the whole word.
|
|
44
|
+
*/
|
|
32
45
|
export function ShortcutHint({
|
|
33
46
|
hotkey,
|
|
34
47
|
label,
|
|
48
|
+
words,
|
|
35
49
|
prefix = "",
|
|
36
50
|
disabled = false,
|
|
37
51
|
dataGloomRole,
|
|
38
52
|
onPress,
|
|
39
53
|
}: ShortcutHintProps) {
|
|
54
|
+
const desktop = !!useUiHost().KeyHint;
|
|
40
55
|
const interactive = !!onPress && !disabled;
|
|
41
56
|
const keyColor = disabled ? colors.textMuted : colors.textBright;
|
|
42
57
|
const labelColor = disabled ? colors.textMuted : colors.textDim;
|
|
43
58
|
const shownKey = useShortcutLabel()(hotkey);
|
|
44
59
|
const keyText = `[${shownKey}]`;
|
|
45
60
|
const triggerMouseDownRef = useRef(false);
|
|
61
|
+
if (desktop) {
|
|
62
|
+
return (
|
|
63
|
+
<KeyHint
|
|
64
|
+
keyName={hotkey}
|
|
65
|
+
label={words ?? keyHintWords({ key: hotkey, label })}
|
|
66
|
+
onPress={interactive ? onPress : undefined}
|
|
67
|
+
disabled={disabled}
|
|
68
|
+
dataGloomRole={dataGloomRole}
|
|
69
|
+
/>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
46
72
|
const startPress = (event?: ShortcutHintMouseEvent) => {
|
|
47
73
|
triggerMouseDownRef.current = true;
|
|
48
74
|
stopMouseEvent(event);
|
|
@@ -63,7 +89,6 @@ export function ShortcutHint({
|
|
|
63
89
|
{ text: label, fg: labelColor },
|
|
64
90
|
])}
|
|
65
91
|
fg={disabled ? colors.textMuted : colors.textDim}
|
|
66
|
-
attributes={interactive ? TextAttributes.BOLD : 0}
|
|
67
92
|
onMouseDown={interactive ? startPress : undefined}
|
|
68
93
|
onMouseUp={interactive ? finishPress : undefined}
|
|
69
94
|
{...(dataGloomRole ? { "data-gloom-role": dataGloomRole } : {})}
|
|
@@ -30,6 +30,13 @@ interface TabItem {
|
|
|
30
30
|
* strip redraws when it changes.
|
|
31
31
|
*/
|
|
32
32
|
leading?: ReactNode;
|
|
33
|
+
/**
|
|
34
|
+
* The key that switches to this tab, where `label` starts with it (`⌘1 ` of
|
|
35
|
+
* `⌘1 Research`). The desktop and the web hide it on a touch screen, which
|
|
36
|
+
* has no keys to press it with, as they hide keycaps; the terminal draws the
|
|
37
|
+
* label as it is.
|
|
38
|
+
*/
|
|
39
|
+
keyPrefix?: string;
|
|
33
40
|
disabled?: boolean;
|
|
34
41
|
/** Text color while inactive; used for group markers such as a team accent. */
|
|
35
42
|
fg?: string;
|
|
@@ -3,6 +3,7 @@ import { Box, Text, Textarea, useUiCapabilities, type InputRenderable, type Text
|
|
|
3
3
|
import { t } from "../../i18n";
|
|
4
4
|
import { useDialogKeyboard, type PromptContext } from "../../ui/dialog";
|
|
5
5
|
import { useThemeColors } from "../../theme/theme-context";
|
|
6
|
+
import { placeholderText } from "../../theme/colors";
|
|
6
7
|
import { Button } from "./button";
|
|
7
8
|
import { DialogActions } from "./dialog-actions";
|
|
8
9
|
import { FRAMED_TEXTAREA_DESKTOP_STYLE, TextField } from "./fields";
|
|
@@ -96,7 +97,7 @@ export function TextPromptDialog({
|
|
|
96
97
|
placeholder={shownPlaceholder}
|
|
97
98
|
focused
|
|
98
99
|
textColor={colors.text}
|
|
99
|
-
placeholderColor={colors
|
|
100
|
+
placeholderColor={placeholderText(colors)}
|
|
100
101
|
backgroundColor={colors.panel}
|
|
101
102
|
flexGrow={1}
|
|
102
103
|
wrapText
|
|
@@ -10,3 +10,6 @@ export type TickerSearchPayload = Readonly<Record<string, unknown>>;
|
|
|
10
10
|
* mode. Only the backtick and a pane header's ticker search for the focused pane.
|
|
11
11
|
*/
|
|
12
12
|
export const SECURITY_DESCRIPTION_SEARCH: TickerSearchPayload = { action: "security-description" };
|
|
13
|
+
|
|
14
|
+
/** The header's market picker: its benchmarks lead the rows, and the row chosen becomes the market the header shows. */
|
|
15
|
+
export const HEADER_MARKET_SEARCH: TickerSearchPayload = { action: "header-market" };
|
|
@@ -31,6 +31,7 @@ import { sanitizeStarPrompt } from "../../../app/star-prompt/model";
|
|
|
31
31
|
import { sanitizeCommandBarOpens } from "../../../app/command-bar-intro";
|
|
32
32
|
import { sanitizeUpdatesConfig } from "../../../updater/channel";
|
|
33
33
|
import { ATTENTION_NOTICE_ACCOUNTS } from "../../../telemetry/attention-setting";
|
|
34
|
+
import { sanitizeHeaderMarketChoice } from "../../../market-data/market/header-market";
|
|
34
35
|
|
|
35
36
|
const configLog = debugLog.createLogger("config");
|
|
36
37
|
const reportedUnknownThemes = new Set<string>();
|
|
@@ -97,6 +98,7 @@ export function normalizeLoadedConfig(
|
|
|
97
98
|
...sanitizePluginSeedFailure(candidate.pluginSeedFailure),
|
|
98
99
|
...(candidate.portfolioCurrenciesAdopted === true ? { portfolioCurrenciesAdopted: true } : {}),
|
|
99
100
|
...(candidate.presentationMode === true ? { presentationMode: true } : {}),
|
|
101
|
+
...withHeaderMarket(sanitizeHeaderMarketChoice(candidate.headerMarket)),
|
|
100
102
|
...(typeof candidate.timezone === "string" && candidate.timezone.trim() ? { timezone: candidate.timezone.trim() } : {}),
|
|
101
103
|
disabledSources: sanitizeUniqueStringList(candidate.disabledSources ?? defaults.disabledSources),
|
|
102
104
|
pluginConfig: sanitizePluginConfig(candidate.pluginConfig),
|
|
@@ -186,6 +188,10 @@ export function normalizeConfigForSave(config: AppConfig): AppConfig {
|
|
|
186
188
|
return persisted;
|
|
187
189
|
}
|
|
188
190
|
|
|
191
|
+
function withHeaderMarket(headerMarket: AppConfig["headerMarket"]): Pick<AppConfig, "headerMarket"> {
|
|
192
|
+
return headerMarket ? { headerMarket } : {};
|
|
193
|
+
}
|
|
194
|
+
|
|
189
195
|
function withKeybindings(keybindings: KeybindingsConfig | undefined): Pick<AppConfig, "keybindings"> {
|
|
190
196
|
return keybindings ? { keybindings } : {};
|
|
191
197
|
}
|
package/src/docs/snapshot.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": 1,
|
|
3
3
|
"site": "https://gloom.sh",
|
|
4
|
-
"updatedAt": "2026-11-
|
|
4
|
+
"updatedAt": "2026-11-06",
|
|
5
5
|
"categories": [
|
|
6
6
|
{
|
|
7
7
|
"id": "research",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"code": "DES",
|
|
42
42
|
"name": "Security overview",
|
|
43
43
|
"description": "Quote, chart, and research tabs",
|
|
44
|
-
"detail": "The starting point for any ticker: live quote, day and 52-week range, price chart, fundamentals, and tabs into every other research pane. T is the same pane; search Ticker Research to open a second one.",
|
|
44
|
+
"detail": "The starting point for any ticker: live quote, day and 52-week range, price chart, fundamentals, and tabs into every other research pane. A bond fund shows its SEC yield, yield to worst and duration beside its distribution yield. T is the same pane; search Ticker Research to open a second one.",
|
|
45
45
|
"category": "research",
|
|
46
46
|
"arg": "NVDA",
|
|
47
47
|
"shot": "https://gloom.sh/screenshots/fn/DES.png",
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
"code": "DVD",
|
|
431
431
|
"name": "Dividend yield",
|
|
432
432
|
"description": "Payout history and yield",
|
|
433
|
-
"detail": "Cash distributions, trailing yield, indicated rate when available, and payout growth. Future payments are not forecast.",
|
|
433
|
+
"detail": "Cash distributions, trailing yield, indicated rate when available, and payout growth. A bond fund's distribution yield is labelled as not its SEC yield, which follows it dated with yield to worst and duration; --tax-rate 40.8 adds a muni fund's tax-equivalent yield and muni/Treasury ratio. Several tickers rank in one table. Future payments are not forecast.",
|
|
434
434
|
"category": "research",
|
|
435
435
|
"arg": "KO",
|
|
436
436
|
"shot": "https://gloom.sh/screenshots/fn/DVD.png",
|
|
@@ -1386,9 +1386,9 @@
|
|
|
1386
1386
|
},
|
|
1387
1387
|
{
|
|
1388
1388
|
"code": "ETF",
|
|
1389
|
-
"name": "ETF filings",
|
|
1390
|
-
"description": "A fund's SEC filings",
|
|
1391
|
-
"detail": "A US-listed fund's SEC filings: registration statements, prospectus updates, shareholder reports, N-CEN and N-PORT reports. Open any of them inline.",
|
|
1389
|
+
"name": "ETF facts and filings",
|
|
1390
|
+
"description": "A fund's facts and SEC filings",
|
|
1391
|
+
"detail": "A US-listed fund's facts from its sponsor (fee, NAV, premium, net assets, and a bond fund's SEC yield, yield to worst and duration), then its SEC filings: registration statements, prospectus updates, shareholder reports, N-CEN and N-PORT reports. Open any of them inline.",
|
|
1392
1392
|
"category": "ownership",
|
|
1393
1393
|
"arg": "SPY",
|
|
1394
1394
|
"shot": "https://gloom.sh/screenshots/fn/ETF.png",
|
|
@@ -1776,7 +1776,7 @@
|
|
|
1776
1776
|
"desktop",
|
|
1777
1777
|
"tui"
|
|
1778
1778
|
],
|
|
1779
|
-
"updatedAt": "2026-
|
|
1779
|
+
"updatedAt": "2026-11-06",
|
|
1780
1780
|
"blocks": [
|
|
1781
1781
|
{
|
|
1782
1782
|
"type": "heading",
|
|
@@ -1789,15 +1789,11 @@
|
|
|
1789
1789
|
},
|
|
1790
1790
|
{
|
|
1791
1791
|
"type": "code",
|
|
1792
|
-
"code": "brew install --cask
|
|
1792
|
+
"code": "brew install --cask gloom\n# or\ncurl -fsSL gloom.sh/install | bash"
|
|
1793
1793
|
},
|
|
1794
1794
|
{
|
|
1795
1795
|
"type": "paragraph",
|
|
1796
|
-
"text": "Or use the [direct download](/download/desktop)."
|
|
1797
|
-
},
|
|
1798
|
-
{
|
|
1799
|
-
"type": "paragraph",
|
|
1800
|
-
"text": "The desktop app and Homebrew cask require Apple Silicon. Intel Macs can use the [browser version](#browser); check [release assets](https://github.com/gloom-sh/gloomberb/releases/latest) for terminal binary availability."
|
|
1796
|
+
"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)."
|
|
1801
1797
|
},
|
|
1802
1798
|
{
|
|
1803
1799
|
"type": "paragraph",
|
|
@@ -1823,7 +1819,7 @@
|
|
|
1823
1819
|
},
|
|
1824
1820
|
{
|
|
1825
1821
|
"type": "paragraph",
|
|
1826
|
-
"text": "The [desktop installer](/download/desktop)
|
|
1822
|
+
"text": "The [desktop installer](/download/desktop) installs the app and the `gloom` command, with no admin rights. It is not code-signed yet, so SmartScreen may stop it:"
|
|
1827
1823
|
},
|
|
1828
1824
|
{
|
|
1829
1825
|
"type": "list",
|
|
@@ -1836,21 +1832,7 @@
|
|
|
1836
1832
|
},
|
|
1837
1833
|
{
|
|
1838
1834
|
"type": "paragraph",
|
|
1839
|
-
"text": "
|
|
1840
|
-
},
|
|
1841
|
-
{
|
|
1842
|
-
"type": "list",
|
|
1843
|
-
"items": [
|
|
1844
|
-
"**Terminal:** the installer adds `gloom` to your PATH, so open a new terminal window. PowerShell works.",
|
|
1845
|
-
"**Charts:** Windows Terminal has no Kitty graphics, so terminal charts draw as text. The desktop app draws them in full.",
|
|
1846
|
-
"**Data:** `%USERPROFILE%\\.gloomberb`, printed by `gloom version`. `GLOOMBERB_HOME` moves it.",
|
|
1847
|
-
"**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.",
|
|
1848
|
-
"**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."
|
|
1849
|
-
]
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
"type": "paragraph",
|
|
1853
|
-
"text": "Terminal only, in PowerShell, with no admin rights. It installs `gloom.exe` from the latest release into `%USERPROFILE%\\.local\\bin`, checks its SHA-256, and adds the folder to your PATH; open a new terminal window afterwards."
|
|
1835
|
+
"text": "Terminal only, in PowerShell:"
|
|
1854
1836
|
},
|
|
1855
1837
|
{
|
|
1856
1838
|
"type": "code",
|
|
@@ -1858,7 +1840,25 @@
|
|
|
1858
1840
|
},
|
|
1859
1841
|
{
|
|
1860
1842
|
"type": "paragraph",
|
|
1861
|
-
"text": "
|
|
1843
|
+
"text": "Then open a new terminal window."
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"type": "details",
|
|
1847
|
+
"summary": "Windows notes",
|
|
1848
|
+
"blocks": [
|
|
1849
|
+
{
|
|
1850
|
+
"type": "list",
|
|
1851
|
+
"items": [
|
|
1852
|
+
"**Checksum:** the installer is about 280 MB. Compare `Get-FileHash` on it with the SHA-256 on the [release page](https://github.com/gloom-sh/gloomberb/releases/latest).",
|
|
1853
|
+
"**Terminal:** the installer adds `gloom` to your PATH, so open a new terminal window. PowerShell works.",
|
|
1854
|
+
"**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
|
+
"**Charts:** Windows Terminal has no Kitty graphics, so terminal charts draw as text. The desktop app draws them in full.",
|
|
1856
|
+
"**Data:** `%USERPROFILE%\\.gloomberb`, printed by `gloom version`. `GLOOMBERB_HOME` moves it.",
|
|
1857
|
+
"**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
|
+
"**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
|
+
]
|
|
1860
|
+
}
|
|
1861
|
+
]
|
|
1862
1862
|
},
|
|
1863
1863
|
{
|
|
1864
1864
|
"type": "heading",
|
|
@@ -1867,11 +1867,11 @@
|
|
|
1867
1867
|
},
|
|
1868
1868
|
{
|
|
1869
1869
|
"type": "paragraph",
|
|
1870
|
-
"text": "[Open term.gloom.sh](https://term.gloom.sh)
|
|
1870
|
+
"text": "[Open term.gloom.sh](https://term.gloom.sh). No account needed: search, charts, most panes, quotes 15 minutes delayed and news 12 hours delayed, in a one-pane workspace. Layouts stay in your browser."
|
|
1871
1871
|
},
|
|
1872
1872
|
{
|
|
1873
1873
|
"type": "paragraph",
|
|
1874
|
-
"text": "A free sign-in
|
|
1874
|
+
"text": "A free sign-in adds filings, analysts, supply chain, scanners, sync and sharing. Real-time data and some research panes need Pro. The browser cannot connect brokers or install local plugins."
|
|
1875
1875
|
},
|
|
1876
1876
|
{
|
|
1877
1877
|
"type": "heading",
|
|
@@ -1908,7 +1908,7 @@
|
|
|
1908
1908
|
],
|
|
1909
1909
|
[
|
|
1910
1910
|
"Homebrew",
|
|
1911
|
-
"`brew upgrade --cask
|
|
1911
|
+
"`brew upgrade --cask gloom`"
|
|
1912
1912
|
],
|
|
1913
1913
|
[
|
|
1914
1914
|
"Bun",
|
|
@@ -1917,33 +1917,40 @@
|
|
|
1917
1917
|
]
|
|
1918
1918
|
},
|
|
1919
1919
|
{
|
|
1920
|
-
"type": "
|
|
1921
|
-
"
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
{
|
|
1937
|
-
"type": "paragraph",
|
|
1938
|
-
"text": "The app updates from **stable** releases, the ones on the [changelog](/changelog). **Nightly** is a daily build of main that gets fixes first and can break. To switch, run **Release Channel** from the command bar (on the Mac, also **Release Channel...** in the app menu), or in a terminal:"
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"type": "code",
|
|
1942
|
-
"code": "gloom config set updates.channel nightly"
|
|
1920
|
+
"type": "details",
|
|
1921
|
+
"summary": "Older installs",
|
|
1922
|
+
"blocks": [
|
|
1923
|
+
{
|
|
1924
|
+
"type": "paragraph",
|
|
1925
|
+
"text": "An existing `gloomberb` install keeps updating as it is."
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
"type": "paragraph",
|
|
1929
|
+
"text": "Installed before 0.18.4, when the command was `gloomberb`? Updating adds `gloom` beside it and `gloomberb` keeps working, with nothing to reinstall."
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
"type": "paragraph",
|
|
1933
|
+
"text": "Had `Gloomberb.app`? Its next update renames it to `Gloom.app`; settings and data stay."
|
|
1934
|
+
}
|
|
1935
|
+
]
|
|
1943
1936
|
},
|
|
1944
1937
|
{
|
|
1945
|
-
"type": "
|
|
1946
|
-
"
|
|
1938
|
+
"type": "details",
|
|
1939
|
+
"summary": "Release channels: stable and nightly",
|
|
1940
|
+
"blocks": [
|
|
1941
|
+
{
|
|
1942
|
+
"type": "paragraph",
|
|
1943
|
+
"text": "The app updates from **stable** releases, the ones on the [changelog](/changelog). **Nightly** is a daily build of main that gets fixes first and can break. To switch, run **Release Channel** from the command bar (on the Mac, also **Release Channel...** in the app menu), or in a terminal:"
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
"type": "code",
|
|
1947
|
+
"code": "gloom config set updates.channel nightly"
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
"type": "paragraph",
|
|
1951
|
+
"text": "Switching back to stable never installs an older version: your nightly build stays until a newer stable release is out. Nightly applies to the desktop app and the terminal app; Homebrew, Bun and the install script always get stable."
|
|
1952
|
+
}
|
|
1953
|
+
]
|
|
1947
1954
|
},
|
|
1948
1955
|
{
|
|
1949
1956
|
"type": "paragraph",
|
|
@@ -2546,9 +2553,16 @@
|
|
|
2546
2553
|
"yield",
|
|
2547
2554
|
"DRIP",
|
|
2548
2555
|
"reinvest",
|
|
2549
|
-
"DVD"
|
|
2556
|
+
"DVD",
|
|
2557
|
+
"import positions",
|
|
2558
|
+
"broker CSV",
|
|
2559
|
+
"Fidelity",
|
|
2560
|
+
"Schwab",
|
|
2561
|
+
"Vanguard",
|
|
2562
|
+
"E*TRADE",
|
|
2563
|
+
"Merrill"
|
|
2550
2564
|
],
|
|
2551
|
-
"updatedAt": "2026-
|
|
2565
|
+
"updatedAt": "2026-11-06",
|
|
2552
2566
|
"blocks": [
|
|
2553
2567
|
{
|
|
2554
2568
|
"type": "heading",
|
|
@@ -2563,6 +2577,31 @@
|
|
|
2563
2577
|
"type": "code",
|
|
2564
2578
|
"code": "gloom portfolio create Core\ngloom portfolio position set Core VTI 40 280\ngloom portfolio position set Core BND 60 72\ngloom portfolio cash set Core 2000 USD"
|
|
2565
2579
|
},
|
|
2580
|
+
{
|
|
2581
|
+
"type": "heading",
|
|
2582
|
+
"level": 2,
|
|
2583
|
+
"text": "Import positions from a broker CSV"
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
"type": "paragraph",
|
|
2587
|
+
"text": "A broker Gloom does not sync can still fill a portfolio. Download its positions or holdings page as a CSV. Then in PF open the pane menu (`.`, or `...` in the title bar) and choose **Import Positions…**, or in a shell:"
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
"type": "code",
|
|
2591
|
+
"code": "gloom portfolio import ~/Downloads/Portfolio_Positions.csv --dry-run # the preview, nothing saved\ngloom portfolio import ~/Downloads/Portfolio_Positions.csv # creates \"Fidelity\"\ngloom portfolio import positions.csv --name Fidelity --merge # update a portfolio that holds tickers"
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"type": "paragraph",
|
|
2595
|
+
"text": "Fidelity, Schwab (one account or all of them), Vanguard, E*TRADE and Merrill exports are read as they come, and so is any table with a symbol and a quantity column. Each symbol becomes a position with its shares and, where the file has them, cost, purchase date and currency."
|
|
2596
|
+
},
|
|
2597
|
+
{
|
|
2598
|
+
"type": "paragraph",
|
|
2599
|
+
"text": "A preview comes first. The app saves nothing until you choose **Import**, and in a shell `--dry-run` prints the same preview. Cash, options, bonds and pending rows are listed as skipped, each with the reason. A trade history is refused."
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
"type": "paragraph",
|
|
2603
|
+
"text": "Into a portfolio that already holds tickers, choose **Merge** (`--merge`: the file's positions are set over the same holdings, the rest stay) or **Replace** (`--replace`: holdings the file does not list are removed too). The app asks you to confirm a replace. A replace never removes a holding the file lists, and is refused while any stock row failed to import."
|
|
2604
|
+
},
|
|
2566
2605
|
{
|
|
2567
2606
|
"type": "heading",
|
|
2568
2607
|
"level": 2,
|
|
@@ -2672,6 +2711,9 @@
|
|
|
2672
2711
|
"Income uses trailing dividends, not announced ones. DRIP holds dividends, prices and exchange rates where they are today and reinvests once a year; it is an illustration, not a forecast.",
|
|
2673
2712
|
"Trades use the current price and leave out fees, taxes and lot sizes.",
|
|
2674
2713
|
"A broker portfolio uses the cash its account reports.",
|
|
2714
|
+
"Several rows of one symbol (lots, or one holding in several accounts) become one position: the shares added up, the cost averaged, dated by the earliest lot.",
|
|
2715
|
+
"Vanguard's export has no cost. Its positions come in without one, unless the portfolio already holds the ticker and keeps that cost; set it with `gloom portfolio position set`.",
|
|
2716
|
+
"A file takes at most 1,000 positions and 5 MB. A portfolio synced from a broker is never imported into.",
|
|
2675
2717
|
"In the PF pane the columns read `WEIGHT`, `TGT WT`, `DRIFT` and `TRADE`."
|
|
2676
2718
|
]
|
|
2677
2719
|
}
|
|
@@ -2731,7 +2773,7 @@
|
|
|
2731
2773
|
],
|
|
2732
2774
|
[
|
|
2733
2775
|
"[Interactive Brokers](/plugins/ibkr-gateway)",
|
|
2734
|
-
"The IBKR Gateway plugin's own Trade tab, with Gateway or TWS running"
|
|
2776
|
+
"The IBKR Gateway plugin's own Trade tab, with Gateway or TWS running ([keeping Gateway logged in](/answers/ib-gateway-daily-restart-sunday-login))"
|
|
2735
2777
|
]
|
|
2736
2778
|
]
|
|
2737
2779
|
},
|
|
@@ -2937,7 +2979,7 @@
|
|
|
2937
2979
|
[
|
|
2938
2980
|
"Ask Gloom",
|
|
2939
2981
|
"`ASKG <question>`, or the `Ask Gloom` row in the command bar",
|
|
2940
|
-
"Cloud assistant that reads your panes and runs tools. Verified accounts get
|
|
2982
|
+
"Cloud assistant that reads your panes and runs tools. Verified accounts get 20 questions a day, paid Pro 300; the count resets at midnight UTC."
|
|
2941
2983
|
],
|
|
2942
2984
|
[
|
|
2943
2985
|
"AI screener",
|
|
@@ -3178,6 +3220,7 @@
|
|
|
3178
3220
|
"type": "list",
|
|
3179
3221
|
"items": [
|
|
3180
3222
|
"`BR` checks the connection before `IBKR`.",
|
|
3223
|
+
"Interactive Brokers: Flex errors are listed in [IBKR Flex Query setup](/answers/ibkr-flex-query-setup); a Gateway that logs out is covered in [the daily restart and the Sunday login](/answers/ib-gateway-daily-restart-sunday-login).",
|
|
3181
3224
|
"Cloud login and broker authorization are separate.",
|
|
3182
3225
|
"Market data, account sync, and order authorization can fail independently.",
|
|
3183
3226
|
"Review the account and the order preview before submitting. Never test with a real order."
|
|
@@ -5579,7 +5622,7 @@
|
|
|
5579
5622
|
"functions",
|
|
5580
5623
|
"screenshots"
|
|
5581
5624
|
],
|
|
5582
|
-
"updatedAt": "2026-
|
|
5625
|
+
"updatedAt": "2026-11-06",
|
|
5583
5626
|
"blocks": [
|
|
5584
5627
|
{
|
|
5585
5628
|
"type": "paragraph",
|
|
@@ -5730,6 +5773,10 @@
|
|
|
5730
5773
|
"`portfolio position set <portfolio> <symbol> <shares> <avg-cost> [currency]`",
|
|
5731
5774
|
"Set a position"
|
|
5732
5775
|
],
|
|
5776
|
+
[
|
|
5777
|
+
"`portfolio import <file> [--name <portfolio>] [--merge|--replace] [--dry-run]`",
|
|
5778
|
+
"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"
|
|
5779
|
+
],
|
|
5733
5780
|
[
|
|
5734
5781
|
"`portfolio cash set <portfolio> <amount> [currency]`, `portfolio cash clear <portfolio>`",
|
|
5735
5782
|
"Record or clear the cash line; it counts in the total and the weights"
|
|
@@ -5758,7 +5805,7 @@
|
|
|
5758
5805
|
},
|
|
5759
5806
|
{
|
|
5760
5807
|
"type": "paragraph",
|
|
5761
|
-
"text": "[Portfolios and rebalancing](/docs/portfolio) walks through 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
|
|
5808
|
+
"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."
|
|
5762
5809
|
},
|
|
5763
5810
|
{
|
|
5764
5811
|
"type": "paragraph",
|
|
@@ -6114,7 +6161,7 @@
|
|
|
6114
6161
|
"terminal",
|
|
6115
6162
|
"remote control"
|
|
6116
6163
|
],
|
|
6117
|
-
"updatedAt": "2026-
|
|
6164
|
+
"updatedAt": "2026-11-05",
|
|
6118
6165
|
"blocks": [
|
|
6119
6166
|
{
|
|
6120
6167
|
"type": "paragraph",
|
|
@@ -6625,6 +6672,10 @@
|
|
|
6625
6672
|
"type": "paragraph",
|
|
6626
6673
|
"text": "An IBKR order instruction is not an order: IBKR returns a link where you review and submit it yourself."
|
|
6627
6674
|
},
|
|
6675
|
+
{
|
|
6676
|
+
"type": "paragraph",
|
|
6677
|
+
"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)."
|
|
6678
|
+
},
|
|
6628
6679
|
{
|
|
6629
6680
|
"type": "heading",
|
|
6630
6681
|
"level": 2,
|
|
@@ -7510,7 +7561,7 @@
|
|
|
7510
7561
|
{
|
|
7511
7562
|
"url": "/academy/terminal-and-workspace/your-workspace/portfolio-risk",
|
|
7512
7563
|
"title": "Portfolio risk (PORT, MARS)",
|
|
7513
|
-
"summary": "PORT (also MARS) measures your portfolio's risk against a benchmark: how much it swings, its worst fall, a bad-day loss estimate, and what a crash or a rate jump would do to it.",
|
|
7564
|
+
"summary": "PORT (also MARS) measures your portfolio's risk against a benchmark: how much it swings, its worst fall, a bad-day loss estimate, which holdings move together, and what a crash or a rate jump would do to it.",
|
|
7514
7565
|
"chapter": "The terminal and your workspace",
|
|
7515
7566
|
"minutes": 5
|
|
7516
7567
|
},
|
|
@@ -7547,7 +7598,7 @@
|
|
|
7547
7598
|
"title": "Your account and your broker (ACM, BR, IBKR)",
|
|
7548
7599
|
"summary": "ACM manages your Gloom account, and BR connects a brokerage account so your real positions appear in a portfolio and stay in sync.",
|
|
7549
7600
|
"chapter": "The terminal and your workspace",
|
|
7550
|
-
"minutes":
|
|
7601
|
+
"minutes": 5
|
|
7551
7602
|
},
|
|
7552
7603
|
{
|
|
7553
7604
|
"url": "/academy/terminal-and-workspace/your-workspace/ai-helpers",
|
|
@@ -7687,7 +7738,7 @@
|
|
|
7687
7738
|
"title": "Revenue by segment and company KPIs (SEG, KPIS)",
|
|
7688
7739
|
"summary": "SEG splits a company's revenue by product, segment and region from its filings, and KPIS tracks the operating numbers it reports beyond the statements, each with its source quote.",
|
|
7689
7740
|
"chapter": "Fundamentals and earnings",
|
|
7690
|
-
"minutes":
|
|
7741
|
+
"minutes": 5
|
|
7691
7742
|
},
|
|
7692
7743
|
{
|
|
7693
7744
|
"url": "/academy/fundamentals-and-earnings/the-statements/reverse-dcf",
|
|
@@ -7855,7 +7906,7 @@
|
|
|
7855
7906
|
"title": "Risk factors (RISK)",
|
|
7856
7907
|
"summary": "RISK groups the risk factors in a company's 10-K by theme and shows what was added, dropped or reworded since the previous year.",
|
|
7857
7908
|
"chapter": "Compare, screen and follow the money",
|
|
7858
|
-
"minutes":
|
|
7909
|
+
"minutes": 4
|
|
7859
7910
|
},
|
|
7860
7911
|
{
|
|
7861
7912
|
"url": "/academy/compare-screen-follow-money/filings-and-attention/executive-pay",
|
package/src/i18n/es.ts
CHANGED
|
@@ -1550,6 +1550,7 @@ export const es: Record<string, string> = {
|
|
|
1550
1550
|
"YOUR WORKSPACE": "TU ESPACIO DE TRABAJO",
|
|
1551
1551
|
"Your holdings as a heatmap, a watchlist, and {ticker} charted. Every pane moves; {shortcut} adds more.": "Tus posiciones como mapa de calor, una lista de seguimiento y el gráfico de {ticker}. Cada panel se mueve; {shortcut} añade más.",
|
|
1552
1552
|
"b: sign in with the browser instead": "b: iniciar sesión con el navegador",
|
|
1553
|
+
"Esc, then b: sign in with the browser instead": "Esc y luego b: iniciar sesión con el navegador",
|
|
1553
1554
|
"Sign in with the browser instead": "Iniciar sesión con el navegador",
|
|
1554
1555
|
"Real-time market data": "Datos de mercado en tiempo real",
|
|
1555
1556
|
// ── Onboarding desks ─────────────────────────────────────────
|
|
@@ -1569,7 +1570,7 @@ export const es: Record<string, string> = {
|
|
|
1569
1570
|
"Your last payment didn't go through": "Tu último pago no se completó",
|
|
1570
1571
|
"Pro is paused until your open invoice is paid. Pay it with another card and real-time data comes straight back.": "Pro está en pausa hasta que se pague tu factura pendiente. Págala con otra tarjeta y los datos en tiempo real vuelven al instante.",
|
|
1571
1572
|
"Pay with another card": "Pagar con otra tarjeta",
|
|
1572
|
-
"
|
|
1573
|
+
"One better trade pays for Pro": "Una operación mejor paga Pro",
|
|
1573
1574
|
"Pro is free for {days} days. $0 today, then {price} from {date}. Card required. Cancel before and you pay nothing.": "Pro es gratis durante {days} días. $0 hoy, luego {price} desde el {date}. Tarjeta necesaria. Cancela antes y no pagas nada.",
|
|
1574
1575
|
"Continue to checkout": "Ir al pago",
|
|
1575
1576
|
"{price}, billed today. Cancel anytime.": "{price}, se cobra hoy. Cancela cuando quieras.",
|
|
@@ -1686,6 +1687,8 @@ export const es: Record<string, string> = {
|
|
|
1686
1687
|
"Denied in {seconds} s": "Se deniega en {seconds} s",
|
|
1687
1688
|
"choose": "elegir",
|
|
1688
1689
|
"select": "seleccionar",
|
|
1690
|
+
"here": "aquí",
|
|
1691
|
+
"new pane": "panel nuevo",
|
|
1689
1692
|
"confirm": "confirmar",
|
|
1690
1693
|
"presets": "preajustes",
|
|
1691
1694
|
"add": "añadir",
|
|
@@ -1740,4 +1743,24 @@ export const es: Record<string, string> = {
|
|
|
1740
1743
|
"Keep on this device": "Mantener en este dispositivo",
|
|
1741
1744
|
"Daily roundups, the weekly brief, position alerts, the mobile app and Ask Gloom will go without this account.": "Los resúmenes diarios, el informe semanal, las alertas de posiciones, la app móvil y Ask Gloom no incluirán esta cuenta.",
|
|
1742
1745
|
"Account data stays on this device, out of Gloom Cloud": "Los datos de la cuenta se quedan en este dispositivo, fuera de Gloom Cloud",
|
|
1746
|
+
"{venue} open": "{venue} abierto",
|
|
1747
|
+
"{venue} lunch": "{venue} en pausa",
|
|
1748
|
+
"{venue} pre-market": "{venue} preapertura",
|
|
1749
|
+
"{venue} after-hours": "{venue} post-cierre",
|
|
1750
|
+
"{venue} closed": "{venue} cerrado",
|
|
1751
|
+
"{venue} holiday": "{venue} festivo",
|
|
1752
|
+
"{time} left": "quedan {time}",
|
|
1753
|
+
"opens {time}": "abre {time}",
|
|
1754
|
+
"reopens {time}": "reabre {time}",
|
|
1755
|
+
"Header Market": "Mercado del encabezado",
|
|
1756
|
+
"Choose Header Market": "Elegir mercado del encabezado",
|
|
1757
|
+
"Choose the market the header shows": "Elige el mercado que muestra el encabezado",
|
|
1758
|
+
"Benchmarks": "Índices de referencia",
|
|
1759
|
+
"{venue} pre": "{venue} pre",
|
|
1760
|
+
"{venue} post": "{venue} post",
|
|
1761
|
+
"open": "abierto",
|
|
1762
|
+
"lunch": "pausa",
|
|
1763
|
+
"pre": "pre",
|
|
1764
|
+
"post": "post",
|
|
1765
|
+
"closed": "cerrado",
|
|
1743
1766
|
};
|
package/src/i18n/ja.ts
CHANGED
|
@@ -1547,6 +1547,7 @@ export const ja: Record<string, string> = {
|
|
|
1547
1547
|
"YOUR WORKSPACE": "あなたのワークスペース",
|
|
1548
1548
|
"Your holdings as a heatmap, a watchlist, and {ticker} charted. Every pane moves; {shortcut} adds more.": "保有銘柄のヒートマップ、ウォッチリスト、{ticker} のチャート。ペインは自由に動かせ、{shortcut} で追加できます。",
|
|
1549
1549
|
"b: sign in with the browser instead": "b: ブラウザーでサインイン",
|
|
1550
|
+
"Esc, then b: sign in with the browser instead": "Esc のあと b: ブラウザーでサインイン",
|
|
1550
1551
|
"Sign in with the browser instead": "ブラウザーでサインイン",
|
|
1551
1552
|
"Real-time market data": "リアルタイム市場データ",
|
|
1552
1553
|
// ── Onboarding desks ─────────────────────────────────────────
|
|
@@ -1566,7 +1567,7 @@ export const ja: Record<string, string> = {
|
|
|
1566
1567
|
"Your last payment didn't go through": "前回のお支払いが完了しませんでした",
|
|
1567
1568
|
"Pro is paused until your open invoice is paid. Pay it with another card and real-time data comes straight back.": "未払いの請求書が支払われるまで Pro は一時停止中です。別のカードで支払うと、リアルタイムデータがすぐに戻ります。",
|
|
1568
1569
|
"Pay with another card": "別のカードで支払う",
|
|
1569
|
-
"
|
|
1570
|
+
"One better trade pays for Pro": "良い取引ひとつで Pro の元が取れる",
|
|
1570
1571
|
"Pro is free for {days} days. $0 today, then {price} from {date}. Card required. Cancel before and you pay nothing.": "Pro は {days} 日間無料。本日 $0、{date} から {price}。カード登録が必要。それまでに解約すれば料金はかかりません。",
|
|
1571
1572
|
"Continue to checkout": "チェックアウトへ進む",
|
|
1572
1573
|
"{price}, billed today. Cancel anytime.": "{price}、本日請求。いつでも解約可。",
|
|
@@ -1683,6 +1684,8 @@ export const ja: Record<string, string> = {
|
|
|
1683
1684
|
"Denied in {seconds} s": "{seconds} 秒後に拒否",
|
|
1684
1685
|
"choose": "選ぶ",
|
|
1685
1686
|
"select": "決定",
|
|
1687
|
+
"here": "ここ",
|
|
1688
|
+
"new pane": "新しいペイン",
|
|
1686
1689
|
"confirm": "確定",
|
|
1687
1690
|
"presets": "プリセット",
|
|
1688
1691
|
"add": "追加",
|
|
@@ -1737,4 +1740,24 @@ export const ja: Record<string, string> = {
|
|
|
1737
1740
|
"Keep on this device": "このデバイスに保存",
|
|
1738
1741
|
"Daily roundups, the weekly brief, position alerts, the mobile app and Ask Gloom will go without this account.": "デイリーまとめ、週次ブリーフ、ポジションアラート、モバイルアプリ、Ask Gloom にはこの口座が含まれなくなります。",
|
|
1739
1742
|
"Account data stays on this device, out of Gloom Cloud": "口座データはこのデバイスに保存され、Gloom Cloud には送られません",
|
|
1743
|
+
"{venue} open": "{venue} 取引中",
|
|
1744
|
+
"{venue} lunch": "{venue} 昼休み",
|
|
1745
|
+
"{venue} pre-market": "{venue} 取引開始前",
|
|
1746
|
+
"{venue} after-hours": "{venue} 時間外",
|
|
1747
|
+
"{venue} closed": "{venue} 休場",
|
|
1748
|
+
"{venue} holiday": "{venue} 休日休場",
|
|
1749
|
+
"{time} left": "残り {time}",
|
|
1750
|
+
"opens {time}": "{time} 開始",
|
|
1751
|
+
"reopens {time}": "{time} 再開",
|
|
1752
|
+
"Header Market": "ヘッダーの市場",
|
|
1753
|
+
"Choose Header Market": "ヘッダーの市場を選択",
|
|
1754
|
+
"Choose the market the header shows": "ヘッダーに表示する市場を選択",
|
|
1755
|
+
"Benchmarks": "ベンチマーク",
|
|
1756
|
+
"{venue} pre": "{venue} 開始前",
|
|
1757
|
+
"{venue} post": "{venue} 時間外",
|
|
1758
|
+
"open": "取引中",
|
|
1759
|
+
"lunch": "昼休み",
|
|
1760
|
+
"pre": "開始前",
|
|
1761
|
+
"post": "時間外",
|
|
1762
|
+
"closed": "休場",
|
|
1740
1763
|
};
|