wickra-wasm 0.5.3 → 0.5.4
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 +6 -6
- package/package.json +1 -1
- package/wickra_wasm.d.ts +201 -0
- package/wickra_wasm.js +1 -1
- package/wickra_wasm_bg.js +1732 -213
- 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=396" 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)
|
|
@@ -48,7 +48,7 @@ Full documentation lives at **[docs.wickra.org](https://docs.wickra.org)**:
|
|
|
48
48
|
[Node](https://docs.wickra.org/Quickstart-Node),
|
|
49
49
|
[WASM](https://docs.wickra.org/Quickstart-WASM).
|
|
50
50
|
- **Indicators** — a per-indicator deep dive (formula, parameters, warmup) for
|
|
51
|
-
every one of the
|
|
51
|
+
every one of the 396 indicators; start at the
|
|
52
52
|
[indicators overview](https://docs.wickra.org/Indicators-Overview).
|
|
53
53
|
- **Reference** — [warmup periods](https://docs.wickra.org/Warmup-Periods),
|
|
54
54
|
[streaming vs batch](https://docs.wickra.org/Streaming-vs-Batch),
|
|
@@ -136,7 +136,7 @@ python -m benchmarks.compare_libraries
|
|
|
136
136
|
|
|
137
137
|
## Indicators
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
396 streaming-first indicators across twenty-four families. Every one passes the
|
|
140
140
|
`batch == streaming` equivalence test, reference-value tests, and reset
|
|
141
141
|
semantics tests. Each has a per-indicator deep dive (formula, parameters,
|
|
142
142
|
warmup) at [docs.wickra.org](https://docs.wickra.org/Indicators-Overview).
|
|
@@ -151,7 +151,7 @@ warmup) at [docs.wickra.org](https://docs.wickra.org/Indicators-Overview).
|
|
|
151
151
|
| Bands & Channels | MA Envelope, Acceleration Bands, STARC Bands, ATR Bands, Hurst Channel, LinReg Channel, Standard Error Bands, Double Bollinger Bands, TTM Squeeze, Fractal Chaos Bands, VWAP StdDev Bands |
|
|
152
152
|
| Trailing Stops | Parabolic SAR, Parabolic SAR Extended (SAREXT), SuperTrend, Chandelier Exit, Chande Kroll Stop, ATR Trailing Stop, HiLo Activator, Volty Stop, Yo-Yo Exit, Donchian Channel Stop, Percentage Trailing Stop, Step Trailing Stop, Renko Trailing Stop |
|
|
153
153
|
| Volume | OBV, VWAP (cumulative + rolling), ADL, Volume-Price Trend, Chaikin Money Flow, Chaikin Oscillator, Force Index, Ease of Movement, Klinger Volume Oscillator, Volume Oscillator, NVI, PVI, Williams A/D, Anchored VWAP, Demand Index, TSV, VZO, Market Facilitation Index |
|
|
154
|
-
| Price Statistics | Typical Price, Median Price, Weighted Close, Linear Regression, Linear Regression Slope, Z-Score, Linear Regression Angle, Variance, Coefficient of Variation, Skewness, Kurtosis, Standard Error, Detrended StdDev, R², Median Absolute Deviation, Autocorrelation, Hurst Exponent, Pearson Correlation, Beta, Pairwise Beta, Pair Spread Z-Score, Lead-Lag Cross-Correlation, Cointegration, Relative Strength A-vs-B, Spearman Correlation, Mid Price, Mid Point, Average Price, Linear Regression Intercept, Time Series Forecast, Rolling Correlation, Rolling Covariance, OU Half-Life, Spread Hurst, Distance SSD, Beta-Neutral Spread, Variance Ratio, Granger Causality, Kalman Hedge Ratio, Spread Bollinger Bands |
|
|
154
|
+
| Price Statistics | Typical Price, Median Price, Weighted Close, Linear Regression, Linear Regression Slope, Z-Score, Linear Regression Angle, Variance, Coefficient of Variation, Skewness, Kurtosis, Standard Error, Detrended StdDev, R², Median Absolute Deviation, Autocorrelation, Hurst Exponent, Pearson Correlation, Beta, Pairwise Beta, Pair Spread Z-Score, Lead-Lag Cross-Correlation, Cointegration, Relative Strength A-vs-B, Spearman Correlation, Mid Price, Mid Point, Average Price, Linear Regression Intercept, Time Series Forecast, Rolling Correlation, Rolling Covariance, OU Half-Life, Spread Hurst, Distance SSD, Beta-Neutral Spread, Variance Ratio, Granger Causality, Kalman Hedge Ratio, Spread Bollinger Bands, Spread AR(1) Coefficient |
|
|
155
155
|
| Ehlers / Cycle (DSP) | MAMA, FAMA, Fisher Transform, Inverse Fisher Transform, SuperSmoother, Hilbert Dominant Cycle, Hilbert Phasor, Hilbert DC Phase, Hilbert Trend Mode, Sine Wave, Decycler, Decycler Oscillator, Roofing Filter, Center of Gravity, Cybernetic Cycle, Adaptive Cycle, Empirical Mode Decomposition, Ehlers Stochastic, Instantaneous Trendline |
|
|
156
156
|
| Pivots & S/R | Classic Pivots, Fibonacci Pivots, Camarilla, Woodie Pivots, DeMark Pivots, Williams Fractals, ZigZag |
|
|
157
157
|
| DeMark | TD Setup, TD Sequential, TD DeMarker, TD REI, TD Pressure, TD Combo, TD Countdown, TD Lines, TD Range Projection, TD Differential, TD Open, TD Risk Level |
|
|
@@ -161,7 +161,7 @@ warmup) at [docs.wickra.org](https://docs.wickra.org/Indicators-Overview).
|
|
|
161
161
|
| Chart Patterns | Double Top / Bottom, Triple Top / Bottom, Head and Shoulders, Triangle (asc/desc/sym), Wedge (rising/falling), Flag / Pennant, Rectangle / Range, Cup and Handle |
|
|
162
162
|
| Harmonic Patterns | AB=CD, Gartley, Butterfly, Bat, Crab, Shark, Cypher, Three Drives |
|
|
163
163
|
| Fibonacci | Fibonacci Retracement, Fibonacci Extension, Fibonacci Projection, Auto-Fibonacci, Golden Pocket, Fibonacci Confluence, Fibonacci Fan, Fibonacci Arcs, Fibonacci Channel, Fibonacci Time Zones |
|
|
164
|
-
| 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 |
|
|
164
|
+
| 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, Order Flow Imbalance, VPIN, Amihud Illiquidity, Roll Measure |
|
|
165
165
|
| 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 |
|
|
166
166
|
| Market Profile | Value Area (POC / VAH / VAL), Volume Profile (histogram), TPO Profile, Initial Balance, Opening Range |
|
|
167
167
|
| 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 |
|
|
@@ -245,7 +245,7 @@ A Python live-trading example using the public `websockets` package lives at
|
|
|
245
245
|
```
|
|
246
246
|
wickra/
|
|
247
247
|
├── crates/
|
|
248
|
-
│ ├── wickra-core/ core engine + all
|
|
248
|
+
│ ├── wickra-core/ core engine + all 396 indicators
|
|
249
249
|
│ ├── wickra/ top-level facade crate (publishes on crates.io) + benches/
|
|
250
250
|
│ └── wickra-data/ CSV reader, tick aggregator, live exchange feeds
|
|
251
251
|
├── bindings/
|
package/package.json
CHANGED
package/wickra_wasm.d.ts
CHANGED
|
@@ -213,6 +213,16 @@ export class Alpha {
|
|
|
213
213
|
warmupPeriod(): number;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
+
export class AmihudIlliquidity {
|
|
217
|
+
free(): void;
|
|
218
|
+
[Symbol.dispose](): void;
|
|
219
|
+
isReady(): boolean;
|
|
220
|
+
constructor(period: number);
|
|
221
|
+
reset(): void;
|
|
222
|
+
update(price: number, size: number, is_buy: boolean): number | undefined;
|
|
223
|
+
warmupPeriod(): number;
|
|
224
|
+
}
|
|
225
|
+
|
|
216
226
|
export class AnchoredRSI {
|
|
217
227
|
free(): void;
|
|
218
228
|
[Symbol.dispose](): void;
|
|
@@ -407,6 +417,15 @@ export class BetaNeutralSpread {
|
|
|
407
417
|
warmupPeriod(): number;
|
|
408
418
|
}
|
|
409
419
|
|
|
420
|
+
export class BodySizePct {
|
|
421
|
+
free(): void;
|
|
422
|
+
[Symbol.dispose](): void;
|
|
423
|
+
batch(open: Float64Array, high: Float64Array, low: Float64Array, close: Float64Array): Float64Array;
|
|
424
|
+
constructor();
|
|
425
|
+
reset(): void;
|
|
426
|
+
update(open: number, high: number, low: number, close: number): number | undefined;
|
|
427
|
+
}
|
|
428
|
+
|
|
410
429
|
export class BollingerBands {
|
|
411
430
|
free(): void;
|
|
412
431
|
[Symbol.dispose](): void;
|
|
@@ -625,6 +644,15 @@ export class ClassicPivots {
|
|
|
625
644
|
warmupPeriod(): number;
|
|
626
645
|
}
|
|
627
646
|
|
|
647
|
+
export class CloseVsOpen {
|
|
648
|
+
free(): void;
|
|
649
|
+
[Symbol.dispose](): void;
|
|
650
|
+
batch(open: Float64Array, high: Float64Array, low: Float64Array, close: Float64Array): Float64Array;
|
|
651
|
+
constructor();
|
|
652
|
+
reset(): void;
|
|
653
|
+
update(open: number, high: number, low: number, close: number): number | undefined;
|
|
654
|
+
}
|
|
655
|
+
|
|
628
656
|
export class ClosingMarubozu {
|
|
629
657
|
free(): void;
|
|
630
658
|
[Symbol.dispose](): void;
|
|
@@ -1110,6 +1138,17 @@ export class EveningDojiStar {
|
|
|
1110
1138
|
warmupPeriod(): number;
|
|
1111
1139
|
}
|
|
1112
1140
|
|
|
1141
|
+
export class Expectancy {
|
|
1142
|
+
free(): void;
|
|
1143
|
+
[Symbol.dispose](): void;
|
|
1144
|
+
batch(prices: Float64Array): Float64Array;
|
|
1145
|
+
isReady(): boolean;
|
|
1146
|
+
constructor(period: number);
|
|
1147
|
+
reset(): void;
|
|
1148
|
+
update(value: number): number | undefined;
|
|
1149
|
+
warmupPeriod(): number;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1113
1152
|
export class FAMA {
|
|
1114
1153
|
free(): void;
|
|
1115
1154
|
[Symbol.dispose](): void;
|
|
@@ -1544,6 +1583,15 @@ export class HighLowIndex {
|
|
|
1544
1583
|
warmupPeriod(): number;
|
|
1545
1584
|
}
|
|
1546
1585
|
|
|
1586
|
+
export class HighLowRange {
|
|
1587
|
+
free(): void;
|
|
1588
|
+
[Symbol.dispose](): void;
|
|
1589
|
+
batch(open: Float64Array, high: Float64Array, low: Float64Array, close: Float64Array): Float64Array;
|
|
1590
|
+
constructor();
|
|
1591
|
+
reset(): void;
|
|
1592
|
+
update(open: number, high: number, low: number, close: number): number | undefined;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1547
1595
|
export class HighWave {
|
|
1548
1596
|
free(): void;
|
|
1549
1597
|
[Symbol.dispose](): void;
|
|
@@ -1765,6 +1813,17 @@ export class JMA {
|
|
|
1765
1813
|
warmupPeriod(): number;
|
|
1766
1814
|
}
|
|
1767
1815
|
|
|
1816
|
+
export class JumpIndicator {
|
|
1817
|
+
free(): void;
|
|
1818
|
+
[Symbol.dispose](): void;
|
|
1819
|
+
batch(prices: Float64Array): Float64Array;
|
|
1820
|
+
isReady(): boolean;
|
|
1821
|
+
constructor(period: number, threshold: number);
|
|
1822
|
+
reset(): void;
|
|
1823
|
+
update(value: number): number | undefined;
|
|
1824
|
+
warmupPeriod(): number;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1768
1827
|
export class KAMA {
|
|
1769
1828
|
free(): void;
|
|
1770
1829
|
[Symbol.dispose](): void;
|
|
@@ -2003,6 +2062,17 @@ export class LiquidationFeatures {
|
|
|
2003
2062
|
warmupPeriod(): number;
|
|
2004
2063
|
}
|
|
2005
2064
|
|
|
2065
|
+
export class LogReturn {
|
|
2066
|
+
free(): void;
|
|
2067
|
+
[Symbol.dispose](): void;
|
|
2068
|
+
batch(prices: Float64Array): Float64Array;
|
|
2069
|
+
isReady(): boolean;
|
|
2070
|
+
constructor(period: number);
|
|
2071
|
+
reset(): void;
|
|
2072
|
+
update(value: number): number | undefined;
|
|
2073
|
+
warmupPeriod(): number;
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2006
2076
|
export class LongLeggedDoji {
|
|
2007
2077
|
free(): void;
|
|
2008
2078
|
[Symbol.dispose](): void;
|
|
@@ -2456,6 +2526,16 @@ export class OrderBookImbalanceTopN {
|
|
|
2456
2526
|
warmupPeriod(): number;
|
|
2457
2527
|
}
|
|
2458
2528
|
|
|
2529
|
+
export class OrderFlowImbalance {
|
|
2530
|
+
free(): void;
|
|
2531
|
+
[Symbol.dispose](): void;
|
|
2532
|
+
isReady(): boolean;
|
|
2533
|
+
constructor(period: number);
|
|
2534
|
+
reset(): void;
|
|
2535
|
+
update(bid_px: Float64Array, bid_sz: Float64Array, ask_px: Float64Array, ask_sz: Float64Array): number | undefined;
|
|
2536
|
+
warmupPeriod(): number;
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2459
2539
|
export class OuHalfLife {
|
|
2460
2540
|
free(): void;
|
|
2461
2541
|
[Symbol.dispose](): void;
|
|
@@ -2816,6 +2896,17 @@ export class RealizedSpread {
|
|
|
2816
2896
|
warmupPeriod(): number;
|
|
2817
2897
|
}
|
|
2818
2898
|
|
|
2899
|
+
export class RealizedVolatility {
|
|
2900
|
+
free(): void;
|
|
2901
|
+
[Symbol.dispose](): void;
|
|
2902
|
+
batch(prices: Float64Array): Float64Array;
|
|
2903
|
+
isReady(): boolean;
|
|
2904
|
+
constructor(period: number);
|
|
2905
|
+
reset(): void;
|
|
2906
|
+
update(value: number): number | undefined;
|
|
2907
|
+
warmupPeriod(): number;
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2819
2910
|
export class RecoveryFactor {
|
|
2820
2911
|
free(): void;
|
|
2821
2912
|
[Symbol.dispose](): void;
|
|
@@ -2838,6 +2929,17 @@ export class RectangleRange {
|
|
|
2838
2929
|
warmupPeriod(): number;
|
|
2839
2930
|
}
|
|
2840
2931
|
|
|
2932
|
+
export class RegimeLabel {
|
|
2933
|
+
free(): void;
|
|
2934
|
+
[Symbol.dispose](): void;
|
|
2935
|
+
batch(prices: Float64Array): Float64Array;
|
|
2936
|
+
isReady(): boolean;
|
|
2937
|
+
constructor(vol_period: number, lookback: number);
|
|
2938
|
+
reset(): void;
|
|
2939
|
+
update(value: number): number | undefined;
|
|
2940
|
+
warmupPeriod(): number;
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2841
2943
|
export class RelativeStrengthAB {
|
|
2842
2944
|
free(): void;
|
|
2843
2945
|
[Symbol.dispose](): void;
|
|
@@ -2911,6 +3013,16 @@ export class RogersSatchellVolatility {
|
|
|
2911
3013
|
warmupPeriod(): number;
|
|
2912
3014
|
}
|
|
2913
3015
|
|
|
3016
|
+
export class RollMeasure {
|
|
3017
|
+
free(): void;
|
|
3018
|
+
[Symbol.dispose](): void;
|
|
3019
|
+
isReady(): boolean;
|
|
3020
|
+
constructor(period: number);
|
|
3021
|
+
reset(): void;
|
|
3022
|
+
update(price: number, size: number, is_buy: boolean): number | undefined;
|
|
3023
|
+
warmupPeriod(): number;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
2914
3026
|
export class RollingCorrelation {
|
|
2915
3027
|
free(): void;
|
|
2916
3028
|
[Symbol.dispose](): void;
|
|
@@ -2941,6 +3053,39 @@ export class RollingCovariance {
|
|
|
2941
3053
|
warmupPeriod(): number;
|
|
2942
3054
|
}
|
|
2943
3055
|
|
|
3056
|
+
export class RollingIqr {
|
|
3057
|
+
free(): void;
|
|
3058
|
+
[Symbol.dispose](): void;
|
|
3059
|
+
batch(prices: Float64Array): Float64Array;
|
|
3060
|
+
isReady(): boolean;
|
|
3061
|
+
constructor(period: number);
|
|
3062
|
+
reset(): void;
|
|
3063
|
+
update(value: number): number | undefined;
|
|
3064
|
+
warmupPeriod(): number;
|
|
3065
|
+
}
|
|
3066
|
+
|
|
3067
|
+
export class RollingPercentileRank {
|
|
3068
|
+
free(): void;
|
|
3069
|
+
[Symbol.dispose](): void;
|
|
3070
|
+
batch(prices: Float64Array): Float64Array;
|
|
3071
|
+
isReady(): boolean;
|
|
3072
|
+
constructor(period: number);
|
|
3073
|
+
reset(): void;
|
|
3074
|
+
update(value: number): number | undefined;
|
|
3075
|
+
warmupPeriod(): number;
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
export class RollingQuantile {
|
|
3079
|
+
free(): void;
|
|
3080
|
+
[Symbol.dispose](): void;
|
|
3081
|
+
batch(prices: Float64Array): Float64Array;
|
|
3082
|
+
isReady(): boolean;
|
|
3083
|
+
constructor(period: number, quantile: number);
|
|
3084
|
+
reset(): void;
|
|
3085
|
+
update(value: number): number | undefined;
|
|
3086
|
+
warmupPeriod(): number;
|
|
3087
|
+
}
|
|
3088
|
+
|
|
2944
3089
|
export class RollingVWAP {
|
|
2945
3090
|
free(): void;
|
|
2946
3091
|
[Symbol.dispose](): void;
|
|
@@ -3184,6 +3329,21 @@ export class SpinningTop {
|
|
|
3184
3329
|
warmupPeriod(): number;
|
|
3185
3330
|
}
|
|
3186
3331
|
|
|
3332
|
+
export class SpreadAr1Coefficient {
|
|
3333
|
+
free(): void;
|
|
3334
|
+
[Symbol.dispose](): void;
|
|
3335
|
+
/**
|
|
3336
|
+
* Batch over two equally-sized arrays. Returns one `f64` per
|
|
3337
|
+
* input position (`NaN` during warmup).
|
|
3338
|
+
*/
|
|
3339
|
+
batch(x: Float64Array, y: Float64Array): Float64Array;
|
|
3340
|
+
isReady(): boolean;
|
|
3341
|
+
constructor(period: number);
|
|
3342
|
+
reset(): void;
|
|
3343
|
+
update(x: number, y: number): number | undefined;
|
|
3344
|
+
warmupPeriod(): number;
|
|
3345
|
+
}
|
|
3346
|
+
|
|
3187
3347
|
export class SpreadBollingerBands {
|
|
3188
3348
|
free(): void;
|
|
3189
3349
|
[Symbol.dispose](): void;
|
|
@@ -3754,6 +3914,17 @@ export class TradeImbalance {
|
|
|
3754
3914
|
warmupPeriod(): number;
|
|
3755
3915
|
}
|
|
3756
3916
|
|
|
3917
|
+
export class TrendLabel {
|
|
3918
|
+
free(): void;
|
|
3919
|
+
[Symbol.dispose](): void;
|
|
3920
|
+
batch(prices: Float64Array): Float64Array;
|
|
3921
|
+
isReady(): boolean;
|
|
3922
|
+
constructor(period: number);
|
|
3923
|
+
reset(): void;
|
|
3924
|
+
update(value: number): number | undefined;
|
|
3925
|
+
warmupPeriod(): number;
|
|
3926
|
+
}
|
|
3927
|
+
|
|
3757
3928
|
export class TreynorRatio {
|
|
3758
3929
|
free(): void;
|
|
3759
3930
|
[Symbol.dispose](): void;
|
|
@@ -4090,6 +4261,16 @@ export class Vortex {
|
|
|
4090
4261
|
update(high: number, low: number, close: number): any;
|
|
4091
4262
|
}
|
|
4092
4263
|
|
|
4264
|
+
export class Vpin {
|
|
4265
|
+
free(): void;
|
|
4266
|
+
[Symbol.dispose](): void;
|
|
4267
|
+
isReady(): boolean;
|
|
4268
|
+
constructor(bucket_volume: number, num_buckets: number);
|
|
4269
|
+
reset(): void;
|
|
4270
|
+
update(price: number, size: number, is_buy: boolean): number | undefined;
|
|
4271
|
+
warmupPeriod(): number;
|
|
4272
|
+
}
|
|
4273
|
+
|
|
4093
4274
|
export class VwapStdDevBands {
|
|
4094
4275
|
free(): void;
|
|
4095
4276
|
[Symbol.dispose](): void;
|
|
@@ -4145,6 +4326,15 @@ export class WeightedClose {
|
|
|
4145
4326
|
update(high: number, low: number, close: number): number | undefined;
|
|
4146
4327
|
}
|
|
4147
4328
|
|
|
4329
|
+
export class WickRatio {
|
|
4330
|
+
free(): void;
|
|
4331
|
+
[Symbol.dispose](): void;
|
|
4332
|
+
batch(open: Float64Array, high: Float64Array, low: Float64Array, close: Float64Array): Float64Array;
|
|
4333
|
+
constructor();
|
|
4334
|
+
reset(): void;
|
|
4335
|
+
update(open: number, high: number, low: number, close: number): number | undefined;
|
|
4336
|
+
}
|
|
4337
|
+
|
|
4148
4338
|
export class WilliamsAD {
|
|
4149
4339
|
free(): void;
|
|
4150
4340
|
[Symbol.dispose](): void;
|
|
@@ -4181,6 +4371,17 @@ export class WilliamsR {
|
|
|
4181
4371
|
warmupPeriod(): number;
|
|
4182
4372
|
}
|
|
4183
4373
|
|
|
4374
|
+
export class WinRate {
|
|
4375
|
+
free(): void;
|
|
4376
|
+
[Symbol.dispose](): void;
|
|
4377
|
+
batch(prices: Float64Array): Float64Array;
|
|
4378
|
+
isReady(): boolean;
|
|
4379
|
+
constructor(period: number);
|
|
4380
|
+
reset(): void;
|
|
4381
|
+
update(value: number): number | undefined;
|
|
4382
|
+
warmupPeriod(): number;
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4184
4385
|
export class WoodiePivots {
|
|
4185
4386
|
free(): void;
|
|
4186
4387
|
[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, Abcd, AbsoluteBreadthIndex, AccelerationBands, AcceleratorOscillator, AdVolumeLine, AdaptiveCycle, AdvanceBlock, AdvanceDecline, AdvanceDeclineRatio, Alligator, Alpha, AnchoredRSI, AnchoredVWAP, Aroon, AroonOscillator, AtrBands, AtrTrailingStop, AutoFib, Autocorrelation, AverageDailyRange, AverageDrawdown, AwesomeOscillator, AwesomeOscillatorHistogram, BalanceOfPower, Bat, BeltHold, Beta, BetaNeutralSpread, BollingerBands, BollingerBandwidth, BreadthThrust, Breakaway, BullishPercentIndex, Butterfly, CCI, CFO, CMO, CalendarSpread, CalmarRatio, Camarilla, CenterOfGravity, ChaikinMoneyFlow, ChaikinOscillator, ChaikinVolatility, ChandeKrollStop, ChandelierExit, ChoppinessIndex, ClassicPivots, ClosingMarubozu, CoefficientOfVariation, Cointegration, ConcealingBabySwallow, ConditionalValueAtRisk, ConnorsRSI, Coppock, Counterattack, Crab, CumulativeVolumeDelta, CumulativeVolumeIndex, CupAndHandle, CyberneticCycle, Cypher, DEMA, DPO, DX, DayOfWeekProfile, Decycler, DecyclerOscillator, DemandIndex, DemarkPivots, DepthSlope, DetrendedStdDev, DistanceSsd, Doji, DojiStar, Donchian, DonchianStop, DoubleBollinger, DoubleTopBottom, DownsideGapThreeMethods, DragonflyDoji, DrawdownDuration, EMA, EVWMA, EaseOfMovement, EffectiveSpread, EhlersStochastic, ElderImpulse, EmpiricalModeDecomposition, Engulfing, EveningDojiStar, FAMA, FRAMA, FallingThreeMethods, FibArcs, FibChannel, FibConfluence, FibExtension, FibFan, FibProjection, FibRetracement, FibTimeZones, FibonacciPivots, FisherTransform, FlagPennant, Footprint, ForceIndex, FractalChaosBands, FundingBasis, FundingRate, FundingRateMean, FundingRateZScore, GainLossRatio, GapSideBySideWhite, GarmanKlassVolatility, Gartley, GoldenPocket, GrangerCausality, GravestoneDoji, HMA, HT_DCPHASE, HT_PHASOR, HT_TRENDMODE, Hammer, HangingMan, Harami, HeadAndShoulders, 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, RectangleRange, RelativeStrengthAB, RenkoBars, RenkoTrailingStop, RickshawMan, RisingThreeMethods, RogersSatchellVolatility, RollingCorrelation, RollingCovariance, RollingVWAP, RoofingFilter, SAREXT, SMA, SMI, SMMA, STC, SeasonalZScore, SeparatingLines, SessionHighLow, SessionRange, SessionVwap, Shark, 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, ThreeDrives, ThreeInside, ThreeLineStrike, ThreeOutside, ThreeSoldiersOrCrows, ThreeStarsInSouth, Thrusting, TickIndex, TimeOfDayReturnProfile, TpoProfile, TradeImbalance, TreynorRatio, Triangle, Trin, TripleTopBottom, 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, Wedge, WeightedClose, WilliamsAD, WilliamsFractals, WilliamsR, WoodiePivots, YangZhangVolatility, YoyoExit, ZLEMA, ZScore, ZeroLagMACD, ZigZag, installPanicHook, version
|
|
8
|
+
ADL, ADX, ADXR, ALMA, APO, ATR, AVGPRICE, AbandonedBaby, Abcd, AbsoluteBreadthIndex, AccelerationBands, AcceleratorOscillator, AdVolumeLine, AdaptiveCycle, AdvanceBlock, AdvanceDecline, AdvanceDeclineRatio, Alligator, Alpha, AmihudIlliquidity, AnchoredRSI, AnchoredVWAP, Aroon, AroonOscillator, AtrBands, AtrTrailingStop, AutoFib, Autocorrelation, AverageDailyRange, AverageDrawdown, AwesomeOscillator, AwesomeOscillatorHistogram, BalanceOfPower, Bat, BeltHold, Beta, BetaNeutralSpread, BodySizePct, BollingerBands, BollingerBandwidth, BreadthThrust, Breakaway, BullishPercentIndex, Butterfly, CCI, CFO, CMO, CalendarSpread, CalmarRatio, Camarilla, CenterOfGravity, ChaikinMoneyFlow, ChaikinOscillator, ChaikinVolatility, ChandeKrollStop, ChandelierExit, ChoppinessIndex, ClassicPivots, CloseVsOpen, ClosingMarubozu, CoefficientOfVariation, Cointegration, ConcealingBabySwallow, ConditionalValueAtRisk, ConnorsRSI, Coppock, Counterattack, Crab, CumulativeVolumeDelta, CumulativeVolumeIndex, CupAndHandle, CyberneticCycle, Cypher, DEMA, DPO, DX, DayOfWeekProfile, Decycler, DecyclerOscillator, DemandIndex, DemarkPivots, DepthSlope, DetrendedStdDev, DistanceSsd, Doji, DojiStar, Donchian, DonchianStop, DoubleBollinger, DoubleTopBottom, DownsideGapThreeMethods, DragonflyDoji, DrawdownDuration, EMA, EVWMA, EaseOfMovement, EffectiveSpread, EhlersStochastic, ElderImpulse, EmpiricalModeDecomposition, Engulfing, EveningDojiStar, Expectancy, FAMA, FRAMA, FallingThreeMethods, FibArcs, FibChannel, FibConfluence, FibExtension, FibFan, FibProjection, FibRetracement, FibTimeZones, FibonacciPivots, FisherTransform, FlagPennant, Footprint, ForceIndex, FractalChaosBands, FundingBasis, FundingRate, FundingRateMean, FundingRateZScore, GainLossRatio, GapSideBySideWhite, GarmanKlassVolatility, Gartley, GoldenPocket, GrangerCausality, GravestoneDoji, HMA, HT_DCPHASE, HT_PHASOR, HT_TRENDMODE, Hammer, HangingMan, Harami, HeadAndShoulders, HeikinAshi, HiLoActivator, HighLowIndex, HighLowRange, HighWave, Hikkake, HikkakeModified, HilbertDominantCycle, HistoricalVolatility, HomingPigeon, HurstChannel, HurstExponent, Ichimoku, IdenticalThreeCrows, InNeck, Inertia, InformationRatio, InitialBalance, InstantaneousTrendline, IntradayVolatilityProfile, InverseFisherTransform, InvertedHammer, JMA, JumpIndicator, KAMA, KST, KVO, KagiBars, KalmanHedgeRatio, KellyCriterion, Keltner, Kicking, KickingByLength, Kurtosis, KylesLambda, LINEARREG_INTERCEPT, LadderBottom, LaguerreRSI, LeadLagCrossCorrelation, LinRegAngle, LinRegChannel, LinRegSlope, LinearRegression, LiquidationFeatures, LogReturn, 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, OrderFlowImbalance, 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, RealizedVolatility, RecoveryFactor, RectangleRange, RegimeLabel, RelativeStrengthAB, RenkoBars, RenkoTrailingStop, RickshawMan, RisingThreeMethods, RogersSatchellVolatility, RollMeasure, RollingCorrelation, RollingCovariance, RollingIqr, RollingPercentileRank, RollingQuantile, RollingVWAP, RoofingFilter, SAREXT, SMA, SMI, SMMA, STC, SeasonalZScore, SeparatingLines, SessionHighLow, SessionRange, SessionVwap, Shark, SharpeRatio, ShootingStar, ShortLine, SignedVolume, SineWave, Skewness, SortinoRatio, SpearmanCorrelation, SpinningTop, SpreadAr1Coefficient, 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, ThreeDrives, ThreeInside, ThreeLineStrike, ThreeOutside, ThreeSoldiersOrCrows, ThreeStarsInSouth, Thrusting, TickIndex, TimeOfDayReturnProfile, TpoProfile, TradeImbalance, TrendLabel, TreynorRatio, Triangle, Trin, TripleTopBottom, 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, Vpin, VwapStdDevBands, WMA, WaveTrend, Wedge, WeightedClose, WickRatio, WilliamsAD, WilliamsFractals, WilliamsR, WinRate, WoodiePivots, YangZhangVolatility, YoyoExit, ZLEMA, ZScore, ZeroLagMACD, ZigZag, installPanicHook, version
|
|
9
9
|
} from "./wickra_wasm_bg.js";
|