kline-orderbook-chart 1.5.4 → 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,34 @@ 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
+
8
36
  ## 1.5.4 — Update
9
37
 
10
38
  ### 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
@@ -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/TndNrEyyVV">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>
@@ -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>
@@ -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>
@@ -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