gloomberb 0.20.4 → 0.20.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/README.zh-CN.md +1 -1
- package/bin/gloom +9 -0
- package/bin/without-bun.cjs +98 -0
- package/package.json +4 -1
- package/src/api-client/data.ts +148 -37
- package/src/api-client/hk-tenders.ts +59 -0
- package/src/api-client/index.ts +1 -0
- package/src/api-client/types/econ.ts +30 -0
- package/src/api-client/yield-curves.ts +1 -1
- package/src/app/global-shortcuts.ts +4 -1
- package/src/app/keybindings/actions.ts +6 -0
- package/src/app/keybindings/config.ts +2 -1
- package/src/app/keybindings/index.ts +1 -0
- package/src/app/keybindings/labels.ts +6 -1
- package/src/app/keybindings/resolve.ts +23 -4
- package/src/app/keybindings/terminal-keys.ts +35 -0
- package/src/app/pane-runtime/index.tsx +2 -2
- package/src/app/pane-runtime/ticker-open-runtime.ts +68 -40
- package/src/app.tsx +18 -13
- package/src/architecture/floating-promise-allowlist.json +313 -0
- package/src/architecture/ui-literals-allowlist.json +1 -1
- package/src/capabilities/chart-series.ts +27 -1
- package/src/cli/commands/keybindings.ts +5 -5
- package/src/cli/commands/market.ts +238 -57
- package/src/cli/commands/news-search.ts +81 -14
- package/src/cli/commands/overview.ts +27 -6
- package/src/cli/commands/remote.ts +16 -17
- package/src/cli/commands/system.ts +1 -1
- package/src/cli/commands/ticker.ts +3 -1
- package/src/cli/early-command.ts +2 -0
- package/src/cli/errors.ts +10 -1
- package/src/cli/fx-forward.ts +89 -7
- package/src/cli/fx-pair.ts +1 -1
- package/src/cli/fx-quote-rate.ts +23 -0
- package/src/cli/glossary.ts +19 -5
- package/src/cli/help.ts +1 -0
- package/src/cli/history-rows.ts +5 -3
- package/src/cli/index-roots.ts +5 -4
- package/src/cli/index.ts +40 -3
- package/src/cli/known-gaps.ts +38 -9
- package/src/cli/listing-arg.ts +17 -5
- package/src/cli/name-entries.ts +5 -1
- package/src/cli/not-a-ticker.ts +4 -0
- package/src/cli/options.ts +52 -3
- package/src/cli/output-file.ts +5 -3
- package/src/cli/pane-functions/catalog.ts +15 -0
- package/src/cli/pane-functions/function-help.ts +4 -4
- package/src/cli/pane-functions/headless.ts +9 -4
- package/src/cli/pane-functions/index.ts +6 -4
- package/src/cli/pane-functions/resolver.ts +2 -2
- package/src/cli/result.ts +21 -2
- package/src/cli/spreadsheet-hint.ts +7 -3
- package/src/cli/treasury-yields.ts +5 -3
- package/src/components/chart/composite/legend.tsx +40 -2
- package/src/components/command-bar/pane-settings.ts +2 -2
- package/src/components/command-bar/routes/root/results.ts +6 -2
- package/src/components/command-bar/workflow/tickers.ts +2 -2
- package/src/components/data-table/view.tsx +9 -2
- package/src/components/input-search-bar.tsx +9 -2
- package/src/components/layout/pane/header.tsx +2 -0
- package/src/components/layout/shell/pane/capture.ts +4 -1
- package/src/components/layout/status-bar.tsx +6 -1
- package/src/components/onboarding/first-run-workspace.ts +44 -2
- package/src/components/onboarding/onboarding-frame.tsx +11 -2
- package/src/components/onboarding/onboarding-keyboard.ts +16 -0
- package/src/components/onboarding/onboarding-wizard.tsx +8 -8
- package/src/components/onboarding/portfolio-step/positions-panel.tsx +62 -1
- package/src/components/onboarding/use-onboarding-progress.ts +12 -4
- package/src/components/pane-settings-dialog/desktop.tsx +2 -2
- package/src/components/pane-settings-dialog/tui.tsx +2 -2
- package/src/components/pane-settings-dialog/value.ts +6 -0
- package/src/components/pane-settings-dialog.tsx +3 -3
- package/src/components/reader/detail-reader.tsx +4 -0
- package/src/components/ui/data-table/opentui/index.tsx +11 -4
- package/src/components/ui/data-table/opentui/model.ts +8 -6
- package/src/components/ui/data-table/types.ts +6 -1
- package/src/components/ui/index.ts +1 -1
- package/src/components/ui/page-stack-view.tsx +3 -0
- package/src/components/ui/pane-link-chip.tsx +269 -54
- package/src/components/ui/query-bar.tsx +2 -1
- package/src/components/ui/table-layout.ts +38 -1
- package/src/components/ui/tabs.tsx +97 -19
- package/src/core/state/app/layout-reducer.ts +7 -0
- package/src/core/state/app/layout.ts +44 -7
- package/src/core/state/app/state.ts +1 -1
- package/src/core/state/app/types.ts +22 -2
- package/src/docs/snapshot.json +30 -13
- package/src/market-data/depositary-pair.ts +5 -3
- package/src/market-data/market/change-basis.ts +9 -5
- package/src/market-data/market/dated-previous-close.ts +147 -17
- package/src/market-data/market/status.ts +17 -1
- package/src/market-data/quotes/contributions.ts +2 -0
- package/src/market-data/quotes/listing-enterprise-value.ts +50 -0
- package/src/plugins/builtin/alerts/metric-data.ts +15 -2
- package/src/plugins/builtin/analytics/risk-client.ts +10 -4
- package/src/plugins/builtin/analytics/risk-episodes.ts +5 -4
- package/src/plugins/builtin/analytics/risk-headless.ts +4 -2
- package/src/plugins/builtin/analytics/risk-sectors.ts +91 -0
- package/src/plugins/builtin/awards/index.tsx +1 -1
- package/src/plugins/builtin/backtest/headless.ts +1 -1
- package/src/plugins/builtin/buildout/index.tsx +1 -0
- package/src/plugins/builtin/catalysts/index.tsx +2 -2
- package/src/plugins/builtin/cds/headless.ts +4 -0
- package/src/plugins/builtin/cds/model.ts +0 -6
- package/src/plugins/builtin/chart-composer/formula.ts +16 -3
- package/src/plugins/builtin/chart-composer/headless-schema.ts +2 -0
- package/src/plugins/builtin/chart-composer/headless.ts +4 -2
- package/src/plugins/builtin/chart-composer/index.tsx +1 -0
- package/src/plugins/builtin/chart-composer/presets.ts +1 -0
- package/src/plugins/builtin/chat/content/composer.tsx +5 -4
- package/src/plugins/builtin/chat/content/index.tsx +12 -2
- package/src/plugins/builtin/chat/content/layout-metrics.ts +3 -3
- package/src/plugins/builtin/chat/content/open-targets.ts +3 -3
- package/src/plugins/builtin/chat/layout.ts +5 -2
- package/src/plugins/builtin/chat/message/pane-chip.tsx +61 -40
- package/src/plugins/builtin/chat/message/terminal.tsx +13 -15
- package/src/plugins/builtin/chat/pane-links/previews.ts +51 -5
- package/src/plugins/builtin/chat/pane-links/share-card.ts +36 -0
- package/src/plugins/builtin/cloud/askg/pane.tsx +55 -13
- package/src/plugins/builtin/cloud/askg/tool-display.ts +1 -0
- package/src/plugins/builtin/cloud/terminal-relay/redact.ts +5 -3
- package/src/plugins/builtin/commodity-balances/index.tsx +1 -0
- package/src/plugins/builtin/company-attention/index.tsx +1 -1
- package/src/plugins/builtin/company-kpis/headless.ts +3 -1
- package/src/plugins/builtin/company-kpis/index.tsx +2 -2
- package/src/plugins/builtin/cot/index.tsx +1 -1
- package/src/plugins/builtin/cpi/index.tsx +1 -1
- package/src/plugins/builtin/credit-boards/cdx-pane.tsx +20 -7
- package/src/plugins/builtin/credit-boards/client.ts +8 -0
- package/src/plugins/builtin/credit-boards/headless.ts +4 -1
- package/src/plugins/builtin/credit-boards/model.ts +58 -4
- package/src/plugins/builtin/credit-boards/series.ts +63 -6
- package/src/plugins/builtin/credit-boards/sovr-pane.tsx +3 -2
- package/src/plugins/builtin/credit-conditions/headless.ts +24 -6
- package/src/plugins/builtin/credit-conditions/index.tsx +1 -1
- package/src/plugins/builtin/credit-conditions/model.ts +12 -6
- package/src/plugins/builtin/credit-conditions/series.ts +2 -1
- package/src/plugins/builtin/crypto-board/index.tsx +1 -0
- package/src/plugins/builtin/dividend-yield/index.tsx +1 -0
- package/src/plugins/builtin/doe/index.tsx +1 -1
- package/src/plugins/builtin/earnings-calls/headless.ts +5 -1
- package/src/plugins/builtin/earnings-calls/index.tsx +1 -0
- package/src/plugins/builtin/econ/calendar-model.ts +115 -8
- package/src/plugins/builtin/econ/calendar-source.ts +7 -1
- package/src/plugins/builtin/econ/fred-catalog.ts +3 -1
- package/src/plugins/builtin/econ/index.tsx +42 -8
- package/src/plugins/builtin/econ/types.ts +3 -0
- package/src/plugins/builtin/econ-statistics/index.tsx +1 -0
- package/src/plugins/builtin/econ-statistics/pane.tsx +6 -0
- package/src/plugins/builtin/estimate-revisions/index.tsx +1 -0
- package/src/plugins/builtin/executives/index.tsx +1 -0
- package/src/plugins/builtin/filing-events/index.tsx +1 -0
- package/src/plugins/builtin/fixed-income/index.tsx +3 -0
- package/src/plugins/builtin/futures-curve/headless.ts +3 -3
- package/src/plugins/builtin/futures-curve/index.tsx +1 -1
- package/src/plugins/builtin/futures-curve/model.ts +18 -0
- package/src/plugins/builtin/fx-matrix/index.tsx +44 -14
- package/src/plugins/builtin/gpu/index.tsx +1 -1
- package/src/plugins/builtin/help/functions-table.tsx +1 -1
- package/src/plugins/builtin/help/index.tsx +11 -1
- package/src/plugins/builtin/help/keybindings-editor.tsx +7 -3
- package/src/plugins/builtin/holders/index.tsx +1 -0
- package/src/plugins/builtin/holders/report-header.ts +2 -2
- package/src/plugins/builtin/insider/index.tsx +1 -0
- package/src/plugins/builtin/iv-history/index.tsx +1 -1
- package/src/plugins/builtin/jobs/index.tsx +1 -0
- package/src/plugins/builtin/macro-day/headless.ts +27 -8
- package/src/plugins/builtin/macro-day/index.tsx +1 -1
- package/src/plugins/builtin/macro-day/model.ts +19 -3
- package/src/plugins/builtin/macro-day/pane.tsx +14 -9
- package/src/plugins/builtin/macro-day/releases.ts +25 -7
- package/src/plugins/builtin/market-valuation/index.tsx +1 -0
- package/src/plugins/builtin/market-valuation/pane.tsx +8 -0
- package/src/plugins/builtin/members/index.tsx +1 -1
- package/src/plugins/builtin/mna/index.tsx +1 -0
- package/src/plugins/builtin/news/index.tsx +1 -0
- package/src/plugins/builtin/news/wire/index.tsx +5 -1
- package/src/plugins/builtin/news/wire/news/detail-view.tsx +4 -0
- package/src/plugins/builtin/news/wire/news/list-search.ts +5 -2
- package/src/plugins/builtin/options/index.tsx +1 -0
- package/src/plugins/builtin/options-positioning/index.tsx +1 -0
- package/src/plugins/builtin/pe-band/index.tsx +1 -1
- package/src/plugins/builtin/portfolio-list/cli/portfolio-command.ts +25 -0
- package/src/plugins/builtin/portfolio-list/cli/render.ts +20 -3
- package/src/plugins/builtin/portfolio-list/cli/watchlist-command.ts +5 -1
- package/src/plugins/builtin/portfolio-list/headless.ts +15 -6
- package/src/plugins/builtin/power/index.tsx +1 -1
- package/src/plugins/builtin/realized-vol/index.tsx +1 -1
- package/src/plugins/builtin/research/headless-schema.ts +4 -3
- package/src/plugins/builtin/research/headless.ts +10 -4
- package/src/plugins/builtin/research/index.tsx +4 -0
- package/src/plugins/builtin/research/relative-valuation-columns.ts +145 -47
- package/src/plugins/builtin/research/relative-valuation-currency.ts +31 -0
- package/src/plugins/builtin/research/relative-valuation-headless.ts +25 -8
- package/src/plugins/builtin/research/relative-valuation-model.ts +40 -9
- package/src/plugins/builtin/research/relative-valuation-pane.tsx +3 -2
- package/src/plugins/builtin/research/relative-valuation-peers.ts +2 -2
- package/src/plugins/builtin/research-search/index.tsx +1 -0
- package/src/plugins/builtin/research-search/pane.tsx +8 -0
- package/src/plugins/builtin/revenue-breakdown/index.tsx +1 -0
- package/src/plugins/builtin/reverse-dcf/index.tsx +1 -1
- package/src/plugins/builtin/risk-factors/index.tsx +1 -0
- package/src/plugins/builtin/scanner/headless.ts +52 -13
- package/src/plugins/builtin/seasonality/index.tsx +1 -1
- package/src/plugins/builtin/sec/index.tsx +1 -0
- package/src/plugins/builtin/series-inventory.ts +1 -1
- package/src/plugins/builtin/shared/scanner-capture.ts +11 -3
- package/src/plugins/builtin/shared/series-list-detail.tsx +5 -0
- package/src/plugins/builtin/short-interest/index.tsx +1 -0
- package/src/plugins/builtin/social-mentions/index.tsx +1 -1
- package/src/plugins/builtin/supply-chain/index.tsx +1 -0
- package/src/plugins/builtin/thirteenf/api.ts +47 -4
- package/src/plugins/builtin/thirteenf/data.ts +43 -10
- package/src/plugins/builtin/thirteenf/headless.ts +55 -11
- package/src/plugins/builtin/thirteenf/model.ts +25 -9
- package/src/plugins/builtin/thirteenf/report-notes.ts +27 -6
- package/src/plugins/builtin/thirteenf/types.ts +2 -0
- package/src/plugins/builtin/ticker-detail/adr-pair/model.ts +1 -1
- package/src/plugins/builtin/ticker-detail/data-panes/historical-prices.tsx +8 -7
- package/src/plugins/builtin/ticker-detail/data-panes/history-bars.ts +8 -5
- package/src/plugins/builtin/ticker-detail/financials/model.ts +18 -2
- package/src/plugins/builtin/ticker-detail/financials/ratio-table.tsx +3 -3
- package/src/plugins/builtin/ticker-detail/financials/tab.tsx +6 -6
- package/src/plugins/builtin/ticker-detail/headless.ts +24 -17
- package/src/plugins/builtin/ticker-detail/index.tsx +4 -0
- package/src/plugins/builtin/ticker-detail/overview/model.ts +6 -4
- package/src/plugins/builtin/ticker-detail/overview-tab.tsx +6 -4
- package/src/plugins/builtin/time-sales/client.ts +9 -11
- package/src/plugins/builtin/time-sales/index.tsx +1 -1
- package/src/plugins/builtin/treasury-auctions/after.ts +267 -0
- package/src/plugins/builtin/treasury-auctions/cache.ts +54 -5
- package/src/plugins/builtin/treasury-auctions/client.ts +33 -2
- package/src/plugins/builtin/treasury-auctions/headless.ts +150 -22
- package/src/plugins/builtin/treasury-auctions/hk-headless.ts +126 -0
- package/src/plugins/builtin/treasury-auctions/hk-view.tsx +347 -0
- package/src/plugins/builtin/treasury-auctions/hk.ts +363 -0
- package/src/plugins/builtin/treasury-auctions/index.tsx +27 -4
- package/src/plugins/builtin/treasury-auctions/model.ts +264 -28
- package/src/plugins/builtin/treasury-auctions/pane.tsx +176 -41
- package/src/plugins/builtin/treasury-auctions/treasury-direct.ts +5 -2
- package/src/plugins/builtin/treasury-auctions/types.ts +7 -1
- package/src/plugins/builtin/vol-surface/index.tsx +1 -1
- package/src/plugins/builtin/world-venue-map/index.ts +1 -0
- package/src/plugins/builtin/yield-curve/curves.ts +10 -4
- package/src/plugins/builtin/yield-curve/headless.ts +6 -2
- package/src/plugins/builtin/yield-curve/index.tsx +3 -3
- package/src/plugins/builtin/yield-curve/series.ts +10 -0
- package/src/plugins/builtin/yield-curve/world.ts +3 -1
- package/src/portfolio/collection-name.ts +22 -0
- package/src/portfolio/column-values.ts +2 -1
- package/src/public/__snapshots__/public-api.test.ts.snap +4 -0
- package/src/public/remote.ts +7 -1
- package/src/remote/client.ts +191 -11
- package/src/remote/controller-utils.ts +13 -1
- package/src/remote/controller.ts +88 -26
- package/src/remote/endpoint.ts +24 -0
- package/src/remote/form.ts +59 -4
- package/src/remote/resources.ts +44 -18
- package/src/remote/schema.ts +21 -9
- package/src/remote/secrets.ts +12 -0
- package/src/remote/semantic-tree.tsx +14 -2
- package/src/remote/server.ts +2 -1
- package/src/remote/surface.tsx +192 -0
- package/src/remote/types.ts +5 -0
- package/src/renderers/dom/data-table/frozen-column.ts +3 -1
- package/src/renderers/dom/data-table/index.tsx +27 -9
- package/src/renderers/dom/data-table/row.tsx +2 -0
- package/src/renderers/electrobun/bun/desktop/backend.ts +27 -24
- package/src/renderers/electrobun/bun/desktop/detached-windows.ts +3 -3
- package/src/renderers/electrobun/bun/desktop/snapshot-commit.ts +77 -0
- package/src/renderers/electrobun/shared/protocol.ts +4 -0
- package/src/renderers/electrobun/view/backend-rpc.ts +3 -0
- package/src/renderers/electrobun/view/desktop/window/bridge.ts +3 -0
- package/src/renderers/opentui/host.tsx +6 -0
- package/src/series/standalone.ts +2 -2
- package/src/shares/api.ts +21 -4
- package/src/shares/item.ts +73 -0
- package/src/shares/pane-item.ts +205 -0
- package/src/shares/pane.ts +4 -0
- package/src/shares/payload.ts +9 -5
- package/src/sources/gloomberb-cloud/news.ts +2 -0
- package/src/sources/gloomberb-cloud/normalizers.ts +9 -5
- package/src/sources/provider-router/cache.ts +3 -1
- package/src/sync/controller.ts +17 -2
- package/src/sync/other-window-tabs.ts +32 -1
- package/src/sync/react.ts +4 -4
- package/src/tickers/renamed-listings.ts +105 -0
- package/src/tickers/search/index.ts +103 -16
- package/src/time-series/bar-spacing.ts +33 -0
- package/src/time-series/base-series.ts +21 -3
- package/src/time-series/chart-bounds.ts +31 -0
- package/src/time-series/field-catalog.ts +17 -0
- package/src/time-series/fundamentals.ts +143 -11
- package/src/time-series/ice-credit.ts +32 -6
- package/src/time-series/resolve.ts +11 -7
- package/src/time-series/session-bar.ts +78 -9
- package/src/time-series/studies/formula.ts +53 -10
- package/src/time-series/studies/pair.ts +18 -7
- package/src/time-series/studies/units.ts +49 -2
- package/src/time-series/types.ts +12 -0
- package/src/types/desktop-window.ts +2 -0
- package/src/types/financials.ts +7 -0
- package/src/types/headless.ts +8 -0
- package/src/types/plugin-pane-settings.ts +2 -0
- package/src/types/plugin-panes.ts +22 -0
- package/src/utils/central-banks.ts +86 -1
- package/src/utils/cli-output.ts +6 -3
- package/src/utils/datetime-format.ts +12 -3
- package/src/utils/depositary-receipt.ts +28 -3
- package/src/utils/ebitda.ts +128 -0
- package/src/utils/format.ts +1 -1
- package/src/utils/fundamentals.ts +14 -0
- package/src/utils/max-drawdown.ts +97 -16
- package/src/utils/shell-word.ts +13 -0
- package/src/utils/untrusted-text.ts +29 -0
|
@@ -3,8 +3,11 @@ import { usePaneFooter, useQueryBarSearch } from "../../../../../components";
|
|
|
3
3
|
import type { NewsArticle } from "../../../../../news/types";
|
|
4
4
|
import { filterNewsArticles } from "../filter-articles";
|
|
5
5
|
|
|
6
|
-
/**
|
|
7
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Only what the list has loaded is filtered; older stories load as the list scrolls. A narrow pane's field shows
|
|
8
|
+
* the short form whole rather than "filter loaded st".
|
|
9
|
+
*/
|
|
10
|
+
export const NEWS_LIST_SEARCH_PLACEHOLDER = ["filter loaded stories", "filter stories"] as const;
|
|
8
11
|
|
|
9
12
|
export function useNewsListSearch<T extends NewsArticle>(articles: readonly T[]) {
|
|
10
13
|
const [searchQuery, setSearchQuery] = useState("");
|
|
@@ -99,6 +99,7 @@ export const optionsModule: PluginModule = {
|
|
|
99
99
|
icon: "O",
|
|
100
100
|
component: OptionsPane,
|
|
101
101
|
defaultPosition: "right",
|
|
102
|
+
shareItem: { ticker: true },
|
|
102
103
|
tickerFollower: true,
|
|
103
104
|
// An option the person holds shows their position.
|
|
104
105
|
personalData: (context) => (holdsActiveTicker(context) ? "holdings" : null),
|
|
@@ -46,6 +46,7 @@ export const optionsPositioningModule: PluginModule = {
|
|
|
46
46
|
icon: "O",
|
|
47
47
|
get component(): typeof import("./pane").OptionsPositioningPane { const { OptionsPositioningPane } = require("./pane"); return OptionsPositioningPane; },
|
|
48
48
|
defaultPosition: "right",
|
|
49
|
+
shareItem: { ticker: true },
|
|
49
50
|
tickerFollower: true,
|
|
50
51
|
defaultMode: "floating",
|
|
51
52
|
defaultFloatingSize: { width: 104, height: 34 },
|
|
@@ -6,7 +6,7 @@ import { LOOKBACK_OPTIONS, PeBandPane } from "./pane";
|
|
|
6
6
|
export const peBandModule: PluginModule = {
|
|
7
7
|
panes: [{
|
|
8
8
|
id: "pe-band", name: "P/E Band", icon: "P", component: PeBandPane,
|
|
9
|
-
defaultPosition: "right", tickerFollower: true, instruments: ["equity"], defaultMode: "floating", defaultFloatingSize: { width: 90, height: 30 },
|
|
9
|
+
defaultPosition: "right", shareItem: { ticker: true }, tickerFollower: true, instruments: ["equity"], defaultMode: "floating", defaultFloatingSize: { width: 90, height: 30 },
|
|
10
10
|
tableExport: true,
|
|
11
11
|
settings: { title: "P/E Band Settings", fields: [
|
|
12
12
|
{ key: "lookbackYears", label: "Lookback", type: "select", options: LOOKBACK_OPTIONS },
|
|
@@ -406,6 +406,10 @@ async function setPositionCommand(
|
|
|
406
406
|
}
|
|
407
407
|
await store.saveTicker(result.ticker);
|
|
408
408
|
if (adopted) await saveConfig(adopted);
|
|
409
|
+
// Said, never silent: a book named "LatAm Book USD" otherwise totals in BRL from its first PETR4 lot on.
|
|
410
|
+
const currencyNote = adopted && portfolioCurrency !== portfolio.currency
|
|
411
|
+
? firstPositionCurrencyNote(portfolio, portfolioCurrency) : null;
|
|
412
|
+
if (currencyNote?.warning) notes.push(currencyNote.text);
|
|
409
413
|
const saved = savedListingName(result.ticker);
|
|
410
414
|
const quantity = formatMarketQuantity(shares, { assetCategory: result.ticker.metadata.assetCategory });
|
|
411
415
|
// A cost in another currency converts at the rate it was bought at when the lot has one, else at the close of the
|
|
@@ -426,6 +430,7 @@ async function setPositionCommand(
|
|
|
426
430
|
...(future ? { contractMultiplier: multiplier ?? null, contractSize: size?.size ?? null } : {}),
|
|
427
431
|
...(purchaseDate ? { dateAcquired: purchaseDate } : {}),
|
|
428
432
|
...(foreign ? { costFxRate: boughtRate, costFxCurrency: portfolioCurrency, costFxDate: rateDate } : {}),
|
|
433
|
+
...(currencyNote ? { totalsCurrency: portfolioCurrency } : {}),
|
|
429
434
|
},
|
|
430
435
|
warnings: notes.length > 0 ? notes : undefined,
|
|
431
436
|
}, {
|
|
@@ -447,6 +452,7 @@ async function setPositionCommand(
|
|
|
447
452
|
? `Cost converted at today's rate into ${portfolioCurrency}: the FX close of the purchase date could not be read.`
|
|
448
453
|
: `Cost converted at today's rate into ${portfolioCurrency}; add --date or --cost-fx to use the rate when bought.`)]
|
|
449
454
|
: []),
|
|
455
|
+
...(currencyNote && !currencyNote.warning ? [cliStyles.muted(currencyNote.text)] : []),
|
|
450
456
|
].join("\n"),
|
|
451
457
|
});
|
|
452
458
|
} catch (error) {
|
|
@@ -455,6 +461,25 @@ async function setPositionCommand(
|
|
|
455
461
|
});
|
|
456
462
|
}
|
|
457
463
|
|
|
464
|
+
/**
|
|
465
|
+
* What the first position of a book that follows its holdings' currency says
|
|
466
|
+
* when it moves the book off the one it had: a line, `"LatAm Book USD" now
|
|
467
|
+
* totals in BRL, its first position's currency.`, and a warning only when
|
|
468
|
+
* the book holds cash or targets already, which were set beside its old
|
|
469
|
+
* totals: `..., its cash and targets included. To keep USD, recreate it with
|
|
470
|
+
* --currency USD.`
|
|
471
|
+
*/
|
|
472
|
+
function firstPositionCurrencyNote(portfolio: Portfolio, adopted: string): { text: string; warning: boolean } {
|
|
473
|
+
const note = `"${portfolio.name}" now totals in ${adopted}, its first position's currency`;
|
|
474
|
+
const held = [
|
|
475
|
+
portfolio.cash && portfolio.cash.amount !== 0 ? "cash" : null,
|
|
476
|
+
Object.keys(portfolio.targetWeights ?? {}).length > 0 ? "targets" : null,
|
|
477
|
+
].filter((part): part is string => part !== null);
|
|
478
|
+
if (held.length === 0) return { text: `${note}.`, warning: false };
|
|
479
|
+
const was = portfolio.currency;
|
|
480
|
+
return { text: `${note}, its ${held.join(" and ")} included. To keep ${was}, recreate it with --currency ${was}.`, warning: true };
|
|
481
|
+
}
|
|
482
|
+
|
|
458
483
|
/**
|
|
459
484
|
* Sets the position, saying how to go on when the lots it replaces were
|
|
460
485
|
* bought at FX rates one position cannot keep: give the whole position's rate.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { logFailure } from "../../../../utils/log-failure";
|
|
2
2
|
import { createBaseConverter, type BaseConversion } from "../../../../cli/base-converter";
|
|
3
3
|
import { quotedFxPair } from "../../../../utils/currency-pair";
|
|
4
|
+
import { commandWord } from "../../../../utils/shell-word";
|
|
4
5
|
import { formatFxRate } from "../../../../cli/fx-pair";
|
|
5
6
|
import { savedListingName } from "../../../../cli/listing-arg";
|
|
6
7
|
import { currentListingName } from "../../../../tickers/listing-name";
|
|
@@ -87,7 +88,7 @@ import {
|
|
|
87
88
|
} from "../../../../portfolio/allocation";
|
|
88
89
|
import { findCachedPortfolioAccount } from "../cached-account";
|
|
89
90
|
import { importedFromText } from "../imported-from";
|
|
90
|
-
import { findNamedCollection } from "../../../../portfolio/collection-name";
|
|
91
|
+
import { findNamedCollection, watchlistMemberSymbol } from "../../../../portfolio/collection-name";
|
|
91
92
|
import { isoDateToday } from "../../../../utils/calendar-date";
|
|
92
93
|
import { lastTradeDate } from "../../../../tickers/listing-fate";
|
|
93
94
|
import type { PriceWindow } from "../../../../utils/price-window";
|
|
@@ -194,10 +195,25 @@ export function renderCollectionOverview(config: AppConfig, tickers: TickerRecor
|
|
|
194
195
|
]),
|
|
195
196
|
));
|
|
196
197
|
}
|
|
198
|
+
// Nothing in any of them: the commands that fill one, as `alerts` names the one that adds an alert.
|
|
199
|
+
const empty = [
|
|
200
|
+
...config.portfolios.map((portfolio) => countCollectionTickers(tickers, "portfolios", portfolio.id)),
|
|
201
|
+
...config.watchlists.map((watchlist) => countCollectionTickers(tickers, "watchlists", watchlist.id)),
|
|
202
|
+
].every((count) => count === 0);
|
|
203
|
+
const adds = [
|
|
204
|
+
config.portfolios[0] ? collectionAddCommand("portfolio", config.portfolios[0].name) : null,
|
|
205
|
+
config.watchlists[0] ? collectionAddCommand("watchlist", config.watchlists[0].name) : null,
|
|
206
|
+
].filter((command): command is string => command != null);
|
|
207
|
+
if (empty && adds.length > 0) blocks.push("", cliStyles.muted(`No tickers yet. Add some with ${adds.join(" or ")}.`));
|
|
197
208
|
|
|
198
209
|
return blocks.join("\n");
|
|
199
210
|
}
|
|
200
211
|
|
|
212
|
+
/** `gloom watchlist add Watchlist AAPL MSFT`: the command that adds tickers to a collection, its name quoted for any shell. */
|
|
213
|
+
export function collectionAddCommand(kind: "portfolio" | "watchlist", name: string): string {
|
|
214
|
+
return `gloom ${kind} add ${commandWord(name)} AAPL MSFT`;
|
|
215
|
+
}
|
|
216
|
+
|
|
201
217
|
export interface ShowCollectionOptions {
|
|
202
218
|
/** `--explain`: follow the report with what the terms it shows mean, as `fn <function> --explain` does. */
|
|
203
219
|
explain?: boolean;
|
|
@@ -830,7 +846,7 @@ async function showCollectionWithMarketData(
|
|
|
830
846
|
|
|
831
847
|
if (filtered.length === 0 && !structured && !hasCash) {
|
|
832
848
|
console.log(cliStyles.bold(displayName));
|
|
833
|
-
console.log(cliStyles.muted(
|
|
849
|
+
console.log(cliStyles.muted(`No tickers in this ${isPortfolio ? "portfolio" : "watchlist"}. Add some with ${collectionAddCommand(isPortfolio ? "portfolio" : "watchlist", displayName)}.`));
|
|
834
850
|
if (explain) console.log(`\n${renderReportGlossary(EXPLAINED_REPORT, [])}`);
|
|
835
851
|
return;
|
|
836
852
|
}
|
|
@@ -1447,7 +1463,8 @@ async function valueWatchlistRows({
|
|
|
1447
1463
|
values.push({
|
|
1448
1464
|
ticker, quote, headline, extended, kind, venue, marketCap, funding, stale, lastTrade,
|
|
1449
1465
|
row: {
|
|
1450
|
-
|
|
1466
|
+
// A listing abroad by its venue (ASML:AMS, 2330:TWSE), so a join on the export never meets the US line.
|
|
1467
|
+
symbol: watchlistMemberSymbol(ticker.metadata),
|
|
1451
1468
|
...listingColumns(ticker, quote),
|
|
1452
1469
|
exchange: venue,
|
|
1453
1470
|
kind,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
deleteWatchlist as deleteWatchlistConfig,
|
|
21
21
|
removeTickerFromWatchlist as removeWatchlistMembership,
|
|
22
22
|
} from "../../../../portfolio/mutations";
|
|
23
|
-
import { showCollection } from "./render";
|
|
23
|
+
import { collectionAddCommand, showCollection } from "./render";
|
|
24
24
|
import { listingFields, misplacedSymbolList, refuseDryRun, takeCollectionName } from "./shared";
|
|
25
25
|
import { addOneSymbol, addSymbols, FILE_OPTION, listAddLookups, printSymbolRows, progressNotice, removeSymbols, requireSymbolList, retryNotice, shellWord, SYMBOL_LIST_HELP } from "./bulk-symbols";
|
|
26
26
|
import { readNameEntries } from "../../../../cli/name-entries";
|
|
@@ -209,6 +209,10 @@ async function listWatchlists(ctx: CliCommandContext) {
|
|
|
209
209
|
String(watchlist.tickerCount),
|
|
210
210
|
]),
|
|
211
211
|
));
|
|
212
|
+
// Nothing in any of them: the command that fills one, as `alerts` names the one that adds an alert.
|
|
213
|
+
if (rows.every((watchlist) => watchlist.tickerCount === 0)) {
|
|
214
|
+
console.log(cliStyles.muted(`\nNo tickers yet. Add some with ${collectionAddCommand("watchlist", rows[0]!.name)}.`));
|
|
215
|
+
}
|
|
212
216
|
});
|
|
213
217
|
}
|
|
214
218
|
|
|
@@ -32,7 +32,7 @@ import { valuationBasisLabel, type PortfolioValuationBasis } from "../../../port
|
|
|
32
32
|
import { futuresQuantityText, isFuturesTicker } from "../../../portfolio/futures-positions";
|
|
33
33
|
import { dailyFuturesHistory, loadPortfolioFuturesTerms } from "../../../portfolio/futures-terms";
|
|
34
34
|
import { loadPurchaseDateCostFx } from "../../../portfolio/cost-fx";
|
|
35
|
-
import { EXTENDED_SESSION_LABELS, quoteHeadlineTime, type ExtendedSession } from "../../../market-data/market/status";
|
|
35
|
+
import { EXTENDED_SESSION_LABELS, getCompletedRegularSessionDisplay, quoteHeadlineTime, type ExtendedSession } from "../../../market-data/market/status";
|
|
36
36
|
import {
|
|
37
37
|
BROKER_ACCOUNT_MISSING_NOTE,
|
|
38
38
|
CASH_SYMBOL,
|
|
@@ -53,6 +53,13 @@ import { REPORT_ROWS } from "../shared/headless-options";
|
|
|
53
53
|
import { readPriceWindow, type PriceWindow } from "../../../utils/price-window";
|
|
54
54
|
import { loadPeriodPnl, periodBasisText, periodBoughtText, periodUnpricedText } from "./period-pnl";
|
|
55
55
|
|
|
56
|
+
/** An extended print without a known regular close cannot supply a regular-session change. */
|
|
57
|
+
function regularChangeFields(quote: Quote | undefined, change: unknown) {
|
|
58
|
+
const known = quote && (!quote.marketState || quote.marketState === "REGULAR" || getCompletedRegularSessionDisplay(quote));
|
|
59
|
+
const value = known && typeof change === "number" && Number.isFinite(change) ? change : null;
|
|
60
|
+
return { changePercent: value, changeBasis: value == null ? null : "regular-session" };
|
|
61
|
+
}
|
|
62
|
+
|
|
56
63
|
const DEFAULT_ROW_LIMIT = 50;
|
|
57
64
|
const MAX_ROW_LIMIT = 200;
|
|
58
65
|
|
|
@@ -94,7 +101,7 @@ const POSITION_COLUMNS: HeadlessPaneColumn[] = [
|
|
|
94
101
|
{ key: "avgCost", header: "Avg Cost", align: "right", format: unitMoney("positionCurrency"), description: "Per unit, in the position's currency." },
|
|
95
102
|
{ key: "price", header: "Last", align: "right", format: unitMoney("priceCurrency"), description: "In the quote's currency." },
|
|
96
103
|
{ key: "priceCurrency", header: "Ccy" },
|
|
97
|
-
{ key: "changePercent", header: "
|
|
104
|
+
{ key: "changePercent", header: "Regular %", align: "right", format: percent },
|
|
98
105
|
{ key: "marketValue", header: "Mkt Val", align: "right", format: wholeAmount, description: "In the portfolio's currency; negative for shorts." },
|
|
99
106
|
{ key: "unrealizedPnl", header: "P&L", align: "right", format: amount, description: "Unrealized, in the portfolio's currency." },
|
|
100
107
|
{ key: "weight", header: "Weight", align: "right", format: weight, description: "Percent of the total value, cash included; unpriced holdings are left out." },
|
|
@@ -147,7 +154,7 @@ const WATCHLIST_COLUMNS: HeadlessPaneColumn[] = [
|
|
|
147
154
|
{ key: "exchange", header: "Exchange" },
|
|
148
155
|
{ key: "price", header: "Last", align: "right" },
|
|
149
156
|
{ key: "priceCurrency", header: "Ccy" },
|
|
150
|
-
{ key: "changePercent", header: "
|
|
157
|
+
{ key: "changePercent", header: "Regular %", align: "right", format: percent },
|
|
151
158
|
];
|
|
152
159
|
|
|
153
160
|
/**
|
|
@@ -359,7 +366,8 @@ async function portfolioHoldings(
|
|
|
359
366
|
// Last and Chg are the regular session; market value and P&L are at `valuationPrice`.
|
|
360
367
|
price: finite(row.quotePrice),
|
|
361
368
|
priceCurrency: row.quoteCurrency ?? null,
|
|
362
|
-
|
|
369
|
+
...regularChangeFields(quotes.get(ticker.metadata.ticker), headline?.changePercent),
|
|
370
|
+
extendedChangeBasis: extended ? "from-regular-close" : null,
|
|
363
371
|
...extendedQuoteFields(extended),
|
|
364
372
|
marketValue,
|
|
365
373
|
unrealizedPnl: finite(row.unrealizedPnl),
|
|
@@ -467,7 +475,7 @@ const PERIOD_COLUMNS: HeadlessPaneColumn[] = [
|
|
|
467
475
|
{ key: "shares", header: "Qty", align: "right", format: quantity },
|
|
468
476
|
{ key: "startPrice", header: "Start", align: "right", format: unitMoney("priceCurrency"), description: "The close before the window, in the quote's currency." },
|
|
469
477
|
{ key: "endPrice", header: "End", align: "right", format: unitMoney("priceCurrency"), description: "The last close in the window, in the quote's currency." },
|
|
470
|
-
{ key: "changePercent", header: "
|
|
478
|
+
{ key: "changePercent", header: "Period %", align: "right", format: percent },
|
|
471
479
|
{ key: "pnl", header: "P&L", align: "right", format: amount, description: "The price move times the units held now, in the portfolio's currency at the end's rate." },
|
|
472
480
|
{ key: "contribution", header: "Contribution", align: "right", format: percent, description: "P&L over the book's value at the start, gross when it holds a short, in percent." },
|
|
473
481
|
];
|
|
@@ -584,7 +592,8 @@ async function watchlistHoldings(
|
|
|
584
592
|
exchange: ticker.metadata.exchange || null,
|
|
585
593
|
price: finite(headline?.price ?? quote?.price),
|
|
586
594
|
priceCurrency: quote?.currency ?? null,
|
|
587
|
-
|
|
595
|
+
...regularChangeFields(quote, headline ? headline.changePercent : quote?.changePercent),
|
|
596
|
+
extendedChangeBasis: extended ? "from-regular-close" : null,
|
|
588
597
|
...extendedQuoteFields(extended),
|
|
589
598
|
};
|
|
590
599
|
});
|
|
@@ -14,7 +14,7 @@ const CACHES = [powerBoardCache, powerHistoryCache, powerDetailCache, powerPrice
|
|
|
14
14
|
export const powerModule: PluginModule = {
|
|
15
15
|
series: [...DAY_AHEAD_SERIES, ...CARBON_SERIES, ...GAS_STORAGE_SERIES],
|
|
16
16
|
// POWER sets the symbol param, EPWR the prices tab.
|
|
17
|
-
panes: [{ id: "power", name: "Power & Grid", icon: "P", get component(): typeof import("./pane").PowerPane { const { PowerPane } = require("./pane"); return PowerPane; }, defaultPosition: "right", defaultMode: "floating", identitySettings: ["tab", "symbol"],
|
|
17
|
+
panes: [{ id: "power", name: "Power & Grid", icon: "P", shareItem: { argument: true }, get component(): typeof import("./pane").PowerPane { const { PowerPane } = require("./pane"); return PowerPane; }, defaultPosition: "right", defaultMode: "floating", identitySettings: ["tab", "symbol"],
|
|
18
18
|
defaultFloatingSize: { width: 132, height: 34 }, tableExport: true, headless: powerHeadless }],
|
|
19
19
|
paneTemplates: [{ id: "power-pane", paneId: "power", label: "Power & Grid",
|
|
20
20
|
description: "Pro: interconnection queues, historical MW and outcomes, datacenter loads, utility exposure and generation capacity, with primary evidence.",
|
|
@@ -6,7 +6,7 @@ import { ESTIMATOR_OPTIONS, WINDOW_OPTIONS } from "./settings";
|
|
|
6
6
|
export const realizedVolModule: PluginModule = {
|
|
7
7
|
panes: [{
|
|
8
8
|
id: "realized-vol", name: "Realized Volatility", icon: "V", get component(): typeof import("./pane").RealizedVolPane { const { RealizedVolPane } = require("./pane"); return RealizedVolPane; },
|
|
9
|
-
defaultPosition: "right", tickerFollower: true, defaultMode: "floating", defaultFloatingSize: { width: 112, height: 36 },
|
|
9
|
+
defaultPosition: "right", shareItem: { ticker: true }, tickerFollower: true, defaultMode: "floating", defaultFloatingSize: { width: 112, height: 36 },
|
|
10
10
|
tableExport: true,
|
|
11
11
|
quickSettings: [{ type: "toggle", key: "showIv", icon: "zap", label: "Current ATM IV" }],
|
|
12
12
|
settings: { title: "Realized Volatility Settings", fields: [
|
|
@@ -22,8 +22,9 @@ export const paneSchemas = {
|
|
|
22
22
|
settingKey: "extraColumns",
|
|
23
23
|
placeholder: "fields",
|
|
24
24
|
description: `Report columns to add, in order: ${EXTRA_COLUMN_IDS.join(", ")}. shortInterest is FINRA short interest as a percent of float at the latest settlement, `
|
|
25
|
-
+ "nextEarnings the next report date on the earnings calendar, target the mean analyst target and the analyst count, grossMargin
|
|
26
|
-
+ "
|
|
25
|
+
+ "nextEarnings the next report date on the earnings calendar, target the mean analyst target and the analyst count, grossMargin the trailing twelve months' gross margin, "
|
|
26
|
+
+ "evEbitda the enterprise value over trailing operating income plus D&A, as GE's EV/EBITDA ends. "
|
|
27
|
+
+ "Short interest and earnings dates cover US listings. CSV and JSON give each cell's source and as-of. The pane keeps its own columns",
|
|
27
28
|
example: "--columns shortInterest,nextEarnings,target,grossMargin,evEbitda",
|
|
28
29
|
normalize: normalizeExtraColumns,
|
|
29
30
|
},
|
|
@@ -32,7 +33,7 @@ export const paneSchemas = {
|
|
|
32
33
|
type: "string",
|
|
33
34
|
settingKey: "capCurrency",
|
|
34
35
|
placeholder: "ISO code",
|
|
35
|
-
description: "Show every market cap in this currency, converted at the app's FX rates; the status line names each rate and its time",
|
|
36
|
+
description: "Show every market cap and analyst target in this currency, converted at the app's FX rates; the status line names each rate and its time",
|
|
36
37
|
example: "--currency USD",
|
|
37
38
|
normalize: normalizeCapCurrency,
|
|
38
39
|
},
|
|
@@ -30,6 +30,8 @@ export interface EarningsEstimatesHeadlessDependencies {
|
|
|
30
30
|
): Promise<EarningsEstimateSources>;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
const ESTIMATE_COLUMNS = [...EARNINGS_ESTIMATE_COLUMNS, { key: "epsBasis", header: "EPS basis" }];
|
|
34
|
+
|
|
33
35
|
const defaultDependencies: EarningsEstimatesHeadlessDependencies = {
|
|
34
36
|
async loadSources(symbol, context) {
|
|
35
37
|
const { actions, estimates, financials, currency, ...failures } = await loadEventSources(context.marketData, symbol);
|
|
@@ -63,7 +65,11 @@ function projectEarningsEstimatesHeadless(
|
|
|
63
65
|
sources.financials,
|
|
64
66
|
sources.currency,
|
|
65
67
|
).filter((row) => matchesKind(row, kind));
|
|
66
|
-
const rows = matching.slice(0, limit).map((row) => ({ ...row
|
|
68
|
+
const rows = matching.slice(0, limit).map((row) => ({ ...row,
|
|
69
|
+
...(row.status === "Q Est" || row.status === "FY Est" ? {
|
|
70
|
+
epsBasis: row.estimateInputs?.eps?.epsBasis === "gaap" ? "GAAP" : row.estimateInputs?.eps?.epsBasis === "adjusted" ? "adjusted" : "unknown",
|
|
71
|
+
} : {}),
|
|
72
|
+
}));
|
|
67
73
|
const notice = eventSourceNotice({ variant: "earnings-estimates", symbol: args.symbols[0] ?? String(args.argument ?? ""),
|
|
68
74
|
actions: sources.actions, estimates: sources.estimates,
|
|
69
75
|
actionsError: sources.actions ? null : "Source unavailable", estimatesError: sources.estimates ? null : "Source unavailable",
|
|
@@ -73,7 +79,7 @@ function projectEarningsEstimatesHeadless(
|
|
|
73
79
|
if (unmatchedReportedPeriods.length) errors.push(`No statement period identified for ${unmatchedReportedPeriods.length} reported earnings row(s); quarterly revenue is unavailable.`);
|
|
74
80
|
|
|
75
81
|
return {
|
|
76
|
-
columns:
|
|
82
|
+
columns: ESTIMATE_COLUMNS,
|
|
77
83
|
rows,
|
|
78
84
|
errors: errors.length ? errors : undefined,
|
|
79
85
|
metadata: {
|
|
@@ -83,7 +89,7 @@ function projectEarningsEstimatesHeadless(
|
|
|
83
89
|
returned: rows.length,
|
|
84
90
|
truncated: rows.length < matching.length,
|
|
85
91
|
coverageNote: notice?.text,
|
|
86
|
-
epsBasis:
|
|
92
|
+
epsBasis: `Estimate basis is unknown unless the estimate source explicitly identifies GAAP or adjusted; never assume it matches a reported quarter. ${EPS_BASIS_NOTE} The TTM row's EPS is the GAAP diluted trailing figure ticker shows as EPS (TTM): the last four filed quarters', or Gloom Cloud's TTM (named so) when they give none, or the four statement quarters' diluted EPS when neither is there; reported quarters of different bases are never summed, and the row adds an adjusted sum only when all four quarters are adjusted.`,
|
|
87
93
|
dateNote: "Fiscal period dates are not announcement dates. Revenue is attached only to an identified statement period.",
|
|
88
94
|
unmatchedReportedPeriods,
|
|
89
95
|
},
|
|
@@ -124,7 +130,7 @@ export function createEarningsEstimatesHeadless(
|
|
|
124
130
|
maximum: 200,
|
|
125
131
|
},
|
|
126
132
|
],
|
|
127
|
-
columns:
|
|
133
|
+
columns: ESTIMATE_COLUMNS,
|
|
128
134
|
describe: (args) => `Earnings Estimates | ${String(args.argument)}`,
|
|
129
135
|
async load(args, context) {
|
|
130
136
|
return projectEarningsEstimatesHeadless(
|
|
@@ -52,6 +52,7 @@ export const researchModule: PluginModule = {
|
|
|
52
52
|
icon: "A",
|
|
53
53
|
get component(): typeof import("./analyst-pane").AnalystResearchView { const { AnalystResearchView } = require("./analyst-pane"); return AnalystResearchView; },
|
|
54
54
|
defaultPosition: "right",
|
|
55
|
+
shareItem: { ticker: true },
|
|
55
56
|
tickerFollower: true,
|
|
56
57
|
instruments: ["equity"],
|
|
57
58
|
defaultMode: "floating",
|
|
@@ -67,6 +68,7 @@ export const researchModule: PluginModule = {
|
|
|
67
68
|
icon: "D",
|
|
68
69
|
get component(): typeof import("./equity-diagnostic-pane").EquityDiagnosticView { const { EquityDiagnosticView } = require("./equity-diagnostic-pane"); return EquityDiagnosticView; },
|
|
69
70
|
defaultPosition: "right",
|
|
71
|
+
shareItem: { ticker: true },
|
|
70
72
|
tickerFollower: true,
|
|
71
73
|
instruments: ["equity"],
|
|
72
74
|
defaultMode: "floating",
|
|
@@ -78,6 +80,7 @@ export const researchModule: PluginModule = {
|
|
|
78
80
|
icon: "E",
|
|
79
81
|
component: CorporateActionsView,
|
|
80
82
|
defaultPosition: "right",
|
|
83
|
+
shareItem: { ticker: true },
|
|
81
84
|
tickerFollower: true,
|
|
82
85
|
defaultMode: "floating",
|
|
83
86
|
defaultFloatingSize: { width: 104, height: 24 },
|
|
@@ -102,6 +105,7 @@ export const researchModule: PluginModule = {
|
|
|
102
105
|
icon: "E",
|
|
103
106
|
component: EarningsEstimatesPane,
|
|
104
107
|
defaultPosition: "right",
|
|
108
|
+
shareItem: { ticker: true },
|
|
105
109
|
tickerFollower: true,
|
|
106
110
|
instruments: ["equity"],
|
|
107
111
|
defaultMode: "floating",
|