wickra-wasm 0.4.7 → 0.5.1
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 +20 -12
- package/package.json +2 -2
- package/wickra_wasm.d.ts +267 -0
- package/wickra_wasm.js +1 -1
- package/wickra_wasm_bg.js +2046 -99
- package/wickra_wasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<a href="https://wickra.org"><img src="https://raw.githubusercontent.com/wickra-lib/.github/main/profile/wickra-banner.webp?v=
|
|
2
|
+
<a href="https://wickra.org"><img src="https://raw.githubusercontent.com/wickra-lib/.github/main/profile/wickra-banner.webp?v=351" alt="Wickra — streaming-first technical indicators" width="100%"></a>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
[](https://github.com/wickra-lib/wickra/actions/workflows/ci.yml)
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[](https://crates.io/crates/wickra)
|
|
10
10
|
[](https://pypi.org/project/wickra/)
|
|
11
11
|
[](https://www.npmjs.com/package/wickra)
|
|
12
|
-
[](#license)
|
|
13
13
|
[](https://scorecard.dev/viewer/?uri=github.com/wickra-lib/wickra)
|
|
14
14
|
[](https://github.com/wickra-lib/wickra/attestations)
|
|
15
15
|
[](https://docs.wickra.org)
|
|
@@ -47,7 +47,7 @@ Full documentation lives at **[docs.wickra.org](https://docs.wickra.org)**:
|
|
|
47
47
|
[Node](https://docs.wickra.org/Quickstart-Node),
|
|
48
48
|
[WASM](https://docs.wickra.org/Quickstart-WASM).
|
|
49
49
|
- **Indicators** — a per-indicator deep dive (formula, parameters, warmup) for
|
|
50
|
-
every one of the
|
|
50
|
+
every one of the 351 indicators; start at the
|
|
51
51
|
[indicators overview](https://docs.wickra.org/Indicators-Overview).
|
|
52
52
|
- **Reference** — [warmup periods](https://docs.wickra.org/Warmup-Periods),
|
|
53
53
|
[streaming vs batch](https://docs.wickra.org/Streaming-vs-Batch),
|
|
@@ -135,7 +135,7 @@ python -m benchmarks.compare_libraries
|
|
|
135
135
|
|
|
136
136
|
## Indicators
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
351 streaming-first indicators across twenty-one families. Every one passes the
|
|
139
139
|
`batch == streaming` equivalence test, reference-value tests, and reset
|
|
140
140
|
semantics tests. Each has a per-indicator deep dive (formula, parameters,
|
|
141
141
|
warmup) at [docs.wickra.org](https://docs.wickra.org/Indicators-Overview).
|
|
@@ -160,8 +160,9 @@ warmup) at [docs.wickra.org](https://docs.wickra.org/Indicators-Overview).
|
|
|
160
160
|
| Microstructure | Order-Book Imbalance (Top-1 / Top-N / Full), Microprice, Quoted Spread, Depth Slope, Signed Volume, Cumulative Volume Delta, Trade Imbalance, Effective Spread, Realized Spread, Kyle's Lambda, Footprint |
|
|
161
161
|
| Derivatives | Funding Rate, Funding Rate Mean, Funding Rate Z-Score, Funding Basis, Open-Interest Delta, OI / Price Divergence, OI-Weighted Price, Long/Short Ratio, Taker Buy/Sell Ratio, Liquidation Features, Term-Structure Basis, Calendar Spread |
|
|
162
162
|
| Market Profile | Value Area (POC / VAH / VAL), Volume Profile (histogram), TPO Profile, Initial Balance, Opening Range |
|
|
163
|
-
| Market Breadth | Advance/Decline Line |
|
|
163
|
+
| Market Breadth | Advance/Decline Line, Advance/Decline Ratio, Advance/Decline Volume Line, McClellan Oscillator, McClellan Summation Index, TRIN / Arms Index, Breadth Thrust, New Highs - New Lows, High-Low Index, Percent Above Moving Average, Up/Down Volume Ratio, Bullish Percent Index, Cumulative Volume Index, Absolute Breadth Index, TICK Index |
|
|
164
164
|
| Risk / Performance | Sharpe Ratio, Sortino Ratio, Calmar Ratio, Omega Ratio, Max Drawdown, Average Drawdown, Drawdown Duration, Pain Index, Value at Risk, Conditional Value at Risk (CVaR), Profit Factor, Gain/Loss Ratio, Recovery Factor, Kelly Criterion, Treynor Ratio, Information Ratio, Alpha (Jensen) |
|
|
165
|
+
| Seasonality & Session | Session VWAP, Session High/Low, Session Range, Average Daily Range, Overnight Gap, Overnight/Intraday Return, Turn-of-Month, Seasonal Z-Score, Time-of-Day Return Profile, Day-of-Week Profile, Intraday Volatility Profile, Volume-by-Time Profile |
|
|
165
166
|
|
|
166
167
|
Every candlestick pattern emits a signed per-bar value — `+1.0` bullish,
|
|
167
168
|
`−1.0` bearish, `0.0` none — so the family drops straight into a feature matrix
|
|
@@ -240,7 +241,7 @@ A Python live-trading example using the public `websockets` package lives at
|
|
|
240
241
|
```
|
|
241
242
|
wickra/
|
|
242
243
|
├── crates/
|
|
243
|
-
│ ├── wickra-core/ core engine + all
|
|
244
|
+
│ ├── wickra-core/ core engine + all 351 indicators
|
|
244
245
|
│ ├── wickra/ top-level facade crate (publishes on crates.io) + benches/
|
|
245
246
|
│ └── wickra-data/ CSV reader, tick aggregator, live exchange feeds
|
|
246
247
|
├── bindings/
|
|
@@ -324,13 +325,20 @@ shape together before you invest the time.
|
|
|
324
325
|
|
|
325
326
|
## License
|
|
326
327
|
|
|
327
|
-
Licensed under
|
|
328
|
+
Licensed under either of
|
|
328
329
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
330
|
+
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
|
|
331
|
+
<http://www.apache.org/licenses/LICENSE-2.0>)
|
|
332
|
+
- MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)
|
|
333
|
+
|
|
334
|
+
at your option. Use it, fork it, modify it, redistribute it — commercially or
|
|
335
|
+
not — file issues, send pull requests; all welcome.
|
|
336
|
+
|
|
337
|
+
### Contribution
|
|
338
|
+
|
|
339
|
+
Unless you explicitly state otherwise, any contribution intentionally submitted
|
|
340
|
+
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
|
|
341
|
+
dual licensed as above, without any additional terms or conditions.
|
|
334
342
|
|
|
335
343
|
## Disclaimer
|
|
336
344
|
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"kingchenc <support@wickra.org>"
|
|
6
6
|
],
|
|
7
7
|
"description": "WASM bindings for the Wickra streaming-first technical indicators library.",
|
|
8
|
-
"version": "0.
|
|
9
|
-
"license": "
|
|
8
|
+
"version": "0.5.1",
|
|
9
|
+
"license": "MIT OR Apache-2.0",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/wickra-lib/wickra"
|
package/wickra_wasm.d.ts
CHANGED
|
@@ -89,6 +89,16 @@ export class AbandonedBaby {
|
|
|
89
89
|
warmupPeriod(): number;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
export class AbsoluteBreadthIndex {
|
|
93
|
+
free(): void;
|
|
94
|
+
[Symbol.dispose](): void;
|
|
95
|
+
isReady(): boolean;
|
|
96
|
+
constructor();
|
|
97
|
+
reset(): void;
|
|
98
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
99
|
+
warmupPeriod(): number;
|
|
100
|
+
}
|
|
101
|
+
|
|
92
102
|
export class AccelerationBands {
|
|
93
103
|
free(): void;
|
|
94
104
|
[Symbol.dispose](): void;
|
|
@@ -112,6 +122,16 @@ export class AcceleratorOscillator {
|
|
|
112
122
|
update(high: number, low: number): number | undefined;
|
|
113
123
|
}
|
|
114
124
|
|
|
125
|
+
export class AdVolumeLine {
|
|
126
|
+
free(): void;
|
|
127
|
+
[Symbol.dispose](): void;
|
|
128
|
+
isReady(): boolean;
|
|
129
|
+
constructor();
|
|
130
|
+
reset(): void;
|
|
131
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
132
|
+
warmupPeriod(): number;
|
|
133
|
+
}
|
|
134
|
+
|
|
115
135
|
export class AdaptiveCycle {
|
|
116
136
|
free(): void;
|
|
117
137
|
[Symbol.dispose](): void;
|
|
@@ -144,6 +164,16 @@ export class AdvanceDecline {
|
|
|
144
164
|
warmupPeriod(): number;
|
|
145
165
|
}
|
|
146
166
|
|
|
167
|
+
export class AdvanceDeclineRatio {
|
|
168
|
+
free(): void;
|
|
169
|
+
[Symbol.dispose](): void;
|
|
170
|
+
isReady(): boolean;
|
|
171
|
+
constructor();
|
|
172
|
+
reset(): void;
|
|
173
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
174
|
+
warmupPeriod(): number;
|
|
175
|
+
}
|
|
176
|
+
|
|
147
177
|
export class Alligator {
|
|
148
178
|
free(): void;
|
|
149
179
|
[Symbol.dispose](): void;
|
|
@@ -251,6 +281,16 @@ export class Autocorrelation {
|
|
|
251
281
|
warmupPeriod(): number;
|
|
252
282
|
}
|
|
253
283
|
|
|
284
|
+
export class AverageDailyRange {
|
|
285
|
+
free(): void;
|
|
286
|
+
[Symbol.dispose](): void;
|
|
287
|
+
isReady(): boolean;
|
|
288
|
+
constructor(period: number, utc_offset_minutes: number);
|
|
289
|
+
reset(): void;
|
|
290
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): number | undefined;
|
|
291
|
+
warmupPeriod(): number;
|
|
292
|
+
}
|
|
293
|
+
|
|
254
294
|
export class AverageDrawdown {
|
|
255
295
|
free(): void;
|
|
256
296
|
[Symbol.dispose](): void;
|
|
@@ -357,6 +397,16 @@ export class BollingerBandwidth {
|
|
|
357
397
|
warmupPeriod(): number;
|
|
358
398
|
}
|
|
359
399
|
|
|
400
|
+
export class BreadthThrust {
|
|
401
|
+
free(): void;
|
|
402
|
+
[Symbol.dispose](): void;
|
|
403
|
+
isReady(): boolean;
|
|
404
|
+
constructor(period: number);
|
|
405
|
+
reset(): void;
|
|
406
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
407
|
+
warmupPeriod(): number;
|
|
408
|
+
}
|
|
409
|
+
|
|
360
410
|
export class Breakaway {
|
|
361
411
|
free(): void;
|
|
362
412
|
[Symbol.dispose](): void;
|
|
@@ -368,6 +418,16 @@ export class Breakaway {
|
|
|
368
418
|
warmupPeriod(): number;
|
|
369
419
|
}
|
|
370
420
|
|
|
421
|
+
export class BullishPercentIndex {
|
|
422
|
+
free(): void;
|
|
423
|
+
[Symbol.dispose](): void;
|
|
424
|
+
isReady(): boolean;
|
|
425
|
+
constructor();
|
|
426
|
+
reset(): void;
|
|
427
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array, on_buy_signal: Float64Array): number | undefined;
|
|
428
|
+
warmupPeriod(): number;
|
|
429
|
+
}
|
|
430
|
+
|
|
371
431
|
export class CCI {
|
|
372
432
|
free(): void;
|
|
373
433
|
[Symbol.dispose](): void;
|
|
@@ -626,6 +686,16 @@ export class CumulativeVolumeDelta {
|
|
|
626
686
|
warmupPeriod(): number;
|
|
627
687
|
}
|
|
628
688
|
|
|
689
|
+
export class CumulativeVolumeIndex {
|
|
690
|
+
free(): void;
|
|
691
|
+
[Symbol.dispose](): void;
|
|
692
|
+
isReady(): boolean;
|
|
693
|
+
constructor();
|
|
694
|
+
reset(): void;
|
|
695
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
696
|
+
warmupPeriod(): number;
|
|
697
|
+
}
|
|
698
|
+
|
|
629
699
|
export class CyberneticCycle {
|
|
630
700
|
free(): void;
|
|
631
701
|
[Symbol.dispose](): void;
|
|
@@ -668,6 +738,17 @@ export class DX {
|
|
|
668
738
|
update(high: number, low: number, close: number): number | undefined;
|
|
669
739
|
}
|
|
670
740
|
|
|
741
|
+
export class DayOfWeekProfile {
|
|
742
|
+
free(): void;
|
|
743
|
+
[Symbol.dispose](): void;
|
|
744
|
+
isReady(): boolean;
|
|
745
|
+
constructor(utc_offset_minutes: number);
|
|
746
|
+
reset(): void;
|
|
747
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): any;
|
|
748
|
+
utcOffsetMinutes(): number;
|
|
749
|
+
warmupPeriod(): number;
|
|
750
|
+
}
|
|
751
|
+
|
|
671
752
|
export class Decycler {
|
|
672
753
|
free(): void;
|
|
673
754
|
[Symbol.dispose](): void;
|
|
@@ -1233,6 +1314,16 @@ export class HiLoActivator {
|
|
|
1233
1314
|
update(high: number, low: number, close: number): number | undefined;
|
|
1234
1315
|
}
|
|
1235
1316
|
|
|
1317
|
+
export class HighLowIndex {
|
|
1318
|
+
free(): void;
|
|
1319
|
+
[Symbol.dispose](): void;
|
|
1320
|
+
isReady(): boolean;
|
|
1321
|
+
constructor(period: number);
|
|
1322
|
+
reset(): void;
|
|
1323
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
1324
|
+
warmupPeriod(): number;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1236
1327
|
export class HighWave {
|
|
1237
1328
|
free(): void;
|
|
1238
1329
|
[Symbol.dispose](): void;
|
|
@@ -1410,6 +1501,17 @@ export class InstantaneousTrendline {
|
|
|
1410
1501
|
warmupPeriod(): number;
|
|
1411
1502
|
}
|
|
1412
1503
|
|
|
1504
|
+
export class IntradayVolatilityProfile {
|
|
1505
|
+
free(): void;
|
|
1506
|
+
[Symbol.dispose](): void;
|
|
1507
|
+
isReady(): boolean;
|
|
1508
|
+
constructor(buckets: number, utc_offset_minutes: number);
|
|
1509
|
+
reset(): void;
|
|
1510
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): any;
|
|
1511
|
+
utcOffsetMinutes(): number;
|
|
1512
|
+
warmupPeriod(): number;
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1413
1515
|
export class InverseFisherTransform {
|
|
1414
1516
|
free(): void;
|
|
1415
1517
|
[Symbol.dispose](): void;
|
|
@@ -1904,6 +2006,26 @@ export class MaxDrawdown {
|
|
|
1904
2006
|
warmupPeriod(): number;
|
|
1905
2007
|
}
|
|
1906
2008
|
|
|
2009
|
+
export class McClellanOscillator {
|
|
2010
|
+
free(): void;
|
|
2011
|
+
[Symbol.dispose](): void;
|
|
2012
|
+
isReady(): boolean;
|
|
2013
|
+
constructor();
|
|
2014
|
+
reset(): void;
|
|
2015
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
2016
|
+
warmupPeriod(): number;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
export class McClellanSummationIndex {
|
|
2020
|
+
free(): void;
|
|
2021
|
+
[Symbol.dispose](): void;
|
|
2022
|
+
isReady(): boolean;
|
|
2023
|
+
constructor();
|
|
2024
|
+
reset(): void;
|
|
2025
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
2026
|
+
warmupPeriod(): number;
|
|
2027
|
+
}
|
|
2028
|
+
|
|
1907
2029
|
export class McGinleyDynamic {
|
|
1908
2030
|
free(): void;
|
|
1909
2031
|
[Symbol.dispose](): void;
|
|
@@ -1985,6 +2107,16 @@ export class NVI {
|
|
|
1985
2107
|
update(close: number, volume: number): number | undefined;
|
|
1986
2108
|
}
|
|
1987
2109
|
|
|
2110
|
+
export class NewHighsNewLows {
|
|
2111
|
+
free(): void;
|
|
2112
|
+
[Symbol.dispose](): void;
|
|
2113
|
+
isReady(): boolean;
|
|
2114
|
+
constructor();
|
|
2115
|
+
reset(): void;
|
|
2116
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
2117
|
+
warmupPeriod(): number;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
1988
2120
|
export class OBV {
|
|
1989
2121
|
free(): void;
|
|
1990
2122
|
[Symbol.dispose](): void;
|
|
@@ -2119,6 +2251,27 @@ export class OuHalfLife {
|
|
|
2119
2251
|
warmupPeriod(): number;
|
|
2120
2252
|
}
|
|
2121
2253
|
|
|
2254
|
+
export class OvernightGap {
|
|
2255
|
+
free(): void;
|
|
2256
|
+
[Symbol.dispose](): void;
|
|
2257
|
+
isReady(): boolean;
|
|
2258
|
+
constructor(utc_offset_minutes: number);
|
|
2259
|
+
reset(): void;
|
|
2260
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): number | undefined;
|
|
2261
|
+
utcOffsetMinutes(): number;
|
|
2262
|
+
warmupPeriod(): number;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
export class OvernightIntradayReturn {
|
|
2266
|
+
free(): void;
|
|
2267
|
+
[Symbol.dispose](): void;
|
|
2268
|
+
isReady(): boolean;
|
|
2269
|
+
constructor(utc_offset_minutes: number);
|
|
2270
|
+
reset(): void;
|
|
2271
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): any;
|
|
2272
|
+
warmupPeriod(): number;
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2122
2275
|
export class PGO {
|
|
2123
2276
|
free(): void;
|
|
2124
2277
|
[Symbol.dispose](): void;
|
|
@@ -2257,6 +2410,16 @@ export class PearsonCorrelation {
|
|
|
2257
2410
|
warmupPeriod(): number;
|
|
2258
2411
|
}
|
|
2259
2412
|
|
|
2413
|
+
export class PercentAboveMa {
|
|
2414
|
+
free(): void;
|
|
2415
|
+
[Symbol.dispose](): void;
|
|
2416
|
+
isReady(): boolean;
|
|
2417
|
+
constructor();
|
|
2418
|
+
reset(): void;
|
|
2419
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array, above_ma: Float64Array): number | undefined;
|
|
2420
|
+
warmupPeriod(): number;
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2260
2423
|
export class PercentB {
|
|
2261
2424
|
free(): void;
|
|
2262
2425
|
[Symbol.dispose](): void;
|
|
@@ -2623,6 +2786,17 @@ export class STC {
|
|
|
2623
2786
|
warmupPeriod(): number;
|
|
2624
2787
|
}
|
|
2625
2788
|
|
|
2789
|
+
export class SeasonalZScore {
|
|
2790
|
+
free(): void;
|
|
2791
|
+
[Symbol.dispose](): void;
|
|
2792
|
+
isReady(): boolean;
|
|
2793
|
+
constructor(utc_offset_minutes: number);
|
|
2794
|
+
reset(): void;
|
|
2795
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): number | undefined;
|
|
2796
|
+
utcOffsetMinutes(): number;
|
|
2797
|
+
warmupPeriod(): number;
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2626
2800
|
export class SeparatingLines {
|
|
2627
2801
|
free(): void;
|
|
2628
2802
|
[Symbol.dispose](): void;
|
|
@@ -2634,6 +2808,37 @@ export class SeparatingLines {
|
|
|
2634
2808
|
warmupPeriod(): number;
|
|
2635
2809
|
}
|
|
2636
2810
|
|
|
2811
|
+
export class SessionHighLow {
|
|
2812
|
+
free(): void;
|
|
2813
|
+
[Symbol.dispose](): void;
|
|
2814
|
+
isReady(): boolean;
|
|
2815
|
+
constructor(utc_offset_minutes: number);
|
|
2816
|
+
reset(): void;
|
|
2817
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): any;
|
|
2818
|
+
warmupPeriod(): number;
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2821
|
+
export class SessionRange {
|
|
2822
|
+
free(): void;
|
|
2823
|
+
[Symbol.dispose](): void;
|
|
2824
|
+
isReady(): boolean;
|
|
2825
|
+
constructor(utc_offset_minutes: number);
|
|
2826
|
+
reset(): void;
|
|
2827
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): any;
|
|
2828
|
+
warmupPeriod(): number;
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
export class SessionVwap {
|
|
2832
|
+
free(): void;
|
|
2833
|
+
[Symbol.dispose](): void;
|
|
2834
|
+
isReady(): boolean;
|
|
2835
|
+
constructor(utc_offset_minutes: number);
|
|
2836
|
+
reset(): void;
|
|
2837
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): number | undefined;
|
|
2838
|
+
utcOffsetMinutes(): number;
|
|
2839
|
+
warmupPeriod(): number;
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2637
2842
|
export class SharpeRatio {
|
|
2638
2843
|
free(): void;
|
|
2639
2844
|
[Symbol.dispose](): void;
|
|
@@ -3251,6 +3456,27 @@ export class Thrusting {
|
|
|
3251
3456
|
warmupPeriod(): number;
|
|
3252
3457
|
}
|
|
3253
3458
|
|
|
3459
|
+
export class TickIndex {
|
|
3460
|
+
free(): void;
|
|
3461
|
+
[Symbol.dispose](): void;
|
|
3462
|
+
isReady(): boolean;
|
|
3463
|
+
constructor();
|
|
3464
|
+
reset(): void;
|
|
3465
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
3466
|
+
warmupPeriod(): number;
|
|
3467
|
+
}
|
|
3468
|
+
|
|
3469
|
+
export class TimeOfDayReturnProfile {
|
|
3470
|
+
free(): void;
|
|
3471
|
+
[Symbol.dispose](): void;
|
|
3472
|
+
isReady(): boolean;
|
|
3473
|
+
constructor(buckets: number, utc_offset_minutes: number);
|
|
3474
|
+
reset(): void;
|
|
3475
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): any;
|
|
3476
|
+
utcOffsetMinutes(): number;
|
|
3477
|
+
warmupPeriod(): number;
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3254
3480
|
export class TpoProfile {
|
|
3255
3481
|
free(): void;
|
|
3256
3482
|
[Symbol.dispose](): void;
|
|
@@ -3286,6 +3512,16 @@ export class TreynorRatio {
|
|
|
3286
3512
|
warmupPeriod(): number;
|
|
3287
3513
|
}
|
|
3288
3514
|
|
|
3515
|
+
export class Trin {
|
|
3516
|
+
free(): void;
|
|
3517
|
+
[Symbol.dispose](): void;
|
|
3518
|
+
isReady(): boolean;
|
|
3519
|
+
constructor();
|
|
3520
|
+
reset(): void;
|
|
3521
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
3522
|
+
warmupPeriod(): number;
|
|
3523
|
+
}
|
|
3524
|
+
|
|
3289
3525
|
export class TrueRange {
|
|
3290
3526
|
free(): void;
|
|
3291
3527
|
[Symbol.dispose](): void;
|
|
@@ -3309,6 +3545,16 @@ export class TtmSqueeze {
|
|
|
3309
3545
|
warmupPeriod(): number;
|
|
3310
3546
|
}
|
|
3311
3547
|
|
|
3548
|
+
export class TurnOfMonth {
|
|
3549
|
+
free(): void;
|
|
3550
|
+
[Symbol.dispose](): void;
|
|
3551
|
+
isReady(): boolean;
|
|
3552
|
+
constructor(n_first: number, n_last: number, utc_offset_minutes: number);
|
|
3553
|
+
reset(): void;
|
|
3554
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): number | undefined;
|
|
3555
|
+
warmupPeriod(): number;
|
|
3556
|
+
}
|
|
3557
|
+
|
|
3312
3558
|
export class Tweezer {
|
|
3313
3559
|
free(): void;
|
|
3314
3560
|
[Symbol.dispose](): void;
|
|
@@ -3371,6 +3617,16 @@ export class UniqueThreeRiver {
|
|
|
3371
3617
|
warmupPeriod(): number;
|
|
3372
3618
|
}
|
|
3373
3619
|
|
|
3620
|
+
export class UpDownVolumeRatio {
|
|
3621
|
+
free(): void;
|
|
3622
|
+
[Symbol.dispose](): void;
|
|
3623
|
+
isReady(): boolean;
|
|
3624
|
+
constructor();
|
|
3625
|
+
reset(): void;
|
|
3626
|
+
update(change: Float64Array, volume: Float64Array, new_high: Float64Array, new_low: Float64Array): number | undefined;
|
|
3627
|
+
warmupPeriod(): number;
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3374
3630
|
export class UpsideGapThreeMethods {
|
|
3375
3631
|
free(): void;
|
|
3376
3632
|
[Symbol.dispose](): void;
|
|
@@ -3504,6 +3760,17 @@ export class VoltyStop {
|
|
|
3504
3760
|
update(high: number, low: number, close: number): number | undefined;
|
|
3505
3761
|
}
|
|
3506
3762
|
|
|
3763
|
+
export class VolumeByTimeProfile {
|
|
3764
|
+
free(): void;
|
|
3765
|
+
[Symbol.dispose](): void;
|
|
3766
|
+
isReady(): boolean;
|
|
3767
|
+
constructor(buckets: number, utc_offset_minutes: number);
|
|
3768
|
+
reset(): void;
|
|
3769
|
+
update(open: number, high: number, low: number, close: number, volume: number, timestamp: bigint): any;
|
|
3770
|
+
utcOffsetMinutes(): number;
|
|
3771
|
+
warmupPeriod(): number;
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3507
3774
|
export class VolumeOscillator {
|
|
3508
3775
|
free(): void;
|
|
3509
3776
|
[Symbol.dispose](): void;
|
package/wickra_wasm.js
CHANGED
|
@@ -5,5 +5,5 @@ import { __wbg_set_wasm } from "./wickra_wasm_bg.js";
|
|
|
5
5
|
__wbg_set_wasm(wasm);
|
|
6
6
|
|
|
7
7
|
export {
|
|
8
|
-
ADL, ADX, ADXR, ALMA, APO, ATR, AVGPRICE, AbandonedBaby, AccelerationBands, AcceleratorOscillator, AdaptiveCycle, AdvanceBlock, AdvanceDecline, Alligator, Alpha, AnchoredRSI, AnchoredVWAP, Aroon, AroonOscillator, AtrBands, AtrTrailingStop, Autocorrelation, AverageDrawdown, AwesomeOscillator, AwesomeOscillatorHistogram, BalanceOfPower, BeltHold, Beta, BetaNeutralSpread, BollingerBands, BollingerBandwidth, Breakaway, CCI, CFO, CMO, CalendarSpread, CalmarRatio, Camarilla, CenterOfGravity, ChaikinMoneyFlow, ChaikinOscillator, ChaikinVolatility, ChandeKrollStop, ChandelierExit, ChoppinessIndex, ClassicPivots, ClosingMarubozu, CoefficientOfVariation, Cointegration, ConcealingBabySwallow, ConditionalValueAtRisk, ConnorsRSI, Coppock, Counterattack, CumulativeVolumeDelta, CyberneticCycle, DEMA, DPO, DX, Decycler, DecyclerOscillator, DemandIndex, DemarkPivots, DepthSlope, DetrendedStdDev, DistanceSsd, Doji, DojiStar, Donchian, DonchianStop, DoubleBollinger, DownsideGapThreeMethods, DragonflyDoji, DrawdownDuration, EMA, EVWMA, EaseOfMovement, EffectiveSpread, EhlersStochastic, ElderImpulse, EmpiricalModeDecomposition, Engulfing, EveningDojiStar, FAMA, FRAMA, FallingThreeMethods, FibonacciPivots, FisherTransform, Footprint, ForceIndex, FractalChaosBands, FundingBasis, FundingRate, FundingRateMean, FundingRateZScore, GainLossRatio, GapSideBySideWhite, GarmanKlassVolatility, GrangerCausality, GravestoneDoji, HMA, HT_DCPHASE, HT_PHASOR, HT_TRENDMODE, Hammer, HangingMan, Harami, HeikinAshi, HiLoActivator, HighWave, Hikkake, HikkakeModified, HilbertDominantCycle, HistoricalVolatility, HomingPigeon, HurstChannel, HurstExponent, Ichimoku, IdenticalThreeCrows, InNeck, Inertia, InformationRatio, InitialBalance, InstantaneousTrendline, InverseFisherTransform, InvertedHammer, JMA, KAMA, KST, KVO, KagiBars, KalmanHedgeRatio, KellyCriterion, Keltner, Kicking, KickingByLength, Kurtosis, KylesLambda, LINEARREG_INTERCEPT, LadderBottom, LaguerreRSI, LeadLagCrossCorrelation, LinRegAngle, LinRegChannel, LinRegSlope, LinearRegression, LiquidationFeatures, LongLeggedDoji, LongLine, LongShortRatio, MACD, MACDEXT, MACDFIX, MAMA, MFI, MIDPOINT, MIDPRICE, MINUS_DI, MINUS_DM, MOM, MaEnvelope, MarketFacilitationIndex, Marubozu, MassIndex, MatHold, MatchingLow, MaxDrawdown, McGinleyDynamic, MedianAbsoluteDeviation, MedianPrice, Microprice, MorningDojiStar, MorningEveningStar, NATR, NVI, OBV, OIPriceDivergence, OIWeighted, OmegaRatio, OnNeck, OpenInterestDelta, OpeningMarubozu, OpeningRange, OrderBookImbalanceFull, OrderBookImbalanceTop1, OrderBookImbalanceTopN, OuHalfLife, PGO, PLUS_DI, PLUS_DM, PMO, PPO, PSAR, PVI, PainIndex, PairSpreadZScore, PairwiseBeta, ParkinsonVolatility, PearsonCorrelation, PercentB, PercentageTrailingStop, PiercingDarkCloud, PointAndFigureBars, ProfitFactor, QuotedSpread, ROC, ROCP, ROCR, ROCR100, RSI, RSquared, RVI, RVIVolatility, RWI, RealizedSpread, RecoveryFactor, RelativeStrengthAB, RenkoBars, RenkoTrailingStop, RickshawMan, RisingThreeMethods, RogersSatchellVolatility, RollingCorrelation, RollingCovariance, RollingVWAP, RoofingFilter, SAREXT, SMA, SMI, SMMA, STC, SeparatingLines, SharpeRatio, ShootingStar, ShortLine, SignedVolume, SineWave, Skewness, SortinoRatio, SpearmanCorrelation, SpinningTop, SpreadBollingerBands, SpreadHurst, StalledPattern, StandardError, StandardErrorBands, StarcBands, StdDev, StepTrailingStop, StickSandwich, StochRSI, Stochastic, SuperSmoother, SuperTrend, T3, TDCombo, TDCountdown, TDDeMarker, TDDifferential, TDLines, TDOpen, TDPressure, TDREI, TDRangeProjection, TDRiskLevel, TDSequential, TDSetup, TEMA, TII, TRIMA, TRIX, TSF, TSI, TSV, TakerBuySellRatio, Takuri, TasukiGap, TermStructureBasis, ThreeInside, ThreeLineStrike, ThreeOutside, ThreeSoldiersOrCrows, ThreeStarsInSouth, Thrusting, TpoProfile, TradeImbalance, TreynorRatio, TrueRange, TtmSqueeze, Tweezer, TwoCrows, TypicalPrice, UlcerIndex, UltimateOscillator, UniqueThreeRiver, UpsideGapThreeMethods, UpsideGapTwoCrows, VIDYA, VWAP, VWMA, VZO, ValueArea, ValueAtRisk, Variance, VarianceRatio, VerticalHorizontalFilter, VoltyStop, VolumeOscillator, VolumePriceTrend, VolumeProfile, Vortex, VwapStdDevBands, WMA, WaveTrend, WeightedClose, WilliamsAD, WilliamsFractals, WilliamsR, WoodiePivots, YangZhangVolatility, YoyoExit, ZLEMA, ZScore, ZeroLagMACD, ZigZag, installPanicHook, version
|
|
8
|
+
ADL, ADX, ADXR, ALMA, APO, ATR, AVGPRICE, AbandonedBaby, AbsoluteBreadthIndex, AccelerationBands, AcceleratorOscillator, AdVolumeLine, AdaptiveCycle, AdvanceBlock, AdvanceDecline, AdvanceDeclineRatio, Alligator, Alpha, AnchoredRSI, AnchoredVWAP, Aroon, AroonOscillator, AtrBands, AtrTrailingStop, Autocorrelation, AverageDailyRange, AverageDrawdown, AwesomeOscillator, AwesomeOscillatorHistogram, BalanceOfPower, BeltHold, Beta, BetaNeutralSpread, BollingerBands, BollingerBandwidth, BreadthThrust, Breakaway, BullishPercentIndex, CCI, CFO, CMO, CalendarSpread, CalmarRatio, Camarilla, CenterOfGravity, ChaikinMoneyFlow, ChaikinOscillator, ChaikinVolatility, ChandeKrollStop, ChandelierExit, ChoppinessIndex, ClassicPivots, ClosingMarubozu, CoefficientOfVariation, Cointegration, ConcealingBabySwallow, ConditionalValueAtRisk, ConnorsRSI, Coppock, Counterattack, CumulativeVolumeDelta, CumulativeVolumeIndex, CyberneticCycle, DEMA, DPO, DX, DayOfWeekProfile, Decycler, DecyclerOscillator, DemandIndex, DemarkPivots, DepthSlope, DetrendedStdDev, DistanceSsd, Doji, DojiStar, Donchian, DonchianStop, DoubleBollinger, DownsideGapThreeMethods, DragonflyDoji, DrawdownDuration, EMA, EVWMA, EaseOfMovement, EffectiveSpread, EhlersStochastic, ElderImpulse, EmpiricalModeDecomposition, Engulfing, EveningDojiStar, FAMA, FRAMA, FallingThreeMethods, FibonacciPivots, FisherTransform, Footprint, ForceIndex, FractalChaosBands, FundingBasis, FundingRate, FundingRateMean, FundingRateZScore, GainLossRatio, GapSideBySideWhite, GarmanKlassVolatility, GrangerCausality, GravestoneDoji, HMA, HT_DCPHASE, HT_PHASOR, HT_TRENDMODE, Hammer, HangingMan, Harami, HeikinAshi, HiLoActivator, HighLowIndex, HighWave, Hikkake, HikkakeModified, HilbertDominantCycle, HistoricalVolatility, HomingPigeon, HurstChannel, HurstExponent, Ichimoku, IdenticalThreeCrows, InNeck, Inertia, InformationRatio, InitialBalance, InstantaneousTrendline, IntradayVolatilityProfile, InverseFisherTransform, InvertedHammer, JMA, KAMA, KST, KVO, KagiBars, KalmanHedgeRatio, KellyCriterion, Keltner, Kicking, KickingByLength, Kurtosis, KylesLambda, LINEARREG_INTERCEPT, LadderBottom, LaguerreRSI, LeadLagCrossCorrelation, LinRegAngle, LinRegChannel, LinRegSlope, LinearRegression, LiquidationFeatures, LongLeggedDoji, LongLine, LongShortRatio, MACD, MACDEXT, MACDFIX, MAMA, MFI, MIDPOINT, MIDPRICE, MINUS_DI, MINUS_DM, MOM, MaEnvelope, MarketFacilitationIndex, Marubozu, MassIndex, MatHold, MatchingLow, MaxDrawdown, McClellanOscillator, McClellanSummationIndex, McGinleyDynamic, MedianAbsoluteDeviation, MedianPrice, Microprice, MorningDojiStar, MorningEveningStar, NATR, NVI, NewHighsNewLows, OBV, OIPriceDivergence, OIWeighted, OmegaRatio, OnNeck, OpenInterestDelta, OpeningMarubozu, OpeningRange, OrderBookImbalanceFull, OrderBookImbalanceTop1, OrderBookImbalanceTopN, OuHalfLife, OvernightGap, OvernightIntradayReturn, PGO, PLUS_DI, PLUS_DM, PMO, PPO, PSAR, PVI, PainIndex, PairSpreadZScore, PairwiseBeta, ParkinsonVolatility, PearsonCorrelation, PercentAboveMa, PercentB, PercentageTrailingStop, PiercingDarkCloud, PointAndFigureBars, ProfitFactor, QuotedSpread, ROC, ROCP, ROCR, ROCR100, RSI, RSquared, RVI, RVIVolatility, RWI, RealizedSpread, RecoveryFactor, RelativeStrengthAB, RenkoBars, RenkoTrailingStop, RickshawMan, RisingThreeMethods, RogersSatchellVolatility, RollingCorrelation, RollingCovariance, RollingVWAP, RoofingFilter, SAREXT, SMA, SMI, SMMA, STC, SeasonalZScore, SeparatingLines, SessionHighLow, SessionRange, SessionVwap, SharpeRatio, ShootingStar, ShortLine, SignedVolume, SineWave, Skewness, SortinoRatio, SpearmanCorrelation, SpinningTop, SpreadBollingerBands, SpreadHurst, StalledPattern, StandardError, StandardErrorBands, StarcBands, StdDev, StepTrailingStop, StickSandwich, StochRSI, Stochastic, SuperSmoother, SuperTrend, T3, TDCombo, TDCountdown, TDDeMarker, TDDifferential, TDLines, TDOpen, TDPressure, TDREI, TDRangeProjection, TDRiskLevel, TDSequential, TDSetup, TEMA, TII, TRIMA, TRIX, TSF, TSI, TSV, TakerBuySellRatio, Takuri, TasukiGap, TermStructureBasis, ThreeInside, ThreeLineStrike, ThreeOutside, ThreeSoldiersOrCrows, ThreeStarsInSouth, Thrusting, TickIndex, TimeOfDayReturnProfile, TpoProfile, TradeImbalance, TreynorRatio, Trin, TrueRange, TtmSqueeze, TurnOfMonth, Tweezer, TwoCrows, TypicalPrice, UlcerIndex, UltimateOscillator, UniqueThreeRiver, UpDownVolumeRatio, UpsideGapThreeMethods, UpsideGapTwoCrows, VIDYA, VWAP, VWMA, VZO, ValueArea, ValueAtRisk, Variance, VarianceRatio, VerticalHorizontalFilter, VoltyStop, VolumeByTimeProfile, VolumeOscillator, VolumePriceTrend, VolumeProfile, Vortex, VwapStdDevBands, WMA, WaveTrend, WeightedClose, WilliamsAD, WilliamsFractals, WilliamsR, WoodiePivots, YangZhangVolatility, YoyoExit, ZLEMA, ZScore, ZeroLagMACD, ZigZag, installPanicHook, version
|
|
9
9
|
} from "./wickra_wasm_bg.js";
|