kline-orderbook-chart 1.6.1 → 2.0.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 +52 -12
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/chart-engine.mjs +390 -10
- package/dist/chart_engine.js +23292 -13
- package/dist/chart_engine_bg.wasm +0 -0
- package/dist/index.d.ts +6 -0
- package/dist/ingestWorker.js +14 -0
- package/dist/panelWorker.js +56 -0
- package/dist/tickWorker.js +394 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,48 @@ This project follows [Semantic Versioning](https://semver.org/).
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## 2.0.0 — Performance & architecture
|
|
9
|
+
|
|
10
|
+
### Performance
|
|
11
|
+
|
|
12
|
+
- Indicator pipeline reworked around a columnar state model: series are
|
|
13
|
+
installed as parallel typed arrays instead of being rebuilt per bar, and
|
|
14
|
+
the live bar updates one slot per series rather than re-deriving the
|
|
15
|
+
window. Lower per-bar work on fast feeds and on multi-chart layouts.
|
|
16
|
+
- Bar alignment is a single linear pass with no per-bar allocation.
|
|
17
|
+
|
|
18
|
+
### BREAKING — RSI and Pullback Signals now need a supplied state
|
|
19
|
+
|
|
20
|
+
`enableRsi()` and the Pullback Signals overlay no longer compute from
|
|
21
|
+
candles in this package. They RENDER a state you supply:
|
|
22
|
+
|
|
23
|
+
```js
|
|
24
|
+
chart.setRsiStateJson(json) // from your own backend
|
|
25
|
+
chart.setMrdPullbackStateJson(json)
|
|
26
|
+
chart.isRsiStateDriven() // → true once installed
|
|
27
|
+
chart.hasPremiumCompute() // → false in this build
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Enabling either without a state logs a one-off console warning and draws
|
|
31
|
+
an empty pane — it does not throw. Every other indicator (CVD, VRVP, TPO,
|
|
32
|
+
Open Interest, EMA Structure, Smart Ranges, VPIN, Funding Rate, the
|
|
33
|
+
footprint modes, the orderbook/liquidation heatmaps and the DOM ladder) is
|
|
34
|
+
unchanged and still computes locally.
|
|
35
|
+
|
|
36
|
+
If you need RSI / Pullback computed in-process, stay on `1.6.x` or contact
|
|
37
|
+
us about a licensed build.
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
|
|
41
|
+
- `setRsiStateJson` / `setMrdPullbackStateJson` — install a computed frame
|
|
42
|
+
(columnar series + signal objects, aligned onto your bars by timestamp).
|
|
43
|
+
- `applyRsiTickJson` / `applyMrdPullbackTickJson` — update the forming
|
|
44
|
+
bar's series without re-sending a frame.
|
|
45
|
+
- `clearRsiState` / `clearMrdPullbackState`, `isRsiStateDriven` /
|
|
46
|
+
`isMrdPullbackStateDriven`, `hasPremiumCompute`.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
8
50
|
## 1.6.1 — Maintenance
|
|
9
51
|
|
|
10
52
|
### Updates
|
|
@@ -15,22 +57,20 @@ This project follows [Semantic Versioning](https://semver.org/).
|
|
|
15
57
|
|
|
16
58
|
---
|
|
17
59
|
|
|
60
|
+
## 1.6.2 — Performance update
|
|
61
|
+
|
|
62
|
+
### Updates
|
|
63
|
+
|
|
64
|
+
- Engine startup and internal refinements for a snappier load.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
18
68
|
## 1.6.0 — Performance update
|
|
19
69
|
|
|
20
70
|
### Updates
|
|
21
71
|
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
rendering machinery. Recalculation on symbol and timeframe switches does
|
|
25
|
-
less work per pass.
|
|
26
|
-
- **Smaller compute footprint.** The compute-only profile now builds without
|
|
27
|
-
the render, theme and viewport layers, cutting what has to be compiled and
|
|
28
|
-
loaded for calculation-only use.
|
|
29
|
-
- **Steadier bar-close handling.** Refinements around the kline append path
|
|
30
|
-
keep per-tick work off the hot path.
|
|
31
|
-
- Assorted build and correctness fixes across the engine.
|
|
32
|
-
|
|
33
|
-
No API changes — existing integrations and license keys work unchanged.
|
|
72
|
+
- Leaner indicator core: calculation and drawing paths were separated, so
|
|
73
|
+
recalculation on symbol and timeframe switches does less work per pass.
|
|
34
74
|
|
|
35
75
|
---
|
|
36
76
|
|
package/LICENSE
CHANGED
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
|