@orangecharts/wrun-chart-host 0.3.0 → 0.5.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 +23 -6
- package/dist/constants/exchange-names.leaf.d.ts +8 -0
- package/dist/constants/exchange-names.leaf.js +101 -0
- package/dist/constants/kscript-data-interval-restrictions.constants.d.ts +15 -0
- package/dist/constants/kscript-data-interval-restrictions.constants.js +40 -0
- package/dist/constants/opra-compliance.constants.d.ts +19 -0
- package/dist/constants/opra-compliance.constants.js +19 -0
- package/dist/constants/replay-ladder.leaf.d.ts +30 -0
- package/dist/constants/replay-ladder.leaf.js +99 -0
- package/dist/constants/scriptEditor/builtin-script-snippets.d.ts +133 -0
- package/dist/constants/scriptEditor/builtin-script-snippets.js +451 -0
- package/dist/constants/scriptEditor/cme-official-scripts.constants.d.ts +168 -0
- package/dist/constants/scriptEditor/cme-official-scripts.constants.js +398 -0
- package/dist/constants/scriptEditor/converted-script-id.leaf.d.ts +8 -0
- package/dist/constants/scriptEditor/converted-script-id.leaf.js +10 -0
- package/dist/constants/scriptEditor/execution.constants.d.ts +4 -0
- package/dist/constants/scriptEditor/execution.constants.js +14 -0
- package/dist/constants/wrun-prefix-safe.constants.d.ts +23 -0
- package/dist/constants/wrun-prefix-safe.constants.js +26 -0
- package/dist/host-env.d.ts +321 -24
- package/dist/host-env.js +15 -0
- package/dist/host-ports.types.d.ts +857 -35
- package/dist/index.d.ts +149 -2
- package/dist/index.js +149 -2
- package/dist/instances/script-engine-worker-ohlcv-transfer.d.ts +31 -0
- package/dist/instances/script-engine-worker-ohlcv-transfer.js +164 -0
- package/dist/interfaces/market-event.interface.d.ts +231 -0
- package/dist/interfaces/market-event.interface.js +15 -0
- package/dist/interfaces/opra-realtime.interface.d.ts +70 -134
- package/dist/interfaces/opra-realtime.interface.js +34 -59
- package/dist/interfaces/replay.interface.d.ts +285 -0
- package/dist/interfaces/replay.interface.js +1 -0
- package/dist/kscript-data/controls/live-ohlcv-merge.util.d.ts +1 -0
- package/dist/kscript-data/controls/live-ohlcv-merge.util.js +93 -0
- package/dist/kscript-data/controls/live-trades-merge.util.d.ts +5 -1
- package/dist/kscript-data/controls/live-trades-merge.util.js +2 -2
- package/dist/market-data/billing.interface.d.ts +219 -0
- package/dist/market-data/billing.interface.js +58 -0
- package/dist/market-data/venue-governed.util.d.ts +2 -0
- package/dist/market-data/venue-governed.util.js +10 -0
- package/dist/market-data/venue.d.ts +122 -0
- package/dist/market-data/venue.js +1 -0
- package/dist/market-data/venues/index.d.ts +97 -0
- package/dist/market-data/venues/index.js +33 -0
- package/dist/market-data/venues/opra.contract.copy.json +35 -0
- package/dist/market-data/venues/opra.d.ts +70 -0
- package/dist/market-data/venues/opra.js +74 -0
- package/dist/replay/replayIndicatorRows.d.ts +31 -0
- package/dist/replay/replayIndicatorRows.js +117 -0
- package/dist/replay/replayLadder.d.ts +85 -0
- package/dist/replay/replayLadder.js +388 -0
- package/dist/utility/auth/server-clock.util.d.ts +81 -0
- package/dist/utility/auth/server-clock.util.js +238 -0
- package/dist/utility/chart/builtin-identity.util.d.ts +18 -0
- package/dist/utility/chart/builtin-identity.util.js +51 -0
- package/dist/utility/chart/cache-alignment.util.d.ts +454 -0
- package/dist/utility/chart/cache-alignment.util.js +926 -0
- package/dist/utility/chart/chart-data-fetch-generation.util.d.ts +15 -0
- package/dist/utility/chart/chart-data-fetch-generation.util.js +22 -0
- package/dist/utility/chart/chart-mount-epoch.util.d.ts +5 -0
- package/dist/utility/chart/chart-mount-epoch.util.js +29 -0
- package/dist/utility/chart/chart-time-domain.util.d.ts +12 -0
- package/dist/utility/chart/chart-time-domain.util.js +23 -0
- package/dist/utility/chart/color-customization.leaf.d.ts +10 -0
- package/dist/utility/chart/color-customization.leaf.js +16 -0
- package/dist/utility/chart/date-labelled-interval.leaf.d.ts +15 -0
- package/dist/utility/chart/date-labelled-interval.leaf.js +19 -0
- package/dist/utility/chart/footprint-tick-grid.util.d.ts +106 -0
- package/dist/utility/chart/footprint-tick-grid.util.js +167 -0
- package/dist/utility/chart/gesture-timing.leaf.d.ts +29 -0
- package/dist/utility/chart/gesture-timing.leaf.js +29 -0
- package/dist/utility/chart/governed-contract-coin.util.d.ts +22 -0
- package/dist/utility/chart/governed-contract-coin.util.js +39 -0
- package/dist/utility/chart/host-bar-placement.util.d.ts +107 -0
- package/dist/utility/chart/host-bar-placement.util.js +447 -0
- package/dist/utility/chart/index-host-tier.util.d.ts +31 -0
- package/dist/utility/chart/index-host-tier.util.js +118 -0
- package/dist/utility/chart/index-mode-admission.util.d.ts +34 -0
- package/dist/utility/chart/index-mode-admission.util.js +67 -0
- package/dist/utility/chart/indicator-error-message.util.d.ts +35 -0
- package/dist/utility/chart/indicator-error-message.util.js +44 -0
- package/dist/utility/chart/indicator-run-interval.util.d.ts +130 -0
- package/dist/utility/chart/indicator-run-interval.util.js +268 -0
- package/dist/utility/chart/kscript-apply-fingerprint.util.d.ts +65 -0
- package/dist/utility/chart/kscript-apply-fingerprint.util.js +357 -0
- package/dist/utility/chart/kscript-chart-flush.leaf.d.ts +22 -0
- package/dist/utility/chart/kscript-chart-flush.leaf.js +13 -0
- package/dist/utility/chart/kscript-data-interval-restriction.leaf.d.ts +6 -0
- package/dist/utility/chart/kscript-data-interval-restriction.leaf.js +27 -0
- package/dist/utility/chart/kscript-integration-decision.leaf.d.ts +89 -0
- package/dist/utility/chart/kscript-integration-decision.leaf.js +80 -0
- package/dist/utility/chart/kscript-live-coalesce.util.d.ts +76 -0
- package/dist/utility/chart/kscript-live-coalesce.util.js +156 -0
- package/dist/utility/chart/kscript-live-rest-pace.util.d.ts +34 -0
- package/dist/utility/chart/kscript-live-rest-pace.util.js +134 -0
- package/dist/utility/chart/kscript-live-source-identity.util.d.ts +98 -0
- package/dist/utility/chart/kscript-live-source-identity.util.js +121 -0
- package/dist/utility/chart/kscript-mounted-plot-set.leaf.d.ts +48 -0
- package/dist/utility/chart/kscript-mounted-plot-set.leaf.js +145 -0
- package/dist/utility/chart/kscript-perf-tracker.util.d.ts +243 -0
- package/dist/utility/chart/kscript-perf-tracker.util.js +522 -0
- package/dist/utility/chart/kscript-run-interval-projection.util.d.ts +43 -0
- package/dist/utility/chart/kscript-run-interval-projection.util.js +471 -0
- package/dist/utility/chart/kscript-run-result-equality.util.d.ts +38 -0
- package/dist/utility/chart/kscript-run-result-equality.util.js +89 -0
- package/dist/utility/chart/kscript-settings-revision.leaf.d.ts +2 -0
- package/dist/utility/chart/kscript-settings-revision.leaf.js +12 -0
- package/dist/utility/chart/kscript-source-degrade.leaf.d.ts +63 -0
- package/dist/utility/chart/kscript-source-degrade.leaf.js +68 -0
- package/dist/utility/chart/kscript-source-retention.util.d.ts +134 -0
- package/dist/utility/chart/kscript-source-retention.util.js +218 -0
- package/dist/utility/chart/kscript-standin-identity.leaf.d.ts +57 -0
- package/dist/utility/chart/kscript-standin-identity.leaf.js +61 -0
- package/dist/utility/chart/kscript-titancharts-preparation.util.d.ts +15 -0
- package/dist/utility/chart/kscript-titancharts-preparation.util.js +376 -0
- package/dist/utility/chart/kscript-titancharts-render-keys.constants.d.ts +9 -0
- package/dist/utility/chart/kscript-titancharts-render-keys.constants.js +130 -0
- package/dist/utility/chart/kscript-venue-policy.util.d.ts +217 -0
- package/dist/utility/chart/kscript-venue-policy.util.js +324 -0
- package/dist/utility/chart/live-cadence.util.d.ts +38 -0
- package/dist/utility/chart/live-cadence.util.js +37 -0
- package/dist/utility/chart/live-feed-series-match.leaf.d.ts +13 -0
- package/dist/utility/chart/live-feed-series-match.leaf.js +21 -0
- package/dist/utility/chart/local-engine-self-heal-backoff.util.d.ts +46 -0
- package/dist/utility/chart/local-engine-self-heal-backoff.util.js +46 -0
- package/dist/utility/chart/local-engine-uninit.leaf.d.ts +21 -0
- package/dist/utility/chart/local-engine-uninit.leaf.js +22 -0
- package/dist/utility/chart/local-kscript-source-revalidation.util.d.ts +62 -0
- package/dist/utility/chart/local-kscript-source-revalidation.util.js +123 -0
- package/dist/utility/chart/local-kscript-warmup-depth.util.d.ts +214 -0
- package/dist/utility/chart/local-kscript-warmup-depth.util.js +376 -0
- package/dist/utility/chart/local-technical-script-live-apply-coalescer.util.d.ts +85 -0
- package/dist/utility/chart/local-technical-script-live-apply-coalescer.util.js +197 -0
- package/dist/utility/chart/local-technical-script-range.leaf.d.ts +72 -0
- package/dist/utility/chart/local-technical-script-range.leaf.js +126 -0
- package/dist/utility/chart/mixed-mode.util.d.ts +167 -0
- package/dist/utility/chart/mixed-mode.util.js +139 -0
- package/dist/utility/chart/ohlcv-row-readiness.util.d.ts +36 -0
- package/dist/utility/chart/ohlcv-row-readiness.util.js +90 -0
- package/dist/utility/chart/opra-user-scripts-gate.util.d.ts +19 -0
- package/dist/utility/chart/opra-user-scripts-gate.util.js +32 -0
- package/dist/utility/chart/overlay-execution-guard-key.leaf.d.ts +8 -0
- package/dist/utility/chart/overlay-execution-guard-key.leaf.js +10 -0
- package/dist/utility/chart/price-precision.util.d.ts +40 -0
- package/dist/utility/chart/price-precision.util.js +70 -0
- package/dist/utility/chart/profile-block-size.util.d.ts +64 -0
- package/dist/utility/chart/profile-block-size.util.js +141 -0
- package/dist/utility/chart/protected-kscript-degenerate-rows.leaf.d.ts +11 -0
- package/dist/utility/chart/protected-kscript-degenerate-rows.leaf.js +29 -0
- package/dist/utility/chart/protected-kscript-empty-output.util.d.ts +28 -0
- package/dist/utility/chart/protected-kscript-empty-output.util.js +84 -0
- package/dist/utility/chart/run-interval-unservable.leaf.d.ts +9 -0
- package/dist/utility/chart/run-interval-unservable.leaf.js +20 -0
- package/dist/utility/chart/run-interval-warmup.leaf.d.ts +19 -0
- package/dist/utility/chart/run-interval-warmup.leaf.js +35 -0
- package/dist/utility/chart/titan-constants.pin.d.ts +9 -5
- package/dist/utility/chart/titan-constants.pin.js +18 -5
- package/dist/utility/chart/warmup-backfill-retry.leaf.d.ts +9 -0
- package/dist/utility/chart/warmup-backfill-retry.leaf.js +9 -0
- package/dist/utility/chart/window-geometry.leaf.d.ts +119 -0
- package/dist/utility/chart/window-geometry.leaf.js +391 -0
- package/dist/utility/chart/window-owner.leaf.d.ts +19 -0
- package/dist/utility/chart/window-owner.leaf.js +24 -0
- package/dist/utility/chart/wrun-bar-session-facts.util.d.ts +11 -2
- package/dist/utility/chart/wrun-bar-session-facts.util.js +10 -3
- package/dist/utility/chart/wrun-run-result.util.d.ts +5 -1
- package/dist/utility/chart/wrun-run-result.util.js +20 -14
- package/dist/utility/common/data-processing.util.d.ts +138 -0
- package/dist/utility/common/data-processing.util.js +346 -0
- package/dist/utility/common/visible-timeout.util.d.ts +13 -4
- package/dist/utility/common/visible-timeout.util.js +23 -8
- package/dist/utility/exchange-format.leaf.d.ts +1 -0
- package/dist/utility/exchange-format.leaf.js +47 -0
- package/dist/utility/html-escape.leaf.d.ts +11 -0
- package/dist/utility/html-escape.leaf.js +20 -0
- package/dist/utility/market-events/earnings-scope.util.d.ts +60 -0
- package/dist/utility/market-events/earnings-scope.util.js +92 -0
- package/dist/utility/market-events/market-events.util.d.ts +147 -0
- package/dist/utility/market-events/market-events.util.js +392 -0
- package/dist/utility/market-events/zoned-clock.util.d.ts +1 -0
- package/dist/utility/market-events/zoned-clock.util.js +11 -0
- package/dist/utility/options/option-venue-disclosure.util.d.ts +43 -0
- package/dist/utility/options/option-venue-disclosure.util.js +56 -0
- package/dist/utility/scriptEditor/package-semver.util.d.ts +51 -0
- package/dist/utility/scriptEditor/package-semver.util.js +120 -0
- package/dist/utility/scriptEditor/temp-script-id.util.d.ts +18 -0
- package/dist/utility/scriptEditor/temp-script-id.util.js +25 -0
- package/dist/utility/symbol-selection/markets-request-from-symbols.leaf.d.ts +20 -0
- package/dist/utility/symbol-selection/markets-request-from-symbols.leaf.js +81 -0
- package/dist/utility/v2/governed-tier.leaf.d.ts +103 -0
- package/dist/utility/v2/governed-tier.leaf.js +113 -0
- package/dist/utility/watchlist/import/import-request.leaf.d.ts +10 -0
- package/dist/utility/watchlist/import/import-request.leaf.js +10 -0
- package/dist/utility/wrun/sources/lanes/option_daily.d.ts +43 -15
- package/dist/utility/wrun/sources/lanes/option_daily.js +78 -20
- package/dist/utility/wrun/sources/lanes/option_stats_10m.d.ts +14 -10
- package/dist/utility/wrun/sources/lanes/option_stats_10m.js +5 -4
- package/dist/utility/wrun/sources/lanes/series.js +2 -2
- package/dist/utility/wrun/sources/opra-option-lanes.util.d.ts +22 -3
- package/dist/utility/wrun/sources/opra-option-lanes.util.js +38 -7
- package/dist/utility/wrun/sources/registry.js +31 -1
- package/dist/utility/wrun/sources/row-lane-registry.js +5 -5
- package/dist/utility/wrun/sources/row-lanes/option_contract_state.d.ts +49 -0
- package/dist/utility/wrun/sources/row-lanes/option_contract_state.js +75 -20
- package/dist/utility/wrun/sources/row-lanes/option_strikes.d.ts +49 -0
- package/dist/utility/wrun/sources/row-lanes/option_strikes.js +57 -47
- package/dist/utility/wrun/sources/row-lanes/option_surface.d.ts +36 -4
- package/dist/utility/wrun/sources/row-lanes/option_surface.js +6 -12
- package/dist/utility/wrun/sources/wrun-poll-lane.types.d.ts +37 -3
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.d.ts +128 -2
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.js +233 -51
- package/dist/utility/wrun/sources/wrun-row-lane.types.d.ts +0 -8
- package/dist/utility/wrun/sources/wrun-row-lanes.util.d.ts +26 -24
- package/dist/utility/wrun/sources/wrun-row-lanes.util.js +85 -104
- package/dist/utility/wrun/wrun-alert-outputs.registry.d.ts +166 -0
- package/dist/utility/wrun/wrun-alert-outputs.registry.js +219 -0
- package/dist/utility/wrun/wrun-bar-count.util.d.ts +83 -0
- package/dist/utility/wrun/wrun-bar-count.util.js +259 -0
- package/dist/utility/wrun/wrun-chart-context-names.util.d.ts +84 -0
- package/dist/utility/wrun/wrun-chart-context-names.util.js +186 -0
- package/dist/utility/wrun/wrun-chart-market-facts.util.d.ts +253 -0
- package/dist/utility/wrun/wrun-chart-market-facts.util.js +731 -0
- package/dist/utility/wrun/wrun-cloud-opra-stamp.util.d.ts +28 -0
- package/dist/utility/wrun/wrun-cloud-opra-stamp.util.js +45 -0
- package/dist/utility/wrun/wrun-coin-lane-live.util.d.ts +18 -0
- package/dist/utility/wrun/wrun-coin-lane-live.util.js +47 -0
- package/dist/utility/wrun/wrun-deadline.util.js +2 -1
- package/dist/utility/wrun/wrun-debug-output.util.d.ts +39 -0
- package/dist/utility/wrun/wrun-debug-output.util.js +63 -0
- package/dist/utility/wrun/wrun-declared-warmup.util.d.ts +113 -0
- package/dist/utility/wrun/wrun-declared-warmup.util.js +181 -0
- package/dist/utility/wrun/wrun-draft-legend-note.util.d.ts +43 -0
- package/dist/utility/wrun/wrun-draft-legend-note.util.js +158 -0
- package/dist/utility/wrun/wrun-draft-overlay.util.d.ts +181 -0
- package/dist/utility/wrun/wrun-draft-overlay.util.js +357 -0
- package/dist/utility/wrun/wrun-draw-skipped.leaf.d.ts +16 -0
- package/dist/utility/wrun/wrun-draw-skipped.leaf.js +16 -0
- package/dist/utility/wrun/wrun-earnings-facts.util.d.ts +42 -0
- package/dist/utility/wrun/wrun-earnings-facts.util.js +131 -0
- package/dist/utility/wrun/wrun-first-run-depth.util.d.ts +32 -0
- package/dist/utility/wrun/wrun-first-run-depth.util.js +118 -0
- package/dist/utility/wrun/wrun-gate-plane-readers.util.d.ts +24 -0
- package/dist/utility/wrun/wrun-gate-plane-readers.util.js +31 -0
- package/dist/utility/wrun/wrun-held-lanes.util.d.ts +32 -0
- package/dist/utility/wrun/wrun-held-lanes.util.js +94 -0
- package/dist/utility/wrun/wrun-host-visible-clock.util.d.ts +2 -0
- package/dist/utility/wrun/wrun-host-visible-clock.util.js +17 -0
- package/dist/utility/wrun/wrun-host.service.d.ts +266 -0
- package/dist/utility/wrun/wrun-host.service.js +655 -0
- package/dist/utility/wrun/wrun-inert-legend.util.d.ts +33 -0
- package/dist/utility/wrun/wrun-inert-legend.util.js +125 -0
- package/dist/utility/wrun/wrun-input-requirements.leaf.d.ts +155 -0
- package/dist/utility/wrun/wrun-input-requirements.leaf.js +450 -0
- package/dist/utility/wrun/wrun-integration-route.util.d.ts +51 -0
- package/dist/utility/wrun/wrun-integration-route.util.js +59 -0
- package/dist/utility/wrun/wrun-latest-history.leaf.d.ts +8 -0
- package/dist/utility/wrun/wrun-latest-history.leaf.js +8 -0
- package/dist/utility/wrun/wrun-legend-hover.lazy.d.ts +12 -0
- package/dist/utility/wrun/wrun-legend-hover.lazy.js +96 -0
- package/dist/utility/wrun/wrun-lifecycle-runtime.util.d.ts +21 -0
- package/dist/utility/wrun/wrun-lifecycle-runtime.util.js +21 -0
- package/dist/utility/wrun/wrun-live-hidden-hold.util.d.ts +23 -0
- package/dist/utility/wrun/wrun-live-hidden-hold.util.js +13 -0
- package/dist/utility/wrun/wrun-live-intake.util.d.ts +374 -0
- package/dist/utility/wrun/wrun-live-intake.util.js +2027 -0
- package/dist/utility/wrun/wrun-live-patch.util.d.ts +116 -0
- package/dist/utility/wrun/wrun-live-patch.util.js +523 -0
- package/dist/utility/wrun/wrun-live-tick.util.d.ts +619 -0
- package/dist/utility/wrun/wrun-live-tick.util.js +4974 -0
- package/dist/utility/wrun/wrun-loading-owner.util.d.ts +58 -0
- package/dist/utility/wrun/wrun-loading-owner.util.js +89 -0
- package/dist/utility/wrun/wrun-official-scope.leaf.d.ts +29 -0
- package/dist/utility/wrun/wrun-official-scope.leaf.js +36 -0
- package/dist/utility/wrun/wrun-oi-lane.util.d.ts +27 -0
- package/dist/utility/wrun/wrun-oi-lane.util.js +42 -0
- package/dist/utility/wrun/wrun-opra-stats.leaf.d.ts +29 -10
- package/dist/utility/wrun/wrun-opra-stats.leaf.js +29 -10
- package/dist/utility/wrun/wrun-options-stop.util.d.ts +52 -0
- package/dist/utility/wrun/wrun-options-stop.util.js +123 -0
- package/dist/utility/wrun/wrun-overlay-drivers.util.d.ts +719 -0
- package/dist/utility/wrun/wrun-overlay-drivers.util.js +1180 -0
- package/dist/utility/wrun/wrun-overlay-lifecycle.lazy.d.ts +50 -0
- package/dist/utility/wrun/wrun-overlay-lifecycle.lazy.js +131 -0
- package/dist/utility/wrun/wrun-overlay-lifecycle.util.d.ts +118 -0
- package/dist/utility/wrun/wrun-overlay-lifecycle.util.js +466 -0
- package/dist/utility/wrun/wrun-overlay-metadata.util.d.ts +45 -0
- package/dist/utility/wrun/wrun-overlay-metadata.util.js +112 -0
- package/dist/utility/wrun/wrun-overlay-recovery.util.d.ts +114 -0
- package/dist/utility/wrun/wrun-overlay-recovery.util.js +971 -0
- package/dist/utility/wrun/wrun-overlay-run.util.d.ts +858 -0
- package/dist/utility/wrun/wrun-overlay-run.util.js +11013 -0
- package/dist/utility/wrun/wrun-panel-mount.lazy.d.ts +10 -0
- package/dist/utility/wrun/wrun-panel-mount.lazy.js +68 -0
- package/dist/utility/wrun/wrun-panel-mount.util.d.ts +392 -0
- package/dist/utility/wrun/wrun-panel-mount.util.js +2346 -0
- package/dist/utility/wrun/wrun-param-map.util.d.ts +19 -4
- package/dist/utility/wrun/wrun-param-map.util.js +40 -47
- package/dist/utility/wrun/wrun-param-values.util.d.ts +9 -3
- package/dist/utility/wrun/wrun-param-values.util.js +5 -5
- package/dist/utility/wrun/wrun-pause-dim.util.d.ts +52 -0
- package/dist/utility/wrun/wrun-pause-dim.util.js +153 -0
- package/dist/utility/wrun/wrun-plot-gate.types.d.ts +23 -0
- package/dist/utility/wrun/wrun-plot-gate.types.js +7 -0
- package/dist/utility/wrun/wrun-prefix-cohort.util.d.ts +93 -0
- package/dist/utility/wrun/wrun-prefix-cohort.util.js +484 -0
- package/dist/utility/wrun/wrun-prefix-lanes.util.d.ts +114 -0
- package/dist/utility/wrun/wrun-prefix-lanes.util.js +486 -0
- package/dist/utility/wrun/wrun-prefix-proof.util.d.ts +317 -0
- package/dist/utility/wrun/wrun-prefix-proof.util.js +630 -0
- package/dist/utility/wrun/wrun-refusal-surface.util.d.ts +73 -0
- package/dist/utility/wrun/wrun-refusal-surface.util.js +380 -0
- package/dist/utility/wrun/wrun-refusal-text.util.d.ts +15 -0
- package/dist/utility/wrun/wrun-refusal-text.util.js +40 -0
- package/dist/utility/wrun/wrun-replay-lane.util.d.ts +139 -0
- package/dist/utility/wrun/wrun-replay-lane.util.js +520 -0
- package/dist/utility/wrun/wrun-replay-rows.util.d.ts +21 -0
- package/dist/utility/wrun/wrun-replay-rows.util.js +172 -0
- package/dist/utility/wrun/wrun-row-source-factory.d.ts +53 -0
- package/dist/utility/wrun/wrun-row-source-factory.js +435 -0
- package/dist/utility/wrun/wrun-run-cells.util.d.ts +36 -0
- package/dist/utility/wrun/wrun-run-cells.util.js +46 -0
- package/dist/utility/wrun/wrun-run-interval-projection.types.d.ts +14 -0
- package/dist/utility/wrun/wrun-run-interval-projection.types.js +1 -0
- package/dist/utility/wrun/wrun-run-interval-session.util.d.ts +133 -0
- package/dist/utility/wrun/wrun-run-interval-session.util.js +121 -0
- package/dist/utility/wrun/wrun-run-interval.util.d.ts +98 -0
- package/dist/utility/wrun/wrun-run-interval.util.js +207 -0
- package/dist/utility/wrun/wrun-run-retained.util.d.ts +122 -0
- package/dist/utility/wrun/wrun-run-retained.util.js +255 -0
- package/dist/utility/wrun/wrun-sandbox-row-source.d.ts +184 -0
- package/dist/utility/wrun/wrun-sandbox-row-source.js +444 -0
- package/dist/utility/wrun/wrun-script-inputs.util.js +4 -4
- package/dist/utility/wrun/wrun-series-stream.util.d.ts +86 -0
- package/dist/utility/wrun/wrun-series-stream.util.js +537 -0
- package/dist/utility/wrun/wrun-sheet-remembered.util.d.ts +21 -0
- package/dist/utility/wrun/wrun-sheet-remembered.util.js +36 -0
- package/dist/utility/wrun/wrun-signal-sound-reasons.leaf.d.ts +7 -0
- package/dist/utility/wrun/wrun-signal-sound-reasons.leaf.js +12 -0
- package/dist/utility/wrun/wrun-socket-row-source.js +4 -2
- package/dist/utility/wrun/wrun-source-rows.util.d.ts +175 -3
- package/dist/utility/wrun/wrun-source-rows.util.js +294 -8
- package/dist/utility/wrun/wrun-stats-strip.util.d.ts +46 -0
- package/dist/utility/wrun/wrun-stats-strip.util.js +87 -0
- package/dist/utility/wrun/wrun-table-chrome.util.d.ts +163 -0
- package/dist/utility/wrun/wrun-table-chrome.util.js +557 -0
- package/dist/utility/wrun/wrun-text-params.util.d.ts +11 -6
- package/dist/utility/wrun/wrun-text-params.util.js +19 -30
- package/dist/utility/wrun/wrun-transient-rerun.util.d.ts +64 -0
- package/dist/utility/wrun/wrun-transient-rerun.util.js +317 -0
- package/dist/utility/wrun/wrun-twin-lookback.util.d.ts +10 -0
- package/dist/utility/wrun/wrun-twin-lookback.util.js +43 -0
- package/dist/utility/wrun/wrun-warmup-head-store.util.d.ts +41 -0
- package/dist/utility/wrun/wrun-warmup-head-store.util.js +120 -0
- package/dist/utility/wrun-alert-params.leaf.d.ts +24 -0
- package/dist/utility/wrun-alert-params.leaf.js +24 -0
- package/dist/utils/replay/replay-buffer-math.d.ts +148 -0
- package/dist/utils/replay/replay-buffer-math.js +684 -0
- package/dist/workers/wrun/wrun-abi-host.d.ts +190 -0
- package/dist/workers/wrun/wrun-abi-host.js +1201 -0
- package/dist/workers/wrun/wrun-engine-handler.d.ts +37 -0
- package/dist/workers/wrun/wrun-engine-handler.js +211 -0
- package/package.json +3 -3
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { WrunChartHandle } from '../../host-ports.types.js';
|
|
2
|
+
import { type IndicatorErrorMessageValue } from '../chart/indicator-error-message.util.js';
|
|
3
|
+
import { type WrunRefusal } from './wrun-refusal.util.js';
|
|
4
|
+
/** Ownership stamp inside the errorMessage payload. */
|
|
5
|
+
export declare const WRUN_INERT_LEGEND_SOURCE = "wrun-inert";
|
|
6
|
+
/** The states this writer can project; each maps to its own copy. */
|
|
7
|
+
export type WrunInertLegendState = {
|
|
8
|
+
kind: 'source-error';
|
|
9
|
+
message: string;
|
|
10
|
+
} | {
|
|
11
|
+
kind: 'refusal';
|
|
12
|
+
refusal: WrunRefusal;
|
|
13
|
+
owner: 'run' | 'tick';
|
|
14
|
+
};
|
|
15
|
+
/** True while this writer's state is the shown legend chip. */
|
|
16
|
+
export declare function isWrunInertLegendShown(tc: WrunChartHandle, indicatorId: string): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The legend payload of a refusal record: the chip is its short label, the tooltip and the card's
|
|
19
|
+
* `details` its one sentence (never the raiser's technical text, which stays in the record for
|
|
20
|
+
* Copy details), `refusal` the canonical JSON the card reads its way out from. A note is `info`,
|
|
21
|
+
* a refusal that drew nothing `warning`; `retryable` only for a Retry way out. All primitives, so
|
|
22
|
+
* an equal record writes once (the change-only comparator). `source` defaults to this writer's
|
|
23
|
+
* stamp; a writer with its own slot ownership (the CME wall's) names its own.
|
|
24
|
+
*/
|
|
25
|
+
export declare function buildWrunRefusalErrorMessage(r: WrunRefusal, opts?: {
|
|
26
|
+
source?: string;
|
|
27
|
+
}): IndicatorErrorMessageValue;
|
|
28
|
+
/** Project the state onto the overlay's legend chip. Returns true when a
|
|
29
|
+
* write happened (false: a foreign writer owns the slot, or unchanged). */
|
|
30
|
+
export declare function applyWrunInertLegendState(tc: WrunChartHandle, indicatorId: string, state: WrunInertLegendState): boolean;
|
|
31
|
+
/** Clear ONLY a chip this writer owns (never a foreign message, and no
|
|
32
|
+
* spurious write on overlays that never carried the state). */
|
|
33
|
+
export declare function clearWrunInertLegendState(tc: WrunChartHandle, indicatorId: string): boolean;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typed legend states for browser-run Indicators (registry packages,
|
|
3
|
+
* `settings.wrunRegistryRef`, and editor drafts) that sit on the chart with
|
|
4
|
+
* nothing rendering, or with a gap: the overlay is mounted, but no compute can
|
|
5
|
+
* (or could) fill it, or fill all of it. Two cases:
|
|
6
|
+
* - `source-error`: a full compute pass failed (a source lane deadline, no
|
|
7
|
+
* bars, a declined lane, a sandbox error). The add mounts first and runs
|
|
8
|
+
* in the background, so this is where a data problem shows: on the
|
|
9
|
+
* overlay's legend, with the message in the card and a Retry that reruns
|
|
10
|
+
* the pass, the same shape a kScript overlay uses for a data failure.
|
|
11
|
+
* - `refusal`: the typed refusal record (wrun-refusal.util.ts) of a run or a
|
|
12
|
+
* live tick (`owner`): the chip is its short label, the card's sentence its
|
|
13
|
+
* one sentence (never technical), `refusal` its canonical JSON for the card's
|
|
14
|
+
* way out, `retryable` only when that way out is Retry. Projected and
|
|
15
|
+
* retracted per owner by wrun-refusal-surface.util.ts.
|
|
16
|
+
*
|
|
17
|
+
* Projected onto the SHIPPED legend error chip through the same call shape
|
|
18
|
+
* every other standing writer uses (`tc.updateSettings(ovId, { errorMessage
|
|
19
|
+
* })`, see pack-failure-chip.util.ts), with the same discipline:
|
|
20
|
+
* - OWNERSHIP: every payload carries `source: 'wrun-inert'`; a shown
|
|
21
|
+
* errorMessage another writer owns is never overwritten or cleared.
|
|
22
|
+
* - SYMMETRY: the state is cleared by the registry loader the moment it
|
|
23
|
+
* revives the overlay (rehydrateWrunRegistryOverlays), and by the run pass
|
|
24
|
+
* on its next SUCCESS (never on a run merely starting, so repeated failing
|
|
25
|
+
* reruns never flicker it), so a retry or the next chart wave heals the
|
|
26
|
+
* chip together with the pane.
|
|
27
|
+
* - CHANGE-ONLY writes (updateIndicatorErrorMessageIfChanged): repeated boot
|
|
28
|
+
* seams stamp the same state without re-arming legend rebuilds.
|
|
29
|
+
*/
|
|
30
|
+
import { wrunChartHostEnv } from '../../host-env.js';
|
|
31
|
+
import { updateIndicatorErrorMessageIfChanged, } from '../chart/indicator-error-message.util.js';
|
|
32
|
+
import { serializeWrunRefusal } from './wrun-refusal.util.js';
|
|
33
|
+
import { wrunRefusalChipLabel, wrunRefusalSentence } from './wrun-refusal-text.util.js';
|
|
34
|
+
/** Ownership stamp inside the errorMessage payload. */
|
|
35
|
+
export const WRUN_INERT_LEGEND_SOURCE = 'wrun-inert';
|
|
36
|
+
function currentErrorMessage(tc, indicatorId) {
|
|
37
|
+
const meta = tc.metadata?.find((m) => m?.id === indicatorId);
|
|
38
|
+
return meta?.settings?.errorMessage;
|
|
39
|
+
}
|
|
40
|
+
function foreignErrorMessageShown(tc, indicatorId) {
|
|
41
|
+
const current = currentErrorMessage(tc, indicatorId);
|
|
42
|
+
return !!current && current.show === true && current.source !== WRUN_INERT_LEGEND_SOURCE;
|
|
43
|
+
}
|
|
44
|
+
/** A chart surface without the settings door (a bare test double, a torn
|
|
45
|
+
* down instance) is inert for this writer, never a throw on the run path. */
|
|
46
|
+
function canWrite(tc) {
|
|
47
|
+
return !!tc && typeof tc.updateSettings === 'function';
|
|
48
|
+
}
|
|
49
|
+
/** True while this writer's state is the shown legend chip. */
|
|
50
|
+
export function isWrunInertLegendShown(tc, indicatorId) {
|
|
51
|
+
const current = currentErrorMessage(tc, indicatorId);
|
|
52
|
+
return !!current && current.show === true && current.source === WRUN_INERT_LEGEND_SOURCE;
|
|
53
|
+
}
|
|
54
|
+
function wrunInertLegendText(state) {
|
|
55
|
+
switch (state.kind) {
|
|
56
|
+
case 'source-error':
|
|
57
|
+
return wrunChartHostEnv().t('wrunOverlay.legendSourceError');
|
|
58
|
+
case 'refusal':
|
|
59
|
+
return wrunRefusalChipLabel(state.refusal);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The legend payload of a refusal record: the chip is its short label, the tooltip and the card's
|
|
64
|
+
* `details` its one sentence (never the raiser's technical text, which stays in the record for
|
|
65
|
+
* Copy details), `refusal` the canonical JSON the card reads its way out from. A note is `info`,
|
|
66
|
+
* a refusal that drew nothing `warning`; `retryable` only for a Retry way out. All primitives, so
|
|
67
|
+
* an equal record writes once (the change-only comparator). `source` defaults to this writer's
|
|
68
|
+
* stamp; a writer with its own slot ownership (the CME wall's) names its own.
|
|
69
|
+
*/
|
|
70
|
+
export function buildWrunRefusalErrorMessage(r, opts) {
|
|
71
|
+
const sentence = wrunRefusalSentence(r);
|
|
72
|
+
return {
|
|
73
|
+
hostCard: true,
|
|
74
|
+
show: true,
|
|
75
|
+
text: wrunRefusalChipLabel(r),
|
|
76
|
+
tooltip: sentence,
|
|
77
|
+
details: sentence,
|
|
78
|
+
refusal: serializeWrunRefusal(r),
|
|
79
|
+
severity: r.severity === 'note' ? 'info' : 'warning',
|
|
80
|
+
count: 1,
|
|
81
|
+
selfHealing: false,
|
|
82
|
+
...(r.out.kind === 'retry' ? { retryable: true } : {}),
|
|
83
|
+
source: opts?.source ?? WRUN_INERT_LEGEND_SOURCE,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
/** Project the state onto the overlay's legend chip. Returns true when a
|
|
87
|
+
* write happened (false: a foreign writer owns the slot, or unchanged). */
|
|
88
|
+
export function applyWrunInertLegendState(tc, indicatorId, state) {
|
|
89
|
+
if (!canWrite(tc) || foreignErrorMessageShown(tc, indicatorId))
|
|
90
|
+
return false;
|
|
91
|
+
if (state.kind === 'refusal') {
|
|
92
|
+
// Its projector reports it (wrun-refusal-surface writeTop: the attempt is the surface's).
|
|
93
|
+
return updateIndicatorErrorMessageIfChanged(tc, indicatorId, buildWrunRefusalErrorMessage(state.refusal));
|
|
94
|
+
}
|
|
95
|
+
// A source error: the chip stays a short label; the message rides `details`
|
|
96
|
+
// into the host card (the runtime-diagnostics payload shape), which also
|
|
97
|
+
// offers Retry off the `retryable` flag. Its writers hold no attempt:
|
|
98
|
+
// reported here.
|
|
99
|
+
const wrote = updateIndicatorErrorMessageIfChanged(tc, indicatorId, {
|
|
100
|
+
hostCard: true,
|
|
101
|
+
show: true,
|
|
102
|
+
text: wrunInertLegendText(state),
|
|
103
|
+
tooltip: state.message,
|
|
104
|
+
details: state.message,
|
|
105
|
+
severity: 'error',
|
|
106
|
+
count: 1,
|
|
107
|
+
selfHealing: false,
|
|
108
|
+
retryable: true,
|
|
109
|
+
source: WRUN_INERT_LEGEND_SOURCE,
|
|
110
|
+
});
|
|
111
|
+
if (wrote)
|
|
112
|
+
wrunChartHostEnv().diagnostics.reportFailureShown({ surface: 'legend', tc, indicatorId, state });
|
|
113
|
+
return wrote;
|
|
114
|
+
}
|
|
115
|
+
/** Clear ONLY a chip this writer owns (never a foreign message, and no
|
|
116
|
+
* spurious write on overlays that never carried the state). */
|
|
117
|
+
export function clearWrunInertLegendState(tc, indicatorId) {
|
|
118
|
+
if (!canWrite(tc) || !isWrunInertLegendShown(tc, indicatorId))
|
|
119
|
+
return false;
|
|
120
|
+
return updateIndicatorErrorMessageIfChanged(tc, indicatorId, {
|
|
121
|
+
show: false,
|
|
122
|
+
text: '',
|
|
123
|
+
source: WRUN_INERT_LEGEND_SOURCE,
|
|
124
|
+
});
|
|
125
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import type { WrunIndicatorMetadata, WrunInputSource } from '../../interfaces/wrun-runtime.interface.js';
|
|
2
|
+
import { type WrunLaneService } from '../chart/index-mode-admission.util.js';
|
|
3
|
+
export type WrunInputRequirement = ({
|
|
4
|
+
kind: 'chart-market';
|
|
5
|
+
inputs: string[];
|
|
6
|
+
sourceClass: string;
|
|
7
|
+
gatewayType: string;
|
|
8
|
+
minIntervalMs?: number;
|
|
9
|
+
maxIntervalMs?: number;
|
|
10
|
+
} | {
|
|
11
|
+
kind: 'provider';
|
|
12
|
+
inputs: string[];
|
|
13
|
+
sourceClass: string;
|
|
14
|
+
provider: string;
|
|
15
|
+
coins: readonly string[] | 'deribit-listed' | 'chart-coin';
|
|
16
|
+
/** ETF lanes: the fund's coin must be the candidate's (`all`: any coin with listed funds). */
|
|
17
|
+
fund?: string;
|
|
18
|
+
issuer?: string;
|
|
19
|
+
minIntervalMs?: number;
|
|
20
|
+
maxIntervalMs?: number;
|
|
21
|
+
}
|
|
22
|
+
/** `auto` | `deribit` | `cme` | a crypto venue word. `sourceClass`: a chain row lane's class (`option_surface`,
|
|
23
|
+
* sources/row-lanes: it reads the chart's chain through the options chain's own venue decision, on its own row
|
|
24
|
+
* lane, so no admission lane judges it); absent: the options chain lane itself. */
|
|
25
|
+
| {
|
|
26
|
+
kind: 'options';
|
|
27
|
+
inputs: string[];
|
|
28
|
+
venueWord: string;
|
|
29
|
+
sourceClass?: string;
|
|
30
|
+
}
|
|
31
|
+
/** Market-independent: a switch cannot change it. `minIntervalMs` is the pinned market's own
|
|
32
|
+
* chart floor (an odds market rides MINUTE and coarser charts). */
|
|
33
|
+
| {
|
|
34
|
+
kind: 'pinned';
|
|
35
|
+
inputs: string[];
|
|
36
|
+
exchange: string;
|
|
37
|
+
symbol: string;
|
|
38
|
+
minIntervalMs?: number;
|
|
39
|
+
} | {
|
|
40
|
+
kind: 'global';
|
|
41
|
+
inputs: string[];
|
|
42
|
+
sourceClass: string;
|
|
43
|
+
}
|
|
44
|
+
/** A row lane reading a governed plane's rows for the chart's own underlying (`governed: 'opra'`): met where the
|
|
45
|
+
* candidate's options ride that plane, for an overlay the plane is open to. */
|
|
46
|
+
| {
|
|
47
|
+
kind: 'governed';
|
|
48
|
+
inputs: string[];
|
|
49
|
+
sourceClass: string;
|
|
50
|
+
plane: 'opra';
|
|
51
|
+
}) & {
|
|
52
|
+
/** The size units (`market.size_unit()` codes) of the markets the inputs are read on: their
|
|
53
|
+
* sources' `needed_by` (kit 0.72.0). Absent = every market. A candidate of another size unit
|
|
54
|
+
* meets the requirement without the feed. Never on a pin or an options chain: the run plans and
|
|
55
|
+
* checks a pinned leg whatever the market needs (planWrunPinnedWires reads every input), so a
|
|
56
|
+
* refused pin refuses there too. */
|
|
57
|
+
neededBy?: readonly number[];
|
|
58
|
+
/** The OPTIONAL inputs (of `inputs`): each declares a fill it reads where the chart's fetch never
|
|
59
|
+
* serves its lane, so the run draws without the lane (`wrunInputDrawsWithoutLane` on a state
|
|
60
|
+
* lane or funding; `missing: "nan"` or `"zero"` on a registry poll lane, planWrunPollLanes).
|
|
61
|
+
* Recorded only on a lane whose absence can hold the run: a quiet lane's readers (book, trades,
|
|
62
|
+
* oi, liquidations, tape) draw without it whatever they declare. Absent: none is optional. */
|
|
63
|
+
optional?: readonly string[];
|
|
64
|
+
};
|
|
65
|
+
/** The gateway type each chart-market class's lane fetches (its K control's data type). */
|
|
66
|
+
export declare const CHART_MARKET_GATEWAY_TYPES: Readonly<Record<string, string>>;
|
|
67
|
+
/** K_OHLCV's gateway type: the chart market's candles an intrabar input slices into its rows. */
|
|
68
|
+
export declare const K_OHLCV_GATEWAY_TYPE = "TRADE_SIDE_AGNOSTIC_AGG";
|
|
69
|
+
/** The coins with listed spot ETFs (`ETF_COVERED_COINS`, copied: that module drags the i18n
|
|
70
|
+
* catalog; the spec pins the copy). */
|
|
71
|
+
export declare const WRUN_ETF_COVERED_COINS: readonly string[];
|
|
72
|
+
export declare function intervalSpanMs(word: unknown): number | undefined;
|
|
73
|
+
/** A requirement before its inputs are filled in. */
|
|
74
|
+
type RequirementShape = WrunInputRequirement extends infer R ? (R extends unknown ? Omit<R, 'inputs'> : never) : never;
|
|
75
|
+
/** The classes the table has a row for (the spec holds it to the row builder and the registries): its own rows,
|
|
76
|
+
* then every row lane's (derived from the descriptor, `wrunRowLaneRequirement`). */
|
|
77
|
+
export declare function wrunRequirementClasses(): string[];
|
|
78
|
+
/**
|
|
79
|
+
* The requirements of an effective sheet (settings applied), one entry per distinct requirement
|
|
80
|
+
* with every input that shares it, in input order. An input of a class outside the table yields a
|
|
81
|
+
* chart-market requirement with an empty gateway type: unknown, never "needs nothing".
|
|
82
|
+
*/
|
|
83
|
+
export declare function wrunInputRequirements(effectiveSheet: WrunIndicatorMetadata): WrunInputRequirement[];
|
|
84
|
+
/**
|
|
85
|
+
* Whether an input reads its declared fill over an empty lane instead of holding the run (the
|
|
86
|
+
* honest-picture rule's quiet reader): a scalar input's `missing: "nan"` blanks the outputs it
|
|
87
|
+
* feeds, and a celled input's `missing: "empty"` (frozen authoring contract C1.2: on celled inputs
|
|
88
|
+
* `missing` accepts only "empty") reads an EMPTY block on every bar.
|
|
89
|
+
*/
|
|
90
|
+
export declare function wrunInputReadsFillOverEmptyLane(input: Pick<WrunIndicatorMetadata['inputs'][number], 'cellType'>, source: Pick<WrunInputSource, 'missing'> | undefined): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Whether an input draws without the row-builder lane it reads where the chart's fetch never serves
|
|
93
|
+
* that lane, instead of holding the run: always over a quiet lane; over funding unless it rides the
|
|
94
|
+
* default carry policy (`missing` absent or "carry": an absent rate has nothing to carry); over a
|
|
95
|
+
* state lane only through its fill over an empty lane (`wrunInputReadsFillOverEmptyLane`).
|
|
96
|
+
*/
|
|
97
|
+
export declare function wrunInputDrawsWithoutLane(lane: string, input: Pick<WrunIndicatorMetadata['inputs'][number], 'cellType'>, source: Pick<WrunInputSource, 'missing'> | undefined): boolean;
|
|
98
|
+
/** The row-builder lane a requirement reads, when the capability rule judges it. */
|
|
99
|
+
export declare function admissionLaneOf(req: RequirementShape): string | undefined;
|
|
100
|
+
/** A registry poll lane's requirement (planWrunPollLanes plans it): a provider or chart-market row
|
|
101
|
+
* that is no row-builder lane, nor the chart's own candles, nor a class the table does not know. */
|
|
102
|
+
export declare function isPollLaneRequirement(req: RequirementShape): boolean;
|
|
103
|
+
/** Whether a requirement's inputs hold the run without their lane: one of them is not optional, on
|
|
104
|
+
* a lane whose absence can hold it (a state lane, funding, a registry poll lane). */
|
|
105
|
+
export declare function holdsWithoutLane(req: WrunInputRequirement): boolean;
|
|
106
|
+
/** One row-builder lane the chart's fetch never serves on a market (the capability verdict). */
|
|
107
|
+
export interface WrunUnservedLane {
|
|
108
|
+
/** The lane's source class (`volume_profile`, `book`, ...). */
|
|
109
|
+
lane: string;
|
|
110
|
+
/** The fetch type the dispatcher's admission judged. */
|
|
111
|
+
type: string;
|
|
112
|
+
/** The fact that refused it there: the index-mode admission, the market-kind table, the coin table. */
|
|
113
|
+
service: Extract<WrunLaneService, {
|
|
114
|
+
served: false;
|
|
115
|
+
}>;
|
|
116
|
+
/** The readers judged, by input index. */
|
|
117
|
+
inputNames: string[];
|
|
118
|
+
/** A trades leg's market, judged there (kit 0.77.0); absent: the chart's. */
|
|
119
|
+
market?: {
|
|
120
|
+
exchange: string;
|
|
121
|
+
symbol: string;
|
|
122
|
+
};
|
|
123
|
+
/** The first reader the market demands (by input index) that cannot draw without the lane
|
|
124
|
+
* (`wrunInputDrawsWithoutLane`): the run refuses by its name. Absent: the lane stays undispatched
|
|
125
|
+
* and every reader reads its fill. */
|
|
126
|
+
holding?: {
|
|
127
|
+
name: string;
|
|
128
|
+
celled: boolean;
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
/** The capability verdict of one row-builder lane on a market: undefined while the chart's fetch
|
|
132
|
+
* serves it there, and for a class that is no row-builder lane. A lane asked on the fetch's
|
|
133
|
+
* native-rows path (`nativeRows`: its rows are not the market's own) is served wherever it is asked. */
|
|
134
|
+
export declare function unservedLaneOn(lane: string, market: {
|
|
135
|
+
exchange: string | undefined;
|
|
136
|
+
coin: string;
|
|
137
|
+
}, nativeRows?: boolean): Pick<WrunUnservedLane, 'type' | 'service'> | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* The capability rule on one market, before any fetch: every row-builder lane the sheet demands (an
|
|
140
|
+
* input the sheet on the market left undemanded, its `needed_by`, asks none) that the chart's fetch
|
|
141
|
+
* never serves there (`wrunLaneServiceOnMarket`: the dispatcher's index-mode admission, the
|
|
142
|
+
* market-kind table and the coin table, never an empty window), in the run's declaration order,
|
|
143
|
+
* with the reader it cannot draw without; a trades leg on its own market. The run pass refuses on
|
|
144
|
+
* the first lane holding one and leaves the others undispatched, their readers on their fill; the
|
|
145
|
+
* picker greys a row on the same verdict (`wrunMarketRefusesBeforeFetch`). `nativeLanes` names the
|
|
146
|
+
* lanes this run asks on the fetch's native-rows path (a governed options chain, CME or OPRA, the run
|
|
147
|
+
* resolved before this rule): their rows are their plane's, so the market's admission never judges them.
|
|
148
|
+
*/
|
|
149
|
+
export declare function wrunUnservedLanes(sheet: Pick<WrunIndicatorMetadata, 'inputs' | 'inputSources'>, market: {
|
|
150
|
+
exchange: string | undefined;
|
|
151
|
+
coin: string;
|
|
152
|
+
}, opts?: {
|
|
153
|
+
nativeLanes?: readonly string[];
|
|
154
|
+
}): WrunUnservedLane[];
|
|
155
|
+
export {};
|