@luxalgo/vela 0.6.14 → 0.6.16
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/NOTICE +28 -28
- package/README.md +9 -2
- package/dist/{DataProvider-DhzstpQb.d.ts → DataProvider-XLdJB86x.d.ts} +1 -1
- package/dist/{DataProvider-DlMtrwqM.d.cts → DataProvider-xH2VBcFT.d.cts} +1 -1
- package/dist/{chunk-KG4YT3TI.js → chunk-6DPAYEGO.js} +8 -1
- package/dist/chunk-FE6V2YAQ.js +1 -0
- package/dist/{chunk-N2Q5EEFH.js → chunk-GIJYO4LO.js} +2596 -242
- package/dist/{chunk-F4M24ANM.js → chunk-I77F2SVE.js} +80 -4
- package/dist/{chunk-MHY7MVXH.js → chunk-MGU3USTP.js} +29 -16
- package/dist/{chunk-G77Y7LK2.js → chunk-Q3TFJNJW.js} +2 -2
- package/dist/{chunk-64TF7JAJ.js → chunk-SEOO6YG7.js} +408 -184
- package/dist/{contributions-lPojhTxI.d.cts → contributions-BEkxwA5F.d.cts} +40 -13
- package/dist/{contributions-37nni40G.d.ts → contributions-CoAX7_SF.d.ts} +40 -13
- package/dist/index.cjs +2755 -380
- package/dist/index.d.cts +20 -12
- package/dist/index.d.ts +20 -12
- package/dist/index.js +5 -5
- package/dist/{options-CYS5Wmlx.d.ts → options-bdSAtp7y.d.cts} +5 -0
- package/dist/{options-CYS5Wmlx.d.cts → options-bdSAtp7y.d.ts} +5 -0
- package/dist/{plugin-DHyaoMjW.d.ts → plugin-CNUgbRNq.d.ts} +11 -8
- package/dist/{plugin-Cwikpz1m.d.cts → plugin-Dxyq35Zf.d.cts} +11 -8
- package/dist/plugin.cjs +8 -0
- package/dist/plugin.d.cts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.js +3 -3
- package/dist/providers/binance.d.cts +2 -2
- package/dist/providers/binance.d.ts +2 -2
- package/dist/providers/coinbase.d.cts +2 -2
- package/dist/providers/coinbase.d.ts +2 -2
- package/dist/providers/hyperliquid.d.cts +2 -2
- package/dist/providers/hyperliquid.d.ts +2 -2
- package/dist/{side-panel-CT9ZwIGz.d.cts → side-panel-HF0IAzwf.d.cts} +17 -0
- package/dist/{side-panel-CT9ZwIGz.d.ts → side-panel-HF0IAzwf.d.ts} +17 -0
- package/dist/{statusline-model-D-q_OOx9.d.ts → statusline-model-CbPza-Wc.d.cts} +6 -4
- package/dist/{statusline-model-CiJm-riV.d.cts → statusline-model-D7cWkw8A.d.ts} +6 -4
- package/dist/ui.cjs +34 -15
- package/dist/ui.d.cts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.js +3 -3
- package/dist/vela.global.js +2675 -300
- package/dist/vela.global.min.js +58 -52
- package/dist/widget.cjs +3296 -622
- package/dist/widget.d.cts +15 -11
- package/dist/widget.d.ts +15 -11
- package/dist/widget.js +7 -7
- package/dist/workspace.cjs +3296 -622
- package/dist/workspace.d.cts +49 -19
- package/dist/workspace.d.ts +49 -19
- package/dist/workspace.js +6 -6
- package/package.json +1 -1
- package/dist/chunk-H26BEHF4.js +0 -7
package/NOTICE
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
Vela
|
|
2
|
-
Copyright (c) 2026 LuxAlgo
|
|
3
|
-
https://luxalgo.com/vela
|
|
4
|
-
|
|
5
|
-
This product includes the Vela charting library, developed by LuxAlgo.
|
|
6
|
-
|
|
7
|
-
ATTRIBUTION REQUIREMENT
|
|
8
|
-
|
|
9
|
-
Any product, website, or application that displays charts rendered by this
|
|
10
|
-
software must show a visible attribution to the Vela project on every page or
|
|
11
|
-
screen where such a chart is displayed.
|
|
12
|
-
|
|
13
|
-
The library satisfies this requirement automatically: it renders an attribution
|
|
14
|
-
mark (the project logomark linking to the Vela project page) on the chart
|
|
15
|
-
itself, enabled by default. You may restyle or reposition this mark to fit your
|
|
16
|
-
design.
|
|
17
|
-
|
|
18
|
-
You may disable the built-in mark (renderer feature `attribution`) ONLY if you
|
|
19
|
-
display an equivalent visible attribution — the name "Vela" together with a
|
|
20
|
-
link to the project page above — elsewhere on the same page or screen, in a
|
|
21
|
-
place available to your users.
|
|
22
|
-
|
|
23
|
-
Removing, hiding, or obscuring the attribution without providing the
|
|
24
|
-
equivalent notice described above is not permitted.
|
|
25
|
-
|
|
26
|
-
This file constitutes the NOTICE file described in Section 4(d) of the Apache
|
|
27
|
-
License, Version 2.0: redistributions of this software, in source or binary
|
|
28
|
-
form, must include a readable copy of these attribution notices.
|
|
1
|
+
Vela
|
|
2
|
+
Copyright (c) 2026 LuxAlgo
|
|
3
|
+
https://luxalgo.com/vela
|
|
4
|
+
|
|
5
|
+
This product includes the Vela charting library, developed by LuxAlgo.
|
|
6
|
+
|
|
7
|
+
ATTRIBUTION REQUIREMENT
|
|
8
|
+
|
|
9
|
+
Any product, website, or application that displays charts rendered by this
|
|
10
|
+
software must show a visible attribution to the Vela project on every page or
|
|
11
|
+
screen where such a chart is displayed.
|
|
12
|
+
|
|
13
|
+
The library satisfies this requirement automatically: it renders an attribution
|
|
14
|
+
mark (the project logomark linking to the Vela project page) on the chart
|
|
15
|
+
itself, enabled by default. You may restyle or reposition this mark to fit your
|
|
16
|
+
design.
|
|
17
|
+
|
|
18
|
+
You may disable the built-in mark (renderer feature `attribution`) ONLY if you
|
|
19
|
+
display an equivalent visible attribution — the name "Vela" together with a
|
|
20
|
+
link to the project page above — elsewhere on the same page or screen, in a
|
|
21
|
+
place available to your users.
|
|
22
|
+
|
|
23
|
+
Removing, hiding, or obscuring the attribution without providing the
|
|
24
|
+
equivalent notice described above is not permitted.
|
|
25
|
+
|
|
26
|
+
This file constitutes the NOTICE file described in Section 4(d) of the Apache
|
|
27
|
+
License, Version 2.0: redistributions of this software, in source or binary
|
|
28
|
+
form, must include a readable copy of these attribution notices.
|
package/README.md
CHANGED
|
@@ -95,7 +95,14 @@ providers, to `window.Vela`.
|
|
|
95
95
|
|
|
96
96
|
## Indicators
|
|
97
97
|
|
|
98
|
-
Vela™
|
|
98
|
+
Vela™ ships **70+** built-in studies — moving averages, bands and channels, momentum
|
|
99
|
+
oscillators, trend and volatility measures, volume studies, and price-anchored
|
|
100
|
+
overlays such as VWAP, SuperTrend, and Pivot Points. They compute from the chart's
|
|
101
|
+
own bars (no scripting engine), and each one gets a legend row, a settings dialog,
|
|
102
|
+
and persistence across reloads. Volume and the visible-range volume profile sit
|
|
103
|
+
alongside them.
|
|
104
|
+
|
|
105
|
+
Custom scripts still run through pluggable engines. Vela™ **ships none**: install the
|
|
99
106
|
addon for the language you want, or write one against the public `ScriptingEngine` port.
|
|
100
107
|
Pine Script lives in [`@luxalgo/vela-pinets`](https://github.com/LuxAlgo/Vela-pinets)
|
|
101
108
|
(`npm i @luxalgo/vela-pinets pinets`), which is **AGPL-3.0** because the PineTS runtime it
|
|
@@ -105,7 +112,7 @@ executes is. Vela™ itself stays Apache-2.0 and carries no Pine code:
|
|
|
105
112
|
import { PineEngine } from '@luxalgo/vela-pinets';
|
|
106
113
|
|
|
107
114
|
chart.registerEngine('pine', new PineEngine());
|
|
108
|
-
chart.addIndicator(`//@version=
|
|
115
|
+
chart.addIndicator(`//@version=6
|
|
109
116
|
indicator("EMA 20", overlay=true)
|
|
110
117
|
plot(ta.ema(close, 20), color=color.orange, linewidth=2)`);
|
|
111
118
|
```
|
|
@@ -17,6 +17,7 @@ var SERIES_LINE = "#3b82f6";
|
|
|
17
17
|
var CROSSHAIR = "#9aa0ad";
|
|
18
18
|
var SLATE_DEEP = "#1e293b";
|
|
19
19
|
var SLATE = "#475569";
|
|
20
|
+
var CHIP_PLATE = "#595959";
|
|
20
21
|
var TRADE_LONG = ACCENT;
|
|
21
22
|
var TRADE_SHORT = BEARISH;
|
|
22
23
|
var TRADE_EXIT = "#d500f9";
|
|
@@ -104,6 +105,10 @@ registerIcon(
|
|
|
104
105
|
"market-post",
|
|
105
106
|
svg24('<path d="M12 10V2"/><path d="m4.93 10.93 1.41 1.41"/><path d="M2 18h2"/><path d="M20 18h2"/><path d="m19.07 10.93-1.41 1.41"/><path d="M22 22H2"/><path d="m16 14-4 4-4-4"/><path d="M16 6a4 4 0 0 0-8 0"/>')
|
|
106
107
|
);
|
|
108
|
+
registerIcon(
|
|
109
|
+
"market-extended",
|
|
110
|
+
svg24('<path d="M22 22H2"/><path d="M12 3a5 5 0 0 0 7.5 7.5A7.5 7.5 0 1 1 12 3Z"/>')
|
|
111
|
+
);
|
|
107
112
|
registerIcon("market-closed", svg24('<path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"/>'));
|
|
108
113
|
registerIcon(
|
|
109
114
|
"market-holiday",
|
|
@@ -117,6 +122,8 @@ registerIcon("chevrons-right", S('<path d="m4 3.5 4.5 4.5L4 12.5"/><path d="m8.5
|
|
|
117
122
|
registerIcon("chevrons-left", S('<path d="M12 3.5 7.5 8l4.5 4.5"/><path d="M7.5 3.5 3 8l4.5 4.5"/>'));
|
|
118
123
|
registerIcon("check", S('<path d="m2.8 8.4 3.4 3.4 7-7.6"/>'));
|
|
119
124
|
registerIcon("close", S('<path d="m3.8 3.8 8.4 8.4M12.2 3.8l-8.4 8.4"/>'));
|
|
125
|
+
registerIcon("pin", S('<path d="M5.6 2.5h4.8M6.4 2.5v3.6L4.4 8.4v.9h7.2v-.9L9.6 6.1V2.5M8 9.3v4.2"/>'));
|
|
126
|
+
registerIcon("pin-filled", S('<path d="M5.6 2.5h4.8M6.4 2.5v3.6L4.4 8.4v.9h7.2v-.9L9.6 6.1V2.5M8 9.3v4.2"/><path d="M6.4 2.5h3.2v3.6l2 2.3v.9H4.4v-.9l2-2.3z" fill="currentColor" stroke="none"/>'));
|
|
120
127
|
registerIcon("eye", S('<path d="M1.5 8s2.5-5.4 6.5-5.4S14.5 8 14.5 8 12 13.4 8 13.4 1.5 8 1.5 8z"/><circle cx="8" cy="8" r="1.8"/>'));
|
|
121
128
|
registerIcon("eye-off", S('<path d="M1.5 8s2.5-5.4 6.5-5.4S14.5 8 14.5 8 12 13.4 8 13.4 1.5 8 1.5 8z" opacity="0.45"/><path d="m3 13 10-10"/>'));
|
|
122
129
|
registerIcon("lock", S('<rect x="3.2" y="7" width="9.6" height="6.6" rx="1.2"/><path d="M5.6 7V5.2a2.4 2.4 0 0 1 4.8 0V7"/>'));
|
|
@@ -261,4 +268,4 @@ function iconEl(id, doc = document) {
|
|
|
261
268
|
return span;
|
|
262
269
|
}
|
|
263
270
|
|
|
264
|
-
export { ACCENT, ACCENT_BRIGHT, BEARISH, BULLISH, CATEGORICAL, CROSSHAIR, FIELD_FOCUS_CSS, FIELD_FOCUS_RING, HIGHLIGHT, INFO, INVALID, MARKER, NEUTRAL, SERIES_LINE, SESSION_OFF, SESSION_POST, SESSION_PRE, SLATE, SLATE_DEEP, TRADE_EXIT, TRADE_LONG, TRADE_SHORT, VALID, WARNING, categoricalColor, icon, iconAt, iconEl, iconMarkup, injectStyles, isDarkColor, mix, overlayScrollbarCss, registerIcon, svg16, svg24, svg24Solid, withAlpha };
|
|
271
|
+
export { ACCENT, ACCENT_BRIGHT, BEARISH, BULLISH, CATEGORICAL, CHIP_PLATE, CROSSHAIR, FIELD_FOCUS_CSS, FIELD_FOCUS_RING, HIGHLIGHT, INFO, INVALID, MARKER, NEUTRAL, SERIES_LINE, SESSION_OFF, SESSION_POST, SESSION_PRE, SLATE, SLATE_DEEP, TRADE_EXIT, TRADE_LONG, TRADE_SHORT, VALID, WARNING, categoricalColor, icon, iconAt, iconEl, iconMarkup, injectStyles, isDarkColor, mix, overlayScrollbarCss, registerIcon, svg16, svg24, svg24Solid, withAlpha };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|