@orangecharts/wrun-chart-host 0.9.0 β 0.11.0
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 +2 -0
- package/dist/constants/feature-flags.constants.d.ts +15 -1
- package/dist/constants/feature-flags.constants.js +130 -24
- package/dist/constants/governed-exchanges.constants.d.ts +12 -0
- package/dist/constants/governed-exchanges.constants.js +16 -0
- package/dist/constants/opra-compliance.constants.d.ts +3 -2
- package/dist/constants/opra-compliance.constants.js +3 -2
- package/dist/constants/option-venues.constants.d.ts +2 -2
- package/dist/constants/scriptEditor/builtin-script-snippets.d.ts +26 -0
- package/dist/constants/scriptEditor/builtin-script-snippets.js +6 -0
- package/dist/constants/scriptEditor/technicalIndicatorScriptKeys.constants.d.ts +15 -0
- package/dist/constants/scriptEditor/technicalIndicatorScriptKeys.constants.js +17 -0
- package/dist/constants/venue-presets.constants.d.ts +20 -20
- package/dist/constants/venue-presets.constants.js +24 -26
- package/dist/host-env.d.ts +21 -5
- package/dist/host-env.js +6 -0
- package/dist/host-ports.types.d.ts +102 -19
- package/dist/index.d.ts +18 -0
- package/dist/index.js +18 -0
- package/dist/interfaces/cancel-reason.interface.d.ts +1 -1
- package/dist/interfaces/cme-realtime.interface.d.ts +16 -9
- package/dist/interfaces/cme-realtime.interface.js +6 -3
- package/dist/interfaces/kscript-diagnostics.interface.d.ts +12 -0
- package/dist/interfaces/opra-realtime.interface.d.ts +1 -5
- package/dist/interfaces/prediction-market.interface.d.ts +7 -0
- package/dist/interfaces/replay.interface.d.ts +8 -0
- package/dist/interfaces/stocks-realtime.interface.d.ts +57 -0
- package/dist/interfaces/stocks-realtime.interface.js +32 -0
- package/dist/interfaces/wrun-runtime.interface.d.ts +18 -2
- package/dist/kscript-data/controls/live-trades-merge.util.d.ts +62 -94
- package/dist/kscript-data/controls/live-trades-merge.util.js +106 -171
- package/dist/market-data/billing.interface.d.ts +174 -36
- package/dist/market-data/billing.interface.js +58 -8
- package/dist/market-data/venue.d.ts +152 -7
- package/dist/market-data/venues/cme.contract.copy.json +66 -0
- package/dist/market-data/venues/cme.d.ts +126 -0
- package/dist/market-data/venues/cme.js +133 -0
- package/dist/market-data/venues/index.d.ts +294 -7
- package/dist/market-data/venues/index.js +49 -6
- package/dist/market-data/venues/opra.contract.copy.json +3 -2
- package/dist/market-data/venues/opra.d.ts +2 -2
- package/dist/market-data/venues/opra.js +5 -2
- package/dist/market-data/venues/stocks.contract.copy.json +64 -0
- package/dist/market-data/venues/stocks.d.ts +130 -0
- package/dist/market-data/venues/stocks.js +117 -0
- package/dist/settings-templates/footprint-rows.js +35 -2
- package/dist/settings-templates/form-rows.d.ts +2 -1
- package/dist/settings-templates/index.js +7 -3
- package/dist/settings-templates/indicator-fields.d.ts +5 -4
- package/dist/settings-templates/indicator-fields.js +79 -10
- package/dist/settings-templates/tool-rules.d.ts +32 -15
- package/dist/settings-templates/tool-rules.js +33 -11
- package/dist/settings-templates/tool-tables.generated.js +95 -31
- package/dist/utility/chart/book-live-bucket.util.d.ts +15 -0
- package/dist/utility/chart/book-live-bucket.util.js +47 -0
- package/dist/utility/chart/cme-cache-context.util.d.ts +5 -3
- package/dist/utility/chart/cme-cache-context.util.js +10 -6
- package/dist/utility/chart/cme-realtime.util.js +10 -0
- package/dist/utility/chart/cme-user-scripts-gate.util.d.ts +83 -0
- package/dist/utility/chart/cme-user-scripts-gate.util.js +142 -0
- package/dist/utility/chart/effective-chart-session.util.d.ts +14 -0
- package/dist/utility/chart/effective-chart-session.util.js +39 -0
- package/dist/utility/chart/host-bar-placement.util.d.ts +28 -0
- package/dist/utility/chart/host-bar-placement.util.js +170 -30
- package/dist/utility/chart/index-host-tier.util.d.ts +3 -1
- package/dist/utility/chart/index-host-tier.util.js +7 -2
- package/dist/utility/chart/index-mode-admission.util.js +30 -3
- package/dist/utility/chart/kscript-apply-fingerprint.util.js +1 -1
- package/dist/utility/chart/kscript-drawing-safe-area.util.d.ts +35 -11
- package/dist/utility/chart/kscript-drawing-safe-area.util.js +145 -35
- package/dist/utility/chart/kscript-live-coalesce.util.d.ts +9 -7
- package/dist/utility/chart/kscript-live-coalesce.util.js +13 -8
- package/dist/utility/chart/kscript-live-source-identity.util.d.ts +9 -0
- package/dist/utility/chart/kscript-live-source-identity.util.js +10 -1
- package/dist/utility/chart/kscript-provenance-keys.util.js +13 -0
- package/dist/utility/chart/kscript-standin-identity.leaf.d.ts +5 -1
- package/dist/utility/chart/kscript-titancharts-render-keys.constants.d.ts +32 -2
- package/dist/utility/chart/kscript-titancharts-render-keys.constants.js +45 -0
- package/dist/utility/chart/kscript-venue-policy.util.d.ts +156 -43
- package/dist/utility/chart/kscript-venue-policy.util.js +249 -59
- package/dist/utility/chart/live-bucket.util.d.ts +24 -8
- package/dist/utility/chart/live-bucket.util.js +85 -27
- package/dist/utility/chart/market-session-schedule.util.d.ts +10 -0
- package/dist/utility/chart/market-session-schedule.util.js +16 -0
- package/dist/utility/chart/marketKind.util.js +5 -0
- package/dist/utility/chart/mixed-mode.util.d.ts +7 -0
- package/dist/utility/chart/mixed-mode.util.js +14 -0
- package/dist/utility/chart/opra-read-access.leaf.d.ts +5 -3
- package/dist/utility/chart/opra-read-access.leaf.js +5 -3
- package/dist/utility/chart/opra-user-scripts-gate.util.d.ts +11 -16
- package/dist/utility/chart/opra-user-scripts-gate.util.js +12 -28
- package/dist/utility/chart/rth-session.util.d.ts +12 -10
- package/dist/utility/chart/rth-session.util.js +25 -21
- package/dist/utility/chart/trading-day.util.d.ts +17 -0
- package/dist/utility/chart/trading-day.util.js +59 -0
- package/dist/utility/chart/window-geometry.leaf.d.ts +8 -0
- package/dist/utility/chart/window-geometry.leaf.js +22 -6
- package/dist/utility/chart/window-owner.leaf.d.ts +23 -2
- package/dist/utility/chart/window-owner.leaf.js +45 -3
- package/dist/utility/chart/wrun-bar-session-facts.util.d.ts +33 -15
- package/dist/utility/chart/wrun-bar-session-facts.util.js +70 -20
- package/dist/utility/chart/wrun-run-result.util.d.ts +12 -0
- package/dist/utility/chart/wrun-run-result.util.js +141 -6
- package/dist/utility/intl-locale.util.js +5 -0
- package/dist/utility/options/option-bar-anchor.util.d.ts +145 -0
- package/dist/utility/options/option-bar-anchor.util.js +340 -0
- package/dist/utility/options/option-venue.util.d.ts +18 -0
- package/dist/utility/options/option-venue.util.js +27 -0
- package/dist/utility/scriptEditor/wrun-runtime-diagnostics.leaf.js +4 -0
- package/dist/utility/v2/gate-plane.util.d.ts +12 -3
- package/dist/utility/v2/gate-plane.util.js +30 -4
- package/dist/utility/v2/gate-session-latch.util.js +1 -1
- package/dist/utility/v2/stocks-governed.util.d.ts +16 -0
- package/dist/utility/v2/stocks-governed.util.js +34 -0
- package/dist/utility/wrun/derived-roots.leaf.d.ts +13 -0
- package/dist/utility/wrun/derived-roots.leaf.js +27 -0
- package/dist/utility/wrun/derived-roots.util.d.ts +205 -0
- package/dist/utility/wrun/derived-roots.util.js +451 -0
- package/dist/utility/wrun/run-schedule/wrun-chart-gate-reader.util.d.ts +43 -7
- package/dist/utility/wrun/run-schedule/wrun-chart-gate-reader.util.js +89 -19
- package/dist/utility/wrun/run-schedule/wrun-gate-reader-warm.util.d.ts +9 -4
- package/dist/utility/wrun/run-schedule/wrun-gate-reader-warm.util.js +47 -6
- package/dist/utility/wrun/run-schedule/wrun-late-reads.util.d.ts +4 -2
- package/dist/utility/wrun/run-schedule/wrun-late-reads.util.js +4 -2
- package/dist/utility/wrun/run-schedule/wrun-own-candles.util.d.ts +24 -3
- package/dist/utility/wrun/run-schedule/wrun-own-candles.util.js +46 -10
- package/dist/utility/wrun/sources/lanes/option_daily.js +5 -2
- package/dist/utility/wrun/sources/lanes/options_flow.js +5 -2
- package/dist/utility/wrun/sources/opra-option-lanes.util.d.ts +64 -19
- package/dist/utility/wrun/sources/opra-option-lanes.util.js +105 -35
- package/dist/utility/wrun/sources/row-lanes/option_contract_flow.js +2 -1
- package/dist/utility/wrun/sources/row-lanes/option_contract_state.js +2 -1
- package/dist/utility/wrun/sources/row-lanes/option_prints.d.ts +3 -0
- package/dist/utility/wrun/sources/row-lanes/option_prints.js +19 -4
- package/dist/utility/wrun/sources/row-lanes/option_strike_flow.js +17 -4
- package/dist/utility/wrun/sources/row-lanes/option_strikes.d.ts +52 -13
- package/dist/utility/wrun/sources/row-lanes/option_strikes.js +88 -19
- package/dist/utility/wrun/sources/row-lanes/option_surface.js +2 -1
- package/dist/utility/wrun/sources/wrun-poll-lane.types.d.ts +19 -0
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.d.ts +24 -9
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.js +41 -10
- package/dist/utility/wrun/sources/wrun-row-lane-add-memo.util.d.ts +111 -0
- package/dist/utility/wrun/sources/wrun-row-lane-add-memo.util.js +133 -0
- package/dist/utility/wrun/sources/wrun-row-lane-first-paint.util.d.ts +15 -3
- package/dist/utility/wrun/sources/wrun-row-lane-first-paint.util.js +22 -3
- package/dist/utility/wrun/sources/wrun-row-lane.types.d.ts +31 -0
- package/dist/utility/wrun/sources/wrun-row-lanes.util.d.ts +197 -13
- package/dist/utility/wrun/sources/wrun-row-lanes.util.js +761 -27
- package/dist/utility/wrun/wrun-browser-sources.leaf.js +1 -2
- package/dist/utility/wrun/wrun-builtin-twin.util.d.ts +12 -0
- package/dist/utility/wrun/wrun-builtin-twin.util.js +21 -0
- package/dist/utility/wrun/wrun-chart-market-facts.util.d.ts +60 -16
- package/dist/utility/wrun/wrun-chart-market-facts.util.js +113 -61
- package/dist/utility/wrun/wrun-color-settings.util.d.ts +9 -0
- package/dist/utility/wrun/wrun-color-settings.util.js +33 -0
- package/dist/utility/wrun/wrun-download-meter.util.d.ts +15 -0
- package/dist/utility/wrun/wrun-download-meter.util.js +14 -2
- package/dist/utility/wrun/wrun-download-plan.util.d.ts +99 -0
- package/dist/utility/wrun/wrun-download-plan.util.js +118 -0
- package/dist/utility/wrun/wrun-draft-legend-note.util.d.ts +11 -3
- package/dist/utility/wrun/wrun-draft-legend-note.util.js +26 -4
- package/dist/utility/wrun/wrun-frames.d.ts +27 -6
- package/dist/utility/wrun/wrun-frames.js +73 -10
- package/dist/utility/wrun/wrun-handles.util.d.ts +7 -3
- package/dist/utility/wrun/wrun-handles.util.js +9 -8
- package/dist/utility/wrun/wrun-hosted-wire.util.d.ts +7 -1
- package/dist/utility/wrun/wrun-hosted-wire.util.js +12 -2
- package/dist/utility/wrun/wrun-hud-looks.util.d.ts +18 -4
- package/dist/utility/wrun/wrun-hud-looks.util.js +45 -13
- package/dist/utility/wrun/wrun-input-requirements.leaf.d.ts +68 -0
- package/dist/utility/wrun/wrun-input-requirements.leaf.js +163 -7
- package/dist/utility/wrun/wrun-latest-snapshot.d.ts +11 -0
- package/dist/utility/wrun/wrun-leg-close.util.d.ts +59 -23
- package/dist/utility/wrun/wrun-leg-close.util.js +186 -28
- package/dist/utility/wrun/wrun-live-intake.util.d.ts +35 -15
- package/dist/utility/wrun/wrun-live-intake.util.js +243 -126
- package/dist/utility/wrun/wrun-live-tick.util.d.ts +13 -5
- package/dist/utility/wrun/wrun-live-tick.util.js +279 -99
- package/dist/utility/wrun/wrun-market-facts.util.d.ts +13 -3
- package/dist/utility/wrun/wrun-market-facts.util.js +13 -3
- package/dist/utility/wrun/wrun-market-size-defaults.leaf.d.ts +60 -11
- package/dist/utility/wrun/wrun-market-size-defaults.leaf.js +70 -5
- package/dist/utility/wrun/wrun-market-size-defaults.util.js +31 -5
- package/dist/utility/wrun/wrun-opra-lane.util.d.ts +17 -4
- package/dist/utility/wrun/wrun-opra-lane.util.js +6 -4
- package/dist/utility/wrun/wrun-option-book-rows.util.d.ts +56 -0
- package/dist/utility/wrun/wrun-option-book-rows.util.js +96 -0
- package/dist/utility/wrun/wrun-option-strike-flow-forecast.util.d.ts +31 -0
- package/dist/utility/wrun/wrun-option-strike-flow-forecast.util.js +119 -0
- package/dist/utility/wrun/wrun-option-strike-flow-lane.util.d.ts +23 -6
- package/dist/utility/wrun/wrun-option-strike-flow-lane.util.js +47 -11
- package/dist/utility/wrun/wrun-option-strike-flow.util.d.ts +86 -19
- package/dist/utility/wrun/wrun-option-strike-flow.util.js +168 -62
- package/dist/utility/wrun/wrun-option-views.util.d.ts +323 -28
- package/dist/utility/wrun/wrun-option-views.util.js +484 -71
- package/dist/utility/wrun/wrun-options-chain.util.d.ts +3 -3
- package/dist/utility/wrun/wrun-options-chain.util.js +2 -0
- package/dist/utility/wrun/wrun-output-style.util.d.ts +6 -2
- package/dist/utility/wrun/wrun-output-style.util.js +20 -2
- package/dist/utility/wrun/wrun-overlay-drivers.util.d.ts +32 -2
- package/dist/utility/wrun/wrun-overlay-drivers.util.js +13 -3
- package/dist/utility/wrun/wrun-overlay-lifecycle.util.d.ts +10 -1
- package/dist/utility/wrun/wrun-overlay-lifecycle.util.js +52 -4
- package/dist/utility/wrun/wrun-overlay-recovery.util.js +3 -1
- package/dist/utility/wrun/wrun-overlay-run.util.d.ts +160 -42
- package/dist/utility/wrun/wrun-overlay-run.util.js +1244 -209
- package/dist/utility/wrun/wrun-pane-format.util.d.ts +2 -1
- package/dist/utility/wrun/wrun-pane-format.util.js +7 -3
- package/dist/utility/wrun/wrun-panel-mount.util.d.ts +9 -0
- package/dist/utility/wrun/wrun-panel-mount.util.js +114 -19
- package/dist/utility/wrun/wrun-panel-style.util.d.ts +10 -9
- package/dist/utility/wrun/wrun-panel-style.util.js +58 -9
- package/dist/utility/wrun/wrun-param-map.util.d.ts +14 -11
- package/dist/utility/wrun/wrun-param-map.util.js +10 -5
- package/dist/utility/wrun/wrun-param-values.util.d.ts +14 -4
- package/dist/utility/wrun/wrun-param-values.util.js +4 -0
- package/dist/utility/wrun/wrun-pin-spelling.util.d.ts +15 -2
- package/dist/utility/wrun/wrun-pin-spelling.util.js +39 -14
- package/dist/utility/wrun/wrun-refusal-surface.util.d.ts +50 -0
- package/dist/utility/wrun/wrun-refusal-surface.util.js +68 -0
- package/dist/utility/wrun/wrun-refusal.util.d.ts +3 -2
- package/dist/utility/wrun/wrun-refusal.util.js +22 -0
- package/dist/utility/wrun/wrun-refused-latest.util.d.ts +10 -0
- package/dist/utility/wrun/wrun-refused-latest.util.js +12 -0
- package/dist/utility/wrun/wrun-registry-errors.util.d.ts +26 -0
- package/dist/utility/wrun/wrun-registry-errors.util.js +34 -0
- package/dist/utility/wrun/wrun-replay-lane.util.js +3 -2
- package/dist/utility/wrun/wrun-row-source.d.ts +11 -0
- package/dist/utility/wrun/wrun-run-interval-session.util.d.ts +20 -6
- package/dist/utility/wrun/wrun-run-interval-session.util.js +22 -7
- package/dist/utility/wrun/wrun-run-interval.util.d.ts +43 -9
- package/dist/utility/wrun/wrun-run-interval.util.js +58 -15
- package/dist/utility/wrun/wrun-script-inputs.util.d.ts +45 -1
- package/dist/utility/wrun/wrun-script-inputs.util.js +112 -4
- package/dist/utility/wrun/wrun-setting-words.util.d.ts +7 -3
- package/dist/utility/wrun/wrun-setting-words.util.js +13 -5
- package/dist/utility/wrun/wrun-socket-row-source.d.ts +27 -2
- package/dist/utility/wrun/wrun-socket-row-source.js +118 -8
- package/dist/utility/wrun/wrun-source-rows.util.d.ts +29 -18
- package/dist/utility/wrun/wrun-source-rows.util.js +61 -27
- package/dist/utility/wrun/wrun-style-words.util.js +6 -4
- package/dist/utility/wrun/wrun-table-chrome.util.d.ts +3 -2
- package/dist/utility/wrun/wrun-table-chrome.util.js +19 -11
- package/dist/utility/wrun/wrun-tape-per-order.util.d.ts +2 -0
- package/dist/utility/wrun/wrun-tape-per-order.util.js +7 -0
- package/dist/utility/wrun/wrun-tape-source.util.d.ts +17 -9
- package/dist/utility/wrun/wrun-tape-source.util.js +20 -12
- package/dist/utils/replay/replay-buffer-math.d.ts +53 -2
- package/dist/utils/replay/replay-buffer-math.js +227 -20
- package/dist/workers/constants/socket-slots.d.ts +91 -6
- package/dist/workers/constants/socket-slots.js +85 -6
- package/package.json +5 -5
|
@@ -3,8 +3,19 @@
|
|
|
3
3
|
* exchange deal adds its card here; the purchase flow, the payment return and the openers find a venue by its key or
|
|
4
4
|
* by a payment line item, never by a venue literal. The finders over an explicit list (`findVenueBy*`) are the same
|
|
5
5
|
* rules the bound finders apply to the registry, for a spec that serves a venue of its own beside the registered ones.
|
|
6
|
+
*
|
|
7
|
+
* Two lists. `MARKET_DATA_VENUES` is served in every session. `FLAG_GATED_MARKET_DATA_VENUES` is carried dark: a card
|
|
8
|
+
* there is listed only while its `flagKey` reads on, through ONE selector (`marketDataVenueIsServed`), so a venue whose
|
|
9
|
+
* generic flow replaces a flow of its own (CME behind `cme-engine`), or whose add-on is not released yet (US stocks
|
|
10
|
+
* behind `us-equities-full`), changes nothing while its flag is off: the bound finders never return it, the payment
|
|
11
|
+
* return never takes its venue branch and its doors stay shut. The flag reader is the app's, published into this
|
|
12
|
+
* dependency-free module when the app's market-data store module loads
|
|
13
|
+
* (`publishMarketDataVenueFlags`); unpublished, a read that throws (no store in this realm: a worker, a bare spec) or a
|
|
14
|
+
* card with no flag all read dark.
|
|
6
15
|
*/
|
|
16
|
+
import type { FeatureFlagKey } from '../../constants/feature-flags.constants.js';
|
|
7
17
|
import type { MarketDataVenue } from '../venue.js';
|
|
18
|
+
/** The venues served in every session. */
|
|
8
19
|
export declare const MARKET_DATA_VENUES: readonly [{
|
|
9
20
|
readonly key: "opra";
|
|
10
21
|
readonly displayName: "OPRA";
|
|
@@ -25,7 +36,7 @@ export declare const MARKET_DATA_VENUES: readonly [{
|
|
|
25
36
|
};
|
|
26
37
|
readonly paymentItemPrefix: "opra_";
|
|
27
38
|
readonly professionalPolicy: "refuse";
|
|
28
|
-
readonly internalRolePolicy: "
|
|
39
|
+
readonly internalRolePolicy: "report";
|
|
29
40
|
readonly payFirst: true;
|
|
30
41
|
readonly questionnaire: {
|
|
31
42
|
readonly formVersion: "opra-v2";
|
|
@@ -73,10 +84,267 @@ export declare const MARKET_DATA_VENUES: readonly [{
|
|
|
73
84
|
readonly i18nNamespace: "opraRealtimeData";
|
|
74
85
|
readonly storeId: "opraRealtime";
|
|
75
86
|
readonly surfaces: readonly ["chain-page-subtitle", "chain-price-pill", "chain-table-marker", "chain-strike-preview", "chain-index-notice", "flow-tape", "terminal-options-tab", "options-overlay-legends", "indicator-legend-notes", "contract-chart-delay-chip", "contract-chart-delay-card", "chart-source-line", "watchlist-panel", "watchlist-cell-tooltip", "board", "purchase-live-price"];
|
|
76
|
-
readonly contractRevision: "2026-10-
|
|
87
|
+
readonly contractRevision: "2026-10-28.1";
|
|
88
|
+
}];
|
|
89
|
+
/** The venues carried dark: each is listed only while its `flagKey` reads on (`marketDataVenueIsServed`). */
|
|
90
|
+
export declare const FLAG_GATED_MARKET_DATA_VENUES: readonly [{
|
|
91
|
+
readonly key: "cme";
|
|
92
|
+
readonly displayName: "CME Group";
|
|
93
|
+
readonly productGroups: readonly ["CME", "CBOT", "NYMEX", "COMEX"];
|
|
94
|
+
readonly basePath: "/market-data/cme";
|
|
95
|
+
readonly products: readonly [{
|
|
96
|
+
readonly name: "cme_bundle_l1_1m";
|
|
97
|
+
readonly key: "l1";
|
|
98
|
+
readonly plan: "p1";
|
|
99
|
+
readonly level: 1;
|
|
100
|
+
readonly classifications: readonly ["non_professional"];
|
|
101
|
+
readonly interval: "1m";
|
|
102
|
+
readonly priceUsd: 7;
|
|
103
|
+
readonly planCard: {
|
|
104
|
+
readonly name: "Real-time L1";
|
|
105
|
+
readonly level: "LEVEL 1";
|
|
106
|
+
readonly market: "CME";
|
|
107
|
+
readonly markets: readonly ["CME", "CBOT", "COMEX", "NYMEX"];
|
|
108
|
+
readonly region: "πΊπΈ USA";
|
|
109
|
+
readonly descPath: "subscription.l1Desc";
|
|
110
|
+
};
|
|
111
|
+
}, {
|
|
112
|
+
readonly name: "cme_bundle_depth_1m";
|
|
113
|
+
readonly key: "depth";
|
|
114
|
+
readonly plan: "p2";
|
|
115
|
+
readonly level: 2;
|
|
116
|
+
readonly classifications: readonly ["non_professional"];
|
|
117
|
+
readonly interval: "1m";
|
|
118
|
+
readonly priceUsd: 45;
|
|
119
|
+
readonly planCard: {
|
|
120
|
+
readonly name: "Real-time depth";
|
|
121
|
+
readonly level: "LEVEL 2";
|
|
122
|
+
readonly market: "CME";
|
|
123
|
+
readonly markets: readonly ["CME", "CBOT", "COMEX", "NYMEX"];
|
|
124
|
+
readonly region: "πΊπΈ USA";
|
|
125
|
+
readonly descPath: "subscription.depthDesc";
|
|
126
|
+
};
|
|
127
|
+
}, {
|
|
128
|
+
readonly name: "cme_bundle_depth_pro_1m";
|
|
129
|
+
readonly key: "depth_pro";
|
|
130
|
+
readonly plan: "p2";
|
|
131
|
+
readonly level: 3;
|
|
132
|
+
readonly classifications: readonly ["professional"];
|
|
133
|
+
readonly interval: "1m";
|
|
134
|
+
readonly priceUsd: 538;
|
|
135
|
+
readonly planCard: {
|
|
136
|
+
readonly name: "Real-time depth";
|
|
137
|
+
readonly level: "LEVEL 2";
|
|
138
|
+
readonly market: "CME";
|
|
139
|
+
readonly markets: readonly ["CME", "CBOT", "COMEX", "NYMEX"];
|
|
140
|
+
readonly region: "πΊπΈ USA";
|
|
141
|
+
readonly descPath: "subscription.depthDesc";
|
|
142
|
+
};
|
|
143
|
+
}];
|
|
144
|
+
readonly planCard: {
|
|
145
|
+
readonly name: "Real-time L1";
|
|
146
|
+
readonly level: "LEVEL 1";
|
|
147
|
+
readonly market: "CME";
|
|
148
|
+
readonly markets: readonly ["CME", "CBOT", "COMEX", "NYMEX"];
|
|
149
|
+
readonly region: "πΊπΈ USA";
|
|
150
|
+
readonly descPath: "subscription.l1Desc";
|
|
151
|
+
};
|
|
152
|
+
readonly paymentItemPrefix: "cme_";
|
|
153
|
+
readonly professionalPolicy: "sell";
|
|
154
|
+
readonly internalRolePolicy: "report";
|
|
155
|
+
readonly payFirst: false;
|
|
156
|
+
readonly planChanges: {
|
|
157
|
+
readonly downgradeAtPeriodEnd: true;
|
|
158
|
+
readonly prorateUpgrades: true;
|
|
159
|
+
};
|
|
160
|
+
readonly offers: true;
|
|
161
|
+
readonly questionnaire: {
|
|
162
|
+
readonly formVersion: "v1";
|
|
163
|
+
readonly acceptedFormVersions: readonly ["v1", ""];
|
|
164
|
+
readonly presentation: "two-way";
|
|
165
|
+
readonly questions: readonly [{
|
|
166
|
+
readonly id: "individual_own_account";
|
|
167
|
+
readonly qualifying: true;
|
|
168
|
+
}, {
|
|
169
|
+
readonly id: "personal_non_business_use";
|
|
170
|
+
readonly qualifying: true;
|
|
171
|
+
}, {
|
|
172
|
+
readonly id: "not_registered_or_qualified";
|
|
173
|
+
readonly qualifying: true;
|
|
174
|
+
}, {
|
|
175
|
+
readonly id: "not_advisor_or_asset_manager";
|
|
176
|
+
readonly qualifying: true;
|
|
177
|
+
}, {
|
|
178
|
+
readonly id: "no_redistribution_or_business_application";
|
|
179
|
+
readonly qualifying: true;
|
|
180
|
+
}];
|
|
181
|
+
readonly groups: readonly [];
|
|
182
|
+
readonly addendum: {
|
|
183
|
+
readonly id: "ila_subscriber_addendum_2026_06_accepted";
|
|
184
|
+
readonly version: "v1";
|
|
185
|
+
};
|
|
186
|
+
readonly postalAddress: {
|
|
187
|
+
readonly answerId: "postal_address";
|
|
188
|
+
};
|
|
189
|
+
readonly identityFields: readonly ["legalName", "employer", "occupation", "country", "address"];
|
|
190
|
+
readonly identityLimits: {
|
|
191
|
+
readonly legalName: 200;
|
|
192
|
+
readonly employer: 200;
|
|
193
|
+
readonly occupation: 200;
|
|
194
|
+
readonly country: 2;
|
|
195
|
+
readonly address: 300;
|
|
196
|
+
};
|
|
197
|
+
readonly validityDays: 365;
|
|
198
|
+
readonly renewalWindowDays: 30;
|
|
199
|
+
};
|
|
200
|
+
readonly agreement: {
|
|
201
|
+
readonly recordedAs: "registration";
|
|
202
|
+
readonly version: "cme-data-terms-v1";
|
|
203
|
+
readonly url: "/api/v1/market-data/cme/agreement";
|
|
204
|
+
readonly delayedRequiresAcceptance: true;
|
|
205
|
+
};
|
|
206
|
+
readonly delayMinutes: 10;
|
|
207
|
+
readonly disclosure: {
|
|
208
|
+
readonly kind: "translated";
|
|
209
|
+
};
|
|
210
|
+
readonly flagKey: "cme-engine";
|
|
211
|
+
readonly i18nNamespace: "cmeRealtimeData";
|
|
212
|
+
readonly storeId: "cmeMarketData";
|
|
213
|
+
readonly surfaces: readonly ["contract-chart-delay-chip", "contract-chart-delay-card", "chart-source-line", "watchlist-panel", "watchlist-cell-tooltip", "purchase-live-price"];
|
|
214
|
+
readonly contractRevision: "2026-10-23.1";
|
|
215
|
+
}, {
|
|
216
|
+
readonly key: "stocks";
|
|
217
|
+
readonly displayName: "US stocks";
|
|
218
|
+
readonly productGroups: readonly import("../../interfaces/stocks-realtime.interface.js").StocksGovernedExchange[];
|
|
219
|
+
readonly basePath: "/market-data/stocks";
|
|
220
|
+
readonly products: readonly [{
|
|
221
|
+
readonly name: "stocks_rt_1m";
|
|
222
|
+
readonly plan: "p1";
|
|
223
|
+
readonly classifications: readonly ["non_professional"];
|
|
224
|
+
readonly interval: "1m";
|
|
225
|
+
readonly priceUsd: 19;
|
|
226
|
+
}];
|
|
227
|
+
readonly planCard: {
|
|
228
|
+
readonly name: "Real-time US stocks";
|
|
229
|
+
readonly level: "ALL US VENUES";
|
|
230
|
+
readonly market: "US stocks";
|
|
231
|
+
readonly region: "πΊπΈ USA";
|
|
232
|
+
};
|
|
233
|
+
readonly paymentItemPrefix: "stocks_";
|
|
234
|
+
readonly professionalPolicy: "refuse";
|
|
235
|
+
readonly internalRolePolicy: "refuse";
|
|
236
|
+
readonly payFirst: true;
|
|
237
|
+
readonly questionnaire: {
|
|
238
|
+
readonly formVersion: "stocks-pending";
|
|
239
|
+
readonly questions: readonly [{
|
|
240
|
+
readonly id: "personal_non_business_use";
|
|
241
|
+
readonly qualifying: true;
|
|
242
|
+
}, {
|
|
243
|
+
readonly id: "receives_for_business_or_entity";
|
|
244
|
+
readonly qualifying: false;
|
|
245
|
+
}, {
|
|
246
|
+
readonly id: "registered_sec_cftc";
|
|
247
|
+
readonly qualifying: false;
|
|
248
|
+
}, {
|
|
249
|
+
readonly id: "registered_other_regulator";
|
|
250
|
+
readonly qualifying: false;
|
|
251
|
+
}, {
|
|
252
|
+
readonly id: "performs_registrable_functions";
|
|
253
|
+
readonly qualifying: false;
|
|
254
|
+
}, {
|
|
255
|
+
readonly id: "provides_investment_advice";
|
|
256
|
+
readonly qualifying: false;
|
|
257
|
+
}, {
|
|
258
|
+
readonly id: "asset_manager";
|
|
259
|
+
readonly qualifying: false;
|
|
260
|
+
}, {
|
|
261
|
+
readonly id: "uses_others_capital";
|
|
262
|
+
readonly qualifying: false;
|
|
263
|
+
}, {
|
|
264
|
+
readonly id: "trades_for_entity";
|
|
265
|
+
readonly qualifying: false;
|
|
266
|
+
}, {
|
|
267
|
+
readonly id: "shares_trading_profits";
|
|
268
|
+
readonly qualifying: false;
|
|
269
|
+
}, {
|
|
270
|
+
readonly id: "trading_benefits_received";
|
|
271
|
+
readonly qualifying: false;
|
|
272
|
+
}];
|
|
273
|
+
readonly groups: readonly [];
|
|
274
|
+
readonly identityFields: readonly ["legalName", "employer", "occupation", "country", "address"];
|
|
275
|
+
readonly identityLimits: {
|
|
276
|
+
readonly legalName: 200;
|
|
277
|
+
readonly employer: 200;
|
|
278
|
+
readonly occupation: 200;
|
|
279
|
+
readonly country: 2;
|
|
280
|
+
readonly address: 300;
|
|
281
|
+
};
|
|
282
|
+
readonly recordFields: readonly [{
|
|
283
|
+
readonly id: "firstName";
|
|
284
|
+
readonly required: true;
|
|
285
|
+
readonly maxLength: 64;
|
|
286
|
+
}, {
|
|
287
|
+
readonly id: "middleName";
|
|
288
|
+
readonly required: false;
|
|
289
|
+
readonly maxLength: 64;
|
|
290
|
+
}, {
|
|
291
|
+
readonly id: "lastName";
|
|
292
|
+
readonly required: true;
|
|
293
|
+
readonly maxLength: 64;
|
|
294
|
+
}, {
|
|
295
|
+
readonly id: "postalCode";
|
|
296
|
+
readonly required: true;
|
|
297
|
+
readonly maxLength: 16;
|
|
298
|
+
}, {
|
|
299
|
+
readonly id: "employerAddress";
|
|
300
|
+
readonly required: true;
|
|
301
|
+
readonly maxLength: 300;
|
|
302
|
+
}, {
|
|
303
|
+
readonly id: "employerPostalCode";
|
|
304
|
+
readonly required: true;
|
|
305
|
+
readonly maxLength: 16;
|
|
306
|
+
}, {
|
|
307
|
+
readonly id: "paragraph12Titles";
|
|
308
|
+
readonly required: true;
|
|
309
|
+
readonly maxLength: 200;
|
|
310
|
+
}, {
|
|
311
|
+
readonly id: "paragraph12Functions";
|
|
312
|
+
readonly required: true;
|
|
313
|
+
readonly maxLength: 500;
|
|
314
|
+
}];
|
|
315
|
+
readonly legalNameFrom: readonly ["firstName", "middleName", "lastName"];
|
|
316
|
+
readonly validityDays: 366;
|
|
317
|
+
readonly renewalWindowDays: 30;
|
|
318
|
+
};
|
|
319
|
+
readonly agreements: readonly [{
|
|
320
|
+
readonly id: "cta-exhibit-b";
|
|
321
|
+
readonly productGroups: import("../../interfaces/stocks-realtime.interface.js").StocksGovernedExchange[];
|
|
322
|
+
readonly version: "cta-exhibit-b-pending";
|
|
323
|
+
readonly url: "/api/v1/market-data/stocks/agreements/cta-exhibit-b";
|
|
324
|
+
readonly recordedAs: "assent";
|
|
325
|
+
readonly delayedRequiresAcceptance: false;
|
|
326
|
+
readonly sections: 2;
|
|
327
|
+
}, {
|
|
328
|
+
readonly id: "utp-subscriber";
|
|
329
|
+
readonly productGroups: import("../../interfaces/stocks-realtime.interface.js").StocksGovernedExchange[];
|
|
330
|
+
readonly version: "utp-subscriber-pending";
|
|
331
|
+
readonly url: "/api/v1/market-data/stocks/agreements/utp-subscriber";
|
|
332
|
+
readonly recordedAs: "assent";
|
|
333
|
+
readonly delayedRequiresAcceptance: false;
|
|
334
|
+
}];
|
|
335
|
+
readonly delayMinutes: 15;
|
|
336
|
+
readonly disclosure: {
|
|
337
|
+
readonly kind: "verbatim";
|
|
338
|
+
};
|
|
339
|
+
readonly flagKey: "us-equities-full";
|
|
340
|
+
readonly i18nNamespace: "stocksRealtimeData";
|
|
341
|
+
readonly storeId: "stocksRealtime";
|
|
342
|
+
readonly surfaces: readonly ["contract-chart-delay-chip", "chart-source-line"];
|
|
343
|
+
readonly contractRevision: "2026-10-29.1";
|
|
77
344
|
}];
|
|
78
|
-
|
|
79
|
-
|
|
345
|
+
type CarriedMarketDataVenue = (typeof MARKET_DATA_VENUES)[number] | (typeof FLAG_GATED_MARKET_DATA_VENUES)[number];
|
|
346
|
+
/** A registered venue's key: a card the build carries, served now or dark. */
|
|
347
|
+
export type MarketDataVenueKey = CarriedMarketDataVenue['key'];
|
|
80
348
|
/** A registered venue: the descriptor, its key narrowed to the registered keys. */
|
|
81
349
|
export type RegisteredMarketDataVenue = MarketDataVenue & {
|
|
82
350
|
readonly key: MarketDataVenueKey;
|
|
@@ -89,9 +357,28 @@ export declare function findVenueByKey<V extends MarketDataVenue>(venues: readon
|
|
|
89
357
|
* for an item no venue names.
|
|
90
358
|
*/
|
|
91
359
|
export declare function findVenueByPaymentProduct<V extends MarketDataVenue>(venues: readonly V[], item: unknown): V | null;
|
|
92
|
-
/**
|
|
360
|
+
/**
|
|
361
|
+
* Called by the app's market-data store module when it loads (src/store/market-data.ts), and by specs: the flag reader
|
|
362
|
+
* the dark cards ride (the app's override-aware `isOn`). Null unpublishes: every dark card reads dark again.
|
|
363
|
+
*/
|
|
364
|
+
export declare function publishMarketDataVenueFlags(reader: ((flag: FeatureFlagKey) => boolean) | null): void;
|
|
365
|
+
/**
|
|
366
|
+
* THE flag-aware selector: whether the venue-generic plane serves the venue in this session. A card of
|
|
367
|
+
* `MARKET_DATA_VENUES` always; a dark card only while the published reader says its flag is on; anything else never.
|
|
368
|
+
* The bound finders below list exactly the venues it serves, and every app door, reader, store definition and the
|
|
369
|
+
* payment return asks it (directly or through them), so one flag decides every surface of a dark venue at once.
|
|
370
|
+
*/
|
|
371
|
+
export declare function marketDataVenueIsServed(key: unknown): boolean;
|
|
372
|
+
/** The venues the registry lists now: every served card, then each dark card whose flag reads on. */
|
|
373
|
+
export declare function servedMarketDataVenues(): readonly RegisteredMarketDataVenue[];
|
|
374
|
+
/** The served venue with this key, or null (a dark card reads null while its flag is off). */
|
|
93
375
|
export declare function venueByKey(key: unknown): RegisteredMarketDataVenue | null;
|
|
94
|
-
/**
|
|
376
|
+
/**
|
|
377
|
+
* The card of a registered venue key, served or dark; a key no card has throws (a programming error, never an
|
|
378
|
+
* account's state). A caller that holds a venue key already (a mounted venue dialog, a store being defined) reads its
|
|
379
|
+
* card here; whether the venue is served is the selector's question, asked at the doors.
|
|
380
|
+
*/
|
|
95
381
|
export declare function requireVenueByKey(key: unknown): RegisteredMarketDataVenue;
|
|
96
|
-
/** The
|
|
382
|
+
/** The served venue a payment line item belongs to (`findVenueByPaymentProduct` over the served venues), or null. */
|
|
97
383
|
export declare function venueByPaymentProduct(item: unknown): RegisteredMarketDataVenue | null;
|
|
384
|
+
export {};
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { CME_VENUE } from './cme.js';
|
|
1
2
|
import { OPRA_VENUE } from './opra.js';
|
|
3
|
+
import { STOCKS_VENUE } from './stocks.js';
|
|
4
|
+
/** The venues served in every session. */
|
|
2
5
|
export const MARKET_DATA_VENUES = [OPRA_VENUE];
|
|
6
|
+
/** The venues carried dark: each is listed only while its `flagKey` reads on (`marketDataVenueIsServed`). */
|
|
7
|
+
export const FLAG_GATED_MARKET_DATA_VENUES = [CME_VENUE, STOCKS_VENUE];
|
|
8
|
+
/** Every card the build carries, served or dark, for the card lookup (`requireVenueByKey`). */
|
|
9
|
+
const CARRIED_VENUES = [...MARKET_DATA_VENUES, ...FLAG_GATED_MARKET_DATA_VENUES];
|
|
3
10
|
/** The venue in `venues` with this key, or null. */
|
|
4
11
|
export function findVenueByKey(venues, key) {
|
|
5
12
|
return venues.find((venue) => venue.key === key) ?? null;
|
|
@@ -16,18 +23,54 @@ export function findVenueByPaymentProduct(venues, item) {
|
|
|
16
23
|
venues.find((venue) => item.startsWith(venue.paymentItemPrefix)) ??
|
|
17
24
|
null);
|
|
18
25
|
}
|
|
19
|
-
|
|
26
|
+
let flagReader = null;
|
|
27
|
+
/**
|
|
28
|
+
* Called by the app's market-data store module when it loads (src/store/market-data.ts), and by specs: the flag reader
|
|
29
|
+
* the dark cards ride (the app's override-aware `isOn`). Null unpublishes: every dark card reads dark again.
|
|
30
|
+
*/
|
|
31
|
+
export function publishMarketDataVenueFlags(reader) {
|
|
32
|
+
flagReader = reader;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* THE flag-aware selector: whether the venue-generic plane serves the venue in this session. A card of
|
|
36
|
+
* `MARKET_DATA_VENUES` always; a dark card only while the published reader says its flag is on; anything else never.
|
|
37
|
+
* The bound finders below list exactly the venues it serves, and every app door, reader, store definition and the
|
|
38
|
+
* payment return asks it (directly or through them), so one flag decides every surface of a dark venue at once.
|
|
39
|
+
*/
|
|
40
|
+
export function marketDataVenueIsServed(key) {
|
|
41
|
+
if (MARKET_DATA_VENUES.some((venue) => venue.key === key))
|
|
42
|
+
return true;
|
|
43
|
+
const gated = FLAG_GATED_MARKET_DATA_VENUES.find((venue) => venue.key === key);
|
|
44
|
+
if (!gated || gated.flagKey === null)
|
|
45
|
+
return false;
|
|
46
|
+
try {
|
|
47
|
+
return flagReader?.(gated.flagKey) === true;
|
|
48
|
+
}
|
|
49
|
+
catch {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
/** The venues the registry lists now: every served card, then each dark card whose flag reads on. */
|
|
54
|
+
export function servedMarketDataVenues() {
|
|
55
|
+
const lit = FLAG_GATED_MARKET_DATA_VENUES.filter((venue) => marketDataVenueIsServed(venue.key));
|
|
56
|
+
return lit.length === 0 ? MARKET_DATA_VENUES : [...MARKET_DATA_VENUES, ...lit];
|
|
57
|
+
}
|
|
58
|
+
/** The served venue with this key, or null (a dark card reads null while its flag is off). */
|
|
20
59
|
export function venueByKey(key) {
|
|
21
|
-
return findVenueByKey(
|
|
60
|
+
return findVenueByKey(servedMarketDataVenues(), key);
|
|
22
61
|
}
|
|
23
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* The card of a registered venue key, served or dark; a key no card has throws (a programming error, never an
|
|
64
|
+
* account's state). A caller that holds a venue key already (a mounted venue dialog, a store being defined) reads its
|
|
65
|
+
* card here; whether the venue is served is the selector's question, asked at the doors.
|
|
66
|
+
*/
|
|
24
67
|
export function requireVenueByKey(key) {
|
|
25
|
-
const venue =
|
|
68
|
+
const venue = findVenueByKey(CARRIED_VENUES, key);
|
|
26
69
|
if (!venue)
|
|
27
70
|
throw new Error(`market-data: no registered venue "${String(key)}"`);
|
|
28
71
|
return venue;
|
|
29
72
|
}
|
|
30
|
-
/** The
|
|
73
|
+
/** The served venue a payment line item belongs to (`findVenueByPaymentProduct` over the served venues), or null. */
|
|
31
74
|
export function venueByPaymentProduct(item) {
|
|
32
|
-
return findVenueByPaymentProduct(
|
|
75
|
+
return findVenueByPaymentProduct(servedMarketDataVenues(), item);
|
|
33
76
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"revision": "2026-10-
|
|
2
|
+
"revision": "2026-10-28.1",
|
|
3
3
|
"key": "opra",
|
|
4
4
|
"productGroups": ["OPRA"],
|
|
5
5
|
"products": [
|
|
@@ -33,5 +33,6 @@
|
|
|
33
33
|
"url": "/api/v1/opra/agreement"
|
|
34
34
|
},
|
|
35
35
|
"delaySeconds": 900,
|
|
36
|
-
"basePath": "/opra"
|
|
36
|
+
"basePath": "/opra",
|
|
37
|
+
"internalPolicy": "report"
|
|
37
38
|
}
|
|
@@ -18,7 +18,7 @@ export declare const OPRA_VENUE: {
|
|
|
18
18
|
};
|
|
19
19
|
readonly paymentItemPrefix: "opra_";
|
|
20
20
|
readonly professionalPolicy: "refuse";
|
|
21
|
-
readonly internalRolePolicy: "
|
|
21
|
+
readonly internalRolePolicy: "report";
|
|
22
22
|
readonly payFirst: true;
|
|
23
23
|
readonly questionnaire: {
|
|
24
24
|
readonly formVersion: "opra-v2";
|
|
@@ -66,5 +66,5 @@ export declare const OPRA_VENUE: {
|
|
|
66
66
|
readonly i18nNamespace: "opraRealtimeData";
|
|
67
67
|
readonly storeId: "opraRealtime";
|
|
68
68
|
readonly surfaces: readonly ["chain-page-subtitle", "chain-price-pill", "chain-table-marker", "chain-strike-preview", "chain-index-notice", "flow-tape", "terminal-options-tab", "options-overlay-legends", "indicator-legend-notes", "contract-chart-delay-chip", "contract-chart-delay-card", "chart-source-line", "watchlist-panel", "watchlist-cell-tooltip", "board", "purchase-live-price"];
|
|
69
|
-
readonly contractRevision: "2026-10-
|
|
69
|
+
readonly contractRevision: "2026-10-28.1";
|
|
70
70
|
};
|
|
@@ -17,7 +17,10 @@ export const OPRA_VENUE = {
|
|
|
17
17
|
planCard: { name: 'OPRA real-time', level: 'TOP OF BOOK', market: 'OPRA', region: 'πΊπΈ USA' },
|
|
18
18
|
paymentItemPrefix: 'opra_',
|
|
19
19
|
professionalPolicy: 'refuse',
|
|
20
|
-
|
|
20
|
+
// Staff are reported, as on CME (contract revision 2026-10-28.1; Kyle 2026-10-28: staff get OPRA real time): the
|
|
21
|
+
// server records an internal account's grant as staff (`dev: true`) and the gate reports it. No role is consulted
|
|
22
|
+
// here either way.
|
|
23
|
+
internalRolePolicy: 'report',
|
|
21
24
|
payFirst: true,
|
|
22
25
|
questionnaire: {
|
|
23
26
|
// v2 asks questions 3 to 5 as one group and adds the subscriber's country and address. Bump on any change to the
|
|
@@ -71,5 +74,5 @@ export const OPRA_VENUE = {
|
|
|
71
74
|
'board',
|
|
72
75
|
'purchase-live-price',
|
|
73
76
|
],
|
|
74
|
-
contractRevision: '2026-10-
|
|
77
|
+
contractRevision: '2026-10-28.1',
|
|
75
78
|
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"revision": "2026-10-29.1",
|
|
3
|
+
"key": "stocks",
|
|
4
|
+
"productGroups": ["NYSE", "NYSE_ARCA", "NASDAQ"],
|
|
5
|
+
"products": [
|
|
6
|
+
{
|
|
7
|
+
"name": "stocks_rt_1m",
|
|
8
|
+
"plan": "p1",
|
|
9
|
+
"classifications": ["non_professional"],
|
|
10
|
+
"interval": "1m"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"formVersion": "stocks-pending",
|
|
14
|
+
"questions": [
|
|
15
|
+
{ "id": "personal_non_business_use", "qualifying": true },
|
|
16
|
+
{ "id": "receives_for_business_or_entity", "qualifying": false },
|
|
17
|
+
{ "id": "registered_sec_cftc", "qualifying": false },
|
|
18
|
+
{ "id": "registered_other_regulator", "qualifying": false },
|
|
19
|
+
{ "id": "performs_registrable_functions", "qualifying": false },
|
|
20
|
+
{ "id": "provides_investment_advice", "qualifying": false },
|
|
21
|
+
{ "id": "asset_manager", "qualifying": false },
|
|
22
|
+
{ "id": "uses_others_capital", "qualifying": false },
|
|
23
|
+
{ "id": "trades_for_entity", "qualifying": false },
|
|
24
|
+
{ "id": "shares_trading_profits", "qualifying": false },
|
|
25
|
+
{ "id": "trading_benefits_received", "qualifying": false }
|
|
26
|
+
],
|
|
27
|
+
"identityFields": [
|
|
28
|
+
"legalName",
|
|
29
|
+
"employer",
|
|
30
|
+
"occupation",
|
|
31
|
+
"country",
|
|
32
|
+
"address"
|
|
33
|
+
],
|
|
34
|
+
"identityLimits": { "text": 200, "address": 300 },
|
|
35
|
+
"agreements": [
|
|
36
|
+
{
|
|
37
|
+
"id": "cta-exhibit-b",
|
|
38
|
+
"productGroups": ["NYSE", "NYSE_ARCA"],
|
|
39
|
+
"version": "cta-exhibit-b-pending",
|
|
40
|
+
"url": "/api/v1/market-data/stocks/agreements/cta-exhibit-b",
|
|
41
|
+
"recordedAs": "assent"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "utp-subscriber",
|
|
45
|
+
"productGroups": ["NASDAQ"],
|
|
46
|
+
"version": "utp-subscriber-pending",
|
|
47
|
+
"url": "/api/v1/market-data/stocks/agreements/utp-subscriber",
|
|
48
|
+
"recordedAs": "assent"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"delaySeconds": 905,
|
|
52
|
+
"basePath": "/market-data/stocks",
|
|
53
|
+
"recordFields": [
|
|
54
|
+
{ "id": "firstName", "required": true, "maxLength": 64 },
|
|
55
|
+
{ "id": "middleName", "required": false, "maxLength": 64 },
|
|
56
|
+
{ "id": "lastName", "required": true, "maxLength": 64 },
|
|
57
|
+
{ "id": "postalCode", "required": true, "maxLength": 16 },
|
|
58
|
+
{ "id": "employerAddress", "required": true, "maxLength": 300 },
|
|
59
|
+
{ "id": "employerPostalCode", "required": true, "maxLength": 16 },
|
|
60
|
+
{ "id": "paragraph12Titles", "required": true, "maxLength": 200 },
|
|
61
|
+
{ "id": "paragraph12Functions", "required": true, "maxLength": 500 }
|
|
62
|
+
],
|
|
63
|
+
"legalNameFrom": ["firstName", "middleName", "lastName"]
|
|
64
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
export declare const STOCKS_VENUE: {
|
|
2
|
+
readonly key: "stocks";
|
|
3
|
+
readonly displayName: "US stocks";
|
|
4
|
+
readonly productGroups: readonly import("../../interfaces/stocks-realtime.interface.js").StocksGovernedExchange[];
|
|
5
|
+
readonly basePath: "/market-data/stocks";
|
|
6
|
+
readonly products: readonly [{
|
|
7
|
+
readonly name: "stocks_rt_1m";
|
|
8
|
+
readonly plan: "p1";
|
|
9
|
+
readonly classifications: readonly ["non_professional"];
|
|
10
|
+
readonly interval: "1m";
|
|
11
|
+
readonly priceUsd: 19;
|
|
12
|
+
}];
|
|
13
|
+
readonly planCard: {
|
|
14
|
+
readonly name: "Real-time US stocks";
|
|
15
|
+
readonly level: "ALL US VENUES";
|
|
16
|
+
readonly market: "US stocks";
|
|
17
|
+
readonly region: "πΊπΈ USA";
|
|
18
|
+
};
|
|
19
|
+
readonly paymentItemPrefix: "stocks_";
|
|
20
|
+
readonly professionalPolicy: "refuse";
|
|
21
|
+
readonly internalRolePolicy: "refuse";
|
|
22
|
+
readonly payFirst: true;
|
|
23
|
+
readonly questionnaire: {
|
|
24
|
+
readonly formVersion: "stocks-pending";
|
|
25
|
+
readonly questions: readonly [{
|
|
26
|
+
readonly id: "personal_non_business_use";
|
|
27
|
+
readonly qualifying: true;
|
|
28
|
+
}, {
|
|
29
|
+
readonly id: "receives_for_business_or_entity";
|
|
30
|
+
readonly qualifying: false;
|
|
31
|
+
}, {
|
|
32
|
+
readonly id: "registered_sec_cftc";
|
|
33
|
+
readonly qualifying: false;
|
|
34
|
+
}, {
|
|
35
|
+
readonly id: "registered_other_regulator";
|
|
36
|
+
readonly qualifying: false;
|
|
37
|
+
}, {
|
|
38
|
+
readonly id: "performs_registrable_functions";
|
|
39
|
+
readonly qualifying: false;
|
|
40
|
+
}, {
|
|
41
|
+
readonly id: "provides_investment_advice";
|
|
42
|
+
readonly qualifying: false;
|
|
43
|
+
}, {
|
|
44
|
+
readonly id: "asset_manager";
|
|
45
|
+
readonly qualifying: false;
|
|
46
|
+
}, {
|
|
47
|
+
readonly id: "uses_others_capital";
|
|
48
|
+
readonly qualifying: false;
|
|
49
|
+
}, {
|
|
50
|
+
readonly id: "trades_for_entity";
|
|
51
|
+
readonly qualifying: false;
|
|
52
|
+
}, {
|
|
53
|
+
readonly id: "shares_trading_profits";
|
|
54
|
+
readonly qualifying: false;
|
|
55
|
+
}, {
|
|
56
|
+
readonly id: "trading_benefits_received";
|
|
57
|
+
readonly qualifying: false;
|
|
58
|
+
}];
|
|
59
|
+
readonly groups: readonly [];
|
|
60
|
+
readonly identityFields: readonly ["legalName", "employer", "occupation", "country", "address"];
|
|
61
|
+
readonly identityLimits: {
|
|
62
|
+
readonly legalName: 200;
|
|
63
|
+
readonly employer: 200;
|
|
64
|
+
readonly occupation: 200;
|
|
65
|
+
readonly country: 2;
|
|
66
|
+
readonly address: 300;
|
|
67
|
+
};
|
|
68
|
+
readonly recordFields: readonly [{
|
|
69
|
+
readonly id: "firstName";
|
|
70
|
+
readonly required: true;
|
|
71
|
+
readonly maxLength: 64;
|
|
72
|
+
}, {
|
|
73
|
+
readonly id: "middleName";
|
|
74
|
+
readonly required: false;
|
|
75
|
+
readonly maxLength: 64;
|
|
76
|
+
}, {
|
|
77
|
+
readonly id: "lastName";
|
|
78
|
+
readonly required: true;
|
|
79
|
+
readonly maxLength: 64;
|
|
80
|
+
}, {
|
|
81
|
+
readonly id: "postalCode";
|
|
82
|
+
readonly required: true;
|
|
83
|
+
readonly maxLength: 16;
|
|
84
|
+
}, {
|
|
85
|
+
readonly id: "employerAddress";
|
|
86
|
+
readonly required: true;
|
|
87
|
+
readonly maxLength: 300;
|
|
88
|
+
}, {
|
|
89
|
+
readonly id: "employerPostalCode";
|
|
90
|
+
readonly required: true;
|
|
91
|
+
readonly maxLength: 16;
|
|
92
|
+
}, {
|
|
93
|
+
readonly id: "paragraph12Titles";
|
|
94
|
+
readonly required: true;
|
|
95
|
+
readonly maxLength: 200;
|
|
96
|
+
}, {
|
|
97
|
+
readonly id: "paragraph12Functions";
|
|
98
|
+
readonly required: true;
|
|
99
|
+
readonly maxLength: 500;
|
|
100
|
+
}];
|
|
101
|
+
readonly legalNameFrom: readonly ["firstName", "middleName", "lastName"];
|
|
102
|
+
readonly validityDays: 366;
|
|
103
|
+
readonly renewalWindowDays: 30;
|
|
104
|
+
};
|
|
105
|
+
readonly agreements: readonly [{
|
|
106
|
+
readonly id: "cta-exhibit-b";
|
|
107
|
+
readonly productGroups: import("../../interfaces/stocks-realtime.interface.js").StocksGovernedExchange[];
|
|
108
|
+
readonly version: "cta-exhibit-b-pending";
|
|
109
|
+
readonly url: "/api/v1/market-data/stocks/agreements/cta-exhibit-b";
|
|
110
|
+
readonly recordedAs: "assent";
|
|
111
|
+
readonly delayedRequiresAcceptance: false;
|
|
112
|
+
readonly sections: 2;
|
|
113
|
+
}, {
|
|
114
|
+
readonly id: "utp-subscriber";
|
|
115
|
+
readonly productGroups: import("../../interfaces/stocks-realtime.interface.js").StocksGovernedExchange[];
|
|
116
|
+
readonly version: "utp-subscriber-pending";
|
|
117
|
+
readonly url: "/api/v1/market-data/stocks/agreements/utp-subscriber";
|
|
118
|
+
readonly recordedAs: "assent";
|
|
119
|
+
readonly delayedRequiresAcceptance: false;
|
|
120
|
+
}];
|
|
121
|
+
readonly delayMinutes: 15;
|
|
122
|
+
readonly disclosure: {
|
|
123
|
+
readonly kind: "verbatim";
|
|
124
|
+
};
|
|
125
|
+
readonly flagKey: "us-equities-full";
|
|
126
|
+
readonly i18nNamespace: "stocksRealtimeData";
|
|
127
|
+
readonly storeId: "stocksRealtime";
|
|
128
|
+
readonly surfaces: readonly ["contract-chart-delay-chip", "chart-source-line"];
|
|
129
|
+
readonly contractRevision: "2026-10-29.1";
|
|
130
|
+
};
|