@orangecharts/wrun-chart-host 0.16.0 → 0.17.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.
Files changed (54) hide show
  1. package/README.md +1 -0
  2. package/dist/constants/feature-flags.constants.d.ts +3 -5
  3. package/dist/constants/feature-flags.constants.js +24 -31
  4. package/dist/constants/feature-limits.constants.d.ts +2 -2
  5. package/dist/constants/feature-limits.constants.js +8 -6
  6. package/dist/constants/marketCapabilities.constants.d.ts +9 -0
  7. package/dist/constants/marketCapabilities.constants.js +39 -11
  8. package/dist/constants/typed-indicator-source.leaf.d.ts +7 -0
  9. package/dist/constants/typed-indicator-source.leaf.js +47 -0
  10. package/dist/constants/typed-session-history-venue.leaf.d.ts +7 -0
  11. package/dist/constants/typed-session-history-venue.leaf.js +9 -0
  12. package/dist/constants/typed-width-fold.leaf.d.ts +7 -5
  13. package/dist/constants/typed-width-fold.leaf.js +7 -5
  14. package/dist/host-ports.types.d.ts +12 -17
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.js +1 -0
  17. package/dist/interfaces/kscript-diagnostics.interface.d.ts +7 -0
  18. package/dist/interfaces/wrun-runtime.interface.d.ts +6 -3
  19. package/dist/settings-templates/indicator-fields.js +5 -0
  20. package/dist/utility/chart/index-mode-admission.util.js +9 -1
  21. package/dist/utility/chart/index-mode.util.d.ts +2 -2
  22. package/dist/utility/chart/index-mode.util.js +12 -6
  23. package/dist/utility/chart/index-otc.leaf.d.ts +37 -0
  24. package/dist/utility/chart/index-otc.leaf.js +68 -0
  25. package/dist/utility/chart/kscript-provenance-keys.util.js +6 -0
  26. package/dist/utility/chart/market-session-schedule.util.d.ts +19 -0
  27. package/dist/utility/chart/market-session-schedule.util.js +2 -1
  28. package/dist/utility/chart/marketKind.util.d.ts +10 -5
  29. package/dist/utility/chart/marketKind.util.js +39 -5
  30. package/dist/utility/chart/mixed-mode.util.d.ts +1 -0
  31. package/dist/utility/market-events/market-events.util.js +3 -0
  32. package/dist/utility/scriptEditor/wrun-runtime-diagnostics.leaf.js +2 -0
  33. package/dist/utility/v2/v2-enums.leaf.js +2 -0
  34. package/dist/utility/wrun/sources/row-lanes/dark_pool.d.ts +2 -1
  35. package/dist/utility/wrun/sources/row-lanes/dark_pool.js +4 -3
  36. package/dist/utility/wrun/wrun-batched-marks.util.d.ts +6 -2
  37. package/dist/utility/wrun/wrun-batched-marks.util.js +37 -6
  38. package/dist/utility/wrun/wrun-chart-market-facts.util.d.ts +15 -8
  39. package/dist/utility/wrun/wrun-chart-market-facts.util.js +11 -8
  40. package/dist/utility/wrun/wrun-cme-root-specs.util.d.ts +10 -6
  41. package/dist/utility/wrun/wrun-cme-root-specs.util.js +19 -13
  42. package/dist/utility/wrun/wrun-live-tick.util.js +5 -1
  43. package/dist/utility/wrun/wrun-market-size-defaults.leaf.js +40 -6
  44. package/dist/utility/wrun/wrun-market-size-defaults.util.d.ts +2 -2
  45. package/dist/utility/wrun/wrun-market-size-defaults.util.js +10 -8
  46. package/dist/utility/wrun/wrun-overlay-drivers.util.d.ts +3 -0
  47. package/dist/utility/wrun/wrun-overlay-run.util.d.ts +2 -0
  48. package/dist/utility/wrun/wrun-overlay-run.util.js +44 -8
  49. package/dist/utility/wrun/wrun-pin-venues.util.d.ts +3 -2
  50. package/dist/utility/wrun/wrun-pin-venues.util.js +6 -3
  51. package/dist/utility/wrun/wrun-run-health.util.js +1 -1
  52. package/dist/utility/wrun/wrun-session-composition.util.d.ts +3 -2
  53. package/dist/utility/wrun/wrun-session-composition.util.js +3 -2
  54. package/package.json +5 -5
package/README.md CHANGED
@@ -128,6 +128,7 @@ What each published version holds. A host installs a version with the peers of i
128
128
 
129
129
  | Version | Peers | What changed |
130
130
  | --- | --- | --- |
131
+ | 0.17.0 | `@orangecharts/indicator-kit` 0.121.0, `@orangecharts/orange-v2-pb-common` 12.86.0, `dayjs` 1.11.23, `lodash-es` 4.18.1 | Three things a host acts on. The marks section's `text.place` gains `fit` (2: the size inside the mark where the full number fits, else beside it), `fit_short` (3: as `fit`, rounded inside when only the rounded number fits) and `fit_only` (4: as `fit_short`, never beside), and the mount refuses them by name on an engine whose marks pack is below level 3 (`fit`) or 4 (the other two); 0.16.0 refuses a section that names one ("Needs a newer chart"). The data-fetching loader view supplies `mainRowsLoadedFor(chartIndex, metadata)` in place of `loadedMainIdentityOf` (`WrunLoadedMainIdentity` leaves): the host answers whether the mounted main rows are that metadata's market, so a chart whose rows come from another market (a US stock on Trades) proves its candles. The market size defaults count the last trading day on the market's own clock (whole days it stood closed are no part of it), so the first candles after a weekend or a holiday no longer read as a whole day. The peers move with web: the kit from 0.119.0 to 0.121.0 and the protocol enums from 12.84.0 to 12.86.0 (the index and yield venue, `utility/chart/index-otc.leaf`, joins the public modules). The other package commits landed since 0.16.0 ride along (`git log f9aeda13fd.. -- packages/wrun-chart-host` in the web repo). |
131
132
  | 0.16.0 | `@orangecharts/indicator-kit` 0.119.0, `@orangecharts/orange-v2-pb-common` 12.84.0, `dayjs` 1.11.23, `lodash-es` 4.18.1 | The peers web's /v3 step 3 moved to: the protocol enums peer from 12.82.0 to 12.84.0 and the kit peer from 0.116.1 (what npm's 0.15.0 declares) to 0.119.0. The package commits landed since 0.15.0 ride along (`git log 3bfefce876.. -- packages/wrun-chart-host` in the web repo). |
