kline-orderbook-chart 1.6.2 → 2.1.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/CHANGELOG.md CHANGED
@@ -5,6 +5,90 @@ This project follows [Semantic Versioning](https://semver.org/).
5
5
 
6
6
  ---
7
7
 
8
+ ## 2.1.0 — GPU heatmap performance
9
+
10
+ ### Performance
11
+
12
+ - The heatmap depth field now rasterises into price BUCKETS sized to the
13
+ zoom instead of one row per price level. Zoomed out, many ticks share a
14
+ texel and a bucket is at most one pixel tall, so frame cost tracks the
15
+ pane rather than the depth of the book. The field is bounded by a
16
+ total-cell ceiling instead of by the level count, so memory no longer
17
+ grows with how deep the book goes.
18
+ - Buckets fold by MAX, not by sum. A wall keeps its magnitude at every
19
+ zoom level; summing merged a wall into the quiet levels beside it and
20
+ the picture went flat at zoom-out.
21
+ - Vertical smoothing is a Gaussian-weighted MAX dilate with a radius of
22
+ ceil(3 sigma), capped at 64 rows. Sigma is derived from how many price
23
+ levels a pixel row has to represent — i.e. from the zoom — rather than
24
+ from texel height, which is always at most a pixel now and so says
25
+ nothing about how much detail is still resolvable.
26
+ - The colour-window cut-off is picked from a log-binned histogram of the
27
+ frame instead of a fixed bound.
28
+
29
+ ### Added
30
+
31
+ - Candles on the tick heatmap — K-line or a per-candle volume / delta
32
+ profile drawn as a footprint column, built from the recorded tape:
33
+ `set_kl_enabled`, `set_kl_tf_ms`, `set_kl_style`, `set_kl_body_px`,
34
+ `set_kl_col_px`, `set_kl_show_values`, `set_kl_text_size`, and the
35
+ `set_kl_*_color` setters.
36
+ - Tick history encode + replay: `createTickHistoryEncoder()`,
37
+ `TH_KEYFRAME_MS`.
38
+ - Live L2 + tape ingest stream: `openIngestStream()`, `ingestSupported()`,
39
+ `setIngestRowBudget()`, `setIngestKeepBookHidden()`.
40
+ - A BBO track on the tick heatmap.
41
+
42
+ ### Notes
43
+
44
+ - `index.d.ts` does not declare the new entry points yet — they are
45
+ callable but untyped.
46
+ - RSI and Pullback Signals still render a state you supply; see 2.0.0.
47
+
48
+ ---
49
+
50
+ ## 2.0.0 — Performance & architecture
51
+
52
+ ### Performance
53
+
54
+ - Indicator pipeline reworked around a columnar state model: series are
55
+ installed as parallel typed arrays instead of being rebuilt per bar, and
56
+ the live bar updates one slot per series rather than re-deriving the
57
+ window. Lower per-bar work on fast feeds and on multi-chart layouts.
58
+ - Bar alignment is a single linear pass with no per-bar allocation.
59
+
60
+ ### BREAKING — RSI and Pullback Signals now need a supplied state
61
+
62
+ `enableRsi()` and the Pullback Signals overlay no longer compute from
63
+ candles in this package. They RENDER a state you supply:
64
+
65
+ ```js
66
+ chart.setRsiStateJson(json) // from your own backend
67
+ chart.setMrdPullbackStateJson(json)
68
+ chart.isRsiStateDriven() // → true once installed
69
+ chart.hasPremiumCompute() // → false in this build
70
+ ```
71
+
72
+ Enabling either without a state logs a one-off console warning and draws
73
+ an empty pane — it does not throw. Every other indicator (CVD, VRVP, TPO,
74
+ Open Interest, EMA Structure, Smart Ranges, VPIN, Funding Rate, the
75
+ footprint modes, the orderbook/liquidation heatmaps and the DOM ladder) is
76
+ unchanged and still computes locally.
77
+
78
+ If you need RSI / Pullback computed in-process, stay on `1.6.x` or contact
79
+ us about a licensed build.
80
+
81
+ ### Added
82
+
83
+ - `setRsiStateJson` / `setMrdPullbackStateJson` — install a computed frame
84
+ (columnar series + signal objects, aligned onto your bars by timestamp).
85
+ - `applyRsiTickJson` / `applyMrdPullbackTickJson` — update the forming
86
+ bar's series without re-sending a frame.
87
+ - `clearRsiState` / `clearMrdPullbackState`, `isRsiStateDriven` /
88
+ `isMrdPullbackStateDriven`, `hasPremiumCompute`.
89
+
90
+ ---
91
+
8
92
  ## 1.6.1 — Maintenance
9
93
 
10
94
  ### Updates
@@ -15,7 +99,7 @@ This project follows [Semantic Versioning](https://semver.org/).
15
99
 
16
100
  ---
17
101
 
18
- ## 1.6.1 — Performance update
102
+ ## 1.6.2 — Performance update
19
103
 
20
104
  ### Updates
21
105
 
package/LICENSE CHANGED
@@ -86,7 +86,7 @@ and confidential. The Software is licensed, not sold.
86
86
 
87
87
  For licensing inquiries: support@mrd-indicators.com
88
88
  For technical support: support@mrd-indicators.com
89
- Website: https://app.mrd-indicators.com
89
+ Website: https://app.tapedelta.com
90
90
 
91
91
  ---
92
92
 
package/README.md CHANGED
@@ -217,7 +217,7 @@ Even with **8 indicators active simultaneously** on 10K candles, sustained rende
217
217
  <td width="50%">
218
218
 
219
219
  ### Technical Indicators
220
- - **RSI** with divergence detection & pullback signals
220
+ - **RSI** with divergence detection & pullback signals — *renders a state you supply via `setRsiStateJson()`; see CHANGELOG 2.0.0*
221
221
  - **Open Interest** with delta tracking
222
222
  - **Cumulative Volume Delta (CVD)**
223
223
  - **Funding Rate** overlay