@orangecharts/wrun-chart-host 0.16.0 → 0.18.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 (69) hide show
  1. package/README.md +2 -0
  2. package/dist/constants/feature-flags.constants.d.ts +2 -9
  3. package/dist/constants/feature-flags.constants.js +20 -98
  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-env.d.ts +2 -0
  15. package/dist/host-ports.types.d.ts +12 -17
  16. package/dist/index.d.ts +2 -0
  17. package/dist/index.js +2 -0
  18. package/dist/interfaces/kscript-diagnostics.interface.d.ts +7 -0
  19. package/dist/interfaces/wrun-runtime.interface.d.ts +6 -3
  20. package/dist/market-data/venues/index.d.ts +128 -143
  21. package/dist/market-data/venues/index.js +2 -2
  22. package/dist/market-data/venues/stocks.d.ts +1 -1
  23. package/dist/market-data/venues/stocks.js +2 -4
  24. package/dist/settings-templates/indicator-fields.js +5 -0
  25. package/dist/utility/chart/cme-user-scripts-gate.util.d.ts +8 -8
  26. package/dist/utility/chart/cme-user-scripts-gate.util.js +8 -8
  27. package/dist/utility/chart/governed-lanes-gate.util.d.ts +6 -6
  28. package/dist/utility/chart/governed-lanes-gate.util.js +6 -6
  29. package/dist/utility/chart/index-mode-admission.util.js +9 -1
  30. package/dist/utility/chart/index-mode.util.d.ts +2 -2
  31. package/dist/utility/chart/index-mode.util.js +12 -6
  32. package/dist/utility/chart/index-otc.leaf.d.ts +50 -0
  33. package/dist/utility/chart/index-otc.leaf.js +86 -0
  34. package/dist/utility/chart/kscript-provenance-keys.util.js +6 -0
  35. package/dist/utility/chart/market-session-schedule.util.d.ts +19 -0
  36. package/dist/utility/chart/market-session-schedule.util.js +2 -1
  37. package/dist/utility/chart/marketKind.util.d.ts +10 -5
  38. package/dist/utility/chart/marketKind.util.js +39 -5
  39. package/dist/utility/chart/mixed-mode.util.d.ts +1 -0
  40. package/dist/utility/chart/server-built-bars.util.d.ts +4 -0
  41. package/dist/utility/chart/server-built-bars.util.js +18 -0
  42. package/dist/utility/market-events/market-events.util.js +3 -0
  43. package/dist/utility/scriptEditor/wrun-runtime-diagnostics.leaf.js +2 -0
  44. package/dist/utility/v2/v2-enums.leaf.js +2 -0
  45. package/dist/utility/wrun/sources/row-lanes/dark_pool.d.ts +2 -1
  46. package/dist/utility/wrun/sources/row-lanes/dark_pool.js +4 -3
  47. package/dist/utility/wrun/wrun-batched-marks.util.d.ts +6 -2
  48. package/dist/utility/wrun/wrun-batched-marks.util.js +37 -6
  49. package/dist/utility/wrun/wrun-chart-market-facts.util.d.ts +15 -8
  50. package/dist/utility/wrun/wrun-chart-market-facts.util.js +11 -8
  51. package/dist/utility/wrun/wrun-cme-root-specs.util.d.ts +10 -6
  52. package/dist/utility/wrun/wrun-cme-root-specs.util.js +19 -13
  53. package/dist/utility/wrun/wrun-dark-pool.util.js +1 -1
  54. package/dist/utility/wrun/wrun-declared-warmup.util.d.ts +1 -1
  55. package/dist/utility/wrun/wrun-live-intake.util.d.ts +3 -0
  56. package/dist/utility/wrun/wrun-live-intake.util.js +6 -0
  57. package/dist/utility/wrun/wrun-live-tick.util.js +5 -1
  58. package/dist/utility/wrun/wrun-market-size-defaults.leaf.js +40 -6
  59. package/dist/utility/wrun/wrun-market-size-defaults.util.d.ts +2 -2
  60. package/dist/utility/wrun/wrun-market-size-defaults.util.js +10 -8
  61. package/dist/utility/wrun/wrun-overlay-drivers.util.d.ts +3 -0
  62. package/dist/utility/wrun/wrun-overlay-run.util.d.ts +2 -0
  63. package/dist/utility/wrun/wrun-overlay-run.util.js +50 -14
  64. package/dist/utility/wrun/wrun-pin-venues.util.d.ts +3 -2
  65. package/dist/utility/wrun/wrun-pin-venues.util.js +6 -3
  66. package/dist/utility/wrun/wrun-run-health.util.js +1 -1
  67. package/dist/utility/wrun/wrun-session-composition.util.d.ts +3 -2
  68. package/dist/utility/wrun/wrun-session-composition.util.js +3 -2
  69. package/package.json +5 -5
