openalgo-charts 1.0.7 → 1.0.8

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/README.md CHANGED
@@ -8,8 +8,8 @@ Professional interactive financial charts, on-chart trading, and live data - in
8
8
 
9
9
  [![npm version](https://img.shields.io/npm/v/openalgo-charts.svg?color=cb3837&label=npm)](https://www.npmjs.com/package/openalgo-charts)
10
10
  [![license](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](./LICENSE)
11
- [![bundle](https://img.shields.io/badge/brotli-~24%20KB%20base%20%C2%B7%20~38%20KB%20full-brightgreen.svg)](./ARCHITECTURE.md)
12
- [![tests](https://img.shields.io/badge/tests-297%20passing-brightgreen.svg)](#develop)
11
+ [![bundle](https://img.shields.io/badge/brotli-~33%20KB%20base%20%C2%B7%20~58%20KB%20full-brightgreen.svg)](./ARCHITECTURE.md)
12
+ [![tests](https://img.shields.io/badge/tests-468%20passing-brightgreen.svg)](#develop)
13
13
  [![dependencies](https://img.shields.io/badge/runtime%20deps-0-brightgreen.svg)](#principles)
14
14
 
15
15
  [**Documentation**](https://marketcalls.github.io/openalgo-charts/)  ·  [**Live examples**](https://marketcalls.github.io/openalgo-charts/examples)  ·  [**Getting started**](./docs/getting-started.md)  ·  [**Architecture**](./ARCHITECTURE.md)
@@ -62,14 +62,19 @@ Loadable tiers - lazy-load only what you use:
62
62
  | `openalgo-charts/trade` | On-chart order/position/bracket tools + DOM ladder |
63
63
  | `openalgo-charts/transform` | Renko, Range bars, Point & Figure, Kagi, Line Break, Heikin Ashi |
64
64
  | `openalgo-charts/profile` | Volume Profile, Market Profile (TPO), Footprint, Order flow |
65
+ | `openalgo-charts/indicators` | 18 built-in indicators + the Tier-2 (external-data) contract |
66
+ | `openalgo-charts/draw` | 18 drawing tools + a headless drawing controller |
65
67
 
66
68
  ## What's built
67
69
 
68
70
  - **Chart types:** candles, hollow/volume candles, bars, high-low, line, line+markers, step, area, HLC-area, baseline, columns, histogram.
69
71
  - **Transforms:** Heikin Ashi, Renko, Range bars, Line Break, Point & Figure, Kagi.
70
72
  - **Profiles & order flow:** Volume Profile, Market Profile (TPO), Footprint, cumulative delta.
73
+ - **Indicators:** 18 built-ins via `chart.addIndicator(...)` - SMA, EMA, WMA, VWAP, Bollinger, Supertrend, Parabolic SAR, Ichimoku, RSI, MACD, Stochastic, ADX/DMI, CCI, MFI, ATR, Volume, OBV, A/D - plus a registry for your own, and a Tier-2 contract for indicators with external data (open interest, CVD).
71
74
  - **Trading:** order/position/bracket lines, live P&L, one-click + drag-to-modify, OCO, validation, analyzer mode, and a depth-of-market ladder (5 to 200 levels).
72
- - **Live + historical** OpenAlgo data (REST history + WebSocket ticks with auto-reconnect), a unified `chart.on(...)` event bus, markers/signals, earnings/dividend/expiry event markers, custom price/time formatters, and EMA/RSI/ATR/Supertrend indicators.
75
+ - **Drawing tools:** 18 tools (trend/ray/fib/channel/position/measure/text/...) with a headless controller - placement, selection, per-anchor drag, magnet snap, undo/redo, and persistence through the chart state.
76
+ - **Panes:** draggable dividers, move/maximize/remove, and TradingView-style pane legends with inline show-hide / settings / delete controls.
77
+ - **Live + historical** OpenAlgo data (REST history + WebSocket ticks with auto-reconnect), a unified `chart.on(...)` event bus, markers/signals, earnings/dividend/expiry event markers, and custom price/time formatters.
73
78
 
74
79
  ## Documentation
75
80
 
@@ -89,7 +94,7 @@ cd website && npm install && npm run dev # http://localhost:3000/openalgo-cha
89
94
  ```bash
90
95
  npm install # install dev toolchain
91
96
  npm run typecheck # strict TypeScript check
92
- npm test # unit tests (vitest) - 297 across 39 files
97
+ npm test # unit tests (vitest) - 468 across 47 files
93
98
  npm run build # Rollup -> dist/ (minified ESM per tier + types)
94
99
  npm run size # size-limit (Brotli) against the budget
95
100
  npm run e2e # Playwright Chromium smoke tests
@@ -105,7 +110,7 @@ npm run verify # typecheck + test + build + size
105
110
 
106
111
  ## Status & limitations
107
112
 
108
- Version **1.0.1 (published)** - all engine build phases are implemented with 297 unit tests, base engine ~24 KB Brotli, full package ~38 KB Brotli (all tiers). The OpenAlgo WS/trade adapters ship and auto-reconnect, but their exact message/endpoint schemas should be verified against your running OpenAlgo build. Overlay and `indexed-to-100` price scales are not yet implemented - see [`ARCHITECTURE.md`](./ARCHITECTURE.md) for the honest deferred list.
113
+ Version **1.0.8 (published)** - all engine build phases are implemented with 468 unit tests, base engine ~33 KB Brotli, full package ~58 KB Brotli (all six tiers). The OpenAlgo WS/trade adapters ship and auto-reconnect, but their exact message/endpoint schemas should be verified against your running OpenAlgo build. An optional DOM chrome package (toolbar, dialogs, command palette, objects panel) is the next planned piece; the Footprint/order-flow renderer still needs its visual pass, and overlay and `indexed-to-100` price scales are unimplemented - see [`ARCHITECTURE.md`](./ARCHITECTURE.md) for the honest deferred list.
109
114
 
110
115
  ## License
111
116