openalgo-charts 1.0.12 → 1.0.14
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 +3 -3
- package/dist/draw/index.d.ts +83 -1835
- package/dist/index.d.ts +8 -2
- package/dist/openalgo-charts.draw.mjs +1 -1
- package/dist/openalgo-charts.draw.mjs.map +1 -1
- package/dist/openalgo-charts.mjs +1 -1
- package/dist/openalgo-charts.mjs.map +1 -1
- package/dist/openalgo-charts.standalone.js +1 -1
- package/dist/openalgo-charts.standalone.js.map +1 -1
- package/dist/profile/index.d.ts +2 -326
- package/dist/trade/index.d.ts +2 -341
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -62,12 +62,12 @@ Import only what you use. Each tier is a separate bundle that registers into the
|
|
|
62
62
|
|---|---|---|
|
|
63
63
|
| `openalgo-charts` | Engine, 13 chart types, panes & scales, primitives, registries, chart state, trading overlay, OpenAlgo feeds | 34.6 KB |
|
|
64
64
|
| `openalgo-charts/indicators` | 18 built-in indicators + the Tier-2 (external-data) contract | 4.5 KB |
|
|
65
|
-
| `openalgo-charts/draw` |
|
|
65
|
+
| `openalgo-charts/draw` | 43 drawing tools + a headless drawing controller | 11.3 KB |
|
|
66
66
|
| `openalgo-charts/transform` | Heikin Ashi, Renko, Range bars, Line Break, Point & Figure, Kagi | 2.7 KB |
|
|
67
67
|
| `openalgo-charts/profile` | Volume Profile, Market Profile (TPO), Footprint, order flow | 10.1 KB |
|
|
68
68
|
| `openalgo-charts/trade` | Order / position / bracket tools + DOM ladder | 6.6 KB |
|
|
69
69
|
|
|
70
|
-
Everything together is **
|
|
70
|
+
Everything together is **69.8 KB Brotli**.
|
|
71
71
|
|
|
72
72
|
## What's built
|
|
73
73
|
|
|
@@ -97,7 +97,7 @@ const draw = new DrawingController(chart, { magnet: true });
|
|
|
97
97
|
draw.setTool('trend-line'); // the next two clicks place it
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
43 tools. Lines: trend line, ray, extended line, arrow, horizontal line/ray, vertical line, cross line. Shapes: rectangle, rotated rectangle, ellipse, circle, triangle. Paths: path, polyline, arc, curve, double curve. Channels: parallel channel, fib channel. Fibonacci: retracement, extension, time zone, speed fan. Gann: fan, box. Cycles: cyclic lines, time cycles, sine line. Forecasting: long/short position (1:1 from one click, with risk/reward and risk-based sizing), forecast. Measurers: price range, date range, measure. Arrows: mark up, mark down. Text and notes: text, price label, callout, flag mark. Brushes: brush, highlighter (freehand).
|
|
101
101
|
|
|
102
102
|
Headless by design — no toolbar, no dialogs. Placement with live preview, selection, whole-shape and per-anchor dragging, magnet snap to O/H/L/C, undo/redo (a drag is one step), and persistence. Anchors are `{ time, price }`, never pixels, so they survive zoom and resolve inside collapsed session gaps and past the last bar.
|
|
103
103
|
|