kline-orderbook-chart 2.2.2 → 2.3.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 +39 -0
- package/LICENSE +4 -3
- package/README.md +7 -17
- package/dist/chart-engine.mjs +56 -63
- package/dist/chart_engine.js +1 -1
- package/dist/chart_engine_bg.wasm +0 -0
- package/dist/index.d.ts +169 -0
- package/dist/panelWorker.js +7 -7
- package/dist/tickWorker.js +24 -24
- package/package.json +1 -1
- package/dist/ingestWorker.js +0 -14
- package/dist/mboWorker.js +0 -14
- package/dist/tapeScriptWorker.js +0 -19
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,45 @@ This project follows [Semantic Versioning](https://semver.org/).
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## 2.3.0 — Price scales, locale, Volume Heatmap, multi-chart API
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Logarithmic and percent price scales: `setPriceScale('linear' | 'log' | 'percent')`,
|
|
13
|
+
`getPriceScale()`. Candles, the orderbook heatmap, footprint cells and drawings follow the scale.
|
|
14
|
+
- Label locale: `setLocale({ months, weekdays, decimalSeparator, groupSeparator })` for the time
|
|
15
|
+
axis, the crosshair labels, the price axis and the last-price tag.
|
|
16
|
+
- Visible range: `getVisibleRange()`, `setVisibleRange(from, to)`, `onVisibleRangeChange(cb)`.
|
|
17
|
+
- Volume Heatmap indicator (Professional): `enableVolumeHeatmap()`, `setVolumeHeatmapData()` and
|
|
18
|
+
its settings.
|
|
19
|
+
- Footprint statistics table: `footprintSetClusterEnabled`, `footprintSetClusterRows`,
|
|
20
|
+
`footprintSetClusterHeight` / `footprintGetClusterHeight`, `footprintSetStatsNegColor`.
|
|
21
|
+
- `fontUrl` option for the panel engines in worker mode, to load IBM Plex Mono from your own host
|
|
22
|
+
(or `''` for no font). With it the library makes no request outside your domain.
|
|
23
|
+
|
|
24
|
+
### Now documented
|
|
25
|
+
|
|
26
|
+
These existed and are now part of the declared API: crosshair sync (`setCrosshairSyncHandler`,
|
|
27
|
+
`setCrosshairAtWorldX`, `hideCrosshairExternal`, `addCrosshairListener`), panes (`getPaneOrder`,
|
|
28
|
+
`setPaneOrder`, `togglePaneMaximized`, `maximizedPane`, `getPaneHeights`, `applyPaneHeights`,
|
|
29
|
+
`paneRects`, `onPaneLayoutChange`), compare series (`setCompareSeries` and related), the
|
|
30
|
+
liquidation heatmap's core methods, `setHeatmapWalls` and `setHeatmapPrefetchRange`.
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- The package exports only the declared API. Undeclared app modules (market-by-order engine, live
|
|
35
|
+
ingest stream, tick history codec, script runtime) are no longer shipped; nothing declared is
|
|
36
|
+
removed.
|
|
37
|
+
- Footprint statistics cells stop at the price axis instead of running under the row labels.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## 2.2.3 — README image
|
|
42
|
+
|
|
43
|
+
- README image replaced with a screenshot of the Tape Delta terminal. No code changes.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
8
47
|
## 2.2.2 — Orderbook and DOM Ladder input fixes
|
|
9
48
|
|
|
10
49
|
### Fixed
|
package/LICENSE
CHANGED
|
@@ -95,9 +95,10 @@ its JavaScript files, engine binaries, type declarations and documentation
|
|
|
95
95
|
8. DATA
|
|
96
96
|
|
|
97
97
|
The Software verifies License Keys on the device and does not send usage or
|
|
98
|
-
personal data to Licensor. In worker rendering mode
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
personal data to Licensor. In worker rendering mode the panel engines load
|
|
99
|
+
a font stylesheet from fonts.googleapis.com unless the `fontUrl` option
|
|
100
|
+
points to a stylesheet on Licensee's own host or is empty; the main-thread
|
|
101
|
+
rendering mode loads nothing. The Software makes no other network request.
|
|
101
102
|
|
|
102
103
|
9. INTELLECTUAL PROPERTY
|
|
103
104
|
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/tapedelta/kline-orderbook-chart/main/assets/media/
|
|
2
|
+
<img src="https://raw.githubusercontent.com/tapedelta/kline-orderbook-chart/main/assets/media/terminal.jpg" alt="Footprint chart, volume profile and tick heatmap in the Tape Delta terminal, built on kline-orderbook-chart" width="100%" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">kline-orderbook-chart</h1>
|
|
@@ -91,32 +91,22 @@ Keys are verified on the device; no network request is made. `createChartBridge`
|
|
|
91
91
|
| Area | Included |
|
|
92
92
|
|---|---|
|
|
93
93
|
| Chart types | Candles, hollow candles, bars, footprint, Renko, TPO profile chart |
|
|
94
|
-
|
|
|
94
|
+
| Price scale | Linear, logarithmic, percent; localized month names and number format |
|
|
95
|
+
| Order flow | Orderbook depth heatmap, footprint with stacked imbalances and a statistics table, liquidation heatmap, large trades, aggregated liquidations |
|
|
95
96
|
| Oscillators | RSI |
|
|
96
|
-
| Volume and profile | Volume, VRVP, TPO / Market Profile, CVD, VPIN |
|
|
97
|
+
| Volume and profile | Volume, Volume Heatmap, VRVP, TPO / Market Profile, CVD, VPIN |
|
|
97
98
|
| Structure | EMA Structure, Gaussian VWAP Cloud, Smart Ranges |
|
|
98
99
|
| Derivatives | Open Interest, Funding Rate |
|
|
99
100
|
| Drawing | Basic tools on every plan; Fibonacci, positions, anchored VWAP, fixed-range profile, auto Elliott and chart patterns on Professional and above |
|
|
101
|
+
| Multi-chart | Crosshair sync, visible range get / set / events, compare series, pane order and heights |
|
|
100
102
|
| Custom indicators | JavaScript plugin API (Professional, Enterprise) |
|
|
101
103
|
| Side panels | Orderbook · Depth Profile, DOM Ladder, Tick Stream, Time & Sales tape (Enterprise) |
|
|
102
104
|
|
|
103
105
|
The library renders data you supply; it does not include market data, application UI (toolbars, settings dialogs, symbol search) or alert delivery. MACD, Stochastic and Bollinger Bands are not built in; they can be written with the custom indicator API.
|
|
104
106
|
|
|
105
|
-
##
|
|
107
|
+
## Screenshot
|
|
106
108
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
<p align="center">
|
|
110
|
-
<img src="https://raw.githubusercontent.com/tapedelta/kline-orderbook-chart/main/assets/media/liquidation-heatmap.png" alt="Liquidation heatmap behind 15-minute candles with the nearest-levels table and an open interest pane" width="100%" />
|
|
111
|
-
</p>
|
|
112
|
-
<p align="center">
|
|
113
|
-
<img src="https://raw.githubusercontent.com/tapedelta/kline-orderbook-chart/main/assets/media/footprint.png" alt="One-minute footprint chart with bid and ask volume per price, stacked imbalances and a volume profile" width="100%" />
|
|
114
|
-
</p>
|
|
115
|
-
<p align="center">
|
|
116
|
-
<img src="https://raw.githubusercontent.com/tapedelta/kline-orderbook-chart/main/assets/media/orderbook-dom.png" alt="Orderbook depth profile next to a DOM ladder with traded volume and delta per price" width="100%" />
|
|
117
|
-
</p>
|
|
118
|
-
|
|
119
|
-
Tick Stream, Orderbook and DOM Ladder are Enterprise engines; the liquidation heatmap and footprint are in Professional and Enterprise.
|
|
109
|
+
The image at the top is the Tape Delta terminal, which is built on this library. Its toolbars, menus and some overlays (iceberg tracking, the gauges) are terminal features and are not part of the library.
|
|
120
110
|
|
|
121
111
|
## Orderbook heatmap
|
|
122
112
|
|