@tradecanvas/chart 2.1.0 → 2.1.2
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 +8 -6
- package/dist/{LayoutSession-DD1caYEE.js → LayoutSession-DN0bpXOv.js} +2 -2
- package/dist/{LayoutSession-DD1caYEE.js.map → LayoutSession-DN0bpXOv.js.map} +1 -1
- package/dist/{LayoutSession-CMR5GsE4.cjs → LayoutSession-DoJrXzMe.cjs} +2 -2
- package/dist/{LayoutSession-CMR5GsE4.cjs.map → LayoutSession-DoJrXzMe.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/widget/index.cjs +1 -1
- package/dist/widget/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -94,12 +94,6 @@ new ChartWidget(document.getElementById('chart')!, {
|
|
|
94
94
|
|
|
95
95
|
The headless `Chart` takes your own bars (`chart.setData(bars)`) and leaves the interface to you. A source of your own is a `DataFeed` of two methods (`getBars`, `subscribeBars`), given as `feed` wherever an adapter goes; one feed serves any number of charts. For React, Vue and Svelte, `@tradecanvas/react`, `/vue` and `/svelte` wrap it in a component with the same props.
|
|
96
96
|
|
|
97
|
-
## Documentation
|
|
98
|
-
|
|
99
|
-
[Getting started](https://tradecanvas.dev/docs/getting-started/) · [API](https://tradecanvas.dev/docs/api/) · [Indicators](https://tradecanvas.dev/docs/indicators/) · [Drawing tools](https://tradecanvas.dev/docs/drawing-tools/) · [Realtime](https://tradecanvas.dev/docs/realtime/) · [Trading](https://tradecanvas.dev/docs/trading/) · [Styling](https://tradecanvas.dev/docs/styling/) · [Frameworks](https://tradecanvas.dev/docs/frameworks/) · [Plugins](https://tradecanvas.dev/docs/plugins/) · [Phones and apps](https://tradecanvas.dev/docs/embed/#mobile-app) · [Performance](https://tradecanvas.dev/docs/performance/)
|
|
100
|
-
|
|
101
|
-
The docs are in English, Tiếng Việt, 简体中文, 日本語, 한국어 and Español. Measurements, limits and how it is tested are on the [system audit](https://tradecanvas.dev/audit/).
|
|
102
|
-
|
|
103
97
|
## AI coding tools
|
|
104
98
|
|
|
105
99
|
The agent skill in [`skills/tradecanvas`](https://github.com/bonguynvan/tradecanvas/blob/main/skills/tradecanvas/SKILL.md) teaches coding agents the API, with examples that CI type-checks. In Claude Code:
|
|
@@ -125,6 +119,14 @@ claude mcp add tradecanvas -- npx -y @tradecanvas/mcp
|
|
|
125
119
|
|
|
126
120
|
On Windows outside WSL: `claude mcp add tradecanvas -- cmd /c npx -y @tradecanvas/mcp`. In Git Bash, which runs the `!` commands of Claude Code on Windows, write `//c`: Git Bash turns `/c` into a path.
|
|
127
121
|
|
|
122
|
+
Measured, not claimed: on 24 tasks an agent finished every run with or without the skill, and with it took 10 turns against 16 and 137k tokens against 240k, and went reading the compiled code in 2 runs of 48 against 22 ([the run](https://github.com/bonguynvan/tradecanvas/blob/main/evals/baselines/2026-10-25-sonnet.md), on 1.48.0; the tasks and what they turned up are in [`evals`](https://github.com/bonguynvan/tradecanvas/blob/main/evals/README.md)).
|
|
123
|
+
|
|
124
|
+
## Documentation
|
|
125
|
+
|
|
126
|
+
[Getting started](https://tradecanvas.dev/docs/getting-started/) · [API](https://tradecanvas.dev/docs/api/) · [Indicators](https://tradecanvas.dev/docs/indicators/) · [Drawing tools](https://tradecanvas.dev/docs/drawing-tools/) · [Realtime](https://tradecanvas.dev/docs/realtime/) · [Trading](https://tradecanvas.dev/docs/trading/) · [Styling](https://tradecanvas.dev/docs/styling/) · [Frameworks](https://tradecanvas.dev/docs/frameworks/) · [Plugins](https://tradecanvas.dev/docs/plugins/) · [Phones and apps](https://tradecanvas.dev/docs/embed/#mobile-app) · [Performance](https://tradecanvas.dev/docs/performance/)
|
|
127
|
+
|
|
128
|
+
The docs are in English, Tiếng Việt, 简体中文, 日本語, 한국어 and Español. Measurements, limits and how it is tested are on the [system audit](https://tradecanvas.dev/audit/).
|
|
129
|
+
|
|
128
130
|
## More
|
|
129
131
|
|
|
130
132
|
- **Packages**: [`@tradecanvas/chart`](https://www.npmjs.com/package/@tradecanvas/chart) (the chart and the widget), [`react`](https://www.npmjs.com/package/@tradecanvas/react) · [`vue`](https://www.npmjs.com/package/@tradecanvas/vue) · [`svelte`](https://www.npmjs.com/package/@tradecanvas/svelte), and [`analytics`](https://www.npmjs.com/package/@tradecanvas/analytics) for backtests, and [`mcp`](https://www.npmjs.com/package/@tradecanvas/mcp) for coding agents.
|
|
@@ -2160,7 +2160,7 @@ var xi = .08, Si = 20, Ci = 8, wi = 10, Ti = {
|
|
|
2160
2160
|
ArrowUp: [0, -1],
|
|
2161
2161
|
ArrowDown: [0, 1]
|
|
2162
2162
|
}, Ei = new Set(["horizontalLine", "crossLine"]), Di = new Set(["verticalLine", "crossLine"]), Oi = class {
|
|
2163
|
-
static version = "2.1.
|
|
2163
|
+
static version = "2.1.2";
|
|
2164
2164
|
engine;
|
|
2165
2165
|
viewport;
|
|
2166
2166
|
series = new Hn((e) => this.sessionKeep(e), (e) => this.followLiveChange(e));
|
|
@@ -6201,4 +6201,4 @@ var Na = class {
|
|
|
6201
6201
|
//#endregion
|
|
6202
6202
|
export { pr as A, Lr as C, wr as D, G as E, L as M, z as N, vr as O, Ir as S, Fr as T, oi as _, Oa as a, zr as b, ya as c, va as d, Sa as f, yi as g, Oi as h, ka as i, B as j, hr as k, ba as l, ia as m, Aa as n, _a as o, ma as p, $ as r, ga as s, Na as t, Ca as u, si as v, Pr as w, Rr as x, Br as y };
|
|
6203
6203
|
|
|
6204
|
-
//# sourceMappingURL=LayoutSession-
|
|
6204
|
+
//# sourceMappingURL=LayoutSession-DN0bpXOv.js.map
|