@@ -26,9 +26,10 @@ export interface WrunSessionLanesView {
26
26
  }
27
27
  /**
28
28
  * The one rule for the dollar lane: the US dollars one contract of the chart's market is worth per whole point of its
29
- * price (CME_ROOT_SPECS: NQ1! and NQZ6 read NQ, 20) on a CME Group futures market whose root is quoted in US dollars,
29
+ * price (CME_ROOT_SPECS: NQ1! and NQZ6 read NQ, 20) on a CME Group futures market whose root is priced in US dollars,
30
30
  * so a side of a session-fed bar prices at contracts x this x (high + low + close) / 3. Undefined everywhere else (a
31
- * root off the table, a cents-quoted grain, an option contract, a market off the CME family): a script declaring the
31
+ * root off the table, a cents-priced grain kept off the dollar features, an option contract, a market off the CME
32
+ * family): a script declaring the
32
33
  * dollar lane there is ineligible and reads OpenMarket's rows whole.
33
34
  */
34
35
  export declare function wrunSessionDollarPointValue(market: WrunSessionLanesView['market']): number | undefined;
@@ -26,9 +26,10 @@ function asksOwnMarket(acquisition, market) {
26
26
  }
27
27
  /**
28
28
  * The one rule for the dollar lane: the US dollars one contract of the chart's market is worth per whole point of its
29
- * price (CME_ROOT_SPECS: NQ1! and NQZ6 read NQ, 20) on a CME Group futures market whose root is quoted in US dollars,
29
+ * price (CME_ROOT_SPECS: NQ1! and NQZ6 read NQ, 20) on a CME Group futures market whose root is priced in US dollars,
30
30
  * so a side of a session-fed bar prices at contracts x this x (high + low + close) / 3. Undefined everywhere else (a
31
- * root off the table, a cents-quoted grain, an option contract, a market off the CME family): a script declaring the
31
+ * root off the table, a cents-priced grain kept off the dollar features, an option contract, a market off the CME
32
+ * family): a script declaring the
32
33
  * dollar lane there is ineligible and reads OpenMarket's rows whole.
33
34
  */
34
35
  export function wrunSessionDollarPointValue(market) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangecharts/wrun-chart-host",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "description": "The wrun chart-host layer shared by the kiyotaka web app and the mobile app: the wrun result reader and painter model, cut from the web app (its reference implementation).",
5
5
  "type": "module",
6
6
  "files": [
@@ -23,14 +23,14 @@
23
23
  }
24
24
  },
25
25
  "peerDependencies": {
26
- "@orangecharts/indicator-kit": "0.119.0",
27
- "@orangecharts/orange-v2-pb-common": "12.84.0",
26
+ "@orangecharts/indicator-kit": "0.121.0",
27
+ "@orangecharts/orange-v2-pb-common": "12.86.0",
28
28
  "dayjs": "1.11.23",
29
29
  "lodash-es": "4.18.1"
30
30
  },
31
31
  "devDependencies": {
32
- "@orangecharts/indicator-kit": "0.119.0",
33
- "@orangecharts/orange-v2-pb-common": "12.84.0",
32
+ "@orangecharts/indicator-kit": "0.121.0",
33
+ "@orangecharts/orange-v2-pb-common": "12.86.0",
34
34
  "@types/lodash-es": "4.17.12",
35
35
  "dayjs": "1.11.23",
36
36
  "lodash-es": "4.18.1",