kline-orderbook-chart 2.0.0 → 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,48 @@ 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
+
8
50
  ## 2.0.0 — Performance & architecture
9
51
 
10
52
  ### Performance