132
133
  | 0.12.0 | `@orangecharts/indicator-kit` 0.107.0, `@orangecharts/orange-v2-pb-common` 12.80.0, `dayjs` 1.11.23, `lodash-es` 4.18.1 | Contract F on `options_flow`: an input's `underlying` (`"auto"`, `"derived"`, a root in capitals or `"@<param>"`) reads that root's flow under scopes `ticker` and `prints` (`WRUN_UNDERLYING_CLASSES` gains `options_flow`). `utility/wrun/derived-roots.util` holds the planner step both planners call (`planWrunLaneUnderlying`, `WrunLaneUnderlyingPlan`, where the row lanes kept their own copy); `planWrunPollLanes` plans a root's input against the root's market and names the market in the instance's extras (`WRUN_POLL_LANE_UNDERLYING_FIELD`, `underlyingMarket`), so an `"auto"` input and a root's input are two instances, and an `"auto"` input's key is unchanged. The flow lane resolves one chart per run and market (a root's input never reads the chart's chain) and refuses a root beside a scope that spans underlyings by `wrun_option_knob_invalid` in om's words (`utility/wrun/wrun-options-flow-underlying.leaf`, a new module off the boot path: `WRUN_OPTIONS_FLOW_UNDERLYING_SCOPES`, `wrunOptionsFlowUnderlyingScopeTakes`), as `wrunUnderlyingKnob` does before any market. The knob's grammar (`wrunUnderlyingKnobOf`, `wrunUnderlyingSettingName`) moves to `utility/wrun/derived-roots.leaf`, re-exported by `derived-roots.util`, and the painted sheet writes a setting's pick into `underlying` (`laneWordWrites`, through `wrun-color-settings.util` `wrunSelectPickWord`, the read `resolveWrunUnderlyingSettingKnob` shares); availability (`wrunInputRequirements`) still judges every options read on the chart's own chain. `planWrunLaneUnderlying`, `wrunUnderlyingRootOf`, `wrunUnderlyingUnresolvedError` and `resolveWrunUnderlyingMarket` take the planner's fills last (optional, a celled input's `["empty"]` by default; `resolveWrunUnderlyingMarket` keeps `chartChain` fourth), so a refusal names the fill the input may declare. `wrunMetadataSourceCount` keys `options_flow` by its `underlying` too, and another root's print sums ride no print read's slot. The kit peer moves from 0.105.0 to 0.106.5 and the protocol enums peer from 12.78.0 to 12.79.0. The package commits landed since 0.11.0 ride along (`git log 099b00cf4f.. -- packages/wrun-chart-host` in the web repo). |
133
134
  | 0.11.0 | `@orangecharts/indicator-kit` 0.105.0, `@orangecharts/orange-v2-pb-common` 12.78.0, `dayjs` 1.11.23, `lodash-es` 4.18.1 | D-DEDUPE phase 1b, the book folds on `options_chain`: an input's `page_view` / `page_views` may name the data plane's folds of the chain page's whole book (`numbers`, `vol_term`, `smile`, `surface`, `strike_profile`; kit scaffold 105), the numbers the built-in options panes draw. `utility/wrun/wrun-option-views.util` copies the kit's book tables, pinned to it (`WRUN_OPTION_BOOK_VIEWS`, `WRUN_OPTION_BOOK_VIEW_ROW_WIDTHS`, `WRUN_OPTION_BOOK_EXPIRIES_TAKES`, `WRUN_OPTION_BOOK_SCOPE_TAKES`, and `WRUN_OPTION_BOOK_SHARED_KNOBS`, the knobs a view of the block shares with a book fold) and rules (`wrunOptionViewWordsRowWidth`, `wrunOptionViewRowWidthsOf`, `wrunOptionViewsReadBlock`, `wrunOptionBookViewIssue`); the answer's half, `utility/wrun/wrun-option-book-rows.util` (`WRUN_OPTION_BOOK_LAYOUTS`, `WRUN_OPTION_BOOK_LAYOUT_WIDTHS`, `WRUN_OPTION_BOOK_STAMP_VERSION`, `wrunOptionBookViewRows`, `wrunOptionIsBookLayout`), loads with a host's chain transport alone, out of what the chart parses before its first candle; `wrunOptionViewSpec` answers a book word's spec, `WrunOptionKnobSpec` takes `zero` (a book fold's part turned off) and `WrunOptionView.view` widens to `WrunOptionPageViewWord`. A book fold plans (`wrunOptionViewsOfSource` judges its knobs by the kit's rules, `wrun_option_knob_invalid`; `wrunOptionViewUnread` still refuses the folds of the block, which read the chart's close), and its ask carries each view's declared params alone: `wrunOptionViewLaneFields` and `wrunOptionViewAskFieldsOf` drop the expiries word and the max-contracts size from an ask of book folds alone, and keep them for a mixed ask's views of the block. The input's block is the view block at the widest of its words (`wrunOptionInputTupleWidth`, `wrunOptionLaneTupleWidth`: 11, 12, 13 or 16 values a row). `wrunOptionViewsUnion` refuses by name one lane's inputs that read a book fold and different views (`wrun_option_book_views_one_ask`: the lane asks their union once, and a book row names no input) and a union of more than 16 views (`wrun_option_views_too_many`, the data plane's most). A host's chain transport lays an answer's book entries out with `wrunOptionBookViewRows` (one book stamp row, then each fold's rows; its refusals by name) and asks a book fold at no bar (web: the `k-options-chain` worker, keyed as the built-in panes and the Options panel head key the same folds, one read for all). The kit peer moves from 0.103.1 to 0.105.0. The package commits landed since 0.10.0 ride along (`git log 357b44995c.. -- packages/wrun-chart-host` in the web repo). |
