kline-orderbook-chart 1.5.3 → 1.6.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,43 @@ This project follows [Semantic Versioning](https://semver.org/).
5
5
 
6
6
  ---
7
7
 
8
+ ## 1.6.0 — Performance update
9
+
10
+ ### Updates
11
+
12
+ - **Leaner indicator core.** Several indicators had their maths separated
13
+ from their drawing code, so the compute path no longer pulls in any
14
+ rendering machinery. Recalculation on symbol and timeframe switches does
15
+ less work per pass.
16
+ - **Smaller compute footprint.** The compute-only profile now builds without
17
+ the render, theme and viewport layers, cutting what has to be compiled and
18
+ loaded for calculation-only use.
19
+ - **Steadier bar-close handling.** Refinements around the kline append path
20
+ keep per-tick work off the hot path.
21
+ - Assorted build and correctness fixes across the engine.
22
+
23
+ No API changes — existing integrations and license keys work unchanged.
24
+
25
+ ---
26
+
27
+ ## 1.5.5 — Update
28
+
29
+ ### Updates
30
+
31
+ - Maintenance release: updated repository and homepage links to the
32
+ `tapedelta` GitHub organization. No API or engine changes.
33
+
34
+ ---
35
+
36
+ ## 1.5.4 — Update
37
+
38
+ ### Updates
39
+
40
+ - Orderbook-heatmap signal rendering improvements and minor engine
41
+ refinements for steadier real-time updates.
42
+
43
+ ---
44
+
8
45
  ## 1.5.3 — Performance update
9
46
 
10
47
  ### Updates
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MRD CHART ENGINE — COMMERCIAL SOFTWARE LICENSE AGREEMENT
2
2
 
3
- Copyright (c) 2025-2026 MRD Technologies. All rights reserved.
3
+ Copyright (c) 2025-2026 TapeDelta Technologies. All rights reserved.
4
4
 
5
5
  This software and associated documentation files (the "Software") are proprietary
6
6
  and confidential. The Software is licensed, not sold.
@@ -8,7 +8,7 @@ and confidential. The Software is licensed, not sold.
8
8
  1. GRANT OF LICENSE
9
9
 
10
10
  Subject to the terms of this agreement and payment of applicable fees,
11
- MRD Technologies grants you a non-exclusive, non-transferable, limited
11
+ TapeDelta Technologies grants you a non-exclusive, non-transferable, limited
12
12
  license to use the Software in accordance with your purchased license tier
13
13
  (Standard, Professional, or Enterprise).
14
14
 
@@ -46,7 +46,7 @@ and confidential. The Software is licensed, not sold.
46
46
 
47
47
  6. INTELLECTUAL PROPERTY
48
48
 
49
- The Software is the intellectual property of MRD Technologies. This
49
+ The Software is the intellectual property of TapeDelta Technologies. This
50
50
  license does not grant you ownership of the Software. All rights not
51
51
  expressly granted are reserved. The Software's underlying algorithms,
52
52
  data structures, rendering pipeline, license-enforcement subsystem,
@@ -62,7 +62,7 @@ and confidential. The Software is licensed, not sold.
62
62
 
63
63
  8. LIMITATION OF LIABILITY
64
64
 
65
- IN NO EVENT SHALL MRD TECHNOLOGIES BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
65
+ IN NO EVENT SHALL TapeDelta Technologies BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
66
66
  SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING OUT OF OR RELATED TO
67
67
  YOUR USE OF THE SOFTWARE.
68
68
 
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://raw.githubusercontent.com/PhamNhinh/kline-orderbook-chart/main/assets/media/kline-orderbook-chart.png" alt="Kline Orderbook Chart — Candlestick with real-time orderbook heatmap, footprint chart, liquidation heatmap, and indicators" width="100%" />
2
+ <img src="https://raw.githubusercontent.com/tapedelta/kline-orderbook-chart/main/assets/media/kline-orderbook-chart.png" alt="Kline Orderbook Chart — Candlestick with real-time orderbook heatmap, footprint chart, liquidation heatmap, and indicators" width="100%" />
3
3
  </p>
4
4
 
5
5
  <h1 align="center">Kline Orderbook Chart</h1>
@@ -13,7 +13,7 @@
13
13
  <a href="https://tapedelta.com/docs/charting-library/getting-started"><strong>📖 Docs</strong></a>&nbsp;&nbsp;&bull;&nbsp;&nbsp;
14
14
  <a href="https://app.tapedelta.com/trading/chart-terminal">Full App</a>&nbsp;&nbsp;&bull;&nbsp;&nbsp;
15
15
  <a href="#run-demo-locally">Run Demo Locally</a>&nbsp;&nbsp;&bull;&nbsp;&nbsp;
16
- <a href="https://discord.gg/buX2h5ZZm">Discord</a>&nbsp;&nbsp;&bull;&nbsp;&nbsp;
16
+ <a href="https://discord.gg/cJn5P6Mn3c">Discord</a>&nbsp;&nbsp;&bull;&nbsp;&nbsp;
17
17
  <a href="https://x.com/mrDocTradingIO">X</a>&nbsp;&nbsp;&bull;&nbsp;&nbsp;
18
18
  <a href="mailto:support@tapedelta.com">Contact</a>
19
19
  </p>
@@ -63,7 +63,7 @@ Building it yourself means months of work: Canvas rendering, depth matrix manage
63
63
  ## See it in action
64
64
 
65
65
  <p align="center">
66
- <img src="https://raw.githubusercontent.com/PhamNhinh/kline-orderbook-chart/main/assets/media/heatmap-large-trades.png" alt="Candlestick chart with orderbook heatmap, large trade bubbles, and liquidation heatmap overlay" width="100%" />
66
+ <img src="https://raw.githubusercontent.com/tapedelta/kline-orderbook-chart/main/assets/media/heatmap-large-trades.png" alt="Candlestick chart with orderbook heatmap, large trade bubbles, and liquidation heatmap overlay" width="100%" />
67
67
  </p>
68
68
 
69
69
  <p align="center">
@@ -71,14 +71,14 @@ Building it yourself means months of work: Canvas rendering, depth matrix manage
71
71
  </p>
72
72
 
73
73
  <p align="center">
74
- <img src="https://raw.githubusercontent.com/PhamNhinh/kline-orderbook-chart/main/assets/media/footprint-chart.png" alt="Footprint chart with bid ask volume, delta, imbalance detection, and VRVP profile" width="100%" />
74
+ <img src="https://raw.githubusercontent.com/tapedelta/kline-orderbook-chart/main/assets/media/footprint-chart.png" alt="Footprint chart with bid ask volume, delta, imbalance detection, and VRVP profile" width="100%" />
75
75
  </p>
76
76
 
77
77
  <p align="center">
78
78
  <em>BTC/USDT — Footprint chart with bid/ask volume at every price level, POC, delta, VRVP profile panel</em>
79
79
  </p>
80
80
 
81
- > **Video demos:** See the full interactive experience in the [`assets/media/`](https://github.com/PhamNhinh/kline-orderbook-chart/tree/main/assets/media) folder — real-time orderbook heatmap streaming, drawing tools, theme switching, and more.
81
+ > **Video demos:** See the full interactive experience in the [`assets/media/`](https://github.com/tapedelta/kline-orderbook-chart/tree/main/assets/media) folder — real-time orderbook heatmap streaming, drawing tools, theme switching, and more.
82
82
 
83
83
  ---
84
84
 
@@ -114,7 +114,7 @@ Give it a `<canvas>` element. It works with React, Vue, Svelte, Angular, or vani
114
114
  ## Benchmark
115
115
 
116
116
  <p align="center">
117
- <img src="https://raw.githubusercontent.com/PhamNhinh/kline-orderbook-chart/main/assets/media/benchmark.png" alt="Kline Orderbook Chart — Native Engine Benchmark Results" width="100%" />
117
+ <img src="https://raw.githubusercontent.com/tapedelta/kline-orderbook-chart/main/assets/media/benchmark.png" alt="Kline Orderbook Chart — Native Engine Benchmark Results" width="100%" />
118
118
  </p>
119
119
 
120
120
  Real benchmark from the built-in performance suite, measured on a standard desktop (M-series Mac, Chrome):
@@ -340,14 +340,14 @@ chart.footprintAddTradeBatch(flat)
340
340
  Full-featured real-time demo with live market data from **Binance Futures** and **Bybit Linear** — orderbook heatmap, footprint chart, RSI, OI, drawing tools, and more:
341
341
 
342
342
  ```bash
343
- git clone https://github.com/PhamNhinh/kline-orderbook-chart.git
343
+ git clone https://github.com/tapedelta/kline-orderbook-chart.git
344
344
  cd kline-orderbook-chart/demo
345
345
  npm install
346
346
  cd server && npm install && cd ..
347
347
  npm start
348
348
  ```
349
349
 
350
- Open [http://localhost:5180](http://localhost:5180) — see [demo/README.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/demo/README.md) for full documentation.
350
+ Open [http://localhost:5180](http://localhost:5180) — see [demo/README.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/demo/README.md) for full documentation.
351
351
 
352
352
  For the **full experience** with all features:
353
353
 
@@ -385,6 +385,50 @@ For the **full experience** with all features:
385
385
 
386
386
  ---
387
387
 
388
+ ## Native & Desktop (GPUI / Rust)
389
+
390
+ The same engine core that powers the web package also builds as a **native
391
+ Rust crate** — no browser, no canvas, no JavaScript runtime. Every frame the
392
+ engine emits a renderer-agnostic **command buffer** (`FillRect`, `Line`,
393
+ `Text`, `HeatmapWorld`, …); on the web a thin layer dispatches it to Canvas
394
+ 2D, and natively you dispatch the *same* buffer to your painter — **[GPUI](https://github.com/zed-industries/zed)**
395
+ (the Rust UI framework behind the Zed editor), wgpu, or skia.
396
+
397
+ ```rust
398
+ use chart_engine::{ChartEngine, render::Paint};
399
+
400
+ let mut engine = ChartEngine::new(960.0, 600.0);
401
+ engine.set_license(include_str!("../license.mrd").trim()); // native token: pl="any"
402
+ engine.set_klines(&ts, &open, &high, &low, &close, &volume);
403
+
404
+ for cmd in engine.commands() { // walk the last frame
405
+ match cmd {
406
+ Paint::FillRect { x, y, w, h, color } => painter.fill_rect(x, y, w, h, color),
407
+ Paint::Line { x1, y1, x2, y2, color, line_width } => painter.line(x1, y1, x2, y2, color, line_width),
408
+ Paint::HeatmapWorld { .. } => painter.heatmap(cmd), // depth / GEX raster
409
+ _ => {}
410
+ }
411
+ }
412
+ ```
413
+
414
+ - **One engine, two targets** — same candles, orderbook heatmap, footprint,
415
+ liquidation heatmap, GEX gamma heatmap, and 18+ indicators render
416
+ identically on the web and in a native window. You maintain one engine and
417
+ two thin dispatchers, not two charts.
418
+ - **GPUI reference adapter** — a buildable `Paint` → GPUI mapping ships in the
419
+ repo, so you start from a working element instead of an empty `match`.
420
+ - **Native licensing** — native builds use an Ed25519 token minted with
421
+ `pl:"any"`, which skips the web domain check.
422
+ - **Licensed SDK, not source** — the native SDK is a precompiled engine binary
423
+ plus an open decoder/adapter, sold under the **same commercial licence as the
424
+ web build**. You licence the binary; the engine source is not sold. Delivered
425
+ through your licence, not crates.io.
426
+
427
+ **Read more:** [Native & Desktop (GPUI / Rust) docs](https://tapedelta.com/docs/charting-library/native-gpui)
428
+ &bull; [Building a Native GPUI Chart in Rust — GEX Gamma Heatmap](https://tapedelta.com/blog/gpui-rust-charting-library-gex-heatmap)
429
+
430
+ ---
431
+
388
432
  ## Framework Examples
389
433
 
390
434
  <details>
@@ -429,7 +473,7 @@ function Chart({ licenseKey }) {
429
473
  }
430
474
  ```
431
475
 
432
- See [full React guide](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/examples/react.md) for hooks, resize handling, and WebSocket integration.
476
+ See [full React guide](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/examples/react.md) for hooks, resize handling, and WebSocket integration.
433
477
  </details>
434
478
 
435
479
  <details>
@@ -471,7 +515,7 @@ onBeforeUnmount(() => chart?.destroy())
471
515
  </script>
472
516
  ```
473
517
 
474
- See [full Vue guide](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/examples/vue.md) for composables, theme switching, and drawing tools.
518
+ See [full Vue guide](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/examples/vue.md) for composables, theme switching, and drawing tools.
475
519
  </details>
476
520
 
477
521
  <details>
@@ -538,6 +582,11 @@ chart.onDrawingComplete = (id, type, points) => { /* persist to backend */ }
538
582
 
539
583
  **14-day free trial included** — no credit card required.
540
584
 
585
+ > **Native / Desktop (GPUI / Rust)** is available as a licensed SDK under the
586
+ > same commercial model — a precompiled engine binary, not source. See
587
+ > [Native & Desktop docs](https://tapedelta.com/docs/charting-library/native-gpui)
588
+ > or email <support@tapedelta.com> for a native key.
589
+
541
590
  <p align="center">
542
591
  <a href="https://app.tapedelta.com/charting-library/pricing"><strong>View pricing & get a trial key &rarr;</strong></a>
543
592
  </p>
@@ -560,48 +609,48 @@ Requires ES2020.
560
609
 
561
610
  | Guide | Web docs | GitHub mirror |
562
611
  |---|---|---|
563
- | Getting Started | [tapedelta.com/docs/charting-library/getting-started](https://tapedelta.com/docs/charting-library/getting-started) | [docs/guides/getting-started.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/getting-started.md) |
564
- | Core Concepts & Architecture | — | [docs/guides/architecture.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/architecture.md) |
565
- | Framework Integration | [tapedelta.com/docs/charting-library/react-integration](https://tapedelta.com/docs/charting-library/react-integration) | [docs/examples/framework-integration.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/examples/framework-integration.md) |
612
+ | Getting Started | [tapedelta.com/docs/charting-library/getting-started](https://tapedelta.com/docs/charting-library/getting-started) | [docs/guides/getting-started.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/getting-started.md) |
613
+ | Core Concepts & Architecture | — | [docs/guides/architecture.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/architecture.md) |
614
+ | Framework Integration | [tapedelta.com/docs/charting-library/react-integration](https://tapedelta.com/docs/charting-library/react-integration) | [docs/examples/framework-integration.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/examples/framework-integration.md) |
566
615
 
567
616
  ### Data & Chart Types
568
617
 
569
618
  | Guide | Web docs | GitHub mirror |
570
619
  |---|---|---|
571
- | Candlestick Data | [tapedelta.com/docs/charting-library/data-loading](https://tapedelta.com/docs/charting-library/data-loading) | [docs/guides/data.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/data.md) |
572
- | Orderbook Heatmap | [tapedelta.com/docs/charting-library/orderbook-heatmap](https://tapedelta.com/docs/charting-library/orderbook-heatmap) | [docs/guides/orderbook-heatmap.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/orderbook-heatmap.md) |
573
- | Footprint Chart | [tapedelta.com/docs/charting-library/footprint-chart](https://tapedelta.com/docs/charting-library/footprint-chart) | [docs/guides/footprint-chart.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/footprint-chart.md) |
574
- | Chart Aggregation | — | [docs/guides/chart-aggregation.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/chart-aggregation.md) |
620
+ | Candlestick Data | [tapedelta.com/docs/charting-library/data-loading](https://tapedelta.com/docs/charting-library/data-loading) | [docs/guides/data.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/data.md) |
621
+ | Orderbook Heatmap | [tapedelta.com/docs/charting-library/orderbook-heatmap](https://tapedelta.com/docs/charting-library/orderbook-heatmap) | [docs/guides/orderbook-heatmap.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/orderbook-heatmap.md) |
622
+ | Footprint Chart | [tapedelta.com/docs/charting-library/footprint-chart](https://tapedelta.com/docs/charting-library/footprint-chart) | [docs/guides/footprint-chart.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/footprint-chart.md) |
623
+ | Chart Aggregation | — | [docs/guides/chart-aggregation.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/chart-aggregation.md) |
575
624
 
576
625
  ### Indicators & Analysis
577
626
 
578
627
  | Guide | Web docs | GitHub mirror |
579
628
  |---|---|---|
580
- | Built-in Indicators | [tapedelta.com/docs/charting-library/indicators](https://tapedelta.com/docs/charting-library/indicators) | [docs/guides/indicators.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/indicators.md) |
581
- | Custom Indicators | — | [docs/guides/custom-indicators.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/custom-indicators.md) |
629
+ | Built-in Indicators | [tapedelta.com/docs/charting-library/indicators](https://tapedelta.com/docs/charting-library/indicators) | [docs/guides/indicators.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/indicators.md) |
630
+ | Custom Indicators | — | [docs/guides/custom-indicators.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/custom-indicators.md) |
582
631
 
583
632
  ### Drawing & Interaction
584
633
 
585
634
  | Guide | Web docs | GitHub mirror |
586
635
  |---|---|---|
587
- | Drawing Tools | [tapedelta.com/docs/charting-library/drawing](https://tapedelta.com/docs/charting-library/drawing) | [docs/guides/drawings.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/drawings.md) |
588
- | Events & Tooltips | — | [docs/guides/tooltip.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/tooltip.md) |
589
- | Viewport & Interaction | — | [docs/guides/viewport-interaction.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/viewport-interaction.md) |
636
+ | Drawing Tools | [tapedelta.com/docs/charting-library/drawing](https://tapedelta.com/docs/charting-library/drawing) | [docs/guides/drawings.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/drawings.md) |
637
+ | Events & Tooltips | — | [docs/guides/tooltip.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/tooltip.md) |
638
+ | Viewport & Interaction | — | [docs/guides/viewport-interaction.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/viewport-interaction.md) |
590
639
 
591
640
  ### Configuration
592
641
 
593
642
  | Guide | Web docs | GitHub mirror |
594
643
  |---|---|---|
595
- | Theming | [tapedelta.com/docs/charting-library/chart-instance](https://tapedelta.com/docs/charting-library/chart-instance) | [docs/guides/themes.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/themes.md) |
596
- | Advanced Topics | — | [docs/guides/advanced.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/guides/advanced.md) |
644
+ | Theming | [tapedelta.com/docs/charting-library/chart-instance](https://tapedelta.com/docs/charting-library/chart-instance) | [docs/guides/themes.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/themes.md) |
645
+ | Advanced Topics | — | [docs/guides/advanced.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/guides/advanced.md) |
597
646
 
598
647
  ### Reference
599
648
 
600
649
  | Guide | Web docs | GitHub mirror |
601
650
  |---|---|---|
602
- | API Reference | [tapedelta.com/docs/charting-library/introduction](https://tapedelta.com/docs/charting-library/introduction) | [docs/api/README.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/api/README.md) |
603
- | React Integration | [tapedelta.com/docs/charting-library/react-integration](https://tapedelta.com/docs/charting-library/react-integration) | [docs/examples/react.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/examples/react.md) |
604
- | Vue 3 Integration | [tapedelta.com/docs/charting-library/react-integration](https://tapedelta.com/docs/charting-library/react-integration) | [docs/examples/vue.md](https://github.com/PhamNhinh/kline-orderbook-chart/blob/main/docs/examples/vue.md) |
651
+ | API Reference | [tapedelta.com/docs/charting-library/introduction](https://tapedelta.com/docs/charting-library/introduction) | [docs/api/README.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/api/README.md) |
652
+ | React Integration | [tapedelta.com/docs/charting-library/react-integration](https://tapedelta.com/docs/charting-library/react-integration) | [docs/examples/react.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/examples/react.md) |
653
+ | Vue 3 Integration | [tapedelta.com/docs/charting-library/react-integration](https://tapedelta.com/docs/charting-library/react-integration) | [docs/examples/vue.md](https://github.com/tapedelta/kline-orderbook-chart/blob/main/docs/examples/vue.md) |
605
654
 
606
655
  ---
607
656
 
@@ -618,7 +667,7 @@ Free 14-day trial included. Contact us for pricing and license options:
618
667
 
619
668
  ## Keywords
620
669
 
621
- `orderbook heatmap chart` · `kline heatmap` · `candlestick orderbook depth` · `footprint chart library` · `crypto chart heatmap` · `trading chart library` · `orderbook depth visualization` · `liquidation heatmap` · `volume profile chart` · `market depth chart javascript` · `real-time orderbook heatmap` · `kline orderbook chart`
670
+ `orderbook heatmap chart` · `kline heatmap` · `candlestick orderbook depth` · `footprint chart library` · `crypto chart heatmap` · `trading chart library` · `orderbook depth visualization` · `liquidation heatmap` · `volume profile chart` · `market depth chart javascript` · `real-time orderbook heatmap` · `kline orderbook chart` · `rust charting library` · `gpui chart` · `native rust chart` · `zed gpui chart` · `desktop trading chart`
622
671
 
623
672
  ---
624
673