@orangecharts/wrun-chart-host 0.11.0 → 0.14.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 +1 -0
- package/dist/constants/feature-flags.constants.d.ts +3 -4
- package/dist/constants/feature-flags.constants.js +34 -52
- package/dist/constants/feature-limits.constants.d.ts +1 -1
- package/dist/constants/feature-limits.constants.js +5 -4
- package/dist/constants/interval.constants.d.ts +7 -0
- package/dist/constants/interval.constants.js +7 -0
- package/dist/constants/scriptEditor/cme-official-scripts.constants.d.ts +20 -149
- package/dist/constants/scriptEditor/cme-official-scripts.constants.js +20 -309
- package/dist/constants/stocks-compliance.constants.d.ts +15 -0
- package/dist/constants/stocks-compliance.constants.js +15 -0
- package/dist/host-env.d.ts +55 -3
- package/dist/host-env.js +6 -0
- package/dist/host-ports.types.d.ts +36 -3
- package/dist/index.d.ts +18 -0
- package/dist/index.js +19 -0
- package/dist/indicators/controls/tpo-session.util.d.ts +78 -15
- package/dist/indicators/controls/tpo-session.util.js +320 -242
- package/dist/instances/script-engine-worker-ohlcv-transfer.d.ts +6 -0
- package/dist/instances/script-engine-worker-ohlcv-transfer.js +16 -0
- package/dist/interfaces/cme-realtime.interface.d.ts +8 -0
- package/dist/interfaces/cme-realtime.interface.js +2 -1
- package/dist/interfaces/feed.interface.d.ts +15 -1
- package/dist/interfaces/replay.interface.d.ts +5 -0
- package/dist/interfaces/stocks-realtime.interface.d.ts +4 -3
- package/dist/interfaces/stocks-realtime.interface.js +5 -4
- package/dist/interfaces/wrun-runtime.interface.d.ts +97 -19
- package/dist/kscript-data/controls/live-ohlcv-merge.util.d.ts +17 -0
- package/dist/kscript-data/controls/live-ohlcv-merge.util.js +22 -0
- package/dist/kscript-data/controls/live-trades-merge.util.d.ts +46 -40
- package/dist/kscript-data/controls/live-trades-merge.util.js +80 -107
- package/dist/market-data/billing.interface.d.ts +9 -1
- package/dist/market-data/venue.d.ts +1 -1
- package/dist/market-data/venues/index.d.ts +4 -4
- package/dist/market-data/venues/stocks.contract.copy.json +4 -4
- package/dist/market-data/venues/stocks.d.ts +4 -4
- package/dist/market-data/venues/stocks.js +15 -13
- package/dist/settings-templates/frvp-fields.d.ts +12 -1
- package/dist/settings-templates/frvp-fields.js +15 -4
- package/dist/settings-templates/index.js +12 -5
- package/dist/settings-templates/indicator-fields.js +28 -2
- package/dist/settings-templates/tool-rules.d.ts +17 -8
- package/dist/settings-templates/tool-rules.js +15 -8
- package/dist/settings-templates/tool-tables.generated.js +4 -2
- package/dist/utility/auth/server-clock.util.d.ts +3 -1
- package/dist/utility/auth/server-clock.util.js +3 -1
- package/dist/utility/chart/book-live-bucket.util.js +2 -2
- package/dist/utility/chart/cache-alignment.util.d.ts +15 -7
- package/dist/utility/chart/cache-alignment.util.js +14 -7
- package/dist/utility/chart/chart-data-fetch-generation.util.d.ts +2 -0
- package/dist/utility/chart/chart-data-fetch-generation.util.js +16 -0
- package/dist/utility/chart/cme-session-bucket.util.d.ts +18 -75
- package/dist/utility/chart/cme-session-bucket.util.js +25 -332
- package/dist/utility/chart/continuous-contracts.util.js +6 -5
- package/dist/utility/chart/display-offset.leaf.d.ts +24 -0
- package/dist/utility/chart/display-offset.leaf.js +41 -0
- package/dist/utility/chart/effective-chart-session.util.d.ts +2 -1
- package/dist/utility/chart/effective-chart-session.util.js +13 -5
- package/dist/utility/chart/feed-interval.util.d.ts +6 -20
- package/dist/utility/chart/feed-interval.util.js +13 -22
- package/dist/utility/chart/fetch-dedupe-policy.util.d.ts +27 -7
- package/dist/utility/chart/fetch-dedupe-policy.util.js +86 -11
- package/dist/utility/chart/host-bar-placement.util.d.ts +7 -4
- package/dist/utility/chart/host-bar-placement.util.js +8 -2
- package/dist/utility/chart/indicator-inflight-registry.util.d.ts +32 -0
- package/dist/utility/chart/indicator-inflight-registry.util.js +52 -0
- package/dist/utility/chart/indicator-run-interval.util.d.ts +10 -4
- package/dist/utility/chart/indicator-run-interval.util.js +21 -12
- package/dist/utility/chart/interval-registry.util.d.ts +1 -1
- package/dist/utility/chart/interval-registry.util.js +1 -1
- package/dist/utility/chart/kscript-legend-entries.util.d.ts +12 -0
- package/dist/utility/chart/kscript-legend-entries.util.js +16 -0
- package/dist/utility/chart/kscript-run-interval-projection.util.d.ts +1 -1
- package/dist/utility/chart/kscript-run-interval-projection.util.js +4 -2
- package/dist/utility/chart/kscript-venue-policy.util.d.ts +53 -62
- package/dist/utility/chart/kscript-venue-policy.util.js +85 -94
- package/dist/utility/chart/live-bucket.util.d.ts +39 -17
- package/dist/utility/chart/live-bucket.util.js +103 -57
- package/dist/utility/chart/local-kscript-source-revalidation.util.d.ts +58 -20
- package/dist/utility/chart/local-kscript-source-revalidation.util.js +98 -23
- package/dist/utility/chart/local-kscript-warmup-depth.util.d.ts +35 -11
- package/dist/utility/chart/local-kscript-warmup-depth.util.js +24 -3
- package/dist/utility/chart/market-session-schedule.util.d.ts +8 -0
- package/dist/utility/chart/market-session-schedule.util.js +39 -1
- package/dist/utility/chart/market-session.util.d.ts +136 -0
- package/dist/utility/chart/market-session.util.js +341 -0
- package/dist/utility/chart/market-sessions.util.d.ts +83 -0
- package/dist/utility/chart/market-sessions.util.js +220 -0
- package/dist/utility/chart/om-panel.util.d.ts +5 -3
- package/dist/utility/chart/om-panel.util.js +42 -7
- package/dist/utility/chart/om-target.util.d.ts +14 -1
- package/dist/utility/chart/om-target.util.js +22 -5
- package/dist/utility/chart/opra-read-access.leaf.d.ts +16 -1
- package/dist/utility/chart/opra-read-access.leaf.js +22 -0
- package/dist/utility/chart/profile-row-height.util.d.ts +49 -16
- package/dist/utility/chart/profile-row-height.util.js +74 -37
- package/dist/utility/chart/rth-session.util.d.ts +55 -20
- package/dist/utility/chart/rth-session.util.js +94 -46
- package/dist/utility/chart/session-interval.util.d.ts +2 -1
- package/dist/utility/chart/session-interval.util.js +1 -3
- package/dist/utility/chart/session-lattice.util.d.ts +150 -0
- package/dist/utility/chart/session-lattice.util.js +488 -0
- package/dist/utility/chart/trading-day.util.d.ts +40 -2
- package/dist/utility/chart/trading-day.util.js +84 -7
- package/dist/utility/chart/us-equities-session.util.d.ts +32 -11
- package/dist/utility/chart/us-equities-session.util.js +44 -15
- package/dist/utility/chart/window-geometry.leaf.d.ts +28 -7
- package/dist/utility/chart/window-geometry.leaf.js +57 -8
- package/dist/utility/chart/wrun-bar-session-facts.util.d.ts +21 -14
- package/dist/utility/chart/wrun-bar-session-facts.util.js +32 -38
- package/dist/utility/chart/wrun-run-result.util.d.ts +29 -12
- package/dist/utility/chart/wrun-run-result.util.js +89 -25
- package/dist/utility/common/time.util.js +5 -4
- package/dist/utility/market-events/earnings-scope.util.d.ts +10 -5
- package/dist/utility/market-events/earnings-scope.util.js +17 -9
- package/dist/utility/market-events/market-events.util.d.ts +14 -7
- package/dist/utility/market-events/market-events.util.js +30 -17
- package/dist/utility/number-format.util.d.ts +14 -21
- package/dist/utility/number-format.util.js +38 -24
- package/dist/utility/options/option-venue-disclosure.util.d.ts +40 -6
- package/dist/utility/options/option-venue-disclosure.util.js +71 -11
- package/dist/utility/options/option-venue.util.d.ts +1 -1
- package/dist/utility/options/option-venue.util.js +1 -1
- package/dist/utility/pool-symbol.leaf.d.ts +7 -0
- package/dist/utility/pool-symbol.leaf.js +50 -5
- package/dist/utility/stocks/stock-display.util.d.ts +15 -0
- package/dist/utility/stocks/stock-display.util.js +37 -0
- package/dist/utility/symbol-selection/contract-expiry.util.js +5 -4
- package/dist/utility/v2/gate-plane.util.d.ts +6 -0
- package/dist/utility/v2/gate-plane.util.js +11 -1
- package/dist/utility/v2/gate-session-latch.util.d.ts +1 -1
- package/dist/utility/v2/gate-session-latch.util.js +3 -3
- package/dist/utility/v2/governed-tier.leaf.d.ts +17 -16
- package/dist/utility/v2/governed-tier.leaf.js +17 -16
- package/dist/utility/v2/stocks-governed.util.d.ts +5 -0
- package/dist/utility/v2/stocks-governed.util.js +14 -0
- package/dist/utility/v2/v2-enums.leaf.d.ts +13 -0
- package/dist/utility/v2/v2-enums.leaf.js +458 -0
- package/dist/utility/wrun/derived-roots.leaf.d.ts +21 -1
- package/dist/utility/wrun/derived-roots.leaf.js +27 -1
- package/dist/utility/wrun/derived-roots.util.d.ts +44 -32
- package/dist/utility/wrun/derived-roots.util.js +97 -56
- package/dist/utility/wrun/run-schedule/wrun-late-reads.util.d.ts +4 -3
- package/dist/utility/wrun/run-schedule/wrun-late-reads.util.js +4 -3
- package/dist/utility/wrun/sources/lanes/option_daily.d.ts +2 -1
- package/dist/utility/wrun/sources/lanes/option_daily.js +2 -1
- package/dist/utility/wrun/sources/lanes/options_flow.d.ts +3 -0
- package/dist/utility/wrun/sources/lanes/options_flow.js +23 -5
- package/dist/utility/wrun/sources/opra-option-lanes.util.d.ts +3 -4
- package/dist/utility/wrun/sources/row-lane-registry.js +9 -4
- package/dist/utility/wrun/sources/row-lanes/dark_pool.d.ts +19 -0
- package/dist/utility/wrun/sources/row-lanes/dark_pool.js +104 -0
- package/dist/utility/wrun/sources/row-lanes/index.js +2 -0
- package/dist/utility/wrun/sources/wrun-lane-fetch-abort.util.d.ts +20 -0
- package/dist/utility/wrun/sources/wrun-lane-fetch-abort.util.js +103 -0
- package/dist/utility/wrun/sources/wrun-poll-lane.types.d.ts +19 -2
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.d.ts +15 -13
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.js +49 -23
- package/dist/utility/wrun/sources/wrun-row-lane.types.d.ts +14 -9
- package/dist/utility/wrun/sources/wrun-row-lanes.util.d.ts +75 -27
- package/dist/utility/wrun/sources/wrun-row-lanes.util.js +139 -82
- package/dist/utility/wrun/wrun-app-layer.leaf.d.ts +78 -0
- package/dist/utility/wrun/wrun-app-layer.leaf.js +89 -0
- package/dist/utility/wrun/wrun-bar-count.util.d.ts +11 -7
- package/dist/utility/wrun/wrun-bar-count.util.js +12 -8
- package/dist/utility/wrun/wrun-batched-kinds.leaf.d.ts +13 -0
- package/dist/utility/wrun/wrun-batched-kinds.leaf.js +18 -0
- package/dist/utility/wrun/wrun-batched-marks.util.d.ts +41 -22
- package/dist/utility/wrun/wrun-batched-marks.util.js +255 -59
- package/dist/utility/wrun/wrun-batched-readout.util.d.ts +26 -19
- package/dist/utility/wrun/wrun-batched-readout.util.js +81 -27
- package/dist/utility/wrun/wrun-book-bands.leaf.d.ts +8 -0
- package/dist/utility/wrun/wrun-book-bands.leaf.js +7 -0
- package/dist/utility/wrun/wrun-candle-equal.leaf.d.ts +19 -0
- package/dist/utility/wrun/wrun-candle-equal.leaf.js +40 -0
- package/dist/utility/wrun/wrun-canvas-readout.util.d.ts +4 -2
- package/dist/utility/wrun/wrun-canvases.util.js +7 -3
- package/dist/utility/wrun/wrun-chart-context-names.util.d.ts +6 -3
- package/dist/utility/wrun/wrun-chart-context-names.util.js +8 -4
- package/dist/utility/wrun/wrun-chart-market-facts.util.d.ts +47 -29
- package/dist/utility/wrun/wrun-chart-market-facts.util.js +201 -201
- package/dist/utility/wrun/wrun-child-overlay-id.util.js +2 -1
- package/dist/utility/wrun/wrun-cme-legs-note.util.d.ts +15 -0
- package/dist/utility/wrun/wrun-cme-legs-note.util.js +49 -0
- package/dist/utility/wrun/wrun-cme-root-specs.util.d.ts +38 -0
- package/dist/utility/wrun/wrun-cme-root-specs.util.js +81 -0
- package/dist/utility/wrun/wrun-coin-lane-live.util.js +3 -0
- package/dist/utility/wrun/wrun-color-settings.util.d.ts +6 -1
- package/dist/utility/wrun/wrun-color-settings.util.js +32 -7
- package/dist/utility/wrun/wrun-dark-pool.util.d.ts +50 -0
- package/dist/utility/wrun/wrun-dark-pool.util.js +127 -0
- package/dist/utility/wrun/wrun-declared-warmup.util.d.ts +67 -12
- package/dist/utility/wrun/wrun-declared-warmup.util.js +165 -13
- package/dist/utility/wrun/wrun-draft-legend-note.util.d.ts +18 -8
- package/dist/utility/wrun/wrun-draft-legend-note.util.js +57 -11
- package/dist/utility/wrun/wrun-draft-overlay.util.d.ts +14 -10
- package/dist/utility/wrun/wrun-draft-overlay.util.js +26 -14
- package/dist/utility/wrun/wrun-earnings-facts.util.js +3 -2
- package/dist/utility/wrun/wrun-etf-funds.util.d.ts +2 -0
- package/dist/utility/wrun/wrun-etf-funds.util.js +4 -0
- package/dist/utility/wrun/wrun-held-lanes.util.js +8 -2
- package/dist/utility/wrun/wrun-history-as-of.util.d.ts +77 -0
- package/dist/utility/wrun/wrun-history-as-of.util.js +108 -0
- package/dist/utility/wrun/wrun-host.service.d.ts +64 -14
- package/dist/utility/wrun/wrun-host.service.js +137 -27
- package/dist/utility/wrun/wrun-hosted-wire-caps.d.ts +3 -3
- package/dist/utility/wrun/wrun-hosted-wire-caps.js +12 -2
- package/dist/utility/wrun/wrun-inert-legend.util.d.ts +13 -0
- package/dist/utility/wrun/wrun-inert-legend.util.js +31 -3
- package/dist/utility/wrun/wrun-input-requirements.leaf.d.ts +7 -5
- package/dist/utility/wrun/wrun-input-requirements.leaf.js +16 -6
- package/dist/utility/wrun/wrun-install-pacer.util.d.ts +26 -0
- package/dist/utility/wrun/wrun-install-pacer.util.js +145 -0
- package/dist/utility/wrun/wrun-kit-refusal-stages.types.d.ts +22 -0
- package/dist/utility/wrun/wrun-kit-refusal-stages.types.js +1 -0
- package/dist/utility/wrun/wrun-lane-refusal.leaf.d.ts +12 -5
- package/dist/utility/wrun/wrun-lane-refusal.leaf.js +23 -5
- package/dist/utility/wrun/wrun-lane-warmup.util.js +22 -4
- package/dist/utility/wrun/wrun-leg-close.util.d.ts +6 -5
- package/dist/utility/wrun/wrun-leg-close.util.js +11 -9
- package/dist/utility/wrun/wrun-leg-fetch.util.d.ts +3 -1
- package/dist/utility/wrun/wrun-leg-fetch.util.js +9 -2
- package/dist/utility/wrun/wrun-levels-child.util.d.ts +2 -0
- package/dist/utility/wrun/wrun-levels-child.util.js +6 -0
- package/dist/utility/wrun/wrun-lifecycle.contract.d.ts +4 -0
- package/dist/utility/wrun/wrun-live-intake.util.d.ts +15 -6
- package/dist/utility/wrun/wrun-live-intake.util.js +167 -47
- package/dist/utility/wrun/wrun-live-tick.util.d.ts +52 -8
- package/dist/utility/wrun/wrun-live-tick.util.js +648 -97
- package/dist/utility/wrun/wrun-market-facts.util.d.ts +16 -2
- package/dist/utility/wrun/wrun-market-facts.util.js +32 -3
- package/dist/utility/wrun/wrun-market-size-defaults.leaf.d.ts +27 -27
- package/dist/utility/wrun/wrun-market-size-defaults.leaf.js +28 -16
- package/dist/utility/wrun/wrun-market-size-defaults.util.js +34 -5
- package/dist/utility/wrun/wrun-oi-lane.util.d.ts +10 -7
- package/dist/utility/wrun/wrun-oi-lane.util.js +16 -10
- package/dist/utility/wrun/wrun-option-strike-flow.util.js +1 -1
- package/dist/utility/wrun/wrun-option-views.util.d.ts +2 -2
- package/dist/utility/wrun/wrun-option-views.util.js +5 -2
- package/dist/utility/wrun/wrun-options-flow-underlying.leaf.d.ts +5 -0
- package/dist/utility/wrun/wrun-options-flow-underlying.leaf.js +16 -0
- package/dist/utility/wrun/wrun-options-stop.util.d.ts +3 -2
- package/dist/utility/wrun/wrun-options-stop.util.js +6 -4
- package/dist/utility/wrun/wrun-overlay-drivers.util.d.ts +75 -11
- package/dist/utility/wrun/wrun-overlay-drivers.util.js +176 -43
- package/dist/utility/wrun/wrun-overlay-lifecycle.util.js +20 -10
- package/dist/utility/wrun/wrun-overlay-park.util.d.ts +84 -0
- package/dist/utility/wrun/wrun-overlay-park.util.js +135 -0
- package/dist/utility/wrun/wrun-overlay-recovery.util.d.ts +37 -4
- package/dist/utility/wrun/wrun-overlay-recovery.util.js +26 -14
- package/dist/utility/wrun/wrun-overlay-run.util.d.ts +239 -24
- package/dist/utility/wrun/wrun-overlay-run.util.js +2204 -405
- package/dist/utility/wrun/wrun-pack.util.d.ts +8 -5
- package/dist/utility/wrun/wrun-panel-mount.util.d.ts +2 -1
- package/dist/utility/wrun/wrun-panel-mount.util.js +20 -14
- package/dist/utility/wrun/wrun-panel-style.util.d.ts +4 -2
- package/dist/utility/wrun/wrun-panel-style.util.js +3 -2
- package/dist/utility/wrun/wrun-pin-spelling.util.d.ts +7 -0
- package/dist/utility/wrun/wrun-pin-spelling.util.js +18 -4
- package/dist/utility/wrun/wrun-pin-venues.util.d.ts +26 -17
- package/dist/utility/wrun/wrun-pin-venues.util.js +43 -36
- package/dist/utility/wrun/wrun-pinned-lanes.util.d.ts +58 -0
- package/dist/utility/wrun/wrun-pinned-lanes.util.js +72 -0
- package/dist/utility/wrun/wrun-prefix-cohort.util.js +2 -1
- package/dist/utility/wrun/wrun-prefix-lanes.util.d.ts +22 -9
- package/dist/utility/wrun/wrun-prefix-lanes.util.js +145 -26
- package/dist/utility/wrun/wrun-prefix-proof.util.d.ts +29 -0
- package/dist/utility/wrun/wrun-prefix-proof.util.js +23 -5
- package/dist/utility/wrun/wrun-refusal-surface.util.d.ts +9 -1
- package/dist/utility/wrun/wrun-refusal-surface.util.js +15 -1
- package/dist/utility/wrun/wrun-refusal.util.d.ts +19 -1
- package/dist/utility/wrun/wrun-refusal.util.js +103 -16
- package/dist/utility/wrun/wrun-registry-errors.util.d.ts +20 -6
- package/dist/utility/wrun/wrun-registry-errors.util.js +20 -6
- package/dist/utility/wrun/wrun-replay-rows.util.js +6 -10
- package/dist/utility/wrun/wrun-run-health.util.d.ts +89 -2
- package/dist/utility/wrun/wrun-run-health.util.js +204 -1
- package/dist/utility/wrun/wrun-run-interval-session.util.d.ts +2 -2
- package/dist/utility/wrun/wrun-run-interval-session.util.js +2 -2
- package/dist/utility/wrun/wrun-run-interval.util.d.ts +9 -8
- package/dist/utility/wrun/wrun-run-interval.util.js +13 -11
- package/dist/utility/wrun/wrun-sandbox-row-source.js +5 -2
- package/dist/utility/wrun/wrun-script-inputs.util.d.ts +13 -3
- package/dist/utility/wrun/wrun-script-inputs.util.js +51 -13
- package/dist/utility/wrun/wrun-session-composition.util.d.ts +81 -0
- package/dist/utility/wrun/wrun-session-composition.util.js +169 -0
- package/dist/utility/wrun/wrun-setting-words.util.d.ts +10 -7
- package/dist/utility/wrun/wrun-setting-words.util.js +25 -7
- package/dist/utility/wrun/wrun-source-rows.util.d.ts +94 -28
- package/dist/utility/wrun/wrun-source-rows.util.js +738 -93
- package/dist/utility/wrun/wrun-stream-clock.util.d.ts +45 -0
- package/dist/utility/wrun/wrun-stream-clock.util.js +108 -0
- package/dist/utility/wrun/wrun-tape-coins.util.d.ts +116 -0
- package/dist/utility/wrun/wrun-tape-coins.util.js +110 -0
- package/dist/utility/wrun/wrun-tape-source.util.d.ts +62 -32
- package/dist/utility/wrun/wrun-tape-source.util.js +72 -34
- package/dist/utility/wrun/wrun-tier-grid.util.d.ts +13 -5
- package/dist/utility/wrun/wrun-tier-grid.util.js +23 -13
- package/dist/utility/wrun/wrun-tpo-rows.util.js +2 -1
- package/dist/utility/wrun/wrun-trades-lane.util.d.ts +73 -0
- package/dist/utility/wrun/wrun-trades-lane.util.js +82 -0
- package/dist/utility/wrun/wrun-twin-compute-inputs.util.d.ts +5 -0
- package/dist/utility/wrun/wrun-twin-compute-inputs.util.js +9 -2
- package/dist/utility/wrun/wrun-visibility-table.d.ts +13 -0
- package/dist/utility/wrun/wrun-visibility-table.js +9 -0
- package/dist/utility/wrun/wrun-volume-profile.util.js +44 -32
- package/dist/utils/replay/replay-buffer-math.d.ts +16 -6
- package/dist/utils/replay/replay-buffer-math.js +60 -30
- package/dist/workers/constants/socket-slots.d.ts +11 -7
- package/dist/workers/constants/socket-slots.js +6 -5
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './constants/scriptEditor/cme-official-scripts.constants.js';
|
|
|
21
21
|
export * from './constants/scriptEditor/converted-script-id.leaf.js';
|
|
22
22
|
export * from './constants/scriptEditor/execution.constants.js';
|
|
23
23
|
export * from './constants/scriptEditor/technicalIndicatorScriptKeys.constants.js';
|
|
24
|
+
export * from './constants/stocks-compliance.constants.js';
|
|
24
25
|
export * from './constants/tpo-color-schemes.constants.js';
|
|
25
26
|
export * from './constants/venue-presets.constants.js';
|
|
26
27
|
export * from './constants/wrun-prefix-safe.constants.js';
|
|
@@ -76,12 +77,14 @@ export * from './utility/chart/chart-time-domain.util.js';
|
|
|
76
77
|
export * from './utility/chart/cme-cache-context.util.js';
|
|
77
78
|
export * from './utility/chart/cme-realtime.util.js';
|
|
78
79
|
export * from './utility/chart/cme-session-bucket.util.js';
|
|
80
|
+
export { CME_SESSION_LATTICE, FOREX_SESSION_LATTICE, SESSION_LATTICE_PROFILES, isSessionLatticeIntervalMs, sessionLatticeBarEndMs, sessionLatticeBarOpenMs, sessionLatticeBucketMs, sessionLatticeById, sessionLatticeOf, type SessionLatticeId, type SessionLatticeProfile, type SessionTradeCalendar, } from './utility/chart/session-lattice.util.js';
|
|
79
81
|
export * from './utility/chart/cme-trade-calendar.util.js';
|
|
80
82
|
export * from './utility/chart/cme-user-scripts-gate.util.js';
|
|
81
83
|
export * from './utility/chart/color-customization.leaf.js';
|
|
82
84
|
export * from './utility/chart/continuous-contracts.util.js';
|
|
83
85
|
export * from './utility/chart/crypto-index.leaf.js';
|
|
84
86
|
export * from './utility/chart/date-labelled-interval.leaf.js';
|
|
87
|
+
export * from './utility/chart/display-offset.leaf.js';
|
|
85
88
|
export * from './utility/chart/effective-chart-session.util.js';
|
|
86
89
|
export * from './utility/chart/feed-interval.util.js';
|
|
87
90
|
export * from './utility/chart/fetch-dedupe-policy.util.js';
|
|
@@ -147,6 +150,8 @@ export * from './utility/chart/local-kscript-warmup-depth.util.js';
|
|
|
147
150
|
export * from './utility/chart/local-technical-script-live-apply-coalescer.util.js';
|
|
148
151
|
export * from './utility/chart/local-technical-script-range.leaf.js';
|
|
149
152
|
export * from './utility/chart/market-session-schedule.util.js';
|
|
153
|
+
export * from './utility/chart/market-session.util.js';
|
|
154
|
+
export * from './utility/chart/market-sessions.util.js';
|
|
150
155
|
export * from './utility/chart/marketKind.util.js';
|
|
151
156
|
export * from './utility/chart/mixed-mode.util.js';
|
|
152
157
|
export * from './utility/chart/ny-calendar.util.js';
|
|
@@ -208,6 +213,7 @@ export * from './utility/pool-symbol.leaf.js';
|
|
|
208
213
|
export * from './utility/scriptEditor/package-semver.util.js';
|
|
209
214
|
export * from './utility/scriptEditor/temp-script-id.util.js';
|
|
210
215
|
export * from './utility/scriptEditor/wrun-runtime-diagnostics.leaf.js';
|
|
216
|
+
export * from './utility/stocks/stock-display.util.js';
|
|
211
217
|
export * from './utility/symbol-selection/contract-expiry.util.js';
|
|
212
218
|
export * from './utility/symbol-selection/markets-request-from-symbols.leaf.js';
|
|
213
219
|
export * from './utility/v2/gate-plane.util.js';
|
|
@@ -215,10 +221,12 @@ export * from './utility/v2/gate-session-latch.util.js';
|
|
|
215
221
|
export * from './utility/v2/governed-tier.leaf.js';
|
|
216
222
|
export * from './utility/v2/opra-governed.util.js';
|
|
217
223
|
export * from './utility/v2/stocks-governed.util.js';
|
|
224
|
+
export * from './utility/v2/v2-enums.leaf.js';
|
|
218
225
|
export * from './utility/watchlist/import/import-request.leaf.js';
|
|
219
226
|
export * from './utility/watchlist/import/tradingview-symbols.leaf.js';
|
|
220
227
|
export * from './utility/wrun-alert-params.leaf.js';
|
|
221
228
|
export * from './utility/wrun-display-name.util.js';
|
|
229
|
+
export * from './utility/wrun/derived-roots.leaf.js';
|
|
222
230
|
export * from './utility/wrun/derived-roots.util.js';
|
|
223
231
|
export * from './utility/wrun/run-schedule/wrun-chart-gate-reader.util.js';
|
|
224
232
|
export * from './utility/wrun/run-schedule/wrun-gate-reader-warm.util.js';
|
|
@@ -235,6 +243,7 @@ export * from './utility/wrun/sources/registry.js';
|
|
|
235
243
|
export * from './utility/wrun/sources/row-lane-registry.js';
|
|
236
244
|
export * from './utility/wrun/sources/row-lanes/index.js';
|
|
237
245
|
export * from './utility/wrun/sources/row-lanes/option_contract_flow.js';
|
|
246
|
+
export * from './utility/wrun/sources/wrun-lane-fetch-abort.util.js';
|
|
238
247
|
export * from './utility/wrun/sources/wrun-poll-lane.types.js';
|
|
239
248
|
export * from './utility/wrun/sources/wrun-poll-lanes.util.js';
|
|
240
249
|
export * from './utility/wrun/sources/wrun-row-lane-add-memo.util.js';
|
|
@@ -244,6 +253,7 @@ export * from './utility/wrun/sources/wrun-row-lanes.util.js';
|
|
|
244
253
|
export * from './utility/wrun/wrun-alert-outputs.registry.js';
|
|
245
254
|
export * from './utility/wrun/wrun-auto-row.util.js';
|
|
246
255
|
export * from './utility/wrun/wrun-bar-count.util.js';
|
|
256
|
+
export * from './utility/wrun/wrun-batched-kinds.leaf.js';
|
|
247
257
|
export * from './utility/wrun/wrun-batched-marks.util.js';
|
|
248
258
|
export * from './utility/wrun/wrun-batched-readout.util.js';
|
|
249
259
|
export * from './utility/wrun/wrun-box-segment.util.js';
|
|
@@ -251,6 +261,7 @@ export * from './utility/wrun/wrun-browser-sources.leaf.js';
|
|
|
251
261
|
export * from './utility/wrun/wrun-build-memo.util.js';
|
|
252
262
|
export * from './utility/wrun/wrun-builtin-twin-ports.util.js';
|
|
253
263
|
export * from './utility/wrun/wrun-builtin-twin.util.js';
|
|
264
|
+
export * from './utility/wrun/wrun-candle-equal.leaf.js';
|
|
254
265
|
export * from './utility/wrun/wrun-canvas-cache.util.js';
|
|
255
266
|
export * from './utility/wrun/wrun-canvas-readout.util.js';
|
|
256
267
|
export * from './utility/wrun/wrun-canvases.util.js';
|
|
@@ -266,6 +277,8 @@ export * from './utility/wrun/wrun-child-overlay-id.util.js';
|
|
|
266
277
|
export * from './utility/wrun/wrun-cloud-opra-stamp.util.js';
|
|
267
278
|
export * from './utility/wrun/wrun-cloud-record.leaf.js';
|
|
268
279
|
export * from './utility/wrun/wrun-cloud-record.util.js';
|
|
280
|
+
export * from './utility/wrun/wrun-cme-legs-note.util.js';
|
|
281
|
+
export * from './utility/wrun/wrun-cme-root-specs.util.js';
|
|
269
282
|
export * from './utility/wrun/wrun-coin-lane-live.util.js';
|
|
270
283
|
export * from './utility/wrun/wrun-color-facts.util.js';
|
|
271
284
|
export * from './utility/wrun/wrun-color-settings.lazy.js';
|
|
@@ -290,6 +303,7 @@ export * from './utility/wrun/wrun-gate-plane-readers.util.js';
|
|
|
290
303
|
export * from './utility/wrun/wrun-handles.util.js';
|
|
291
304
|
export * from './utility/wrun/wrun-heatmap-cell-budget.util.js';
|
|
292
305
|
export * from './utility/wrun/wrun-held-lanes.util.js';
|
|
306
|
+
export * from './utility/wrun/wrun-history-as-of.util.js';
|
|
293
307
|
export * from './utility/wrun/wrun-host-visible-clock.util.js';
|
|
294
308
|
export * from './utility/wrun/wrun-host.service.js';
|
|
295
309
|
export * from './utility/wrun/wrun-hosted-wire-caps.js';
|
|
@@ -300,6 +314,7 @@ export * from './utility/wrun/wrun-inert-legend.util.js';
|
|
|
300
314
|
export * from './utility/wrun/wrun-input-requirements.leaf.js';
|
|
301
315
|
export * from './utility/wrun/wrun-integration-budget.util.js';
|
|
302
316
|
export * from './utility/wrun/wrun-integration-route.util.js';
|
|
317
|
+
export * from './utility/wrun/wrun-kit-refusal-stages.types.js';
|
|
303
318
|
export * from './utility/wrun/wrun-kit-run-tables.util.js';
|
|
304
319
|
export * from './utility/wrun/wrun-lane-refusal.leaf.js';
|
|
305
320
|
export * from './utility/wrun/wrun-lane-warmup.util.js';
|
|
@@ -337,11 +352,13 @@ export * from './utility/wrun/wrun-option-strike-flow-lane.util.js';
|
|
|
337
352
|
export * from './utility/wrun/wrun-option-strike-flow.util.js';
|
|
338
353
|
export * from './utility/wrun/wrun-option-summary-lane.util.js';
|
|
339
354
|
export * from './utility/wrun/wrun-option-views.util.js';
|
|
355
|
+
export * from './utility/wrun/wrun-options-flow-underlying.leaf.js';
|
|
340
356
|
export * from './utility/wrun/wrun-options-stop.util.js';
|
|
341
357
|
export * from './utility/wrun/wrun-output-style.util.js';
|
|
342
358
|
export * from './utility/wrun/wrun-overlay-drivers.util.js';
|
|
343
359
|
export * from './utility/wrun/wrun-overlay-lifecycle.util.js';
|
|
344
360
|
export * from './utility/wrun/wrun-overlay-metadata.util.js';
|
|
361
|
+
export * from './utility/wrun/wrun-overlay-park.util.js';
|
|
345
362
|
export * from './utility/wrun/wrun-overlay-recovery.util.js';
|
|
346
363
|
export * from './utility/wrun/wrun-overlay-result.util.js';
|
|
347
364
|
export * from './utility/wrun/wrun-pack-widths.leaf.js';
|
|
@@ -395,6 +412,7 @@ export * from './utility/wrun/wrun-style-flags.util.js';
|
|
|
395
412
|
export * from './utility/wrun/wrun-symbol-code.util.js';
|
|
396
413
|
export * from './utility/wrun/wrun-table-chrome.util.js';
|
|
397
414
|
export * from './utility/wrun/wrun-table-look.util.js';
|
|
415
|
+
export * from './utility/wrun/wrun-tape-coins.util.js';
|
|
398
416
|
export * from './utility/wrun/wrun-tape-per-order.util.js';
|
|
399
417
|
export * from './utility/wrun/wrun-tape-source.util.js';
|
|
400
418
|
export * from './utility/wrun/wrun-text-look.util.js';
|
package/dist/index.js
CHANGED
|
@@ -24,6 +24,7 @@ export * from './constants/scriptEditor/cme-official-scripts.constants.js';
|
|
|
24
24
|
export * from './constants/scriptEditor/converted-script-id.leaf.js';
|
|
25
25
|
export * from './constants/scriptEditor/execution.constants.js';
|
|
26
26
|
export * from './constants/scriptEditor/technicalIndicatorScriptKeys.constants.js';
|
|
27
|
+
export * from './constants/stocks-compliance.constants.js';
|
|
27
28
|
export * from './constants/tpo-color-schemes.constants.js';
|
|
28
29
|
export * from './constants/venue-presets.constants.js';
|
|
29
30
|
export * from './constants/wrun-prefix-safe.constants.js';
|
|
@@ -79,12 +80,15 @@ export * from './utility/chart/chart-time-domain.util.js';
|
|
|
79
80
|
export * from './utility/chart/cme-cache-context.util.js';
|
|
80
81
|
export * from './utility/chart/cme-realtime.util.js';
|
|
81
82
|
export * from './utility/chart/cme-session-bucket.util.js';
|
|
83
|
+
// Named, not `export *`: cme-session-bucket.util re-exports sessionGridStartMs, so a second star would make it ambiguous.
|
|
84
|
+
export { CME_SESSION_LATTICE, FOREX_SESSION_LATTICE, SESSION_LATTICE_PROFILES, isSessionLatticeIntervalMs, sessionLatticeBarEndMs, sessionLatticeBarOpenMs, sessionLatticeBucketMs, sessionLatticeById, sessionLatticeOf, } from './utility/chart/session-lattice.util.js';
|
|
82
85
|
export * from './utility/chart/cme-trade-calendar.util.js';
|
|
83
86
|
export * from './utility/chart/cme-user-scripts-gate.util.js';
|
|
84
87
|
export * from './utility/chart/color-customization.leaf.js';
|
|
85
88
|
export * from './utility/chart/continuous-contracts.util.js';
|
|
86
89
|
export * from './utility/chart/crypto-index.leaf.js';
|
|
87
90
|
export * from './utility/chart/date-labelled-interval.leaf.js';
|
|
91
|
+
export * from './utility/chart/display-offset.leaf.js';
|
|
88
92
|
export * from './utility/chart/effective-chart-session.util.js';
|
|
89
93
|
export * from './utility/chart/feed-interval.util.js';
|
|
90
94
|
export * from './utility/chart/fetch-dedupe-policy.util.js';
|
|
@@ -150,6 +154,8 @@ export * from './utility/chart/local-kscript-warmup-depth.util.js';
|
|
|
150
154
|
export * from './utility/chart/local-technical-script-live-apply-coalescer.util.js';
|
|
151
155
|
export * from './utility/chart/local-technical-script-range.leaf.js';
|
|
152
156
|
export * from './utility/chart/market-session-schedule.util.js';
|
|
157
|
+
export * from './utility/chart/market-session.util.js';
|
|
158
|
+
export * from './utility/chart/market-sessions.util.js';
|
|
153
159
|
export * from './utility/chart/marketKind.util.js';
|
|
154
160
|
export * from './utility/chart/mixed-mode.util.js';
|
|
155
161
|
export * from './utility/chart/ny-calendar.util.js';
|
|
@@ -211,6 +217,7 @@ export * from './utility/pool-symbol.leaf.js';
|
|
|
211
217
|
export * from './utility/scriptEditor/package-semver.util.js';
|
|
212
218
|
export * from './utility/scriptEditor/temp-script-id.util.js';
|
|
213
219
|
export * from './utility/scriptEditor/wrun-runtime-diagnostics.leaf.js';
|
|
220
|
+
export * from './utility/stocks/stock-display.util.js';
|
|
214
221
|
export * from './utility/symbol-selection/contract-expiry.util.js';
|
|
215
222
|
export * from './utility/symbol-selection/markets-request-from-symbols.leaf.js';
|
|
216
223
|
export * from './utility/v2/gate-plane.util.js';
|
|
@@ -218,10 +225,12 @@ export * from './utility/v2/gate-session-latch.util.js';
|
|
|
218
225
|
export * from './utility/v2/governed-tier.leaf.js';
|
|
219
226
|
export * from './utility/v2/opra-governed.util.js';
|
|
220
227
|
export * from './utility/v2/stocks-governed.util.js';
|
|
228
|
+
export * from './utility/v2/v2-enums.leaf.js';
|
|
221
229
|
export * from './utility/watchlist/import/import-request.leaf.js';
|
|
222
230
|
export * from './utility/watchlist/import/tradingview-symbols.leaf.js';
|
|
223
231
|
export * from './utility/wrun-alert-params.leaf.js';
|
|
224
232
|
export * from './utility/wrun-display-name.util.js';
|
|
233
|
+
export * from './utility/wrun/derived-roots.leaf.js';
|
|
225
234
|
export * from './utility/wrun/derived-roots.util.js';
|
|
226
235
|
export * from './utility/wrun/run-schedule/wrun-chart-gate-reader.util.js';
|
|
227
236
|
export * from './utility/wrun/run-schedule/wrun-gate-reader-warm.util.js';
|
|
@@ -238,6 +247,7 @@ export * from './utility/wrun/sources/registry.js';
|
|
|
238
247
|
export * from './utility/wrun/sources/row-lane-registry.js';
|
|
239
248
|
export * from './utility/wrun/sources/row-lanes/index.js';
|
|
240
249
|
export * from './utility/wrun/sources/row-lanes/option_contract_flow.js';
|
|
250
|
+
export * from './utility/wrun/sources/wrun-lane-fetch-abort.util.js';
|
|
241
251
|
export * from './utility/wrun/sources/wrun-poll-lane.types.js';
|
|
242
252
|
export * from './utility/wrun/sources/wrun-poll-lanes.util.js';
|
|
243
253
|
export * from './utility/wrun/sources/wrun-row-lane-add-memo.util.js';
|
|
@@ -247,6 +257,7 @@ export * from './utility/wrun/sources/wrun-row-lanes.util.js';
|
|
|
247
257
|
export * from './utility/wrun/wrun-alert-outputs.registry.js';
|
|
248
258
|
export * from './utility/wrun/wrun-auto-row.util.js';
|
|
249
259
|
export * from './utility/wrun/wrun-bar-count.util.js';
|
|
260
|
+
export * from './utility/wrun/wrun-batched-kinds.leaf.js';
|
|
250
261
|
export * from './utility/wrun/wrun-batched-marks.util.js';
|
|
251
262
|
export * from './utility/wrun/wrun-batched-readout.util.js';
|
|
252
263
|
export * from './utility/wrun/wrun-box-segment.util.js';
|
|
@@ -254,6 +265,7 @@ export * from './utility/wrun/wrun-browser-sources.leaf.js';
|
|
|
254
265
|
export * from './utility/wrun/wrun-build-memo.util.js';
|
|
255
266
|
export * from './utility/wrun/wrun-builtin-twin-ports.util.js';
|
|
256
267
|
export * from './utility/wrun/wrun-builtin-twin.util.js';
|
|
268
|
+
export * from './utility/wrun/wrun-candle-equal.leaf.js';
|
|
257
269
|
export * from './utility/wrun/wrun-canvas-cache.util.js';
|
|
258
270
|
export * from './utility/wrun/wrun-canvas-readout.util.js';
|
|
259
271
|
export * from './utility/wrun/wrun-canvases.util.js';
|
|
@@ -269,6 +281,8 @@ export * from './utility/wrun/wrun-child-overlay-id.util.js';
|
|
|
269
281
|
export * from './utility/wrun/wrun-cloud-opra-stamp.util.js';
|
|
270
282
|
export * from './utility/wrun/wrun-cloud-record.leaf.js';
|
|
271
283
|
export * from './utility/wrun/wrun-cloud-record.util.js';
|
|
284
|
+
export * from './utility/wrun/wrun-cme-legs-note.util.js';
|
|
285
|
+
export * from './utility/wrun/wrun-cme-root-specs.util.js';
|
|
272
286
|
export * from './utility/wrun/wrun-coin-lane-live.util.js';
|
|
273
287
|
export * from './utility/wrun/wrun-color-facts.util.js';
|
|
274
288
|
export * from './utility/wrun/wrun-color-settings.lazy.js';
|
|
@@ -293,6 +307,7 @@ export * from './utility/wrun/wrun-gate-plane-readers.util.js';
|
|
|
293
307
|
export * from './utility/wrun/wrun-handles.util.js';
|
|
294
308
|
export * from './utility/wrun/wrun-heatmap-cell-budget.util.js';
|
|
295
309
|
export * from './utility/wrun/wrun-held-lanes.util.js';
|
|
310
|
+
export * from './utility/wrun/wrun-history-as-of.util.js';
|
|
296
311
|
export * from './utility/wrun/wrun-host-visible-clock.util.js';
|
|
297
312
|
export * from './utility/wrun/wrun-host.service.js';
|
|
298
313
|
export * from './utility/wrun/wrun-hosted-wire-caps.js';
|
|
@@ -303,6 +318,7 @@ export * from './utility/wrun/wrun-inert-legend.util.js';
|
|
|
303
318
|
export * from './utility/wrun/wrun-input-requirements.leaf.js';
|
|
304
319
|
export * from './utility/wrun/wrun-integration-budget.util.js';
|
|
305
320
|
export * from './utility/wrun/wrun-integration-route.util.js';
|
|
321
|
+
export * from './utility/wrun/wrun-kit-refusal-stages.types.js';
|
|
306
322
|
export * from './utility/wrun/wrun-kit-run-tables.util.js';
|
|
307
323
|
export * from './utility/wrun/wrun-lane-refusal.leaf.js';
|
|
308
324
|
export * from './utility/wrun/wrun-lane-warmup.util.js';
|
|
@@ -340,11 +356,13 @@ export * from './utility/wrun/wrun-option-strike-flow-lane.util.js';
|
|
|
340
356
|
export * from './utility/wrun/wrun-option-strike-flow.util.js';
|
|
341
357
|
export * from './utility/wrun/wrun-option-summary-lane.util.js';
|
|
342
358
|
export * from './utility/wrun/wrun-option-views.util.js';
|
|
359
|
+
export * from './utility/wrun/wrun-options-flow-underlying.leaf.js';
|
|
343
360
|
export * from './utility/wrun/wrun-options-stop.util.js';
|
|
344
361
|
export * from './utility/wrun/wrun-output-style.util.js';
|
|
345
362
|
export * from './utility/wrun/wrun-overlay-drivers.util.js';
|
|
346
363
|
export * from './utility/wrun/wrun-overlay-lifecycle.util.js';
|
|
347
364
|
export * from './utility/wrun/wrun-overlay-metadata.util.js';
|
|
365
|
+
export * from './utility/wrun/wrun-overlay-park.util.js';
|
|
348
366
|
export * from './utility/wrun/wrun-overlay-recovery.util.js';
|
|
349
367
|
export * from './utility/wrun/wrun-overlay-result.util.js';
|
|
350
368
|
export * from './utility/wrun/wrun-pack-widths.leaf.js';
|
|
@@ -398,6 +416,7 @@ export * from './utility/wrun/wrun-style-flags.util.js';
|
|
|
398
416
|
export * from './utility/wrun/wrun-symbol-code.util.js';
|
|
399
417
|
export * from './utility/wrun/wrun-table-chrome.util.js';
|
|
400
418
|
export * from './utility/wrun/wrun-table-look.util.js';
|
|
419
|
+
export * from './utility/wrun/wrun-tape-coins.util.js';
|
|
401
420
|
export * from './utility/wrun/wrun-tape-per-order.util.js';
|
|
402
421
|
export * from './utility/wrun/wrun-tape-source.util.js';
|
|
403
422
|
export * from './utility/wrun/wrun-text-look.util.js';
|
|
@@ -1,14 +1,30 @@
|
|
|
1
|
+
import type { MarketSplitSliceId } from '../../utility/chart/market-sessions.util.js';
|
|
2
|
+
import { type MarketSessionKind } from '../../utility/chart/market-session.util.js';
|
|
1
3
|
export type TpoTimeRange = {
|
|
2
4
|
start_time?: unknown;
|
|
3
5
|
end_time?: unknown;
|
|
4
6
|
timezone?: unknown;
|
|
7
|
+
/** Weeks and months on UTC, not the range's clock: the gateway cuts its own TradingHour sessions so. Never sent. */
|
|
8
|
+
periodCalendar?: 'UTC';
|
|
5
9
|
};
|
|
10
|
+
/** A range as the table and the wire spell it: wall times and the clock they are read on. */
|
|
11
|
+
export interface TpoClockRange {
|
|
12
|
+
readonly start_time: string;
|
|
13
|
+
readonly end_time: string;
|
|
14
|
+
readonly timezone: string;
|
|
15
|
+
readonly periodCalendar?: 'UTC';
|
|
16
|
+
}
|
|
6
17
|
export interface TpoSessionWindow {
|
|
7
18
|
startSec: number;
|
|
8
19
|
endSec: number;
|
|
9
20
|
fullSession: boolean;
|
|
10
21
|
}
|
|
11
|
-
|
|
22
|
+
/** The presets that are market sessions: hours from market-sessions.util, sent as a range, never a fixed-UTC enum. */
|
|
23
|
+
export declare const TPO_MARKET_SESSION_PRESETS: readonly string[];
|
|
24
|
+
/** Every choice's daily window: the gateway's own sessions (BuildWhereTradingHour serves these rows), the markets'. */
|
|
25
|
+
export declare const TPO_TRADING_HOUR_TIME_RANGES: Readonly<Record<string, TpoClockRange>>;
|
|
26
|
+
/** A range's wall times and clock alone, as the wire and the cache key carry it. */
|
|
27
|
+
export declare function tpoWireTimeRange(range: TpoTimeRange): TpoTimeRange;
|
|
12
28
|
/** Settings projection every TPO time-range decision reads. */
|
|
13
29
|
export interface TpoTimeRangeSettings {
|
|
14
30
|
customTimeRange?: unknown;
|
|
@@ -17,20 +33,66 @@ export interface TpoTimeRangeSettings {
|
|
|
17
33
|
customSessions?: TpoCustomSessionsSettings;
|
|
18
34
|
tradingDayAnchor?: unknown;
|
|
19
35
|
exchange?: unknown;
|
|
36
|
+
symbol?: unknown;
|
|
37
|
+
meta?: unknown;
|
|
38
|
+
tradingHourVersion?: unknown;
|
|
39
|
+
}
|
|
40
|
+
/** "Chart session", every TPO's default: it names no window until tpoEffectiveTradingHour reads the chart's session. */
|
|
41
|
+
export declare const TPO_CHART_TRADING_HOUR = "Chart";
|
|
42
|
+
/** The stamp every writer puts beside a stored choice: an All Hours without it is a row the old mounts filled unasked. */
|
|
43
|
+
export declare const TPO_TRADING_HOUR_VERSION = 2;
|
|
44
|
+
/** The stored choice and its stamp: a reader always takes the whole settings, never the bare word, so it sees both. */
|
|
45
|
+
export interface TpoTradingHourSettings {
|
|
46
|
+
tradingHour?: unknown;
|
|
47
|
+
tradingHourVersion?: unknown;
|
|
20
48
|
}
|
|
49
|
+
/** The trading-hour choice the settings hold: no choice (absent, null, empty) is 'Chart'; never a session to build on. */
|
|
50
|
+
export declare function tpoTradingHourOf(settings: TpoTradingHourSettings | null | undefined): string;
|
|
51
|
+
/** A TPO's choice as its settings store it, 'Chart' as null: a JSON frame or a template keeps null and drops an absent key. */
|
|
52
|
+
export declare function tpoStoredTradingHour(settings: TpoTradingHourSettings | null | undefined): string | null;
|
|
53
|
+
/** Whether an indicator type names one of the two TPO indicators, in either vocabulary. */
|
|
54
|
+
export declare function isTpoIndicatorType(indicatorType: unknown): boolean;
|
|
55
|
+
/** How a TPO type cuts its sessions (resolveTpoSettingsTimeRange): `venueTradingDay: false` keeps All Hours on UTC days. */
|
|
56
|
+
export interface TpoSessionRangeOptions {
|
|
57
|
+
readonly venueTradingDay?: boolean;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The range options of a TPO type (either vocabulary), the one place its readers take them from: its fetch, its
|
|
61
|
+
* refetch decision, its live merge and its cache key all cut sessions with them, so its live sessions are its
|
|
62
|
+
* history's. The aggregated TPO sums venues whose trading days differ, so its All Hours is the UTC day; the
|
|
63
|
+
* single-venue TPO rides its venue's trading day.
|
|
64
|
+
*/
|
|
65
|
+
export declare function tpoSessionRangeOptions(indicatorType: unknown): TpoSessionRangeOptions;
|
|
66
|
+
/** Outside settings over a live TPO (an old template, an old peer): their own unstamped All Hours lands as 'Chart'. */
|
|
67
|
+
export declare function tpoIncomingTradingHour<T>(indicatorType: unknown, incoming: T): T;
|
|
68
|
+
/** An agent's TPO write (an add, a patch) is a deliberate pick, like a form's: the trading hour it names is stamped. */
|
|
69
|
+
export declare function tpoAgentTradingHour<T>(indicatorType: unknown, settings: T): T;
|
|
70
|
+
/** THE session every TPO reader builds on: 'Chart' is Regular on a US stock under a US regular-hours chart, else All Hours. */
|
|
71
|
+
export declare function tpoEffectiveTradingHour(settings: TpoTimeRangeSettings | null | undefined, chartRegularKind: MarketSessionKind | null): string;
|
|
21
72
|
/**
|
|
22
73
|
* The trading-day anchored time range that APPLIES to these settings, or
|
|
23
|
-
* undefined. The anchor only shapes the
|
|
24
|
-
*
|
|
25
|
-
*
|
|
74
|
+
* undefined. The anchor only shapes the full-day case, an effective 'All
|
|
75
|
+
* Hours': any other trading hour, a non-Daily session type, or active custom
|
|
76
|
+
* sessions each keep their existing behavior. A range saved beside All Hours
|
|
77
|
+
* never displaces the venue's day: every save of the old form wrote the time
|
|
78
|
+
* rows it showed (00:00 to 00:00 UTC) beside the choice, so a saved range is
|
|
79
|
+
* no sign of a window anyone picked. 'Custom' is the one choice that carries
|
|
80
|
+
* its own window (a time row no preset matches turns into Custom).
|
|
26
81
|
*/
|
|
27
|
-
export declare function resolveTradingDayTpoTimeRange(settings: TpoTimeRangeSettings | null | undefined): TpoTimeRange | undefined;
|
|
82
|
+
export declare function resolveTradingDayTpoTimeRange(settings: TpoTimeRangeSettings | null | undefined, chartRegularKind: MarketSessionKind | null): TpoTimeRange | undefined;
|
|
83
|
+
/** A choice's window, venue day aside: a preset's table row (never the range saved beside it), else the saved range. */
|
|
84
|
+
export declare function tpoTradingHourTimeRange(tradingHour: string, savedRange: unknown): TpoTimeRange | undefined;
|
|
28
85
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
86
|
+
* The one window a TPO cuts its sessions to, for every reader: All Hours the venue's trading day, a preset its table
|
|
87
|
+
* row, Custom its saved range. A range saved beside All Hours or a preset is the old form's echo of its time rows (a
|
|
88
|
+
* preset's old hours, All Hours' 00:00 to 00:00 UTC) and is never read.
|
|
32
89
|
*/
|
|
33
|
-
export declare function resolveTpoSettingsTimeRange(settings: TpoTimeRangeSettings): TpoTimeRange | undefined;
|
|
90
|
+
export declare function resolveTpoSettingsTimeRange(settings: TpoTimeRangeSettings, chartRegularKind: MarketSessionKind | null, options?: TpoSessionRangeOptions): TpoTimeRange | undefined;
|
|
91
|
+
/** Whether two saves of one TPO ask another session on some chart: a save never knows its chart, so it asks each. */
|
|
92
|
+
export declare function tpoSessionAskChanged(next: TpoTimeRangeSettings, prev: TpoTimeRangeSettings, options?: TpoSessionRangeOptions): boolean;
|
|
93
|
+
/** The IANA zone a range's clock names: 'ET' is New York, nothing is UTC. */
|
|
94
|
+
export declare function tpoTimeZone(value: unknown): string;
|
|
95
|
+
/** The daily window `timestamp` reads, on the range's own zone clock: device-independent, daylight saving included. */
|
|
34
96
|
export declare function resolveTpoTimeRangeWindow(timestamp: number, customTimeRange?: TpoTimeRange): TpoSessionWindow | undefined;
|
|
35
97
|
export declare function containsTpoWindowTime(timestamp: number, window: TpoSessionWindow): boolean;
|
|
36
98
|
export declare function getTpoSessionStart(timestamp: number, sessionType: string, customTimeRange?: TpoTimeRange): number;
|
|
@@ -45,9 +107,9 @@ export declare function generateTpoLetters(blockIds: number[], _sessionType: str
|
|
|
45
107
|
export type TpoSessionRole = 'day' | 'evening';
|
|
46
108
|
/**
|
|
47
109
|
* The clock a custom-session set is written in: UTC, or New York wall time
|
|
48
|
-
* ('ET', daylight saving included). The
|
|
49
|
-
*
|
|
50
|
-
*
|
|
110
|
+
* ('ET', daylight saving included). The editor offers these two; the
|
|
111
|
+
* gateway's custom-time-range path degrades a zone it does not serve to plain
|
|
112
|
+
* UTC days (tsdb-gateway tpo_agg.go sessionCustomTimeRange).
|
|
51
113
|
*/
|
|
52
114
|
export type TpoCustomSessionsTimezone = 'UTC' | 'ET';
|
|
53
115
|
export interface TpoCustomSessionSegment {
|
|
@@ -68,9 +130,10 @@ export interface TpoCustomSessionsSettings {
|
|
|
68
130
|
/** Absent reads UTC: every set saved before the New York clock. */
|
|
69
131
|
timezone?: TpoCustomSessionsTimezone;
|
|
70
132
|
}
|
|
71
|
-
/**
|
|
72
|
-
|
|
73
|
-
|
|
133
|
+
/** The editor's starting set: the day split's slices on its clock, named by `labelOf`; hours from the split only. */
|
|
134
|
+
export declare function defaultTpoCustomSessionSegments(labelOf: (id: MarketSplitSliceId) => string): TpoCustomSessionSegment[];
|
|
135
|
+
/** The starting set's clock, the split's own: New York, stored as 'ET'. */
|
|
136
|
+
export declare const DEFAULT_TPO_CUSTOM_SESSIONS_TIMEZONE: TpoCustomSessionsTimezone;
|
|
74
137
|
interface NormalizedTpoSegment extends TpoCustomSessionSegment {
|
|
75
138
|
startMinute: number;
|
|
76
139
|
/** Minutes past the START day's midnight: above 1440 for the segment that
|