@@ -16,11 +16,8 @@ export declare const FeatureFlag: {
16
16
  readonly CoinbaseDerivativesExecution: "coinbase-derivatives-execution";
17
17
  readonly BrokerVenueLaneRithmic: "broker-venue-lane-rithmic";
18
18
  readonly BrokerVenueLaneNinjaTrader: "broker-venue-lane-ninjatrader";
19
- readonly PolymarketExecution: "polymarket-execution";
20
- readonly TradingHub: "trading-hub";
21
19
  readonly TradingVolume: "trading-volume";
22
20
  readonly DataLoadHealRegister: "data-load-heal-register";
23
- readonly CollabSyncV2: "collab-sync-v2";
24
21
  readonly DataLoadCrossChartJoin: "data-load-cross-chart-join";
25
22
  readonly DataLoadFamilySecondChild: "data-load-family-second-child";
26
23
  readonly ToolsDelta: "tools-delta";
@@ -40,8 +37,7 @@ export declare const FeatureFlag: {
40
37
  readonly Opra: "opra";
41
38
  readonly UsEquitiesFull: "us-equities-full";
42
39
  readonly CmeEngine: "cme-engine";
43
- readonly VariationalMarkets: "variational-markets";
44
- readonly OptionsPanel: "options-panel";
40
+ readonly IndicesOtc: "indices-otc";
45
41
  readonly OpraUserScripts: "opra-user-scripts";
46
42
  readonly CmeUserScripts: "cme-user-scripts";
47
43
  readonly CmeLanes: "cme-lanes";
@@ -68,7 +64,9 @@ export declare const FeatureFlag: {
68
64
  readonly DrawingAlertOneClick: "drawing-alert-one-click";
69
65
  readonly DrawingsUnderCandles: "drawings-under-candles";
70
66
  readonly TypedIntervalWidths: "typed-interval-widths";
67
+ readonly TypedServerFutures: "typed-server-futures";
71
68
  readonly DrawToTrade: "draw-to-trade";
69
+ readonly ChartDraftOrder: "chart-draft-order";
72
70
  readonly PaneSides: "pane-sides";
73
71
  };
74
72
  export type FeatureFlagKey = (typeof FeatureFlag)[keyof typeof FeatureFlag];
@@ -57,10 +57,7 @@ export const FeatureFlag = {
57
57
  // localStorage override lights it locally (`kiyo.flag-overrides` -> `{"lighter-execution": true}`).
58
58
  // Mint it enabled to open it up. A key this browser already holds keeps trading after it turns off.
59
59
  LighterExecution: 'lighter-execution',
60
- // Futures order entry through the user's own Rithmic-enabled broker account (connect dialog, order
61
- // ticket, working orders and positions, and the live quote from the user's own feed); the credential
62
- // lives only in the browser tab. Read through `isOn`: unminted, absent and guest all read off; the
63
- // dev/internal localStorage override lights it locally (`kiyo.flag-overrides` -> `{"futures-trading": true}`).
60
+ // Kill switch of the futures lane, default ON (futures-trading-gate.util isFuturesTradingOn).
64
61
  FuturesTrading: 'futures-trading',
65
62
  // Bring-your-own-feed Part 2, one key per kind of data so each ships when Rithmic permits it (all on
66
63
  // top of `futures-trading`; the localStorage override lights them for building and testing):
@@ -94,20 +91,6 @@ export const FeatureFlag = {
94
91
  // The same string values as the package's `FeatureFlag` leaf, which the venue flag mirror hands to `isOn`.
95
92
  BrokerVenueLaneRithmic: 'broker-venue-lane-rithmic',
96
93
  BrokerVenueLaneNinjaTrader: 'broker-venue-lane-ninjatrader',
97
- // Polymarket execution (docs/features/polymarket-execution/README.md): the prediction-market venue, a
98
- // lane of its own beside the exchange seam. Its own key, read through `isOn` by
99
- // `isPolymarketExecutionOn`: unminted, absent and guest all read off, so production ships it dark; the
100
- // dev/internal localStorage override lights it locally (`kiyo.flag-overrides` ->
101
- // `{"polymarket-execution": true}`). Mint it enabled to open it up. A linked account this browser
102
- // already holds keeps trading after it turns off.
103
- PolymarketExecution: 'polymarket-execution',
104
- // The trading hub (docs/features/trading-hub/README.md): one Trade door beside the avatar that
105
- // folds the desktop's linking, accounts and trade settings into one dialog. Rides the master
106
- // trading flag AND this key, read through `isOn` (`isTradingHubOn`): unminted, absent and guest
107
- // all read off, so production ships it dark; an internal role reads it on through the server's
108
- // bypass, the dev/internal localStorage override lights it locally (`kiyo.flag-overrides` ->
109
- // `{"trading-hub": true}`). Mint it enabled to open it up. Phones keep today's surfaces either way.
110
- TradingHub: 'trading-hub',
111
94
  // Trading Volume (docs/features/trading-hub/trading-volume.md): the private page inside the trading
112
95
  // hub with the notional the account traded through OpenMarket on Hyperliquid, and its two doors (the
113
96
  // profile menu's row under Brokers, the Hyperliquid account page's row). Read through `isOn`
@@ -127,7 +110,6 @@ export const FeatureFlag = {
127
110
  // the immediate footprint heals, the multi-trigger resync and the
128
111
  // session-blind poll cadence for every cohort.
129
112
  DataLoadHealRegister: 'data-load-heal-register',
130
- CollabSyncV2: 'collab-sync-v2',
131
113
  // Data-loading plan S11 kill switch (DEFAULT ON, boot-provisional shape:
132
114
  // a compile-time HARD_KILL above `!isExplicitlyOff`, data-fetching.util
133
115
  // isCrossChartJoinEnabled): panes on the same market, interval and overlay
@@ -258,18 +240,14 @@ export const FeatureFlag = {
258
240
  // Read through `isOn`: unminted, absent and guest read off, so production ships it dark; light it only once
259
241
  // orange's CME engine mode is `live`. QA: `localStorage.setItem('kiyo.flag-overrides', '{"cme-engine":true}')`.
260
242
  CmeEngine: 'cme-engine',
261
- // Variational (VARIATIONAL perpetuals, VARIATIONAL_SWAP swaps) in pickers, search, recents, popular rows
262
- // and watchlist import: a flag-gated venue (exchange-visibility.util FLAG_GATED_EXCHANGES), read through
263
- // `isOn`, so unminted, absent and guest all read off and every surface ships it dark. An internal role
264
- // reads it on through the server's bypass once it is minted; the dev/internal override lights it
265
- // locally (`kiyo.flag-overrides` -> `{"variational-markets": true}`). A chart already on the venue
266
- // still loads (docs/features/data/quote-perp-venues.md). Mint it enabled to release the venue.
267
- VariationalMarkets: 'variational-markets',
268
- // The Options panel (the Options front door): the ticker bar's Options button, the panel itself and every door
269
- // to it, read through `isOptionsPanelOn()` (src/utility/options/options-panel-gate.util.ts) with `isOn`:
270
- // unminted, absent and guest all read off, so production ships it dark; minted disabled, an internal role reads
271
- // it on. QA: `localStorage.setItem('kiyo.flag-overrides', '{"options-panel":true}')`. Mint it enabled to open it up.
272
- OptionsPanel: 'options-panel',
243
+ // The index and yield venue (index-otc.leaf: stock indices, the dollar and volatility indices, US Treasury
244
+ // yields) in pickers, search, recents, popular rows and watchlist import: a flag-gated venue
245
+ // (exchange-visibility.util FLAG_GATED_EXCHANGES), read through `isOn`, so unminted, absent and guest all read
246
+ // off and every surface ships it dark. The dev/internal override lights it locally (`kiyo.flag-overrides` ->
247
+ // `{"indices-otc": true}`). It is also the venue's release door: the pinned enum names the exchange, and while
248
+ // this reads off the data worker keeps every read of the venue home (workers/series/unreleased-venues). Do not
249
+ // mint it before the launch round proves the venue on real data.
250
+ IndicesOtc: 'indices-otc',
273
251
  // User-authored scripts on OPRA. The OPRA licence covers user-authored scripting over OPRA data, in the
274
252
  // browser and on OpenMarket's servers (Kyle 2026-10-27, the signed set); this flag is the one product switch
275
253
  // for both lanes. While lit, a script the browser runs that the viewer wrote or added from the community (an
@@ -456,12 +434,27 @@ export const FeatureFlag = {
456
434
  // dark and a saved typed width is held on the rung at or below; `kiyo.flag-overrides` ->
457
435
  // `{"typed-interval-widths": true}`.
458
436
  TypedIntervalWidths: 'typed-interval-widths',
437
+ // Server-built candle history of custom sizes on the CME family (docs/features/chart/custom-intervals.md,
438
+ // "Server-built history on the CME family"): the main candle history of a size under a day on CME, CBOT, NYMEX or
439
+ // COMEX is asked of the gateway (CUSTOM plus `barSeconds`) instead of being folded in the data worker; the live
440
+ // candle and every indicator fold stay on the app build. Read through `isOn` (typedHistoryFlagOn) and mirrored to
441
+ // the data worker as its session bit (typed-width-reads.util `publishTypedSessionReads`): unminted, absent and guest
442
+ // read off, so production ships it dark and every chart loads through the app build; `kiyo.flag-overrides` ->
443
+ // `{"typed-server-futures": true}`.
444
+ TypedServerFutures: 'typed-server-futures',
459
445
  // Draw to trade (docs/features/hyperliquid/ticket.md, "Draw to trade"): the trade ticket's Draw button (one stroke on
460
446
  // the chart fills side, take profit and stop loss, sized by Risk), the Position drawing's "Send to trade panel" on
461
447
  // the quick bar and Super Search's "Draw a trade". Off: none of them shows. Read through `isOn`:
462
448
  // unminted, absent and guest read off, so production ships it dark; `kiyo.flag-overrides` ->
463
449
  // `{"draw-to-trade": true}`.
464
450
  DrawToTrade: 'draw-to-trade',
451
+ // Draft orders from the chart menu's price card (docs/features/hyperliquid/quick-trade-pill.md, "The draft on the
452
+ // chart"): where the card's order would open the Confirm order dialog (the order answer of Ask before sending is on
453
+ // for its lane), the press draws the order as a draft line instead (one pill, drag to move, TP and SL handles, the
454
+ // pill sends, the x drops it). Off: the card asks and sends exactly as before. Read through `isOn`
455
+ // (chart-menu-order.util `chartDraftOrderOn`): unminted, absent and guest read off, so production ships it dark;
456
+ // `kiyo.flag-overrides` -> `{"chart-draft-order": true}`.
457
+ ChartDraftOrder: 'chart-draft-order',
465
458
  // Pane on any side (PANES-ANY-SIDE-PLAN.md): an indicator's pane on the chart, left, right, top or bottom. Every
466
459
  // surface reads ONE predicate, this key AND the built-in engine's `paneSides` capability
467
460
  // (pane-sides-engine.util paneSidesActive). Read through `isOn`: unminted, absent and guest read off, so production
@@ -65,12 +65,12 @@ export declare const FEATURE_LIMITS: {
65
65
  readonly priceAlerts: {
66
66
  readonly free: 200;
67
67
  readonly plus: 500;
68
- readonly ultimate: 2000;
68
+ readonly ultimate: 1000;
69
69
  };
70
70
  readonly indicatorAlerts: {
71
71
  readonly free: 5;
72
72
  readonly plus: 50;
73
- readonly ultimate: 500;
73
+ readonly ultimate: 250;
74
74
  };
75
75
  readonly widgetsPerLayout: {
76
76
  readonly free: 3;
@@ -107,12 +107,14 @@ export const FEATURE_LIMITS = {
107
107
  // interest, funding, liquidations and the other native templates, no user
108
108
  // script to run); indicator alerts are user kScript, built-in indicator
109
109
  // scripts and hosted Indicators. Mirrors orange-v2-backend
110
- // src/utility/feature-gate.ts FEATURE_LIMITS.priceAlerts / .indicatorAlerts
111
- // and tharamine-user-service's agent-lane tier table
112
- // (src/controllers/api-v2/kscript-alert.controller.ts): change all three
113
- // together or the UI gate and the server 403 disagree.
114
- priceAlerts: { free: 200, plus: 500, ultimate: 2000 },
115
- indicatorAlerts: { free: 5, plus: 50, ultimate: 500 },
110
+ // src/utility/feature-gate.ts FEATURE_LIMITS.priceAlerts / .indicatorAlerts,
111
+ // tharamine-user-service's plan table (KSCRIPT_ALERT_PLAN_POLICY in
112
+ // src/constants/kscript-alert-plan.constants.ts, the one that is enforced)
113
+ // and the phone app's copy (kiyotaka-frontend-app
114
+ // src/features/gating/constants/feature-limits.ts): change all four
115
+ // together or the UI gate and the server refusal disagree.
116
+ priceAlerts: { free: 200, plus: 500, ultimate: 1000 },
117
+ indicatorAlerts: { free: 5, plus: 50, ultimate: 250 },
116
118
  widgetsPerLayout: { free: 3, plus: 10, ultimate: 40 },
117
119
  publishedLayouts: { free: 10, plus: 50, ultimate: 50 },
118
120
  // Domain clamps (limit access without counting created resources)
@@ -76,6 +76,15 @@ export declare const OPRA_OPTIONS_CAPABILITIES: IMarketCapabilities;
76
76
  * Fixed Range Volume Profile tool stand down. `getCapabilities` returns this for those exchanges.
77
77
  */
78
78
  export declare const ONCHAIN_POOL_CAPABILITIES: IMarketCapabilities;
79
+ /**
80
+ * Exchanges whose order book we do not serve, whatever their market kind supports. `getCapabilities`
81
+ * answers `supportsOrderbook: false` for each, and the order book panes leave them out of their
82
+ * exchange pickers. Add an exchange here to turn every book surface off for it.
83
+ *
84
+ * BITGET: since 2026-10-15 Bitget sends the live book of its stock tokens only to accounts with a
85
+ * permission we do not hold, so the backend stopped collecting it.
86
+ */
87
+ export declare const NO_ORDERBOOK_EXCHANGES: readonly string[];
79
88
  export declare const MARKET_CAPABILITIES: Record<VenueMarketKind, IMarketCapabilities>;
80
89
  /** Every market kind (the FE `'futures'` kind included). Derived from
81
90
  * `MARKET_CAPABILITIES` so adding a new kind to the registry automatically
@@ -67,18 +67,28 @@ export const ONCHAIN_POOL_CAPABILITIES = {
67
67
  supportsOrderbook: false,
68
68
  alertSymbolMode: 'slug',
69
69
  };
70
+ const CRYPTO_CAPABILITIES = {
71
+ barTimestamps: 'uniform',
72
+ fetchMode: 'period',
73
+ supportsVolumeStats: true,
74
+ supportsTradesFeed: true,
75
+ supportsMarketStats: true,
76
+ supportsFRVP: true,
77
+ supportsOrderbook: true,
78
+ alertSymbolMode: 'slug',
79
+ allowsCalendarIntervals: true,
80
+ };
81
+ /**
82
+ * Exchanges whose order book we do not serve, whatever their market kind supports. `getCapabilities`
83
+ * answers `supportsOrderbook: false` for each, and the order book panes leave them out of their
84
+ * exchange pickers. Add an exchange here to turn every book surface off for it.
85
+ *
86
+ * BITGET: since 2026-10-15 Bitget sends the live book of its stock tokens only to accounts with a
87
+ * permission we do not hold, so the backend stopped collecting it.
88
+ */
89
+ export const NO_ORDERBOOK_EXCHANGES = ['BITGET'];
70
90
  export const MARKET_CAPABILITIES = {
71
- crypto: {
72
- barTimestamps: 'uniform',
73
- fetchMode: 'period',
74
- supportsVolumeStats: true,
75
- supportsTradesFeed: true,
76
- supportsMarketStats: true,
77
- supportsFRVP: true,
78
- supportsOrderbook: true,
79
- alertSymbolMode: 'slug',
80
- allowsCalendarIntervals: true,
81
- },
91
+ crypto: CRYPTO_CAPABILITIES,
82
92
  hip3: {
83
93
  barTimestamps: 'uniform',
84
94
  fetchMode: 'period',
@@ -218,6 +228,24 @@ export const MARKET_CAPABILITIES = {
218
228
  alertSymbolMode: 'slug',
219
229
  allowsCalendarIntervals: true,
220
230
  },
231
+ // Stock indices, the dollar and volatility indices and US Treasury yields
232
+ // (index-otc.leaf). Quote candles (TICKER_AGG) from 1m up with market closes
233
+ // and weekends between sessions, so the forex record's shape: irregular bars,
234
+ // count fetch, no trades, volume, book or profile. The licence allows alerts,
235
+ // but no alert engine lane is proven for the venue yet, so they stay closed
236
+ // (an armed one would save and never fire).
237
+ marketIndex: {
238
+ barTimestamps: 'irregular',
239
+ fetchMode: 'count',
240
+ supportsVolumeStats: false,
241
+ supportsTradesFeed: false,
242
+ supportsMarketStats: false,
243
+ supportsFRVP: false,
244
+ supportsOrderbook: false,
245
+ supportsAlerts: false,
246
+ alertSymbolMode: 'coin',
247
+ allowsCalendarIntervals: true,
248
+ },
221
249
  };
222
250
  // =============================================================================
223
251
  // MarketKind shorthand sets — for `IIndicatorControl.marketKinds` declarations.
@@ -0,0 +1,7 @@
1
+ import type { LiveBucketVenue } from '../utility/chart/live-bucket.util.js';
2
+ export interface TypedIndicatorSource {
3
+ label: string;
4
+ ms: number;
5
+ rowsPerBar: number;
6
+ }
7
+ export declare function typedIndicatorSource(widthLabel: string, venue: LiveBucketVenue, sessionFiltered: boolean): TypedIndicatorSource | null;
@@ -0,0 +1,47 @@
1
+ /**
2
+ * The stored size an indicator reads to build one custom bar on a session grid, and how many of its rows make a full
3
+ * bar. Every bar start and bar end on the four session kinds below falls on a whole row of the chosen size: the
4
+ * sessions open on a quarter hour (CME regular hours 08:30 Chicago, stocks 09:30 and 04:00 New York) or on the hour
5
+ * (CME full session 17:00 Chicago), so 1m, 5m and 15m rows always fit, and 1h rows fit only on the full-session lattice
6
+ * with no regular-hours filter on the rows.
7
+ *
8
+ * Null is a refusal: a label that is not a custom width under a day, or a grid kind the indicator folds do not serve
9
+ * (UTC, forex, options). A caller never falls back to another grid on null.
10
+ *
11
+ * LAZY: it reads the lazy grid file, so it is reached by `await import()` only (tests/perf/typed-width-rules-lazy-closure.spec.ts).
12
+ */
13
+ import { typedWidthSeconds } from './typed-width.leaf.js';
14
+ import { typedGridKind } from '../utility/chart/typed-width-grid.util.js';
15
+ const MINUTE_MS = 60_000;
16
+ /** The source minutes for each custom width under a day, 3h aside (it depends on the grid). */
17
+ const SOURCE_MINUTES = {
18
+ '4m': 1,
19
+ '6m': 1,
20
+ '8m': 1,
21
+ '9m': 1,
22
+ '12m': 1,
23
+ '16m': 1,
24
+ '18m': 1,
25
+ '20m': 5,
26
+ '40m': 5,
27
+ '80m': 5,
28
+ '90m': 15,
29
+ };
30
+ const SESSION_KINDS = new Set(['cme-session', 'cme-regular', 'equity-regular', 'equity-extended']);
31
+ const SOURCE_LABELS = { 1: '1m', 5: '5m', 15: '15m', 60: '1h' };
32
+ export function typedIndicatorSource(widthLabel, venue, sessionFiltered) {
33
+ const seconds = typedWidthSeconds(widthLabel);
34
+ if (seconds === undefined || !(seconds < 86_400))
35
+ return null;
36
+ const widthMs = seconds * 1000;
37
+ const kind = typedGridKind(widthMs, venue);
38
+ if (!SESSION_KINDS.has(kind))
39
+ return null;
40
+ // 3h: hourly rows sit on :00, which only the full-session lattice (17:00 Chicago) keeps without a regular-hours
41
+ // filter; every other session opens on a quarter hour, so 12 rows of 15m.
42
+ const minutes = widthLabel === '3h' ? (kind === 'cme-session' && !sessionFiltered ? 60 : 15) : SOURCE_MINUTES[widthLabel];
43
+ if (minutes === undefined)
44
+ return null;
45
+ const ms = minutes * MINUTE_MS;
46
+ return { label: SOURCE_LABELS[minutes], ms, rowsPerBar: widthMs / ms };
47
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The session venues whose custom sizes the gateway can build on the market's own session grid (the CME family: CME,
3
+ * CBOT, NYMEX, COMEX). One predicate for the page's server door (typed-history-door.util, lazy) and the data worker's
4
+ * doors (read-series, v2.worker.service, ohlcv.worker). Takes the exchange code or wire name. A leaf of its own so the
5
+ * boot leaf typed-width.leaf carries none of an opt-in feature (tests/perf/typed-width-rules-lazy-closure.spec.ts).
6
+ */
7
+ export declare function isTypedSessionHistoryVenue(exchange: unknown): boolean;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The session venues whose custom sizes the gateway can build on the market's own session grid (the CME family: CME,
3
+ * CBOT, NYMEX, COMEX). One predicate for the page's server door (typed-history-door.util, lazy) and the data worker's
4
+ * doors (read-series, v2.worker.service, ohlcv.worker). Takes the exchange code or wire name. A leaf of its own so the
5
+ * boot leaf typed-width.leaf carries none of an opt-in feature (tests/perf/typed-width-rules-lazy-closure.spec.ts).
6
+ */
7
+ export function isTypedSessionHistoryVenue(exchange) {
8
+ return typeof exchange === 'string' && /^(CME|CBOT|NYMEX|COMEX)$/.test(exchange);
9
+ }
@@ -19,11 +19,13 @@ export declare function profileRowMsForChart(chartMs: number): number;
19
19
  /** True when a chart bar of `lengthMs` is a typed width (the footprint workers hold the chart length, not its label). */
20
20
  export declare function isTypedWidthLengthMs(lengthMs: number): boolean;
21
21
  /**
22
- * The closed end of a typed read, in ms: the end of a window that closed before the server's now. The gateway's range
23
- * includes its end (`bucket <= to`), so a closed window ending at T brings back the stored row AT T. On a typed width
24
- * that row opens the NEXT typed bar, and the fold would turn it into a bar stamped T holding 1 of its k rows (a short
25
- * sum, the first value instead of the last, the mean of one row). The next (newer) window starts at T and owns that bar
26
- * whole, so the bar is dropped (`keepBarsBeforeClosedEnd`).
22
+ * The closed end of a typed read, in ms: the end of a window that closed before the server's now. The gateway's SQL
23
+ * includes a range's end (`bucket <= to`), so a closed window ending at T can bring back the stored row AT T. It does
24
+ * not always: a read the gateway slices into cache chunks and every leg of a continuous symbol are trimmed to
25
+ * `t < until`, so never count on that row (typed-candle-fold.worker.util `WIRE_END_PAD_MS`). On a typed width the row
26
+ * opens the NEXT typed bar, and the fold would turn it into a bar stamped T holding 1 of its k rows (a short sum, the
27
+ * first value instead of the last, the mean of one row). The next (newer) window starts at T and owns that bar whole,
28
+ * so the bar is dropped (`keepBarsBeforeClosedEnd`), which is right whether the row came back or not.
27
29
  *
28
30
  * `tf` is the chart's interval: a label (the line workers' `payload.tf`) or the bar length in ms (the footprint
29
31
  * workers' `chartTfMs`). Both forms go through the one rule below.
@@ -57,11 +57,13 @@ export function isTypedWidthLengthMs(lengthMs) {
57
57
  return TYPED_WIDTH_LABELS.some((label) => TYPED_WIDTH_SECONDS[label] === seconds);
58
58
  }
59
59
  /**
60
- * The closed end of a typed read, in ms: the end of a window that closed before the server's now. The gateway's range
61
- * includes its end (`bucket <= to`), so a closed window ending at T brings back the stored row AT T. On a typed width
62
- * that row opens the NEXT typed bar, and the fold would turn it into a bar stamped T holding 1 of its k rows (a short
63
- * sum, the first value instead of the last, the mean of one row). The next (newer) window starts at T and owns that bar
64
- * whole, so the bar is dropped (`keepBarsBeforeClosedEnd`).
60
+ * The closed end of a typed read, in ms: the end of a window that closed before the server's now. The gateway's SQL
61
+ * includes a range's end (`bucket <= to`), so a closed window ending at T can bring back the stored row AT T. It does
62
+ * not always: a read the gateway slices into cache chunks and every leg of a continuous symbol are trimmed to
63
+ * `t < until`, so never count on that row (typed-candle-fold.worker.util `WIRE_END_PAD_MS`). On a typed width the row
64
+ * opens the NEXT typed bar, and the fold would turn it into a bar stamped T holding 1 of its k rows (a short sum, the
65
+ * first value instead of the last, the mean of one row). The next (newer) window starts at T and owns that bar whole,
66
+ * so the bar is dropped (`keepBarsBeforeClosedEnd`), which is right whether the row came back or not.
65
67
  *
66
68
  * `tf` is the chart's interval: a label (the line workers' `payload.tf`) or the bar length in ms (the footprint
67
69
  * workers' `chartTfMs`). Both forms go through the one rule below.
@@ -154,10 +154,14 @@ export interface WrunChartStoreView {
154
154
  * `IndicatorOutputProvenance`): `opra` when the run read OPRA, its own fact from before it computed. Required.
155
155
  * CHANGED (next release): `cme` when the run is a CME user study (the `cme-user-scripts` gate opened the CME plane
156
156
  * to it), its own fact from before it computed; optional, so every writer that names OPRA alone compiles as before
157
- * and reads unmarked for CME. */
157
+ * and reads unmarked for CME.
158
+ * `indexOtc` when the run read the index and yield venue (index-otc.leaf), its own fact from before it computed;
159
+ * optional the same way: the web store reads it (console-run-output.leaf `IndicatorOutputProvenance`), and a
160
+ * writer that never names it reads unmarked. */
158
161
  setIndicatorPrintOutputs(chartIndex: number, indicatorId: string, printOutputsInput: unknown, provenance: {
159
162
  opra: boolean;
160
163
  cme?: boolean;
164
+ indexOtc?: boolean;
161
165
  }): void;
162
166
  setIndicatorRunOutputSummary(chartIndex: number, indicatorId: string, runResult: WrunKScriptRunResultLike | null): void;
163
167
  setKScriptLoadingIndicator(chartIndex: number, indicatorId: string, loading: boolean): void;
@@ -271,18 +275,6 @@ export interface WrunMainCandleRequestIdentity {
271
275
  /** The chart's instrument category (an option contract's is OPTION). */
272
276
  category?: number;
273
277
  }
274
- /** The identity a chart's mounted main rows were loaded for, the fields the package reads (web: ohlcv-cache.types.ts
275
- * `MainDataRequestIdentity`; one way, web's carries the pool and adjustment fields too). */
276
- export interface WrunLoadedMainIdentity {
277
- readonly exchange: string | null;
278
- readonly symbol: string | null;
279
- readonly interval: string | null;
280
- readonly transformations: string | null;
281
- /** The chart's persisted session word the rows were loaded under: the identity compare reads the session the chart
282
- * rides from it (`wrunChartMarketIdentity`'s fifth term, effectiveChartSessionType), so a host that leaves it out
283
- * compares as the market's default session. */
284
- readonly sessionType?: unknown;
285
- }
286
278
  /** A lazy-load check's target range (web: utility/chart/viewport-pan-tracking.util.ts `LazyLoadTargetRange`). */
287
279
  export interface WrunLazyLoadTargetRange {
288
280
  startTs: number;
@@ -295,10 +287,13 @@ export interface WrunLazyLoadTargetRange {
295
287
  export interface WrunDataFetchingModule {
296
288
  runChartLazyLoadCheck(chartIndex: number, expectedTc?: WrunChartHandle, reason?: string, targetRange?: WrunLazyLoadTargetRange, trigger?: string): void;
297
289
  isMainCandleFetchInFlight(chartIndex: number): boolean;
298
- /** The identity the chart's mounted main rows were loaded for (web: `loadedMainIdentityOf`, the loaded-main identity
299
- * stamp every commit, cache paint and restore writes), or null before any stamp. A switch repoints the metadata
300
- * before the incoming market's rows mount, so a read that infers a market fact from the rows asks it first. */
301
- loadedMainIdentityOf(chartIndex: number): WrunLoadedMainIdentity | null;
290
+ /** Whether the chart's mounted main rows were loaded for the market `metadata` asks rows for (web:
291
+ * `mainRowsLoadedFor`, the loaded-main stamp against the request identity of that metadata, the compare its cache
292
+ * write guards run); false before any stamp. A switch repoints the metadata before the incoming market's rows
293
+ * mount, so a read that infers a market fact from the rows asks it first. The host answers, never the package: the
294
+ * rows' market is not always the chart's own (a US stock on Trades rides its tape), and only the host knows how its
295
+ * loader names it. */
296
+ mainRowsLoadedFor(chartIndex: number, metadata: object | null | undefined): boolean;
302
297
  buildMainCandleBasePayload(identity: WrunMainCandleRequestIdentity): object;
303
298
  resolveMainCandleSidedRequest(input: {
304
299
  transformations: string;
package/dist/index.d.ts CHANGED
@@ -104,6 +104,7 @@ export * from './utility/chart/host-bar-placement.util.js';
104
104
  export * from './utility/chart/index-host-tier.util.js';
105
105
  export * from './utility/chart/index-mode-admission.util.js';
106
106
  export * from './utility/chart/index-mode.util.js';
107
+ export * from './utility/chart/index-otc.leaf.js';
107
108
  export * from './utility/chart/indicator-coverage-planner.util.js';
108
109
  export * from './utility/chart/indicator-coverage-state.util.js';
109
110
  export * from './utility/chart/indicator-error-message.util.js';
package/dist/index.js CHANGED
@@ -108,6 +108,7 @@ export * from './utility/chart/host-bar-placement.util.js';
108
108
  export * from './utility/chart/index-host-tier.util.js';
109
109
  export * from './utility/chart/index-mode-admission.util.js';
110
110
  export * from './utility/chart/index-mode.util.js';
111
+ export * from './utility/chart/index-otc.leaf.js';
111
112
  export * from './utility/chart/indicator-coverage-planner.util.js';
112
113
  export * from './utility/chart/indicator-coverage-state.util.js';
113
114
  export * from './utility/chart/indicator-error-message.util.js';
@@ -34,6 +34,13 @@ export interface RuntimeDiagnostic {
34
34
  * CME chart). Read beside `opra`: the editor console shows it, and every console export strips it.
35
35
  */
36
36
  cme?: true;
37
+ /**
38
+ * The row was computed over the index and yield venue's data (index-otc.leaf `checkIsIndexOtc`, its display-only
39
+ * licence): the run that reported it read the venue (its own fact from before it computed: a run on the venue's
40
+ * chart or one of its formula legs, or a pin on it). Read beside `opra` and `cme`: the editor console shows it, and
41
+ * every console export strips it.
42
+ */
43
+ indexOtc?: true;
37
44
  }
38
45
  /** What failed, decided from the trap record (never from the text): a std-lib check the host names
39
46
  * (`index-out-of-range`, `key-not-found`, `array-empty`), the engine's `unreachable`, any other abort
@@ -2633,14 +2633,17 @@ export interface WrunMarksSection extends WrunBatchedSectionCommon {
2633
2633
  opacity_pct?: number;
2634
2634
  /** The caption: mode 0 Off, 1 Big bubbles (the largest a bar), 2 All (default 1, `compact`, 22 px); its
2635
2635
  * format a word of WRUN_BATCHED_NUMBER_FORMATS (`usd` dollars, `units` the market's own unit: Big Trades
2636
- * 0.7.0's Size shown as paints one of the two); its place 0 `inside` the mark (default) or 1 `beside` it (the Big
2637
- * Trades looks round). */
2636
+ * 0.7.0's Size shown as paints one of the two); its place 0 `inside` the mark (default), 1 `beside` it (the Big
2637
+ * Trades looks round), 2 `fit`, inside the mark where it fits, else beside it (the size inside round; Big
2638
+ * Trades 0.13.0's Size position paints `beside` or `fit`), 3 `fit_short`, as `fit` with the rounded number
2639
+ * inside when only it fits, or 4 `fit_only`, as `fit_short` but never beside (the four size positions round;
2640
+ * Big Trades 0.14.0's Size position paints `beside`, `fit_short`, `fit_only` or `fit`). */
2638
2641
  text?: {
2639
2642
  mode?: number;
2640
2643
  field?: 'qty';
2641
2644
  format?: WrunBatchedNumberFormat;
2642
2645
  min_px?: number;
2643
- place?: number | 'inside' | 'beside';
2646
+ place?: number | 'inside' | 'beside' | 'fit' | 'fit_short' | 'fit_only';
2644
2647
  };
2645
2648
  }
2646
2649
  /** One `spans[]` entry (`plot.spans`): per bar, `slots` records of `[top, bottom, length, meta]`
@@ -926,6 +926,11 @@ const ORDERBOOK_PROFILE_FIELDS = [
926
926
  */
927
927
  const TPO_FIELDS = [
928
928
  ['blockShape', { lanes: ['row', 'template', 'default'], unset: 'wide' }],
929
+ // The Volume only pick turned the volume on (updateTpoBlockDisplaySettings): it travels with the display and the
930
+ // volume switch it explains. A capture from a TPO that holds none writes false, so it never keeps a stale true.
931
+ // A template saved before 2026-11-17 holds no value and cannot say who turned its volume on: applied over a TPO
932
+ // whose own pick turned the volume on, that TPO's note stands (review 2026-11-17, left as is: no reader can tell).
933
+ ['volumeOnlyTurnedVolumeOn', { lanes: ['row', 'template', 'default'], unset: false }],
929
934
  ];
930
935
  /** The VRVP own-window scope rows (see INDICATOR_TYPE_FIELDS below). */
931
936
  const VISIBLE_RANGE_PROFILE_FIELDS = [
@@ -24,12 +24,15 @@
24
24
  * other lane at all; a quote-priced perpetual market (Variational, also period-fetched) serves its
25
25
  * quote candles, funding and open interest, and no trade, volume, book, profile or options lane; a
26
26
  * consolidated tape serves its trades alone (candles, sided volume, the profile, the size flow, the large
27
- * prints) and no book, open interest, liquidations, funding or options summary;
27
+ * prints) and no book, open interest, liquidations, funding or options summary; the index and yield venue
28
+ * (index-mode, price only) serves its value candles alone: the index-mode admission lets buy/sell volume
29
+ * through, and the venue prints no trade, volume or side behind its points;
28
30
  * - the coin table: the option-summary lanes (implied volatility, skew) hold a series for the
29
31
  * coins `WRUN_OPTION_SUMMARY_COINS` lists (BTC and ETH) and no other.
30
32
  * The dispatcher's own admission (`isKScriptTypeServedOnIndexMode`) stays as it is.
31
33
  */
32
34
  import { checkIsCryptoIndex } from './crypto-index.leaf.js';
35
+ import { checkIsIndexOtc } from './index-otc.leaf.js';
33
36
  import { checkIsQuotePerp } from './quote-perp.leaf.js';
34
37
  import { checkIsIndexMode } from './index-mode.util.js';
35
38
  import { checkIsForexOrCommodity, getMarketKind } from './marketKind.util.js';
@@ -61,6 +64,8 @@ const STOCK_TAPE_SERVED_TYPES = new Set([
61
64
  ]);
62
65
  /** The one lane fetch type a crypto index market serves (the market-kind table): its value candles. */
63
66
  const CRYPTO_INDEX_SERVED_TYPES = new Set(['ohlcv']);
67
+ /** The one lane fetch type the index and yield venue serves (the market-kind table): its value candles. */
68
+ const INDEX_OTC_SERVED_TYPES = new Set(['ohlcv']);
64
69
  /** The lane fetch types a quote-priced perpetual market serves (the market-kind table): its quote candles and the
65
70
  * two perpetual series the gateway serves beside them. */
66
71
  const QUOTE_PERP_SERVED_TYPES = new Set(['ohlcv', 'funding_rate', 'open_interest']);
@@ -95,6 +100,9 @@ export function wrunLaneServiceOnMarket({ type, exchange, coin, nativeRows, }) {
95
100
  if (!QUOTE_PERP_SERVED_TYPES.has(type) && checkIsQuotePerp(exchange)) {
96
101
  return { served: false, reason: 'market-kind' };
97
102
  }
103
+ if (!INDEX_OTC_SERVED_TYPES.has(type) && checkIsIndexOtc(exchange)) {
104
+ return { served: false, reason: 'market-kind' };
105
+ }
98
106
  if (!STOCK_TAPE_SERVED_TYPES.has(type) && isStocksTapeGoverned(exchange)) {
99
107
  return { served: false, reason: 'market-kind' };
100
108
  }
@@ -1,7 +1,7 @@
1
1
  export declare const POLYGON_EXCHANGES: readonly ["NYSE", "NASDAQ", "CBOE"];
2
2
  export declare const PREDICTION_MARKET_EXCHANGES: readonly ["POLYMARKET", "HYPERLIQUID_HIP4"];
3
3
  export declare const PYTH_EXCHANGES: never[];
4
- export declare const INDEX_VENUE_EXCHANGES: readonly ["POLYGON_INDICES"];
4
+ export declare const INDEX_VENUE_EXCHANGES: readonly ["INDICES_OTC"];
5
5
  export declare const TRADFI_EXCHANGES: readonly [...never[], "NYSE", "NASDAQ", "CBOE"];
6
6
  export declare const DEX_EXCHANGES: readonly ["UNISWAP_V2", "UNISWAP_V3", "UNISWAP_V4", "SUSHISWAP_V2", "SUSHISWAP_V3", "SHIBASWAP", "PANCAKESWAP_V2", "PANCAKESWAP_V3", "FRAXSWAP", "SOLIDLY", "SOLIDLY_V3"];
7
7
  export type PMSignalMarketType = 'crypto' | 'tradfi' | 'commodity';
@@ -52,7 +52,7 @@ export declare function checkIsEligiblePMSignalTicker(normalizedTicker: string):
52
52
  * CBOT/NYMEX/COMEX-vs-CME behavioral split (see marketKind.util.ts).
53
53
  */
54
54
  export declare function checkIsIndexMode(exchange: string | undefined): boolean;
55
- /** An index venue (`INDEX_VENUE_EXCHANGES`): a quote series on the US session grid. */
55
+ /** An index venue (`INDEX_VENUE_EXCHANGES`): quote series in many time zones, no US session grid. */
56
56
  export declare function checkIsIndexVenue(exchange: string | undefined): boolean;
57
57
  /**
58
58
  * Exchanges that print quotes instead of trades: value-only candles with no