@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
package/dist/index.js
CHANGED
|
@@ -52,8 +52,10 @@ export * from './kscript-data/controls/live-trades-merge.util.js';
|
|
|
52
52
|
export * from './market-data/billing.interface.js';
|
|
53
53
|
export * from './market-data/venue.js';
|
|
54
54
|
export * from './market-data/venue-governed.util.js';
|
|
55
|
+
export * from './market-data/venues/cme.js';
|
|
55
56
|
export * from './market-data/venues/index.js';
|
|
56
57
|
export * from './market-data/venues/opra.js';
|
|
58
|
+
export * from './market-data/venues/stocks.js';
|
|
57
59
|
export * from './replay/replayIndicatorRows.js';
|
|
58
60
|
export * from './settings-templates/footprint-rows.js';
|
|
59
61
|
export * from './settings-templates/form-rows.js';
|
|
@@ -64,6 +66,7 @@ export * from './settings-templates/tool-rules.js';
|
|
|
64
66
|
export * from './settings-templates/tool-tables.generated.js';
|
|
65
67
|
export * from './utility/auth/server-clock.util.js';
|
|
66
68
|
export * from './utility/blk-market.util.js';
|
|
69
|
+
export * from './utility/chart/book-live-bucket.util.js';
|
|
67
70
|
export * from './utility/chart/builtin-identity.util.js';
|
|
68
71
|
export * from './utility/chart/cache-alignment.util.js';
|
|
69
72
|
export * from './utility/chart/calendar-interval.util.js';
|
|
@@ -77,10 +80,12 @@ export * from './utility/chart/cme-cache-context.util.js';
|
|
|
77
80
|
export * from './utility/chart/cme-realtime.util.js';
|
|
78
81
|
export * from './utility/chart/cme-session-bucket.util.js';
|
|
79
82
|
export * from './utility/chart/cme-trade-calendar.util.js';
|
|
83
|
+
export * from './utility/chart/cme-user-scripts-gate.util.js';
|
|
80
84
|
export * from './utility/chart/color-customization.leaf.js';
|
|
81
85
|
export * from './utility/chart/continuous-contracts.util.js';
|
|
82
86
|
export * from './utility/chart/crypto-index.leaf.js';
|
|
83
87
|
export * from './utility/chart/date-labelled-interval.leaf.js';
|
|
88
|
+
export * from './utility/chart/effective-chart-session.util.js';
|
|
84
89
|
export * from './utility/chart/feed-interval.util.js';
|
|
85
90
|
export * from './utility/chart/fetch-dedupe-policy.util.js';
|
|
86
91
|
export * from './utility/chart/footprint-band.util.js';
|
|
@@ -164,6 +169,7 @@ export * from './utility/chart/profile-block-size.util.js';
|
|
|
164
169
|
export * from './utility/chart/profile-row-height.util.js';
|
|
165
170
|
export * from './utility/chart/protected-kscript-degenerate-rows.leaf.js';
|
|
166
171
|
export * from './utility/chart/protected-kscript-empty-output.util.js';
|
|
172
|
+
export * from './utility/chart/quote-perp.leaf.js';
|
|
167
173
|
export * from './utility/chart/rth-session.util.js';
|
|
168
174
|
export * from './utility/chart/run-interval-unservable.leaf.js';
|
|
169
175
|
export * from './utility/chart/run-interval-warmup.leaf.js';
|
|
@@ -194,6 +200,7 @@ export * from './utility/market-events/earnings-scope.util.js';
|
|
|
194
200
|
export * from './utility/market-events/zoned-clock.util.js';
|
|
195
201
|
export * from './utility/number-format.util.js';
|
|
196
202
|
export * from './utility/options/cme-options-root.util.js';
|
|
203
|
+
export * from './utility/options/option-bar-anchor.util.js';
|
|
197
204
|
export * from './utility/options/option-book.util.js';
|
|
198
205
|
export * from './utility/options/option-symbol.util.js';
|
|
199
206
|
export * from './utility/options/option-trade-date.util.js';
|
|
@@ -210,10 +217,12 @@ export * from './utility/v2/gate-plane.util.js';
|
|
|
210
217
|
export * from './utility/v2/gate-session-latch.util.js';
|
|
211
218
|
export * from './utility/v2/governed-tier.leaf.js';
|
|
212
219
|
export * from './utility/v2/opra-governed.util.js';
|
|
220
|
+
export * from './utility/v2/stocks-governed.util.js';
|
|
213
221
|
export * from './utility/watchlist/import/import-request.leaf.js';
|
|
214
222
|
export * from './utility/watchlist/import/tradingview-symbols.leaf.js';
|
|
215
223
|
export * from './utility/wrun-alert-params.leaf.js';
|
|
216
224
|
export * from './utility/wrun-display-name.util.js';
|
|
225
|
+
export * from './utility/wrun/derived-roots.util.js';
|
|
217
226
|
export * from './utility/wrun/run-schedule/wrun-chart-gate-reader.util.js';
|
|
218
227
|
export * from './utility/wrun/run-schedule/wrun-gate-reader-warm.util.js';
|
|
219
228
|
export * from './utility/wrun/run-schedule/wrun-lane-groups.util.js';
|
|
@@ -231,6 +240,7 @@ export * from './utility/wrun/sources/row-lanes/index.js';
|
|
|
231
240
|
export * from './utility/wrun/sources/row-lanes/option_contract_flow.js';
|
|
232
241
|
export * from './utility/wrun/sources/wrun-poll-lane.types.js';
|
|
233
242
|
export * from './utility/wrun/sources/wrun-poll-lanes.util.js';
|
|
243
|
+
export * from './utility/wrun/sources/wrun-row-lane-add-memo.util.js';
|
|
234
244
|
export * from './utility/wrun/sources/wrun-row-lane-first-paint.util.js';
|
|
235
245
|
export * from './utility/wrun/sources/wrun-row-lane.types.js';
|
|
236
246
|
export * from './utility/wrun/sources/wrun-row-lanes.util.js';
|
|
@@ -249,6 +259,7 @@ export * from './utility/wrun/wrun-canvas-readout.util.js';
|
|
|
249
259
|
export * from './utility/wrun/wrun-canvases.util.js';
|
|
250
260
|
export * from './utility/wrun/wrun-cap-notice.util.js';
|
|
251
261
|
export * from './utility/wrun/wrun-card-style.util.js';
|
|
262
|
+
export * from './utility/wrun/wrun-cell-capacity.leaf.js';
|
|
252
263
|
export * from './utility/wrun/wrun-chart-context-names.util.js';
|
|
253
264
|
export * from './utility/wrun/wrun-chart-context.util.js';
|
|
254
265
|
export * from './utility/wrun/wrun-chart-market-facts.util.js';
|
|
@@ -266,7 +277,9 @@ export * from './utility/wrun/wrun-daily-lane.util.js';
|
|
|
266
277
|
export * from './utility/wrun/wrun-deadline.util.js';
|
|
267
278
|
export * from './utility/wrun/wrun-debug-output.util.js';
|
|
268
279
|
export * from './utility/wrun/wrun-declared-warmup.util.js';
|
|
280
|
+
export * from './utility/wrun/wrun-dollar-unit-port.leaf.js';
|
|
269
281
|
export * from './utility/wrun/wrun-download-meter.util.js';
|
|
282
|
+
export * from './utility/wrun/wrun-download-plan.util.js';
|
|
270
283
|
export * from './utility/wrun/wrun-draft-legend-note.util.js';
|
|
271
284
|
export * from './utility/wrun/wrun-draft-overlay.util.js';
|
|
272
285
|
export * from './utility/wrun/wrun-draw-skipped.leaf.js';
|
|
@@ -308,6 +321,7 @@ export * from './utility/wrun/wrun-live-patch.util.js';
|
|
|
308
321
|
export * from './utility/wrun/wrun-live-tick.util.js';
|
|
309
322
|
export * from './utility/wrun/wrun-loading-owner.util.js';
|
|
310
323
|
export * from './utility/wrun/wrun-market-facts.util.js';
|
|
324
|
+
export * from './utility/wrun/wrun-market-size-contract-carry.leaf.js';
|
|
311
325
|
export * from './utility/wrun/wrun-market-size-defaults.leaf.js';
|
|
312
326
|
export * from './utility/wrun/wrun-market-size-defaults.util.js';
|
|
313
327
|
export * from './utility/wrun/wrun-memory-clamp.util.js';
|
|
@@ -317,9 +331,11 @@ export * from './utility/wrun/wrun-oi-lane.util.js';
|
|
|
317
331
|
export * from './utility/wrun/wrun-opra-flow.leaf.js';
|
|
318
332
|
export * from './utility/wrun/wrun-opra-lane.util.js';
|
|
319
333
|
export * from './utility/wrun/wrun-opra-stats.leaf.js';
|
|
334
|
+
export * from './utility/wrun/wrun-option-book-rows.util.js';
|
|
320
335
|
export * from './utility/wrun/wrun-option-contract-flow.util.js';
|
|
321
336
|
export * from './utility/wrun/wrun-option-knobs.util.js';
|
|
322
337
|
export * from './utility/wrun/wrun-option-prints.util.js';
|
|
338
|
+
export * from './utility/wrun/wrun-option-strike-flow-forecast.util.js';
|
|
323
339
|
export * from './utility/wrun/wrun-option-strike-flow-lane.util.js';
|
|
324
340
|
export * from './utility/wrun/wrun-option-strike-flow.util.js';
|
|
325
341
|
export * from './utility/wrun/wrun-option-summary-lane.util.js';
|
|
@@ -351,6 +367,7 @@ export * from './utility/wrun/wrun-protocol-pending.util.js';
|
|
|
351
367
|
export * from './utility/wrun/wrun-refusal-surface.util.js';
|
|
352
368
|
export * from './utility/wrun/wrun-refusal-text.util.js';
|
|
353
369
|
export * from './utility/wrun/wrun-refusal.util.js';
|
|
370
|
+
export * from './utility/wrun/wrun-refused-latest.util.js';
|
|
354
371
|
export * from './utility/wrun/wrun-registry-errors.util.js';
|
|
355
372
|
export * from './utility/wrun/wrun-render-select.util.js';
|
|
356
373
|
export * from './utility/wrun/wrun-replay-lane.util.js';
|
|
@@ -381,6 +398,7 @@ export * from './utility/wrun/wrun-style-flags.util.js';
|
|
|
381
398
|
export * from './utility/wrun/wrun-symbol-code.util.js';
|
|
382
399
|
export * from './utility/wrun/wrun-table-chrome.util.js';
|
|
383
400
|
export * from './utility/wrun/wrun-table-look.util.js';
|
|
401
|
+
export * from './utility/wrun/wrun-tape-per-order.util.js';
|
|
384
402
|
export * from './utility/wrun/wrun-tape-source.util.js';
|
|
385
403
|
export * from './utility/wrun/wrun-text-look.util.js';
|
|
386
404
|
export * from './utility/wrun/wrun-text-params.util.js';
|
|
@@ -19,6 +19,6 @@ export interface CancelReasonSelection {
|
|
|
19
19
|
comment: string;
|
|
20
20
|
}
|
|
21
21
|
/** The product a cancel ends, as the `billing:cancel` event names it. */
|
|
22
|
-
export type CancelProduct = 'plus' | 'api' | 'cme' | 'opra';
|
|
22
|
+
export type CancelProduct = 'plus' | 'api' | 'cme' | 'opra' | 'stocks';
|
|
23
23
|
/** The server's comment limit, in UTF-16 code units (what a textarea's maxlength and a JS length count). */
|
|
24
24
|
export declare const CANCEL_COMMENT_MAX_LENGTH = 500;
|
|
@@ -171,25 +171,32 @@ export type CmeServedAccessByExchange = Record<string, CmeServedAccess>;
|
|
|
171
171
|
/** Attestation validity is derived at read time from expiresAt, never cached. */
|
|
172
172
|
export declare function isCmeAttestationValid(attestation: CmeAttestation | null, now?: number): boolean;
|
|
173
173
|
/**
|
|
174
|
-
* Stable, transport-free error surface for billing calls.
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
174
|
+
* Stable, transport-free error surface for billing calls. The kind says what a
|
|
175
|
+
* flow can do next, never what a page says: the words for a refusal come from
|
|
176
|
+
* the purchase-refusal resolver (docs/features/billing/purchase-refusals.md),
|
|
177
|
+
* which reads `cause`, the failure as it arrived (the server's tagged answer,
|
|
178
|
+
* or the transport's). 'refused': the server answered and refused, so what the
|
|
179
|
+
* account holds may differ from what the page shows (the store reads it
|
|
180
|
+
* again). 'unauthorized': a 401 or an expired session. 'server': a 5xx or a
|
|
181
|
+
* rate limit, where a retry can succeed. 'network': no answer. 'aborted': the
|
|
182
|
+
* caller's own abort, which is no refusal at all.
|
|
180
183
|
*/
|
|
181
|
-
export type CmeBillingErrorKind = '
|
|
184
|
+
export type CmeBillingErrorKind = 'refused' | 'unauthorized' | 'network' | 'aborted' | 'server';
|
|
182
185
|
export declare class CmeBillingError extends Error {
|
|
183
186
|
readonly kind: CmeBillingErrorKind;
|
|
184
187
|
readonly status: number | null;
|
|
185
|
-
/** Raw backend message: diagnostic
|
|
188
|
+
/** Raw backend message: diagnostic content only, never UI copy. */
|
|
186
189
|
readonly diagnosticMessage: string | null;
|
|
187
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Stripe's hosted invoice on the owed-invoice refusal (SUBSCRIPTION_INVOICE_OWED); null when Stripe published
|
|
192
|
+
* none, and on every other failure.
|
|
193
|
+
*/
|
|
188
194
|
readonly invoiceUrl: string | null;
|
|
189
195
|
constructor(kind: CmeBillingErrorKind, options?: {
|
|
190
196
|
status?: number | null;
|
|
191
197
|
diagnosticMessage?: string | null;
|
|
192
198
|
invoiceUrl?: string | null;
|
|
199
|
+
cause?: unknown;
|
|
193
200
|
});
|
|
194
201
|
}
|
|
195
202
|
export interface CmeBillingRepository {
|
|
@@ -31,12 +31,15 @@ export function isCmeAttestationValid(attestation, now = Date.now()) {
|
|
|
31
31
|
export class CmeBillingError extends Error {
|
|
32
32
|
kind;
|
|
33
33
|
status;
|
|
34
|
-
/** Raw backend message: diagnostic
|
|
34
|
+
/** Raw backend message: diagnostic content only, never UI copy. */
|
|
35
35
|
diagnosticMessage;
|
|
36
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Stripe's hosted invoice on the owed-invoice refusal (SUBSCRIPTION_INVOICE_OWED); null when Stripe published
|
|
38
|
+
* none, and on every other failure.
|
|
39
|
+
*/
|
|
37
40
|
invoiceUrl;
|
|
38
41
|
constructor(kind, options) {
|
|
39
|
-
super(`cme billing error: ${kind}
|
|
42
|
+
super(`cme billing error: ${kind}`, options?.cause === undefined ? undefined : { cause: options.cause });
|
|
40
43
|
this.name = 'CmeBillingError';
|
|
41
44
|
this.kind = kind;
|
|
42
45
|
this.status = options?.status ?? null;
|
|
@@ -21,6 +21,18 @@ export interface RuntimeDiagnostic {
|
|
|
21
21
|
* stays in `message` for author-facing surfaces.
|
|
22
22
|
*/
|
|
23
23
|
details?: Record<string, unknown>;
|
|
24
|
+
/**
|
|
25
|
+
* The row was computed over OPRA data (the display boundary, contract K7): the run that reported it read the OPRA
|
|
26
|
+
* plane (its own fact from before it computed: the wrun runtime trap of such a run, the cloud's execution rows of a
|
|
27
|
+
* run carrying the OPRA mark). The editor console shows it, and every console export strips it.
|
|
28
|
+
*/
|
|
29
|
+
opra?: true;
|
|
30
|
+
/**
|
|
31
|
+
* The row was computed over CME data by a CME chart study (the `cme-user-scripts` gate, the display boundary): the
|
|
32
|
+
* run that reported it read the CME plane (its own fact from before it computed: the wrun runtime trap of a run on a
|
|
33
|
+
* CME chart). Read beside `opra`: the editor console shows it, and every console export strips it.
|
|
34
|
+
*/
|
|
35
|
+
cme?: true;
|
|
24
36
|
}
|
|
25
37
|
/** `details` of a FE_KSCRIPT_PERF_SLOW row: what the chip and the compact card show. */
|
|
26
38
|
export interface KScriptPerfSlowDetails {
|
|
@@ -149,11 +149,7 @@ export declare function isOpraAgreementCurrent(current: {
|
|
|
149
149
|
* 'busy' = a checkout is already in flight, or the guest wall took the click.
|
|
150
150
|
*/
|
|
151
151
|
export type OpraCheckoutResult = MarketDataCheckoutResult;
|
|
152
|
-
/**
|
|
153
|
-
* Transport-free failure surface for the OPRA billing calls. Unlike CME, a 403 is NOT an attestation
|
|
154
|
-
* gate (refusals ride the 200 checkout body), so it never routes back into the declaration.
|
|
155
|
-
* 'invoice_owed' is the tagged 409 while Stripe still collects an invoice on the line.
|
|
156
|
-
*/
|
|
152
|
+
/** The OPRA billing calls' failure kinds: the venue-generic ones (market-data/billing.interface.ts). */
|
|
157
153
|
export type OpraBillingErrorKind = MarketDataBillingErrorKind;
|
|
158
154
|
/** The venue-generic billing error (market-data/billing.interface.ts): one class for every venue's calls. */
|
|
159
155
|
export declare const OpraBillingError: typeof MarketDataBillingError;
|
|
@@ -71,6 +71,13 @@ export interface PolymarketMetadata {
|
|
|
71
71
|
line?: number;
|
|
72
72
|
sourceEventSlug?: string;
|
|
73
73
|
}>;
|
|
74
|
+
/**
|
|
75
|
+
* Set on an event the symbol dialog's Predict tab listed from the gateway's preview page
|
|
76
|
+
* (`MARKETS_PROJECTION_GROUPS_PREVIEW`): `predictionMarkets` holds the event's leading sub-markets only. The pick
|
|
77
|
+
* reads the full event before the metadata leaves the dialog and clears it (`hydratePredictionPreview`); a failed
|
|
78
|
+
* read keeps it, so the list is never stored as the whole event without saying so.
|
|
79
|
+
*/
|
|
80
|
+
predictionMarketsPreview?: true;
|
|
74
81
|
fetchedAt?: string;
|
|
75
82
|
lastUpdated?: string;
|
|
76
83
|
parentEventId?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { LiveBucketVenue } from '../utility/chart/live-bucket.util.js';
|
|
1
2
|
export type RailTf = '1m' | '5m' | '15m' | '1h' | '1d';
|
|
2
3
|
export type ReplayStepTf = '1m' | '5m' | '10m' | '15m' | '30m' | '1h' | '2h' | '3h' | '4h' | '1d';
|
|
3
4
|
type ReplayTimestampMode = 'uniform' | 'irregular';
|
|
@@ -32,6 +33,13 @@ export interface ReplayBuffer {
|
|
|
32
33
|
tf: ReplayResolution;
|
|
33
34
|
timestampMode?: ReplayTimestampMode;
|
|
34
35
|
chartIntervalMs?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The chart market whose bars the buffer replays (`liveBucketVenueOf` over the chart's metadata at
|
|
38
|
+
* the load): every chart-bar read of the buffer (`alignChartBucketMs`, `chartBucketOpenMs`,
|
|
39
|
+
* `chartBucketEndMs`) keys on it, so a CME Group chart's forming bar, reveal cutoff and paint
|
|
40
|
+
* cutoff land on the session lattice its history rides. Absent: the plain grid.
|
|
41
|
+
*/
|
|
42
|
+
barVenue?: LiveBucketVenue | null;
|
|
35
43
|
availableResolutions?: ReplayResolution[];
|
|
36
44
|
abortController: AbortController;
|
|
37
45
|
/** Total visible X span used by replay follow range syncs. */
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The US stocks governed plane: the consolidated tape (every US stock trade, licensed by CTA for Tapes A and B and by
|
|
3
|
+
* UTP for Tape C), served by the stocks release of the entitlement gate on its own host. The plane keys markets by the
|
|
4
|
+
* SIP tape a ticker lists on, and the frontend names each tape by its listing venue plus a suffix: `NYSE_TAPE` (Tape A),
|
|
5
|
+
* `NYSE_ARCA_TAPE` (Tape B: Arca-, NYSE American- and Cboe-listed stocks, most ETFs) and `NASDAQ_TAPE` (Tape C). Each
|
|
6
|
+
* ticker lives on exactly one tape; its raw symbol is `<TICKER>/USD`.
|
|
7
|
+
*
|
|
8
|
+
* Why the suffix: the gate's wire names are the listing venues themselves (`NYSE`, `NYSE_ARCA`, `NASDAQ`, the `Exchange`
|
|
9
|
+
* enum's 70, 71, 72), but in this app those plain codes already mean the FREE lane: a Polygon-fed stock chart (exchange
|
|
10
|
+
* 92, `POLYGON`) carries `NASDAQ` as its listing venue, as its exchange on a record the lazy migration has not healed,
|
|
11
|
+
* and in `POLYGON_VENUES`, `EXCHANGE_TO_KIND` and `LEGACY_VENUE_TO_QUERY_EXCHANGE`. One string cannot mean the live
|
|
12
|
+
* free lane and the delayed tape at once (it made every stock chart ride the gate: delayed cache keys, blocked scripts,
|
|
13
|
+
* misrouted TRADE channels), so the tape has its own codes everywhere in the app, and `STOCKS_TAPE_WIRE_EXCHANGE`
|
|
14
|
+
* translates them at the wire alone (`stocksTapeWireExchange` on a request leaving a stocks slot, `stocksTapeCodeOfWire`
|
|
15
|
+
* on a frame or registry row arriving on one).
|
|
16
|
+
*
|
|
17
|
+
* Deliberately separate from the CME and OPRA catalogs: no Stripe bundle rides this plane yet (the add-on and its two
|
|
18
|
+
* subscriber agreements ship on their own release; until then every real-time connect is refused and every account,
|
|
19
|
+
* logged-out visitors included, reads the tape delayed), no guest snapshot, no books, no /v3 tiers.
|
|
20
|
+
*
|
|
21
|
+
* Rules (product-ecosystem `data-integration/us-equities/ENTITLEMENT.md`): a tape print is eligible for a user without
|
|
22
|
+
* the add-on 15 minutes plus 5 seconds after its SIP timestamp (§3.1); every delayed surface carries the delay
|
|
23
|
+
* statement (§3.4); one live session per user ID across devices, the takeover closing the other session's real-time
|
|
24
|
+
* sockets with code 4001 (§4); no machine path (API keys, MCP, alerts, screeners) carries any tape data, delayed and
|
|
25
|
+
* history included (§1). User-authored indicators read the tape in the browser and on the cloud lane (Kyle 2026-10-29,
|
|
26
|
+
* the tapes `STOCKS_TAPE_SCRIPTING_VENUES` names), with no alerts on them.
|
|
27
|
+
*/
|
|
28
|
+
export type StocksGovernedExchange = 'NYSE_TAPE' | 'NYSE_ARCA_TAPE' | 'NASDAQ_TAPE';
|
|
29
|
+
/** The listing venue a tape code stands for: the gate's wire name, and the display venue of the Polygon twin. */
|
|
30
|
+
export type StocksTapeListingVenue = 'NYSE' | 'NYSE_ARCA' | 'NASDAQ';
|
|
31
|
+
/** Every stocks-governed exchange code, in the gate release's order. The package constant is the byte copy. */
|
|
32
|
+
export declare const STOCKS_GOVERNED_EXCHANGES: readonly StocksGovernedExchange[];
|
|
33
|
+
/** The wire name (listing venue, an `Exchange` enum member) the gate keys each tape by. */
|
|
34
|
+
export declare const STOCKS_TAPE_WIRE_EXCHANGE: Readonly<Record<StocksGovernedExchange, StocksTapeListingVenue>>;
|
|
35
|
+
/**
|
|
36
|
+
* The same table under the name the chrome reads it by: a tape overlay's display venue (its logo, its name, the
|
|
37
|
+
* `displayExchange` the seam stamps) is its listing venue, which is also the Polygon twin's display exchange.
|
|
38
|
+
*/
|
|
39
|
+
export declare const STOCKS_TAPE_LISTING_VENUE: Readonly<Record<StocksGovernedExchange, StocksTapeListingVenue>>;
|
|
40
|
+
/**
|
|
41
|
+
* The gate's delayed window: 15 minutes plus the 5 s margin after the SIP timestamp (`delayed_window: 15m5s`, the
|
|
42
|
+
* tier frame's `delay_seconds: 905`). Routing reads the seconds; the disclosure copy says 15 minutes (CTA and UTP
|
|
43
|
+
* define delayed data as 15 minutes after publication; the margin is ours).
|
|
44
|
+
*/
|
|
45
|
+
export declare const STOCKS_DELAY_SECONDS = 905;
|
|
46
|
+
export declare const STOCKS_DELAY_MINUTES = 15;
|
|
47
|
+
/**
|
|
48
|
+
* The ONE compliance switch for user scripting on the tape: the tapes a user-authored indicator may read, in the
|
|
49
|
+
* browser and on the cloud lane (Kyle 2026-10-29, like OPRA since its launch), at the viewer's tier. The kScript venue
|
|
50
|
+
* policy (kscript-venue-policy.util) reads it for every wall: a tape listed here is open to user runs, a tape left out
|
|
51
|
+
* stays first-party only, as CME is. Nasdaq-listed names (Tape C, `NASDAQ_TAPE`) wait for the UTP derived-data
|
|
52
|
+
* confirmation (RELEASE-CHECKLIST §4, the UTP Derived Data answer): add `NASDAQ_TAPE` here the day it lands, nothing
|
|
53
|
+
* else gates it. A listing venue's plain code (`NASDAQ`) is the free lane and never reads this.
|
|
54
|
+
*/
|
|
55
|
+
export declare const STOCKS_TAPE_SCRIPTING_VENUES: readonly StocksGovernedExchange[];
|
|
56
|
+
/** The SIP tape letter each governed venue carries, for copy that names the tape (reports and the badge card). */
|
|
57
|
+
export declare const STOCKS_TAPE_OF_EXCHANGE: Readonly<Record<StocksGovernedExchange, 'A' | 'B' | 'C'>>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { STOCKS_GOVERNED_EXCHANGES as GOVERNED, STOCKS_TAPE_WIRE_EXCHANGE as WIRE, } from '../constants/governed-exchanges.constants.js';
|
|
2
|
+
/** Every stocks-governed exchange code, in the gate release's order. The package constant is the byte copy. */
|
|
3
|
+
export const STOCKS_GOVERNED_EXCHANGES = GOVERNED;
|
|
4
|
+
/** The wire name (listing venue, an `Exchange` enum member) the gate keys each tape by. */
|
|
5
|
+
export const STOCKS_TAPE_WIRE_EXCHANGE = WIRE;
|
|
6
|
+
/**
|
|
7
|
+
* The same table under the name the chrome reads it by: a tape overlay's display venue (its logo, its name, the
|
|
8
|
+
* `displayExchange` the seam stamps) is its listing venue, which is also the Polygon twin's display exchange.
|
|
9
|
+
*/
|
|
10
|
+
export const STOCKS_TAPE_LISTING_VENUE = STOCKS_TAPE_WIRE_EXCHANGE;
|
|
11
|
+
/**
|
|
12
|
+
* The gate's delayed window: 15 minutes plus the 5 s margin after the SIP timestamp (`delayed_window: 15m5s`, the
|
|
13
|
+
* tier frame's `delay_seconds: 905`). Routing reads the seconds; the disclosure copy says 15 minutes (CTA and UTP
|
|
14
|
+
* define delayed data as 15 minutes after publication; the margin is ours).
|
|
15
|
+
*/
|
|
16
|
+
export const STOCKS_DELAY_SECONDS = 905;
|
|
17
|
+
export const STOCKS_DELAY_MINUTES = 15;
|
|
18
|
+
/**
|
|
19
|
+
* The ONE compliance switch for user scripting on the tape: the tapes a user-authored indicator may read, in the
|
|
20
|
+
* browser and on the cloud lane (Kyle 2026-10-29, like OPRA since its launch), at the viewer's tier. The kScript venue
|
|
21
|
+
* policy (kscript-venue-policy.util) reads it for every wall: a tape listed here is open to user runs, a tape left out
|
|
22
|
+
* stays first-party only, as CME is. Nasdaq-listed names (Tape C, `NASDAQ_TAPE`) wait for the UTP derived-data
|
|
23
|
+
* confirmation (RELEASE-CHECKLIST §4, the UTP Derived Data answer): add `NASDAQ_TAPE` here the day it lands, nothing
|
|
24
|
+
* else gates it. A listing venue's plain code (`NASDAQ`) is the free lane and never reads this.
|
|
25
|
+
*/
|
|
26
|
+
export const STOCKS_TAPE_SCRIPTING_VENUES = ['NYSE_TAPE', 'NYSE_ARCA_TAPE'];
|
|
27
|
+
/** The SIP tape letter each governed venue carries, for copy that names the tape (reports and the badge card). */
|
|
28
|
+
export const STOCKS_TAPE_OF_EXCHANGE = {
|
|
29
|
+
NYSE_TAPE: 'A',
|
|
30
|
+
NYSE_ARCA_TAPE: 'B',
|
|
31
|
+
NASDAQ_TAPE: 'C',
|
|
32
|
+
};
|
|
@@ -387,7 +387,11 @@ export interface WrunMetadataParam {
|
|
|
387
387
|
hint?: string;
|
|
388
388
|
/** Inputs sharing a `row` string render side by side. */
|
|
389
389
|
row?: string;
|
|
390
|
-
/**
|
|
390
|
+
/** The row's gate: it dims (or hides, with `hide`) while the gate is closed. One clause over another param's
|
|
391
|
+
* value (the om SDK's grammar, read by wrun-script-inputs.util parseWrunWhen): `name` while it is truthy (a
|
|
392
|
+
* toggle on, an option or a number other than 0), `!name` while it is falsy, `name=v`, `name!=v` and
|
|
393
|
+
* `name in v1,v2` against numbers (a toggle as 1 / 0, a select by its option's index). A gate the FE cannot
|
|
394
|
+
* read never closes the row. */
|
|
391
395
|
when?: string;
|
|
392
396
|
hide?: boolean;
|
|
393
397
|
/** Render the number as a slider. */
|
|
@@ -452,7 +456,9 @@ export interface WrunVisibleBy {
|
|
|
452
456
|
export type WrunLayoutEntry = {
|
|
453
457
|
kind: 'page';
|
|
454
458
|
title: string;
|
|
455
|
-
}
|
|
459
|
+
}
|
|
460
|
+
/** `when`: the section's gate, the params' `when` grammar (WrunMetadataParam.when). */
|
|
461
|
+
| {
|
|
456
462
|
kind: 'section';
|
|
457
463
|
title: string;
|
|
458
464
|
toggle?: string;
|
|
@@ -1037,6 +1043,11 @@ export interface WrunMetadataOutput {
|
|
|
1037
1043
|
align?: WrunTextAlign;
|
|
1038
1044
|
pill_style?: 'filled' | 'outlined';
|
|
1039
1045
|
font_size?: number;
|
|
1046
|
+
/** A guide's axis tag look (kit scaffold 102, flag ignore), beside
|
|
1047
|
+
* `axis_label: true`: 'pill' (today's tag), 'quiet' (one soft capsule) or
|
|
1048
|
+
* 'words' (a tick, the price and the name in plain ink). Absent = 'pill'.
|
|
1049
|
+
* The host mounts it as the guide's run-output `axisTagLook`. */
|
|
1050
|
+
axis_look?: 'pill' | 'quiet' | 'words';
|
|
1040
1051
|
/** OT11: horizontal-then-vertical segments on a line output. */
|
|
1041
1052
|
step?: boolean;
|
|
1042
1053
|
/** OT13: the stroke shaded by height, 2..8 stops from the pane top down. */
|
|
@@ -1242,6 +1253,11 @@ export interface WrunPanelHighlight {
|
|
|
1242
1253
|
row?: string;
|
|
1243
1254
|
col?: string;
|
|
1244
1255
|
}
|
|
1256
|
+
/** A numeric-x line or bars frame's label per row (C3; frame only, `x_labels` beside `rows`, never
|
|
1257
|
+
* a declared word): one entry per row in row order, "" for a row without a label, each at most 24
|
|
1258
|
+
* characters. The pane prints a row's label where it would print the row's x number: a line's
|
|
1259
|
+
* hover card title, a bar's axis tick and hover card title. */
|
|
1260
|
+
export type WrunPanelXLabels = string[];
|
|
1245
1261
|
/** The per-series style words of a panel (`panels[i].series[j]`, g1 SC24
|
|
1246
1262
|
* SC25 SC29 SC30 SC35 SC40): line series take fill, style, smooth, points,
|
|
1247
1263
|
* labels, width and line_style; table series take align and the column
|