wickra-wasm 0.5.9 → 0.6.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 +10 -10
- package/package.json +1 -1
- package/wickra_wasm.d.ts +117 -0
- package/wickra_wasm.js +1 -1
- package/wickra_wasm_bg.js +916 -0
- 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=434" 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 434 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),
|
|
@@ -79,7 +79,7 @@ Plenty of TA libraries are fast. Each one forces a trade-off Wickra does not:
|
|
|
79
79
|
| finta | clean | no | Python | ~80 | stale |
|
|
80
80
|
| talipp | clean | yes | Python | ~40 | yes |
|
|
81
81
|
|
|
82
|
-
Wickra's edge is **breadth with reach**:
|
|
82
|
+
Wickra's edge is **breadth with reach**: 434 indicators that all update in O(1)
|
|
83
83
|
per tick and ship natively to Python, Node.js, WebAssembly and Rust from a
|
|
84
84
|
single engine.
|
|
85
85
|
|
|
@@ -188,7 +188,7 @@ python -m benchmarks.compare_libraries
|
|
|
188
188
|
|
|
189
189
|
## Indicators
|
|
190
190
|
|
|
191
|
-
|
|
191
|
+
434 streaming-first indicators across twenty-four families. Every one passes the
|
|
192
192
|
`batch == streaming` equivalence test, reference-value tests, and reset
|
|
193
193
|
semantics tests. Each has a per-indicator deep dive (formula, parameters,
|
|
194
194
|
warmup) at [docs.wickra.org](https://docs.wickra.org/Indicators-Overview).
|
|
@@ -199,8 +199,8 @@ warmup) at [docs.wickra.org](https://docs.wickra.org/Indicators-Overview).
|
|
|
199
199
|
| Momentum Oscillators | RSI (Wilder), Anchored RSI, Stochastic, CCI, ROC, Williams %R, MFI, Awesome Oscillator, MOM, CMO, TSI, PMO, StochRSI, Ultimate Oscillator, RVI, PGO, KST, SMI, Laguerre RSI, Connors RSI, Inertia, ROC Percentage (ROCP), ROC Ratio (ROCR), ROC Ratio 100 (ROCR100), Disparity Index, Fisher RSI, RSX, Dynamic Momentum Index, Stochastic CCI, RMI, Derivative Oscillator, Elder Ray, Intraday Momentum Index, QQE |
|
|
200
200
|
| Trend & Directional | MACD, MACD Fixed (MACDFIX), MACD Extended (MACDEXT), ADX (+DI/-DI), ADXR, Aroon, TRIX, Aroon Oscillator, Vortex, Random Walk Index, Trend Intensity Index, Wave Trend Oscillator, Mass Index, Choppiness Index, Vertical Horizontal Filter, Plus DM, Minus DM, Plus DI, Minus DI, DX, TTM Trend, Trend Strength Index, Qstick, Polarized Fractal Efficiency, Wave PM, Gator Oscillator, Kase Permission Stochastic |
|
|
201
201
|
| Price Oscillators | PPO, DPO, Coppock, Accelerator Oscillator, Balance of Power, APO, AO Histogram, CFO, Zero-Lag MACD, Elder Impulse, STC, TSF Oscillator, MACD Histogram, PPO Histogram |
|
|
202
|
-
| Volatility & Bands | ATR, Bollinger Bands, Keltner Channels, Donchian Channels, NATR, StdDev, Ulcer Index, Historical Volatility, Bollinger Bandwidth, %B, True Range, Chaikin Volatility, RVI (Relative Volatility Index), Parkinson Volatility, Garman-Klass Volatility, Rogers-Satchell Volatility, Yang-Zhang Volatility |
|
|
203
|
-
| 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 |
|
|
202
|
+
| Volatility & Bands | ATR, Bollinger Bands, Keltner Channels, Donchian Channels, NATR, StdDev, Ulcer Index, Historical Volatility, Bollinger Bandwidth, %B, True Range, Chaikin Volatility, RVI (Relative Volatility Index), Parkinson Volatility, Garman-Klass Volatility, Rogers-Satchell Volatility, Yang-Zhang Volatility, Volatility Cone |
|
|
203
|
+
| 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, Quartile Bands, Bomar Bands, Median Channel, Projection Bands, Projection Oscillator |
|
|
204
204
|
| 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 |
|
|
205
205
|
| 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 |
|
|
206
206
|
| 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 |
|
|
@@ -297,7 +297,7 @@ A Python live-trading example using the public `websockets` package lives at
|
|
|
297
297
|
```
|
|
298
298
|
wickra/
|
|
299
299
|
├── crates/
|
|
300
|
-
│ ├── wickra-core/ core engine + all
|
|
300
|
+
│ ├── wickra-core/ core engine + all 434 indicators
|
|
301
301
|
│ ├── wickra/ top-level facade crate (publishes on crates.io) + benches/
|
|
302
302
|
│ ├── wickra-data/ CSV reader, tick aggregator, live exchange feeds
|
|
303
303
|
│ └── wickra-bench/ internal cross-library benchmark harness (not published)
|
|
@@ -428,8 +428,8 @@ The library is provided **as is**, without warranty of any kind; see
|
|
|
428
428
|
</p>
|
|
429
429
|
|
|
430
430
|
<p align="center">
|
|
431
|
-
<a href="https://
|
|
432
|
-
<img alt="
|
|
433
|
-
src="https://
|
|
431
|
+
<a href="https://star-history.com/#wickra-lib/wickra&Date">
|
|
432
|
+
<img alt="Wickra star history" width="640"
|
|
433
|
+
src="https://api.star-history.com/svg?repos=wickra-lib/wickra&type=Date&theme=dark">
|
|
434
434
|
</a>
|
|
435
435
|
</p>
|
package/package.json
CHANGED
package/wickra_wasm.d.ts
CHANGED
|
@@ -428,6 +428,17 @@ export class BetaNeutralSpread {
|
|
|
428
428
|
warmupPeriod(): number;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
+
export class BipowerVariation {
|
|
432
|
+
free(): void;
|
|
433
|
+
[Symbol.dispose](): void;
|
|
434
|
+
batch(prices: Float64Array): Float64Array;
|
|
435
|
+
isReady(): boolean;
|
|
436
|
+
constructor(period: number);
|
|
437
|
+
reset(): void;
|
|
438
|
+
update(value: number): number | undefined;
|
|
439
|
+
warmupPeriod(): number;
|
|
440
|
+
}
|
|
441
|
+
|
|
431
442
|
export class BodySizePct {
|
|
432
443
|
free(): void;
|
|
433
444
|
[Symbol.dispose](): void;
|
|
@@ -460,6 +471,17 @@ export class BollingerBandwidth {
|
|
|
460
471
|
warmupPeriod(): number;
|
|
461
472
|
}
|
|
462
473
|
|
|
474
|
+
export class BomarBands {
|
|
475
|
+
free(): void;
|
|
476
|
+
[Symbol.dispose](): void;
|
|
477
|
+
batch(prices: Float64Array): Float64Array;
|
|
478
|
+
isReady(): boolean;
|
|
479
|
+
constructor(period: number, coverage: number);
|
|
480
|
+
reset(): void;
|
|
481
|
+
update(value: number): any;
|
|
482
|
+
warmupPeriod(): number;
|
|
483
|
+
}
|
|
484
|
+
|
|
463
485
|
export class BreadthThrust {
|
|
464
486
|
free(): void;
|
|
465
487
|
[Symbol.dispose](): void;
|
|
@@ -1210,6 +1232,17 @@ export class EveningDojiStar {
|
|
|
1210
1232
|
warmupPeriod(): number;
|
|
1211
1233
|
}
|
|
1212
1234
|
|
|
1235
|
+
export class EwmaVolatility {
|
|
1236
|
+
free(): void;
|
|
1237
|
+
[Symbol.dispose](): void;
|
|
1238
|
+
batch(prices: Float64Array): Float64Array;
|
|
1239
|
+
isReady(): boolean;
|
|
1240
|
+
constructor(lambda: number);
|
|
1241
|
+
reset(): void;
|
|
1242
|
+
update(value: number): number | undefined;
|
|
1243
|
+
warmupPeriod(): number;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1213
1246
|
export class Expectancy {
|
|
1214
1247
|
free(): void;
|
|
1215
1248
|
[Symbol.dispose](): void;
|
|
@@ -1503,6 +1536,17 @@ export class GapSideBySideWhite {
|
|
|
1503
1536
|
warmupPeriod(): number;
|
|
1504
1537
|
}
|
|
1505
1538
|
|
|
1539
|
+
export class Garch11 {
|
|
1540
|
+
free(): void;
|
|
1541
|
+
[Symbol.dispose](): void;
|
|
1542
|
+
batch(prices: Float64Array): Float64Array;
|
|
1543
|
+
isReady(): boolean;
|
|
1544
|
+
constructor(omega: number, alpha: number, beta: number);
|
|
1545
|
+
reset(): void;
|
|
1546
|
+
update(value: number): number | undefined;
|
|
1547
|
+
warmupPeriod(): number;
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1506
1550
|
export class GarmanKlassVolatility {
|
|
1507
1551
|
free(): void;
|
|
1508
1552
|
[Symbol.dispose](): void;
|
|
@@ -2516,6 +2560,17 @@ export class MedianAbsoluteDeviation {
|
|
|
2516
2560
|
warmupPeriod(): number;
|
|
2517
2561
|
}
|
|
2518
2562
|
|
|
2563
|
+
export class MedianChannel {
|
|
2564
|
+
free(): void;
|
|
2565
|
+
[Symbol.dispose](): void;
|
|
2566
|
+
batch(prices: Float64Array): Float64Array;
|
|
2567
|
+
isReady(): boolean;
|
|
2568
|
+
constructor(period: number, multiplier: number);
|
|
2569
|
+
reset(): void;
|
|
2570
|
+
update(value: number): any;
|
|
2571
|
+
warmupPeriod(): number;
|
|
2572
|
+
}
|
|
2573
|
+
|
|
2519
2574
|
export class MedianMA {
|
|
2520
2575
|
free(): void;
|
|
2521
2576
|
[Symbol.dispose](): void;
|
|
@@ -2987,6 +3042,26 @@ export class ProfitFactor {
|
|
|
2987
3042
|
warmupPeriod(): number;
|
|
2988
3043
|
}
|
|
2989
3044
|
|
|
3045
|
+
export class ProjectionBands {
|
|
3046
|
+
free(): void;
|
|
3047
|
+
[Symbol.dispose](): void;
|
|
3048
|
+
batch(high: Float64Array, low: Float64Array): Float64Array;
|
|
3049
|
+
isReady(): boolean;
|
|
3050
|
+
constructor(period: number);
|
|
3051
|
+
reset(): void;
|
|
3052
|
+
update(high: number, low: number): any;
|
|
3053
|
+
warmupPeriod(): number;
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
export class ProjectionOscillator {
|
|
3057
|
+
free(): void;
|
|
3058
|
+
[Symbol.dispose](): void;
|
|
3059
|
+
batch(high: Float64Array, low: Float64Array, close: Float64Array): Float64Array;
|
|
3060
|
+
constructor(period: number);
|
|
3061
|
+
reset(): void;
|
|
3062
|
+
update(high: number, low: number, close: number): number | undefined;
|
|
3063
|
+
}
|
|
3064
|
+
|
|
2990
3065
|
export class QQE {
|
|
2991
3066
|
free(): void;
|
|
2992
3067
|
[Symbol.dispose](): void;
|
|
@@ -3021,6 +3096,17 @@ export class Qstick {
|
|
|
3021
3096
|
warmupPeriod(): number;
|
|
3022
3097
|
}
|
|
3023
3098
|
|
|
3099
|
+
export class QuartileBands {
|
|
3100
|
+
free(): void;
|
|
3101
|
+
[Symbol.dispose](): void;
|
|
3102
|
+
batch(prices: Float64Array): Float64Array;
|
|
3103
|
+
isReady(): boolean;
|
|
3104
|
+
constructor(period: number);
|
|
3105
|
+
reset(): void;
|
|
3106
|
+
update(value: number): any;
|
|
3107
|
+
warmupPeriod(): number;
|
|
3108
|
+
}
|
|
3109
|
+
|
|
3024
3110
|
export class QuotedSpread {
|
|
3025
3111
|
free(): void;
|
|
3026
3112
|
[Symbol.dispose](): void;
|
|
@@ -4515,6 +4601,37 @@ export class VerticalHorizontalFilter {
|
|
|
4515
4601
|
warmupPeriod(): number;
|
|
4516
4602
|
}
|
|
4517
4603
|
|
|
4604
|
+
export class VolatilityCone {
|
|
4605
|
+
free(): void;
|
|
4606
|
+
[Symbol.dispose](): void;
|
|
4607
|
+
batch(high: Float64Array, low: Float64Array, close: Float64Array): Float64Array;
|
|
4608
|
+
isReady(): boolean;
|
|
4609
|
+
constructor(window: number, lookback: number);
|
|
4610
|
+
reset(): void;
|
|
4611
|
+
update(high: number, low: number, close: number): any;
|
|
4612
|
+
warmupPeriod(): number;
|
|
4613
|
+
}
|
|
4614
|
+
|
|
4615
|
+
export class VolatilityOfVolatility {
|
|
4616
|
+
free(): void;
|
|
4617
|
+
[Symbol.dispose](): void;
|
|
4618
|
+
batch(prices: Float64Array): Float64Array;
|
|
4619
|
+
isReady(): boolean;
|
|
4620
|
+
constructor(vol_window: number, vov_window: number);
|
|
4621
|
+
reset(): void;
|
|
4622
|
+
update(value: number): number | undefined;
|
|
4623
|
+
warmupPeriod(): number;
|
|
4624
|
+
}
|
|
4625
|
+
|
|
4626
|
+
export class VolatilityRatio {
|
|
4627
|
+
free(): void;
|
|
4628
|
+
[Symbol.dispose](): void;
|
|
4629
|
+
batch(high: Float64Array, low: Float64Array, close: Float64Array): Float64Array;
|
|
4630
|
+
constructor(period: number);
|
|
4631
|
+
reset(): void;
|
|
4632
|
+
update(high: number, low: number, close: number): number | undefined;
|
|
4633
|
+
}
|
|
4634
|
+
|
|
4518
4635
|
export class VoltyStop {
|
|
4519
4636
|
free(): void;
|
|
4520
4637
|
[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, AdaptiveLaguerre, 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, DerivativeOscillator, DetrendedStdDev, DisparityIndex, DistanceSsd, Doji, DojiStar, Donchian, DonchianStop, DoubleBollinger, DoubleTopBottom, DownsideGapThreeMethods, DragonflyDoji, DrawdownDuration, DynamicMomentumIndex, EHMA, EMA, EVWMA, EaseOfMovement, EffectiveSpread, EhlersStochastic, ElderImpulse, ElderRay, EmpiricalModeDecomposition, Engulfing, EveningDojiStar, Expectancy, FAMA, FRAMA, FallingThreeMethods, FibArcs, FibChannel, FibConfluence, FibExtension, FibFan, FibProjection, FibRetracement, FibTimeZones, FibonacciPivots, FisherRSI, FisherTransform, FlagPennant, Footprint, ForceIndex, FractalChaosBands, FundingBasis, FundingRate, FundingRateMean, FundingRateZScore, GD, GMA, GainLossRatio, GapSideBySideWhite, GarmanKlassVolatility, Gartley, GatorOscillator, GoldenPocket, GrangerCausality, GravestoneDoji, HMA, HT_DCPHASE, HT_PHASOR, HT_TRENDMODE, Hammer, HangingMan, Harami, HeadAndShoulders, HeikinAshi, HiLoActivator, HighLowIndex, HighLowRange, HighWave, Hikkake, HikkakeModified, HilbertDominantCycle, HistoricalVolatility, HoltWinters, HomingPigeon, HurstChannel, HurstExponent, IMI, Ichimoku, IdenticalThreeCrows, InNeck, Inertia, InformationRatio, InitialBalance, InstantaneousTrendline, IntradayVolatilityProfile, InverseFisherTransform, InvertedHammer, JMA, JumpIndicator, KAMA, KST, KVO, KagiBars, KalmanHedgeRatio, KasePermissionStochastic, 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, MacdHistogram, MarketFacilitationIndex, Marubozu, MassIndex, MatHold, MatchingLow, MaxDrawdown, McClellanOscillator, McClellanSummationIndex, McGinleyDynamic, MedianAbsoluteDeviation, MedianMA, 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, POLARIZED_FRACTAL_EFFICIENCY, PPO, PSAR, PVI, PainIndex, PairSpreadZScore, PairwiseBeta, ParkinsonVolatility, PearsonCorrelation, PercentAboveMa, PercentB, PercentageTrailingStop, PiercingDarkCloud, PointAndFigureBars, PpoHistogram, ProfitFactor, QQE, Qstick, QuotedSpread, RMI, ROC, ROCP, ROCR, ROCR100, RSI, RSX, 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, SWMA, 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, StochasticCCI, SuperSmoother, SuperTrend, T3, TDCombo, TDCountdown, TDDeMarker, TDDifferential, TDLines, TDOpen, TDPressure, TDREI, TDRangeProjection, TDRiskLevel, TDSequential, TDSetup, TEMA, TII, TREND_STRENGTH_INDEX, TRIMA, TRIX, TSF, TSI, TSV, TTM_TREND, TakerBuySellRatio, Takuri, TasukiGap, TermStructureBasis, ThreeDrives, ThreeInside, ThreeLineStrike, ThreeOutside, ThreeSoldiersOrCrows, ThreeStarsInSouth, Thrusting, TickIndex, TimeOfDayReturnProfile, TpoProfile, TradeImbalance, TrendLabel, TreynorRatio, Triangle, Trin, TripleTopBottom, TrueRange, TsfOscillator, 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, WAVE_PM, WMA, WaveTrend, Wedge, WeightedClose, WickRatio, WilliamsAD, WilliamsFractals, WilliamsR, WinRate, WoodiePivots, YangZhangVolatility, YoyoExit, ZLEMA, ZScore, ZeroLagMACD, ZigZag, installPanicHook, version
|
|
8
|
+
ADL, ADX, ADXR, ALMA, APO, ATR, AVGPRICE, AbandonedBaby, Abcd, AbsoluteBreadthIndex, AccelerationBands, AcceleratorOscillator, AdVolumeLine, AdaptiveCycle, AdaptiveLaguerre, AdvanceBlock, AdvanceDecline, AdvanceDeclineRatio, Alligator, Alpha, AmihudIlliquidity, AnchoredRSI, AnchoredVWAP, Aroon, AroonOscillator, AtrBands, AtrTrailingStop, AutoFib, Autocorrelation, AverageDailyRange, AverageDrawdown, AwesomeOscillator, AwesomeOscillatorHistogram, BalanceOfPower, Bat, BeltHold, Beta, BetaNeutralSpread, BipowerVariation, BodySizePct, BollingerBands, BollingerBandwidth, BomarBands, 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, DerivativeOscillator, DetrendedStdDev, DisparityIndex, DistanceSsd, Doji, DojiStar, Donchian, DonchianStop, DoubleBollinger, DoubleTopBottom, DownsideGapThreeMethods, DragonflyDoji, DrawdownDuration, DynamicMomentumIndex, EHMA, EMA, EVWMA, EaseOfMovement, EffectiveSpread, EhlersStochastic, ElderImpulse, ElderRay, EmpiricalModeDecomposition, Engulfing, EveningDojiStar, EwmaVolatility, Expectancy, FAMA, FRAMA, FallingThreeMethods, FibArcs, FibChannel, FibConfluence, FibExtension, FibFan, FibProjection, FibRetracement, FibTimeZones, FibonacciPivots, FisherRSI, FisherTransform, FlagPennant, Footprint, ForceIndex, FractalChaosBands, FundingBasis, FundingRate, FundingRateMean, FundingRateZScore, GD, GMA, GainLossRatio, GapSideBySideWhite, Garch11, GarmanKlassVolatility, Gartley, GatorOscillator, GoldenPocket, GrangerCausality, GravestoneDoji, HMA, HT_DCPHASE, HT_PHASOR, HT_TRENDMODE, Hammer, HangingMan, Harami, HeadAndShoulders, HeikinAshi, HiLoActivator, HighLowIndex, HighLowRange, HighWave, Hikkake, HikkakeModified, HilbertDominantCycle, HistoricalVolatility, HoltWinters, HomingPigeon, HurstChannel, HurstExponent, IMI, Ichimoku, IdenticalThreeCrows, InNeck, Inertia, InformationRatio, InitialBalance, InstantaneousTrendline, IntradayVolatilityProfile, InverseFisherTransform, InvertedHammer, JMA, JumpIndicator, KAMA, KST, KVO, KagiBars, KalmanHedgeRatio, KasePermissionStochastic, 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, MacdHistogram, MarketFacilitationIndex, Marubozu, MassIndex, MatHold, MatchingLow, MaxDrawdown, McClellanOscillator, McClellanSummationIndex, McGinleyDynamic, MedianAbsoluteDeviation, MedianChannel, MedianMA, 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, POLARIZED_FRACTAL_EFFICIENCY, PPO, PSAR, PVI, PainIndex, PairSpreadZScore, PairwiseBeta, ParkinsonVolatility, PearsonCorrelation, PercentAboveMa, PercentB, PercentageTrailingStop, PiercingDarkCloud, PointAndFigureBars, PpoHistogram, ProfitFactor, ProjectionBands, ProjectionOscillator, QQE, Qstick, QuartileBands, QuotedSpread, RMI, ROC, ROCP, ROCR, ROCR100, RSI, RSX, 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, SWMA, 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, StochasticCCI, SuperSmoother, SuperTrend, T3, TDCombo, TDCountdown, TDDeMarker, TDDifferential, TDLines, TDOpen, TDPressure, TDREI, TDRangeProjection, TDRiskLevel, TDSequential, TDSetup, TEMA, TII, TREND_STRENGTH_INDEX, TRIMA, TRIX, TSF, TSI, TSV, TTM_TREND, TakerBuySellRatio, Takuri, TasukiGap, TermStructureBasis, ThreeDrives, ThreeInside, ThreeLineStrike, ThreeOutside, ThreeSoldiersOrCrows, ThreeStarsInSouth, Thrusting, TickIndex, TimeOfDayReturnProfile, TpoProfile, TradeImbalance, TrendLabel, TreynorRatio, Triangle, Trin, TripleTopBottom, TrueRange, TsfOscillator, TtmSqueeze, TurnOfMonth, Tweezer, TwoCrows, TypicalPrice, UlcerIndex, UltimateOscillator, UniqueThreeRiver, UpDownVolumeRatio, UpsideGapThreeMethods, UpsideGapTwoCrows, VIDYA, VWAP, VWMA, VZO, ValueArea, ValueAtRisk, Variance, VarianceRatio, VerticalHorizontalFilter, VolatilityCone, VolatilityOfVolatility, VolatilityRatio, VoltyStop, VolumeByTimeProfile, VolumeOscillator, VolumePriceTrend, VolumeProfile, Vortex, Vpin, VwapStdDevBands, WAVE_PM, 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";
|
package/wickra_wasm_bg.js
CHANGED
|
@@ -3179,6 +3179,82 @@ export class BetaNeutralSpread {
|
|
|
3179
3179
|
}
|
|
3180
3180
|
if (Symbol.dispose) BetaNeutralSpread.prototype[Symbol.dispose] = BetaNeutralSpread.prototype.free;
|
|
3181
3181
|
|
|
3182
|
+
export class BipowerVariation {
|
|
3183
|
+
__destroy_into_raw() {
|
|
3184
|
+
const ptr = this.__wbg_ptr;
|
|
3185
|
+
this.__wbg_ptr = 0;
|
|
3186
|
+
BipowerVariationFinalization.unregister(this);
|
|
3187
|
+
return ptr;
|
|
3188
|
+
}
|
|
3189
|
+
free() {
|
|
3190
|
+
const ptr = this.__destroy_into_raw();
|
|
3191
|
+
wasm.__wbg_bipowervariation_free(ptr, 0);
|
|
3192
|
+
}
|
|
3193
|
+
/**
|
|
3194
|
+
* @param {Float64Array} prices
|
|
3195
|
+
* @returns {Float64Array}
|
|
3196
|
+
*/
|
|
3197
|
+
batch(prices) {
|
|
3198
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
3199
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3200
|
+
const ret = wasm.bipowervariation_batch(this.__wbg_ptr, ptr0, len0);
|
|
3201
|
+
return takeObject(ret);
|
|
3202
|
+
}
|
|
3203
|
+
/**
|
|
3204
|
+
* @returns {boolean}
|
|
3205
|
+
*/
|
|
3206
|
+
isReady() {
|
|
3207
|
+
const ret = wasm.bipowervariation_isReady(this.__wbg_ptr);
|
|
3208
|
+
return ret !== 0;
|
|
3209
|
+
}
|
|
3210
|
+
/**
|
|
3211
|
+
* @param {number} period
|
|
3212
|
+
*/
|
|
3213
|
+
constructor(period) {
|
|
3214
|
+
try {
|
|
3215
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3216
|
+
wasm.bipowervariation_new(retptr, period);
|
|
3217
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3218
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3219
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
3220
|
+
if (r2) {
|
|
3221
|
+
throw takeObject(r1);
|
|
3222
|
+
}
|
|
3223
|
+
this.__wbg_ptr = r0;
|
|
3224
|
+
BipowerVariationFinalization.register(this, this.__wbg_ptr, this);
|
|
3225
|
+
return this;
|
|
3226
|
+
} finally {
|
|
3227
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3228
|
+
}
|
|
3229
|
+
}
|
|
3230
|
+
reset() {
|
|
3231
|
+
wasm.bipowervariation_reset(this.__wbg_ptr);
|
|
3232
|
+
}
|
|
3233
|
+
/**
|
|
3234
|
+
* @param {number} value
|
|
3235
|
+
* @returns {number | undefined}
|
|
3236
|
+
*/
|
|
3237
|
+
update(value) {
|
|
3238
|
+
try {
|
|
3239
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3240
|
+
wasm.bipowervariation_update(retptr, this.__wbg_ptr, value);
|
|
3241
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3242
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
3243
|
+
return r0 === 0 ? undefined : r2;
|
|
3244
|
+
} finally {
|
|
3245
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3248
|
+
/**
|
|
3249
|
+
* @returns {number}
|
|
3250
|
+
*/
|
|
3251
|
+
warmupPeriod() {
|
|
3252
|
+
const ret = wasm.bipowervariation_warmupPeriod(this.__wbg_ptr);
|
|
3253
|
+
return ret >>> 0;
|
|
3254
|
+
}
|
|
3255
|
+
}
|
|
3256
|
+
if (Symbol.dispose) BipowerVariation.prototype[Symbol.dispose] = BipowerVariation.prototype.free;
|
|
3257
|
+
|
|
3182
3258
|
export class BodySizePct {
|
|
3183
3259
|
__destroy_into_raw() {
|
|
3184
3260
|
const ptr = this.__wbg_ptr;
|
|
@@ -3389,6 +3465,76 @@ export class BollingerBandwidth {
|
|
|
3389
3465
|
}
|
|
3390
3466
|
if (Symbol.dispose) BollingerBandwidth.prototype[Symbol.dispose] = BollingerBandwidth.prototype.free;
|
|
3391
3467
|
|
|
3468
|
+
export class BomarBands {
|
|
3469
|
+
__destroy_into_raw() {
|
|
3470
|
+
const ptr = this.__wbg_ptr;
|
|
3471
|
+
this.__wbg_ptr = 0;
|
|
3472
|
+
BomarBandsFinalization.unregister(this);
|
|
3473
|
+
return ptr;
|
|
3474
|
+
}
|
|
3475
|
+
free() {
|
|
3476
|
+
const ptr = this.__destroy_into_raw();
|
|
3477
|
+
wasm.__wbg_bomarbands_free(ptr, 0);
|
|
3478
|
+
}
|
|
3479
|
+
/**
|
|
3480
|
+
* @param {Float64Array} prices
|
|
3481
|
+
* @returns {Float64Array}
|
|
3482
|
+
*/
|
|
3483
|
+
batch(prices) {
|
|
3484
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
3485
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3486
|
+
const ret = wasm.bomarbands_batch(this.__wbg_ptr, ptr0, len0);
|
|
3487
|
+
return takeObject(ret);
|
|
3488
|
+
}
|
|
3489
|
+
/**
|
|
3490
|
+
* @returns {boolean}
|
|
3491
|
+
*/
|
|
3492
|
+
isReady() {
|
|
3493
|
+
const ret = wasm.bomarbands_isReady(this.__wbg_ptr);
|
|
3494
|
+
return ret !== 0;
|
|
3495
|
+
}
|
|
3496
|
+
/**
|
|
3497
|
+
* @param {number} period
|
|
3498
|
+
* @param {number} coverage
|
|
3499
|
+
*/
|
|
3500
|
+
constructor(period, coverage) {
|
|
3501
|
+
try {
|
|
3502
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3503
|
+
wasm.bomarbands_new(retptr, period, coverage);
|
|
3504
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3505
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3506
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
3507
|
+
if (r2) {
|
|
3508
|
+
throw takeObject(r1);
|
|
3509
|
+
}
|
|
3510
|
+
this.__wbg_ptr = r0;
|
|
3511
|
+
BomarBandsFinalization.register(this, this.__wbg_ptr, this);
|
|
3512
|
+
return this;
|
|
3513
|
+
} finally {
|
|
3514
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
reset() {
|
|
3518
|
+
wasm.bomarbands_reset(this.__wbg_ptr);
|
|
3519
|
+
}
|
|
3520
|
+
/**
|
|
3521
|
+
* @param {number} value
|
|
3522
|
+
* @returns {any}
|
|
3523
|
+
*/
|
|
3524
|
+
update(value) {
|
|
3525
|
+
const ret = wasm.bomarbands_update(this.__wbg_ptr, value);
|
|
3526
|
+
return takeObject(ret);
|
|
3527
|
+
}
|
|
3528
|
+
/**
|
|
3529
|
+
* @returns {number}
|
|
3530
|
+
*/
|
|
3531
|
+
warmupPeriod() {
|
|
3532
|
+
const ret = wasm.bomarbands_warmupPeriod(this.__wbg_ptr);
|
|
3533
|
+
return ret >>> 0;
|
|
3534
|
+
}
|
|
3535
|
+
}
|
|
3536
|
+
if (Symbol.dispose) BomarBands.prototype[Symbol.dispose] = BomarBands.prototype.free;
|
|
3537
|
+
|
|
3392
3538
|
export class BreadthThrust {
|
|
3393
3539
|
__destroy_into_raw() {
|
|
3394
3540
|
const ptr = this.__wbg_ptr;
|
|
@@ -8880,6 +9026,82 @@ export class EveningDojiStar {
|
|
|
8880
9026
|
}
|
|
8881
9027
|
if (Symbol.dispose) EveningDojiStar.prototype[Symbol.dispose] = EveningDojiStar.prototype.free;
|
|
8882
9028
|
|
|
9029
|
+
export class EwmaVolatility {
|
|
9030
|
+
__destroy_into_raw() {
|
|
9031
|
+
const ptr = this.__wbg_ptr;
|
|
9032
|
+
this.__wbg_ptr = 0;
|
|
9033
|
+
EwmaVolatilityFinalization.unregister(this);
|
|
9034
|
+
return ptr;
|
|
9035
|
+
}
|
|
9036
|
+
free() {
|
|
9037
|
+
const ptr = this.__destroy_into_raw();
|
|
9038
|
+
wasm.__wbg_ewmavolatility_free(ptr, 0);
|
|
9039
|
+
}
|
|
9040
|
+
/**
|
|
9041
|
+
* @param {Float64Array} prices
|
|
9042
|
+
* @returns {Float64Array}
|
|
9043
|
+
*/
|
|
9044
|
+
batch(prices) {
|
|
9045
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
9046
|
+
const len0 = WASM_VECTOR_LEN;
|
|
9047
|
+
const ret = wasm.ewmavolatility_batch(this.__wbg_ptr, ptr0, len0);
|
|
9048
|
+
return takeObject(ret);
|
|
9049
|
+
}
|
|
9050
|
+
/**
|
|
9051
|
+
* @returns {boolean}
|
|
9052
|
+
*/
|
|
9053
|
+
isReady() {
|
|
9054
|
+
const ret = wasm.ewmavolatility_isReady(this.__wbg_ptr);
|
|
9055
|
+
return ret !== 0;
|
|
9056
|
+
}
|
|
9057
|
+
/**
|
|
9058
|
+
* @param {number} lambda
|
|
9059
|
+
*/
|
|
9060
|
+
constructor(lambda) {
|
|
9061
|
+
try {
|
|
9062
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
9063
|
+
wasm.ewmavolatility_new(retptr, lambda);
|
|
9064
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
9065
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
9066
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
9067
|
+
if (r2) {
|
|
9068
|
+
throw takeObject(r1);
|
|
9069
|
+
}
|
|
9070
|
+
this.__wbg_ptr = r0;
|
|
9071
|
+
EwmaVolatilityFinalization.register(this, this.__wbg_ptr, this);
|
|
9072
|
+
return this;
|
|
9073
|
+
} finally {
|
|
9074
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
9075
|
+
}
|
|
9076
|
+
}
|
|
9077
|
+
reset() {
|
|
9078
|
+
wasm.ewmavolatility_reset(this.__wbg_ptr);
|
|
9079
|
+
}
|
|
9080
|
+
/**
|
|
9081
|
+
* @param {number} value
|
|
9082
|
+
* @returns {number | undefined}
|
|
9083
|
+
*/
|
|
9084
|
+
update(value) {
|
|
9085
|
+
try {
|
|
9086
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
9087
|
+
wasm.ewmavolatility_update(retptr, this.__wbg_ptr, value);
|
|
9088
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
9089
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
9090
|
+
return r0 === 0 ? undefined : r2;
|
|
9091
|
+
} finally {
|
|
9092
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
9093
|
+
}
|
|
9094
|
+
}
|
|
9095
|
+
/**
|
|
9096
|
+
* @returns {number}
|
|
9097
|
+
*/
|
|
9098
|
+
warmupPeriod() {
|
|
9099
|
+
const ret = wasm.ewmavolatility_warmupPeriod(this.__wbg_ptr);
|
|
9100
|
+
return ret >>> 0;
|
|
9101
|
+
}
|
|
9102
|
+
}
|
|
9103
|
+
if (Symbol.dispose) EwmaVolatility.prototype[Symbol.dispose] = EwmaVolatility.prototype.free;
|
|
9104
|
+
|
|
8883
9105
|
export class Expectancy {
|
|
8884
9106
|
__destroy_into_raw() {
|
|
8885
9107
|
const ptr = this.__wbg_ptr;
|
|
@@ -11000,6 +11222,84 @@ export class GapSideBySideWhite {
|
|
|
11000
11222
|
}
|
|
11001
11223
|
if (Symbol.dispose) GapSideBySideWhite.prototype[Symbol.dispose] = GapSideBySideWhite.prototype.free;
|
|
11002
11224
|
|
|
11225
|
+
export class Garch11 {
|
|
11226
|
+
__destroy_into_raw() {
|
|
11227
|
+
const ptr = this.__wbg_ptr;
|
|
11228
|
+
this.__wbg_ptr = 0;
|
|
11229
|
+
Garch11Finalization.unregister(this);
|
|
11230
|
+
return ptr;
|
|
11231
|
+
}
|
|
11232
|
+
free() {
|
|
11233
|
+
const ptr = this.__destroy_into_raw();
|
|
11234
|
+
wasm.__wbg_garch11_free(ptr, 0);
|
|
11235
|
+
}
|
|
11236
|
+
/**
|
|
11237
|
+
* @param {Float64Array} prices
|
|
11238
|
+
* @returns {Float64Array}
|
|
11239
|
+
*/
|
|
11240
|
+
batch(prices) {
|
|
11241
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
11242
|
+
const len0 = WASM_VECTOR_LEN;
|
|
11243
|
+
const ret = wasm.garch11_batch(this.__wbg_ptr, ptr0, len0);
|
|
11244
|
+
return takeObject(ret);
|
|
11245
|
+
}
|
|
11246
|
+
/**
|
|
11247
|
+
* @returns {boolean}
|
|
11248
|
+
*/
|
|
11249
|
+
isReady() {
|
|
11250
|
+
const ret = wasm.garch11_isReady(this.__wbg_ptr);
|
|
11251
|
+
return ret !== 0;
|
|
11252
|
+
}
|
|
11253
|
+
/**
|
|
11254
|
+
* @param {number} omega
|
|
11255
|
+
* @param {number} alpha
|
|
11256
|
+
* @param {number} beta
|
|
11257
|
+
*/
|
|
11258
|
+
constructor(omega, alpha, beta) {
|
|
11259
|
+
try {
|
|
11260
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
11261
|
+
wasm.garch11_new(retptr, omega, alpha, beta);
|
|
11262
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
11263
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
11264
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
11265
|
+
if (r2) {
|
|
11266
|
+
throw takeObject(r1);
|
|
11267
|
+
}
|
|
11268
|
+
this.__wbg_ptr = r0;
|
|
11269
|
+
Garch11Finalization.register(this, this.__wbg_ptr, this);
|
|
11270
|
+
return this;
|
|
11271
|
+
} finally {
|
|
11272
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
11273
|
+
}
|
|
11274
|
+
}
|
|
11275
|
+
reset() {
|
|
11276
|
+
wasm.garch11_reset(this.__wbg_ptr);
|
|
11277
|
+
}
|
|
11278
|
+
/**
|
|
11279
|
+
* @param {number} value
|
|
11280
|
+
* @returns {number | undefined}
|
|
11281
|
+
*/
|
|
11282
|
+
update(value) {
|
|
11283
|
+
try {
|
|
11284
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
11285
|
+
wasm.garch11_update(retptr, this.__wbg_ptr, value);
|
|
11286
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
11287
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
11288
|
+
return r0 === 0 ? undefined : r2;
|
|
11289
|
+
} finally {
|
|
11290
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
11291
|
+
}
|
|
11292
|
+
}
|
|
11293
|
+
/**
|
|
11294
|
+
* @returns {number}
|
|
11295
|
+
*/
|
|
11296
|
+
warmupPeriod() {
|
|
11297
|
+
const ret = wasm.garch11_warmupPeriod(this.__wbg_ptr);
|
|
11298
|
+
return ret >>> 0;
|
|
11299
|
+
}
|
|
11300
|
+
}
|
|
11301
|
+
if (Symbol.dispose) Garch11.prototype[Symbol.dispose] = Garch11.prototype.free;
|
|
11302
|
+
|
|
11003
11303
|
export class GarmanKlassVolatility {
|
|
11004
11304
|
__destroy_into_raw() {
|
|
11005
11305
|
const ptr = this.__wbg_ptr;
|
|
@@ -18161,6 +18461,76 @@ export class MedianAbsoluteDeviation {
|
|
|
18161
18461
|
}
|
|
18162
18462
|
if (Symbol.dispose) MedianAbsoluteDeviation.prototype[Symbol.dispose] = MedianAbsoluteDeviation.prototype.free;
|
|
18163
18463
|
|
|
18464
|
+
export class MedianChannel {
|
|
18465
|
+
__destroy_into_raw() {
|
|
18466
|
+
const ptr = this.__wbg_ptr;
|
|
18467
|
+
this.__wbg_ptr = 0;
|
|
18468
|
+
MedianChannelFinalization.unregister(this);
|
|
18469
|
+
return ptr;
|
|
18470
|
+
}
|
|
18471
|
+
free() {
|
|
18472
|
+
const ptr = this.__destroy_into_raw();
|
|
18473
|
+
wasm.__wbg_medianchannel_free(ptr, 0);
|
|
18474
|
+
}
|
|
18475
|
+
/**
|
|
18476
|
+
* @param {Float64Array} prices
|
|
18477
|
+
* @returns {Float64Array}
|
|
18478
|
+
*/
|
|
18479
|
+
batch(prices) {
|
|
18480
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
18481
|
+
const len0 = WASM_VECTOR_LEN;
|
|
18482
|
+
const ret = wasm.medianchannel_batch(this.__wbg_ptr, ptr0, len0);
|
|
18483
|
+
return takeObject(ret);
|
|
18484
|
+
}
|
|
18485
|
+
/**
|
|
18486
|
+
* @returns {boolean}
|
|
18487
|
+
*/
|
|
18488
|
+
isReady() {
|
|
18489
|
+
const ret = wasm.medianchannel_isReady(this.__wbg_ptr);
|
|
18490
|
+
return ret !== 0;
|
|
18491
|
+
}
|
|
18492
|
+
/**
|
|
18493
|
+
* @param {number} period
|
|
18494
|
+
* @param {number} multiplier
|
|
18495
|
+
*/
|
|
18496
|
+
constructor(period, multiplier) {
|
|
18497
|
+
try {
|
|
18498
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
18499
|
+
wasm.medianchannel_new(retptr, period, multiplier);
|
|
18500
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
18501
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
18502
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
18503
|
+
if (r2) {
|
|
18504
|
+
throw takeObject(r1);
|
|
18505
|
+
}
|
|
18506
|
+
this.__wbg_ptr = r0;
|
|
18507
|
+
MedianChannelFinalization.register(this, this.__wbg_ptr, this);
|
|
18508
|
+
return this;
|
|
18509
|
+
} finally {
|
|
18510
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
18511
|
+
}
|
|
18512
|
+
}
|
|
18513
|
+
reset() {
|
|
18514
|
+
wasm.medianchannel_reset(this.__wbg_ptr);
|
|
18515
|
+
}
|
|
18516
|
+
/**
|
|
18517
|
+
* @param {number} value
|
|
18518
|
+
* @returns {any}
|
|
18519
|
+
*/
|
|
18520
|
+
update(value) {
|
|
18521
|
+
const ret = wasm.medianchannel_update(this.__wbg_ptr, value);
|
|
18522
|
+
return takeObject(ret);
|
|
18523
|
+
}
|
|
18524
|
+
/**
|
|
18525
|
+
* @returns {number}
|
|
18526
|
+
*/
|
|
18527
|
+
warmupPeriod() {
|
|
18528
|
+
const ret = wasm.medianchannel_warmupPeriod(this.__wbg_ptr);
|
|
18529
|
+
return ret >>> 0;
|
|
18530
|
+
}
|
|
18531
|
+
}
|
|
18532
|
+
if (Symbol.dispose) MedianChannel.prototype[Symbol.dispose] = MedianChannel.prototype.free;
|
|
18533
|
+
|
|
18164
18534
|
export class MedianMA {
|
|
18165
18535
|
__destroy_into_raw() {
|
|
18166
18536
|
const ptr = this.__wbg_ptr;
|
|
@@ -21616,6 +21986,187 @@ export class ProfitFactor {
|
|
|
21616
21986
|
}
|
|
21617
21987
|
if (Symbol.dispose) ProfitFactor.prototype[Symbol.dispose] = ProfitFactor.prototype.free;
|
|
21618
21988
|
|
|
21989
|
+
export class ProjectionBands {
|
|
21990
|
+
__destroy_into_raw() {
|
|
21991
|
+
const ptr = this.__wbg_ptr;
|
|
21992
|
+
this.__wbg_ptr = 0;
|
|
21993
|
+
ProjectionBandsFinalization.unregister(this);
|
|
21994
|
+
return ptr;
|
|
21995
|
+
}
|
|
21996
|
+
free() {
|
|
21997
|
+
const ptr = this.__destroy_into_raw();
|
|
21998
|
+
wasm.__wbg_projectionbands_free(ptr, 0);
|
|
21999
|
+
}
|
|
22000
|
+
/**
|
|
22001
|
+
* @param {Float64Array} high
|
|
22002
|
+
* @param {Float64Array} low
|
|
22003
|
+
* @returns {Float64Array}
|
|
22004
|
+
*/
|
|
22005
|
+
batch(high, low) {
|
|
22006
|
+
try {
|
|
22007
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
22008
|
+
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
22009
|
+
const len0 = WASM_VECTOR_LEN;
|
|
22010
|
+
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
22011
|
+
const len1 = WASM_VECTOR_LEN;
|
|
22012
|
+
wasm.projectionbands_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
22013
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
22014
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
22015
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
22016
|
+
if (r2) {
|
|
22017
|
+
throw takeObject(r1);
|
|
22018
|
+
}
|
|
22019
|
+
return takeObject(r0);
|
|
22020
|
+
} finally {
|
|
22021
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
22022
|
+
}
|
|
22023
|
+
}
|
|
22024
|
+
/**
|
|
22025
|
+
* @returns {boolean}
|
|
22026
|
+
*/
|
|
22027
|
+
isReady() {
|
|
22028
|
+
const ret = wasm.projectionbands_isReady(this.__wbg_ptr);
|
|
22029
|
+
return ret !== 0;
|
|
22030
|
+
}
|
|
22031
|
+
/**
|
|
22032
|
+
* @param {number} period
|
|
22033
|
+
*/
|
|
22034
|
+
constructor(period) {
|
|
22035
|
+
try {
|
|
22036
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
22037
|
+
wasm.projectionbands_new(retptr, period);
|
|
22038
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
22039
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
22040
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
22041
|
+
if (r2) {
|
|
22042
|
+
throw takeObject(r1);
|
|
22043
|
+
}
|
|
22044
|
+
this.__wbg_ptr = r0;
|
|
22045
|
+
ProjectionBandsFinalization.register(this, this.__wbg_ptr, this);
|
|
22046
|
+
return this;
|
|
22047
|
+
} finally {
|
|
22048
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
22049
|
+
}
|
|
22050
|
+
}
|
|
22051
|
+
reset() {
|
|
22052
|
+
wasm.projectionbands_reset(this.__wbg_ptr);
|
|
22053
|
+
}
|
|
22054
|
+
/**
|
|
22055
|
+
* @param {number} high
|
|
22056
|
+
* @param {number} low
|
|
22057
|
+
* @returns {any}
|
|
22058
|
+
*/
|
|
22059
|
+
update(high, low) {
|
|
22060
|
+
try {
|
|
22061
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
22062
|
+
wasm.projectionbands_update(retptr, this.__wbg_ptr, high, low);
|
|
22063
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
22064
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
22065
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
22066
|
+
if (r2) {
|
|
22067
|
+
throw takeObject(r1);
|
|
22068
|
+
}
|
|
22069
|
+
return takeObject(r0);
|
|
22070
|
+
} finally {
|
|
22071
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
22072
|
+
}
|
|
22073
|
+
}
|
|
22074
|
+
/**
|
|
22075
|
+
* @returns {number}
|
|
22076
|
+
*/
|
|
22077
|
+
warmupPeriod() {
|
|
22078
|
+
const ret = wasm.projectionbands_warmupPeriod(this.__wbg_ptr);
|
|
22079
|
+
return ret >>> 0;
|
|
22080
|
+
}
|
|
22081
|
+
}
|
|
22082
|
+
if (Symbol.dispose) ProjectionBands.prototype[Symbol.dispose] = ProjectionBands.prototype.free;
|
|
22083
|
+
|
|
22084
|
+
export class ProjectionOscillator {
|
|
22085
|
+
__destroy_into_raw() {
|
|
22086
|
+
const ptr = this.__wbg_ptr;
|
|
22087
|
+
this.__wbg_ptr = 0;
|
|
22088
|
+
ProjectionOscillatorFinalization.unregister(this);
|
|
22089
|
+
return ptr;
|
|
22090
|
+
}
|
|
22091
|
+
free() {
|
|
22092
|
+
const ptr = this.__destroy_into_raw();
|
|
22093
|
+
wasm.__wbg_projectionoscillator_free(ptr, 0);
|
|
22094
|
+
}
|
|
22095
|
+
/**
|
|
22096
|
+
* @param {Float64Array} high
|
|
22097
|
+
* @param {Float64Array} low
|
|
22098
|
+
* @param {Float64Array} close
|
|
22099
|
+
* @returns {Float64Array}
|
|
22100
|
+
*/
|
|
22101
|
+
batch(high, low, close) {
|
|
22102
|
+
try {
|
|
22103
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
22104
|
+
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
22105
|
+
const len0 = WASM_VECTOR_LEN;
|
|
22106
|
+
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
22107
|
+
const len1 = WASM_VECTOR_LEN;
|
|
22108
|
+
const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
22109
|
+
const len2 = WASM_VECTOR_LEN;
|
|
22110
|
+
wasm.projectionoscillator_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
22111
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
22112
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
22113
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
22114
|
+
if (r2) {
|
|
22115
|
+
throw takeObject(r1);
|
|
22116
|
+
}
|
|
22117
|
+
return takeObject(r0);
|
|
22118
|
+
} finally {
|
|
22119
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
22120
|
+
}
|
|
22121
|
+
}
|
|
22122
|
+
/**
|
|
22123
|
+
* @param {number} period
|
|
22124
|
+
*/
|
|
22125
|
+
constructor(period) {
|
|
22126
|
+
try {
|
|
22127
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
22128
|
+
wasm.projectionoscillator_new(retptr, period);
|
|
22129
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
22130
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
22131
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
22132
|
+
if (r2) {
|
|
22133
|
+
throw takeObject(r1);
|
|
22134
|
+
}
|
|
22135
|
+
this.__wbg_ptr = r0;
|
|
22136
|
+
ProjectionOscillatorFinalization.register(this, this.__wbg_ptr, this);
|
|
22137
|
+
return this;
|
|
22138
|
+
} finally {
|
|
22139
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
22140
|
+
}
|
|
22141
|
+
}
|
|
22142
|
+
reset() {
|
|
22143
|
+
wasm.projectionoscillator_reset(this.__wbg_ptr);
|
|
22144
|
+
}
|
|
22145
|
+
/**
|
|
22146
|
+
* @param {number} high
|
|
22147
|
+
* @param {number} low
|
|
22148
|
+
* @param {number} close
|
|
22149
|
+
* @returns {number | undefined}
|
|
22150
|
+
*/
|
|
22151
|
+
update(high, low, close) {
|
|
22152
|
+
try {
|
|
22153
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
22154
|
+
wasm.projectionoscillator_update(retptr, this.__wbg_ptr, high, low, close);
|
|
22155
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
22156
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
22157
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
22158
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
22159
|
+
if (r5) {
|
|
22160
|
+
throw takeObject(r4);
|
|
22161
|
+
}
|
|
22162
|
+
return r0 === 0 ? undefined : r2;
|
|
22163
|
+
} finally {
|
|
22164
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
22165
|
+
}
|
|
22166
|
+
}
|
|
22167
|
+
}
|
|
22168
|
+
if (Symbol.dispose) ProjectionOscillator.prototype[Symbol.dispose] = ProjectionOscillator.prototype.free;
|
|
22169
|
+
|
|
21619
22170
|
export class QQE {
|
|
21620
22171
|
__destroy_into_raw() {
|
|
21621
22172
|
const ptr = this.__wbg_ptr;
|
|
@@ -21787,6 +22338,75 @@ export class Qstick {
|
|
|
21787
22338
|
}
|
|
21788
22339
|
if (Symbol.dispose) Qstick.prototype[Symbol.dispose] = Qstick.prototype.free;
|
|
21789
22340
|
|
|
22341
|
+
export class QuartileBands {
|
|
22342
|
+
__destroy_into_raw() {
|
|
22343
|
+
const ptr = this.__wbg_ptr;
|
|
22344
|
+
this.__wbg_ptr = 0;
|
|
22345
|
+
QuartileBandsFinalization.unregister(this);
|
|
22346
|
+
return ptr;
|
|
22347
|
+
}
|
|
22348
|
+
free() {
|
|
22349
|
+
const ptr = this.__destroy_into_raw();
|
|
22350
|
+
wasm.__wbg_quartilebands_free(ptr, 0);
|
|
22351
|
+
}
|
|
22352
|
+
/**
|
|
22353
|
+
* @param {Float64Array} prices
|
|
22354
|
+
* @returns {Float64Array}
|
|
22355
|
+
*/
|
|
22356
|
+
batch(prices) {
|
|
22357
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
22358
|
+
const len0 = WASM_VECTOR_LEN;
|
|
22359
|
+
const ret = wasm.quartilebands_batch(this.__wbg_ptr, ptr0, len0);
|
|
22360
|
+
return takeObject(ret);
|
|
22361
|
+
}
|
|
22362
|
+
/**
|
|
22363
|
+
* @returns {boolean}
|
|
22364
|
+
*/
|
|
22365
|
+
isReady() {
|
|
22366
|
+
const ret = wasm.quartilebands_isReady(this.__wbg_ptr);
|
|
22367
|
+
return ret !== 0;
|
|
22368
|
+
}
|
|
22369
|
+
/**
|
|
22370
|
+
* @param {number} period
|
|
22371
|
+
*/
|
|
22372
|
+
constructor(period) {
|
|
22373
|
+
try {
|
|
22374
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
22375
|
+
wasm.quartilebands_new(retptr, period);
|
|
22376
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
22377
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
22378
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
22379
|
+
if (r2) {
|
|
22380
|
+
throw takeObject(r1);
|
|
22381
|
+
}
|
|
22382
|
+
this.__wbg_ptr = r0;
|
|
22383
|
+
QuartileBandsFinalization.register(this, this.__wbg_ptr, this);
|
|
22384
|
+
return this;
|
|
22385
|
+
} finally {
|
|
22386
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
22387
|
+
}
|
|
22388
|
+
}
|
|
22389
|
+
reset() {
|
|
22390
|
+
wasm.quartilebands_reset(this.__wbg_ptr);
|
|
22391
|
+
}
|
|
22392
|
+
/**
|
|
22393
|
+
* @param {number} value
|
|
22394
|
+
* @returns {any}
|
|
22395
|
+
*/
|
|
22396
|
+
update(value) {
|
|
22397
|
+
const ret = wasm.quartilebands_update(this.__wbg_ptr, value);
|
|
22398
|
+
return takeObject(ret);
|
|
22399
|
+
}
|
|
22400
|
+
/**
|
|
22401
|
+
* @returns {number}
|
|
22402
|
+
*/
|
|
22403
|
+
warmupPeriod() {
|
|
22404
|
+
const ret = wasm.quartilebands_warmupPeriod(this.__wbg_ptr);
|
|
22405
|
+
return ret >>> 0;
|
|
22406
|
+
}
|
|
22407
|
+
}
|
|
22408
|
+
if (Symbol.dispose) QuartileBands.prototype[Symbol.dispose] = QuartileBands.prototype.free;
|
|
22409
|
+
|
|
21790
22410
|
export class QuotedSpread {
|
|
21791
22411
|
__destroy_into_raw() {
|
|
21792
22412
|
const ptr = this.__wbg_ptr;
|
|
@@ -32712,6 +33332,269 @@ export class VerticalHorizontalFilter {
|
|
|
32712
33332
|
}
|
|
32713
33333
|
if (Symbol.dispose) VerticalHorizontalFilter.prototype[Symbol.dispose] = VerticalHorizontalFilter.prototype.free;
|
|
32714
33334
|
|
|
33335
|
+
export class VolatilityCone {
|
|
33336
|
+
__destroy_into_raw() {
|
|
33337
|
+
const ptr = this.__wbg_ptr;
|
|
33338
|
+
this.__wbg_ptr = 0;
|
|
33339
|
+
VolatilityConeFinalization.unregister(this);
|
|
33340
|
+
return ptr;
|
|
33341
|
+
}
|
|
33342
|
+
free() {
|
|
33343
|
+
const ptr = this.__destroy_into_raw();
|
|
33344
|
+
wasm.__wbg_volatilitycone_free(ptr, 0);
|
|
33345
|
+
}
|
|
33346
|
+
/**
|
|
33347
|
+
* @param {Float64Array} high
|
|
33348
|
+
* @param {Float64Array} low
|
|
33349
|
+
* @param {Float64Array} close
|
|
33350
|
+
* @returns {Float64Array}
|
|
33351
|
+
*/
|
|
33352
|
+
batch(high, low, close) {
|
|
33353
|
+
try {
|
|
33354
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
33355
|
+
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
33356
|
+
const len0 = WASM_VECTOR_LEN;
|
|
33357
|
+
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
33358
|
+
const len1 = WASM_VECTOR_LEN;
|
|
33359
|
+
const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
33360
|
+
const len2 = WASM_VECTOR_LEN;
|
|
33361
|
+
wasm.volatilitycone_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
33362
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33363
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
33364
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
33365
|
+
if (r2) {
|
|
33366
|
+
throw takeObject(r1);
|
|
33367
|
+
}
|
|
33368
|
+
return takeObject(r0);
|
|
33369
|
+
} finally {
|
|
33370
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
33371
|
+
}
|
|
33372
|
+
}
|
|
33373
|
+
/**
|
|
33374
|
+
* @returns {boolean}
|
|
33375
|
+
*/
|
|
33376
|
+
isReady() {
|
|
33377
|
+
const ret = wasm.volatilitycone_isReady(this.__wbg_ptr);
|
|
33378
|
+
return ret !== 0;
|
|
33379
|
+
}
|
|
33380
|
+
/**
|
|
33381
|
+
* @param {number} window
|
|
33382
|
+
* @param {number} lookback
|
|
33383
|
+
*/
|
|
33384
|
+
constructor(window, lookback) {
|
|
33385
|
+
try {
|
|
33386
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
33387
|
+
wasm.volatilitycone_new(retptr, window, lookback);
|
|
33388
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33389
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
33390
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
33391
|
+
if (r2) {
|
|
33392
|
+
throw takeObject(r1);
|
|
33393
|
+
}
|
|
33394
|
+
this.__wbg_ptr = r0;
|
|
33395
|
+
VolatilityConeFinalization.register(this, this.__wbg_ptr, this);
|
|
33396
|
+
return this;
|
|
33397
|
+
} finally {
|
|
33398
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
33399
|
+
}
|
|
33400
|
+
}
|
|
33401
|
+
reset() {
|
|
33402
|
+
wasm.volatilitycone_reset(this.__wbg_ptr);
|
|
33403
|
+
}
|
|
33404
|
+
/**
|
|
33405
|
+
* @param {number} high
|
|
33406
|
+
* @param {number} low
|
|
33407
|
+
* @param {number} close
|
|
33408
|
+
* @returns {any}
|
|
33409
|
+
*/
|
|
33410
|
+
update(high, low, close) {
|
|
33411
|
+
try {
|
|
33412
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
33413
|
+
wasm.volatilitycone_update(retptr, this.__wbg_ptr, high, low, close);
|
|
33414
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33415
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
33416
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
33417
|
+
if (r2) {
|
|
33418
|
+
throw takeObject(r1);
|
|
33419
|
+
}
|
|
33420
|
+
return takeObject(r0);
|
|
33421
|
+
} finally {
|
|
33422
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
33423
|
+
}
|
|
33424
|
+
}
|
|
33425
|
+
/**
|
|
33426
|
+
* @returns {number}
|
|
33427
|
+
*/
|
|
33428
|
+
warmupPeriod() {
|
|
33429
|
+
const ret = wasm.volatilitycone_warmupPeriod(this.__wbg_ptr);
|
|
33430
|
+
return ret >>> 0;
|
|
33431
|
+
}
|
|
33432
|
+
}
|
|
33433
|
+
if (Symbol.dispose) VolatilityCone.prototype[Symbol.dispose] = VolatilityCone.prototype.free;
|
|
33434
|
+
|
|
33435
|
+
export class VolatilityOfVolatility {
|
|
33436
|
+
__destroy_into_raw() {
|
|
33437
|
+
const ptr = this.__wbg_ptr;
|
|
33438
|
+
this.__wbg_ptr = 0;
|
|
33439
|
+
VolatilityOfVolatilityFinalization.unregister(this);
|
|
33440
|
+
return ptr;
|
|
33441
|
+
}
|
|
33442
|
+
free() {
|
|
33443
|
+
const ptr = this.__destroy_into_raw();
|
|
33444
|
+
wasm.__wbg_volatilityofvolatility_free(ptr, 0);
|
|
33445
|
+
}
|
|
33446
|
+
/**
|
|
33447
|
+
* @param {Float64Array} prices
|
|
33448
|
+
* @returns {Float64Array}
|
|
33449
|
+
*/
|
|
33450
|
+
batch(prices) {
|
|
33451
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
33452
|
+
const len0 = WASM_VECTOR_LEN;
|
|
33453
|
+
const ret = wasm.volatilityofvolatility_batch(this.__wbg_ptr, ptr0, len0);
|
|
33454
|
+
return takeObject(ret);
|
|
33455
|
+
}
|
|
33456
|
+
/**
|
|
33457
|
+
* @returns {boolean}
|
|
33458
|
+
*/
|
|
33459
|
+
isReady() {
|
|
33460
|
+
const ret = wasm.volatilityofvolatility_isReady(this.__wbg_ptr);
|
|
33461
|
+
return ret !== 0;
|
|
33462
|
+
}
|
|
33463
|
+
/**
|
|
33464
|
+
* @param {number} vol_window
|
|
33465
|
+
* @param {number} vov_window
|
|
33466
|
+
*/
|
|
33467
|
+
constructor(vol_window, vov_window) {
|
|
33468
|
+
try {
|
|
33469
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
33470
|
+
wasm.volatilityofvolatility_new(retptr, vol_window, vov_window);
|
|
33471
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33472
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
33473
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
33474
|
+
if (r2) {
|
|
33475
|
+
throw takeObject(r1);
|
|
33476
|
+
}
|
|
33477
|
+
this.__wbg_ptr = r0;
|
|
33478
|
+
VolatilityOfVolatilityFinalization.register(this, this.__wbg_ptr, this);
|
|
33479
|
+
return this;
|
|
33480
|
+
} finally {
|
|
33481
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
33482
|
+
}
|
|
33483
|
+
}
|
|
33484
|
+
reset() {
|
|
33485
|
+
wasm.volatilityofvolatility_reset(this.__wbg_ptr);
|
|
33486
|
+
}
|
|
33487
|
+
/**
|
|
33488
|
+
* @param {number} value
|
|
33489
|
+
* @returns {number | undefined}
|
|
33490
|
+
*/
|
|
33491
|
+
update(value) {
|
|
33492
|
+
try {
|
|
33493
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
33494
|
+
wasm.volatilityofvolatility_update(retptr, this.__wbg_ptr, value);
|
|
33495
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33496
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
33497
|
+
return r0 === 0 ? undefined : r2;
|
|
33498
|
+
} finally {
|
|
33499
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
33500
|
+
}
|
|
33501
|
+
}
|
|
33502
|
+
/**
|
|
33503
|
+
* @returns {number}
|
|
33504
|
+
*/
|
|
33505
|
+
warmupPeriod() {
|
|
33506
|
+
const ret = wasm.volatilityofvolatility_warmupPeriod(this.__wbg_ptr);
|
|
33507
|
+
return ret >>> 0;
|
|
33508
|
+
}
|
|
33509
|
+
}
|
|
33510
|
+
if (Symbol.dispose) VolatilityOfVolatility.prototype[Symbol.dispose] = VolatilityOfVolatility.prototype.free;
|
|
33511
|
+
|
|
33512
|
+
export class VolatilityRatio {
|
|
33513
|
+
__destroy_into_raw() {
|
|
33514
|
+
const ptr = this.__wbg_ptr;
|
|
33515
|
+
this.__wbg_ptr = 0;
|
|
33516
|
+
VolatilityRatioFinalization.unregister(this);
|
|
33517
|
+
return ptr;
|
|
33518
|
+
}
|
|
33519
|
+
free() {
|
|
33520
|
+
const ptr = this.__destroy_into_raw();
|
|
33521
|
+
wasm.__wbg_volatilityratio_free(ptr, 0);
|
|
33522
|
+
}
|
|
33523
|
+
/**
|
|
33524
|
+
* @param {Float64Array} high
|
|
33525
|
+
* @param {Float64Array} low
|
|
33526
|
+
* @param {Float64Array} close
|
|
33527
|
+
* @returns {Float64Array}
|
|
33528
|
+
*/
|
|
33529
|
+
batch(high, low, close) {
|
|
33530
|
+
try {
|
|
33531
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
33532
|
+
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
33533
|
+
const len0 = WASM_VECTOR_LEN;
|
|
33534
|
+
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
33535
|
+
const len1 = WASM_VECTOR_LEN;
|
|
33536
|
+
const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
33537
|
+
const len2 = WASM_VECTOR_LEN;
|
|
33538
|
+
wasm.volatilityratio_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
33539
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33540
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
33541
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
33542
|
+
if (r2) {
|
|
33543
|
+
throw takeObject(r1);
|
|
33544
|
+
}
|
|
33545
|
+
return takeObject(r0);
|
|
33546
|
+
} finally {
|
|
33547
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
33548
|
+
}
|
|
33549
|
+
}
|
|
33550
|
+
/**
|
|
33551
|
+
* @param {number} period
|
|
33552
|
+
*/
|
|
33553
|
+
constructor(period) {
|
|
33554
|
+
try {
|
|
33555
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
33556
|
+
wasm.volatilityratio_new(retptr, period);
|
|
33557
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33558
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
33559
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
33560
|
+
if (r2) {
|
|
33561
|
+
throw takeObject(r1);
|
|
33562
|
+
}
|
|
33563
|
+
this.__wbg_ptr = r0;
|
|
33564
|
+
VolatilityRatioFinalization.register(this, this.__wbg_ptr, this);
|
|
33565
|
+
return this;
|
|
33566
|
+
} finally {
|
|
33567
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
33568
|
+
}
|
|
33569
|
+
}
|
|
33570
|
+
reset() {
|
|
33571
|
+
wasm.volatilityratio_reset(this.__wbg_ptr);
|
|
33572
|
+
}
|
|
33573
|
+
/**
|
|
33574
|
+
* @param {number} high
|
|
33575
|
+
* @param {number} low
|
|
33576
|
+
* @param {number} close
|
|
33577
|
+
* @returns {number | undefined}
|
|
33578
|
+
*/
|
|
33579
|
+
update(high, low, close) {
|
|
33580
|
+
try {
|
|
33581
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
33582
|
+
wasm.volatilityratio_update(retptr, this.__wbg_ptr, high, low, close);
|
|
33583
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33584
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
33585
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
33586
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
33587
|
+
if (r5) {
|
|
33588
|
+
throw takeObject(r4);
|
|
33589
|
+
}
|
|
33590
|
+
return r0 === 0 ? undefined : r2;
|
|
33591
|
+
} finally {
|
|
33592
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
33593
|
+
}
|
|
33594
|
+
}
|
|
33595
|
+
}
|
|
33596
|
+
if (Symbol.dispose) VolatilityRatio.prototype[Symbol.dispose] = VolatilityRatio.prototype.free;
|
|
33597
|
+
|
|
32715
33598
|
export class VoltyStop {
|
|
32716
33599
|
__destroy_into_raw() {
|
|
32717
33600
|
const ptr = this.__wbg_ptr;
|
|
@@ -35048,12 +35931,18 @@ const BetaFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
35048
35931
|
const BetaNeutralSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35049
35932
|
? { register: () => {}, unregister: () => {} }
|
|
35050
35933
|
: new FinalizationRegistry(ptr => wasm.__wbg_betaneutralspread_free(ptr, 1));
|
|
35934
|
+
const BipowerVariationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35935
|
+
? { register: () => {}, unregister: () => {} }
|
|
35936
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_bipowervariation_free(ptr, 1));
|
|
35051
35937
|
const BodySizePctFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35052
35938
|
? { register: () => {}, unregister: () => {} }
|
|
35053
35939
|
: new FinalizationRegistry(ptr => wasm.__wbg_bodysizepct_free(ptr, 1));
|
|
35054
35940
|
const BollingerBandwidthFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35055
35941
|
? { register: () => {}, unregister: () => {} }
|
|
35056
35942
|
: new FinalizationRegistry(ptr => wasm.__wbg_bollingerbandwidth_free(ptr, 1));
|
|
35943
|
+
const BomarBandsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35944
|
+
? { register: () => {}, unregister: () => {} }
|
|
35945
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_bomarbands_free(ptr, 1));
|
|
35057
35946
|
const BreadthThrustFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35058
35947
|
? { register: () => {}, unregister: () => {} }
|
|
35059
35948
|
: new FinalizationRegistry(ptr => wasm.__wbg_breadththrust_free(ptr, 1));
|
|
@@ -35255,6 +36144,9 @@ const EveningDojiStarFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
35255
36144
|
const EVWMAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35256
36145
|
? { register: () => {}, unregister: () => {} }
|
|
35257
36146
|
: new FinalizationRegistry(ptr => wasm.__wbg_evwma_free(ptr, 1));
|
|
36147
|
+
const EwmaVolatilityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36148
|
+
? { register: () => {}, unregister: () => {} }
|
|
36149
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ewmavolatility_free(ptr, 1));
|
|
35258
36150
|
const ExpectancyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35259
36151
|
? { register: () => {}, unregister: () => {} }
|
|
35260
36152
|
: new FinalizationRegistry(ptr => wasm.__wbg_expectancy_free(ptr, 1));
|
|
@@ -35330,6 +36222,9 @@ const GainLossRatioFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
35330
36222
|
const GapSideBySideWhiteFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35331
36223
|
? { register: () => {}, unregister: () => {} }
|
|
35332
36224
|
: new FinalizationRegistry(ptr => wasm.__wbg_gapsidebysidewhite_free(ptr, 1));
|
|
36225
|
+
const Garch11Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
36226
|
+
? { register: () => {}, unregister: () => {} }
|
|
36227
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_garch11_free(ptr, 1));
|
|
35333
36228
|
const GarmanKlassVolatilityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35334
36229
|
? { register: () => {}, unregister: () => {} }
|
|
35335
36230
|
: new FinalizationRegistry(ptr => wasm.__wbg_garmanklassvolatility_free(ptr, 1));
|
|
@@ -35579,6 +36474,9 @@ const McGinleyDynamicFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
35579
36474
|
const MedianAbsoluteDeviationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35580
36475
|
? { register: () => {}, unregister: () => {} }
|
|
35581
36476
|
: new FinalizationRegistry(ptr => wasm.__wbg_medianabsolutedeviation_free(ptr, 1));
|
|
36477
|
+
const MedianChannelFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36478
|
+
? { register: () => {}, unregister: () => {} }
|
|
36479
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_medianchannel_free(ptr, 1));
|
|
35582
36480
|
const MedianMAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35583
36481
|
? { register: () => {}, unregister: () => {} }
|
|
35584
36482
|
: new FinalizationRegistry(ptr => wasm.__wbg_medianma_free(ptr, 1));
|
|
@@ -35720,6 +36618,12 @@ const PpoHistogramFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
35720
36618
|
const ProfitFactorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35721
36619
|
? { register: () => {}, unregister: () => {} }
|
|
35722
36620
|
: new FinalizationRegistry(ptr => wasm.__wbg_profitfactor_free(ptr, 1));
|
|
36621
|
+
const ProjectionBandsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36622
|
+
? { register: () => {}, unregister: () => {} }
|
|
36623
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_projectionbands_free(ptr, 1));
|
|
36624
|
+
const ProjectionOscillatorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36625
|
+
? { register: () => {}, unregister: () => {} }
|
|
36626
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_projectionoscillator_free(ptr, 1));
|
|
35723
36627
|
const PSARFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35724
36628
|
? { register: () => {}, unregister: () => {} }
|
|
35725
36629
|
: new FinalizationRegistry(ptr => wasm.__wbg_psar_free(ptr, 1));
|
|
@@ -35732,6 +36636,9 @@ const QQEFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
35732
36636
|
const QstickFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35733
36637
|
? { register: () => {}, unregister: () => {} }
|
|
35734
36638
|
: new FinalizationRegistry(ptr => wasm.__wbg_qstick_free(ptr, 1));
|
|
36639
|
+
const QuartileBandsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36640
|
+
? { register: () => {}, unregister: () => {} }
|
|
36641
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_quartilebands_free(ptr, 1));
|
|
35735
36642
|
const QuotedSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
35736
36643
|
? { register: () => {}, unregister: () => {} }
|
|
35737
36644
|
: new FinalizationRegistry(ptr => wasm.__wbg_quotedspread_free(ptr, 1));
|
|
@@ -36116,6 +37023,15 @@ const VerticalHorizontalFilterFinalization = (typeof FinalizationRegistry === 'u
|
|
|
36116
37023
|
const VIDYAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36117
37024
|
? { register: () => {}, unregister: () => {} }
|
|
36118
37025
|
: new FinalizationRegistry(ptr => wasm.__wbg_vidya_free(ptr, 1));
|
|
37026
|
+
const VolatilityConeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37027
|
+
? { register: () => {}, unregister: () => {} }
|
|
37028
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_volatilitycone_free(ptr, 1));
|
|
37029
|
+
const VolatilityOfVolatilityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37030
|
+
? { register: () => {}, unregister: () => {} }
|
|
37031
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_volatilityofvolatility_free(ptr, 1));
|
|
37032
|
+
const VolatilityRatioFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37033
|
+
? { register: () => {}, unregister: () => {} }
|
|
37034
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_volatilityratio_free(ptr, 1));
|
|
36119
37035
|
const VoltyStopFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36120
37036
|
? { register: () => {}, unregister: () => {} }
|
|
36121
37037
|
: new FinalizationRegistry(ptr => wasm.__wbg_voltystop_free(ptr, 1));
|
package/wickra_wasm_bg.wasm
CHANGED
|
Binary file
|