wickra 0.5.3 → 0.5.5

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 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=377" alt="Wickra — streaming-first technical indicators" width="100%"></a>
2
+ <a href="https://wickra.org"><img src="https://raw.githubusercontent.com/wickra-lib/.github/main/profile/wickra-banner.webp?v=403" alt="Wickra — streaming-first technical indicators" width="100%"></a>
3
3
  </p>
4
4
 
5
5
  [![CI](https://github.com/wickra-lib/wickra/actions/workflows/ci.yml/badge.svg)](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 377 indicators; start at the
51
+ every one of the 403 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,14 +136,14 @@ python -m benchmarks.compare_libraries
136
136
 
137
137
  ## Indicators
138
138
 
139
- 377 streaming-first indicators across twenty-four families. Every one passes the
139
+ 403 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).
143
143
 
144
144
  | Family | Indicators |
145
145
  |--------|-----------|
146
- | Moving Averages | SMA, EMA, WMA, DEMA, TEMA, HMA, KAMA, SMMA, TRIMA, ZLEMA, T3, VWMA, ALMA, McGinley Dynamic, FRAMA, VIDYA, JMA, Alligator, EVWMA |
146
+ | Moving Averages | SMA, EMA, WMA, DEMA, TEMA, HMA, KAMA, SMMA, TRIMA, ZLEMA, T3, VWMA, ALMA, McGinley Dynamic, FRAMA, VIDYA, JMA, Alligator, EVWMA, SWMA, GMA, EHMA, Median MA, Adaptive Laguerre, GD, Holt-Winters |
147
147
  | 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) |
148
148
  | 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 |
149
149
  | Price Oscillators | PPO, DPO, Coppock, Accelerator Oscillator, Balance of Power, APO, AO Histogram, CFO, Zero-Lag MACD, Elder Impulse, STC |
@@ -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 377 indicators
248
+ │ ├── wickra-core/ core engine + all 403 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/index.d.ts CHANGED
@@ -809,6 +809,141 @@ export declare class TSF {
809
809
  isReady(): boolean
810
810
  warmupPeriod(): number
811
811
  }
812
+ export type LogReturnNode = LogReturn
813
+ export declare class LogReturn {
814
+ constructor(period: number)
815
+ update(value: number): number | null
816
+ batch(prices: Array<number>): Array<number>
817
+ reset(): void
818
+ isReady(): boolean
819
+ warmupPeriod(): number
820
+ }
821
+ export type RealizedVolatilityNode = RealizedVolatility
822
+ export declare class RealizedVolatility {
823
+ constructor(period: number)
824
+ update(value: number): number | null
825
+ batch(prices: Array<number>): Array<number>
826
+ reset(): void
827
+ isReady(): boolean
828
+ warmupPeriod(): number
829
+ }
830
+ export type RollingIqrNode = RollingIqr
831
+ export declare class RollingIqr {
832
+ constructor(period: number)
833
+ update(value: number): number | null
834
+ batch(prices: Array<number>): Array<number>
835
+ reset(): void
836
+ isReady(): boolean
837
+ warmupPeriod(): number
838
+ }
839
+ export type RollingPercentileRankNode = RollingPercentileRank
840
+ export declare class RollingPercentileRank {
841
+ constructor(period: number)
842
+ update(value: number): number | null
843
+ batch(prices: Array<number>): Array<number>
844
+ reset(): void
845
+ isReady(): boolean
846
+ warmupPeriod(): number
847
+ }
848
+ export type TrendLabelNode = TrendLabel
849
+ export declare class TrendLabel {
850
+ constructor(period: number)
851
+ update(value: number): number | null
852
+ batch(prices: Array<number>): Array<number>
853
+ reset(): void
854
+ isReady(): boolean
855
+ warmupPeriod(): number
856
+ }
857
+ export type WinRateNode = WinRate
858
+ export declare class WinRate {
859
+ constructor(period: number)
860
+ update(value: number): number | null
861
+ batch(prices: Array<number>): Array<number>
862
+ reset(): void
863
+ isReady(): boolean
864
+ warmupPeriod(): number
865
+ }
866
+ export type ExpectancyNode = Expectancy
867
+ export declare class Expectancy {
868
+ constructor(period: number)
869
+ update(value: number): number | null
870
+ batch(prices: Array<number>): Array<number>
871
+ reset(): void
872
+ isReady(): boolean
873
+ warmupPeriod(): number
874
+ }
875
+ export type SineWeightedMaNode = SWMA
876
+ export declare class SWMA {
877
+ constructor(period: number)
878
+ update(value: number): number | null
879
+ batch(prices: Array<number>): Array<number>
880
+ reset(): void
881
+ isReady(): boolean
882
+ warmupPeriod(): number
883
+ }
884
+ export type GeometricMaNode = GMA
885
+ export declare class GMA {
886
+ constructor(period: number)
887
+ update(value: number): number | null
888
+ batch(prices: Array<number>): Array<number>
889
+ reset(): void
890
+ isReady(): boolean
891
+ warmupPeriod(): number
892
+ }
893
+ export type EhmaNode = EHMA
894
+ export declare class EHMA {
895
+ constructor(period: number)
896
+ update(value: number): number | null
897
+ batch(prices: Array<number>): Array<number>
898
+ reset(): void
899
+ isReady(): boolean
900
+ warmupPeriod(): number
901
+ }
902
+ export type MedianMaNode = MedianMA
903
+ export declare class MedianMA {
904
+ constructor(period: number)
905
+ update(value: number): number | null
906
+ batch(prices: Array<number>): Array<number>
907
+ reset(): void
908
+ isReady(): boolean
909
+ warmupPeriod(): number
910
+ }
911
+ export type AdaptiveLaguerreFilterNode = AdaptiveLaguerre
912
+ export declare class AdaptiveLaguerre {
913
+ constructor(period: number)
914
+ update(value: number): number | null
915
+ batch(prices: Array<number>): Array<number>
916
+ reset(): void
917
+ isReady(): boolean
918
+ warmupPeriod(): number
919
+ }
920
+ export type JumpIndicatorNode = JumpIndicator
921
+ export declare class JumpIndicator {
922
+ constructor(period: number, threshold: number)
923
+ update(value: number): number | null
924
+ batch(prices: Array<number>): Array<number>
925
+ reset(): void
926
+ isReady(): boolean
927
+ warmupPeriod(): number
928
+ }
929
+ export type RegimeLabelNode = RegimeLabel
930
+ export declare class RegimeLabel {
931
+ constructor(volPeriod: number, lookback: number)
932
+ update(value: number): number | null
933
+ batch(prices: Array<number>): Array<number>
934
+ reset(): void
935
+ isReady(): boolean
936
+ warmupPeriod(): number
937
+ }
938
+ export type RollingQuantileNode = RollingQuantile
939
+ export declare class RollingQuantile {
940
+ constructor(period: number, quantile: number)
941
+ update(value: number): number | null
942
+ batch(prices: Array<number>): Array<number>
943
+ reset(): void
944
+ isReady(): boolean
945
+ warmupPeriod(): number
946
+ }
812
947
  export type AutocorrelationNode = Autocorrelation
813
948
  export declare class Autocorrelation {
814
949
  constructor(period: number, lag: number)
@@ -866,6 +1001,19 @@ export declare class PairwiseBeta {
866
1001
  isReady(): boolean
867
1002
  warmupPeriod(): number
868
1003
  }
1004
+ export type SpreadAr1CoefficientNode = SpreadAr1Coefficient
1005
+ export declare class SpreadAr1Coefficient {
1006
+ constructor(period: number)
1007
+ update(x: number, y: number): number | null
1008
+ /**
1009
+ * Batch over two equally-sized arrays. Returns a length-`n` array
1010
+ * with `NaN` for warmup positions.
1011
+ */
1012
+ batch(x: Array<number>, y: Array<number>): Array<number>
1013
+ reset(): void
1014
+ isReady(): boolean
1015
+ warmupPeriod(): number
1016
+ }
869
1017
  export type SpearmanCorrelationNode = SpearmanCorrelation
870
1018
  export declare class SpearmanCorrelation {
871
1019
  constructor(period: number)
@@ -1230,6 +1378,42 @@ export declare class HT_PHASOR {
1230
1378
  isReady(): boolean
1231
1379
  warmupPeriod(): number
1232
1380
  }
1381
+ export type CloseVsOpenNode = CloseVsOpen
1382
+ export declare class CloseVsOpen {
1383
+ constructor()
1384
+ update(open: number, high: number, low: number, close: number): number | null
1385
+ batch(open: Array<number>, high: Array<number>, low: Array<number>, close: Array<number>): Array<number>
1386
+ reset(): void
1387
+ isReady(): boolean
1388
+ warmupPeriod(): number
1389
+ }
1390
+ export type BodySizePctNode = BodySizePct
1391
+ export declare class BodySizePct {
1392
+ constructor()
1393
+ update(open: number, high: number, low: number, close: number): number | null
1394
+ batch(open: Array<number>, high: Array<number>, low: Array<number>, close: Array<number>): Array<number>
1395
+ reset(): void
1396
+ isReady(): boolean
1397
+ warmupPeriod(): number
1398
+ }
1399
+ export type WickRatioNode = WickRatio
1400
+ export declare class WickRatio {
1401
+ constructor()
1402
+ update(open: number, high: number, low: number, close: number): number | null
1403
+ batch(open: Array<number>, high: Array<number>, low: Array<number>, close: Array<number>): Array<number>
1404
+ reset(): void
1405
+ isReady(): boolean
1406
+ warmupPeriod(): number
1407
+ }
1408
+ export type HighLowRangeNode = HighLowRange
1409
+ export declare class HighLowRange {
1410
+ constructor()
1411
+ update(open: number, high: number, low: number, close: number): number | null
1412
+ batch(open: Array<number>, high: Array<number>, low: Array<number>, close: Array<number>): Array<number>
1413
+ reset(): void
1414
+ isReady(): boolean
1415
+ warmupPeriod(): number
1416
+ }
1233
1417
  export type StochNode = Stochastic
1234
1418
  export declare class Stochastic {
1235
1419
  constructor(kPeriod: number, dPeriod: number)
@@ -1538,6 +1722,24 @@ export declare class T3 {
1538
1722
  isReady(): boolean
1539
1723
  warmupPeriod(): number
1540
1724
  }
1725
+ export type GeneralizedDemaNode = GD
1726
+ export declare class GD {
1727
+ constructor(period: number, v: number)
1728
+ update(value: number): number | null
1729
+ batch(prices: Array<number>): Array<number>
1730
+ reset(): void
1731
+ isReady(): boolean
1732
+ warmupPeriod(): number
1733
+ }
1734
+ export type HoltWintersNode = HoltWinters
1735
+ export declare class HoltWinters {
1736
+ constructor(alpha: number, beta: number)
1737
+ update(value: number): number | null
1738
+ batch(prices: Array<number>): Array<number>
1739
+ reset(): void
1740
+ isReady(): boolean
1741
+ warmupPeriod(): number
1742
+ }
1541
1743
  export type TsiNode = TSI
1542
1744
  export declare class TSI {
1543
1745
  constructor(long: number, short: number)
@@ -3317,6 +3519,42 @@ export declare class TradeImbalance {
3317
3519
  isReady(): boolean
3318
3520
  warmupPeriod(): number
3319
3521
  }
3522
+ export type OrderFlowImbalanceNode = OrderFlowImbalance
3523
+ export declare class OrderFlowImbalance {
3524
+ constructor(period: number)
3525
+ update(bidPx: Array<number>, bidSz: Array<number>, askPx: Array<number>, askSz: Array<number>): number | null
3526
+ batch(snapshots: Array<ObSnapshot>): Array<number>
3527
+ reset(): void
3528
+ isReady(): boolean
3529
+ warmupPeriod(): number
3530
+ }
3531
+ export type VpinNode = Vpin
3532
+ export declare class Vpin {
3533
+ constructor(bucketVolume: number, numBuckets: number)
3534
+ update(price: number, size: number, isBuy: boolean): number | null
3535
+ batch(price: Array<number>, size: Array<number>, isBuy: Array<boolean>): Array<number>
3536
+ reset(): void
3537
+ isReady(): boolean
3538
+ warmupPeriod(): number
3539
+ }
3540
+ export type AmihudIlliquidityNode = AmihudIlliquidity
3541
+ export declare class AmihudIlliquidity {
3542
+ constructor(period: number)
3543
+ update(price: number, size: number, isBuy: boolean): number | null
3544
+ batch(price: Array<number>, size: Array<number>, isBuy: Array<boolean>): Array<number>
3545
+ reset(): void
3546
+ isReady(): boolean
3547
+ warmupPeriod(): number
3548
+ }
3549
+ export type RollMeasureNode = RollMeasure
3550
+ export declare class RollMeasure {
3551
+ constructor(period: number)
3552
+ update(price: number, size: number, isBuy: boolean): number | null
3553
+ batch(price: Array<number>, size: Array<number>, isBuy: Array<boolean>): Array<number>
3554
+ reset(): void
3555
+ isReady(): boolean
3556
+ warmupPeriod(): number
3557
+ }
3320
3558
  export type EffectiveSpreadNode = EffectiveSpread
3321
3559
  export declare class EffectiveSpread {
3322
3560
  constructor()
package/index.js CHANGED
@@ -310,7 +310,7 @@ if (!nativeBinding) {
310
310
  throw new Error(`Failed to load native binding`)
311
311
  }
312
312
 
313
- const { version, SMA, EMA, WMA, RSI, DEMA, TEMA, HMA, ROC, TRIX, SMMA, TRIMA, ZLEMA, MOM, CMO, DPO, StdDev, UlcerIndex, VerticalHorizontalFilter, ZScore, McGinleyDynamic, FRAMA, SuperSmoother, FisherTransform, Decycler, CenterOfGravity, CyberneticCycle, InstantaneousTrendline, EhlersStochastic, RVIVolatility, Variance, CoefficientOfVariation, Skewness, Kurtosis, StandardError, DetrendedStdDev, RSquared, MedianAbsoluteDeviation, MIDPOINT, ROCP, ROCR, ROCR100, LINEARREG_INTERCEPT, TSF, Autocorrelation, HurstExponent, PearsonCorrelation, Beta, PairwiseBeta, SpearmanCorrelation, RollingCorrelation, RollingCovariance, OuHalfLife, SpreadHurst, DistanceSsd, BetaNeutralSpread, PairSpreadZScore, LeadLagCrossCorrelation, Cointegration, RelativeStrengthAB, VarianceRatio, GrangerCausality, KalmanHedgeRatio, SpreadBollingerBands, MACD, MACDFIX, MACDEXT, BollingerBands, ATR, PLUS_DM, MINUS_DM, PLUS_DI, MINUS_DI, DX, MIDPRICE, AVGPRICE, SAREXT, HT_PHASOR, Stochastic, OBV, ADX, ADXR, CCI, WilliamsR, MFI, PSAR, Keltner, Donchian, VWAP, RollingVWAP, AwesomeOscillator, Aroon, Inertia, ConnorsRSI, LaguerreRSI, SMI, KST, PGO, RVI, AwesomeOscillatorHistogram, STC, ElderImpulse, ZeroLagMACD, CFO, APO, KAMA, EVWMA, Alligator, JMA, VIDYA, ALMA, T3, TSI, PMO, TII, ADL, VolumePriceTrend, ChaikinMoneyFlow, ChaikinOscillator, ForceIndex, NVI, PVI, VolumeOscillator, KVO, WilliamsAD, AnchoredRSI, AnchoredVWAP, DemandIndex, TSV, VZO, MarketFacilitationIndex, EaseOfMovement, SuperTrend, ChandelierExit, ChandeKrollStop, AtrTrailingStop, HiLoActivator, VoltyStop, YoyoExit, DonchianStop, PercentageTrailingStop, StepTrailingStop, RenkoTrailingStop, TypicalPrice, MedianPrice, WeightedClose, LinearRegression, LinRegSlope, AcceleratorOscillator, BalanceOfPower, ChoppinessIndex, TrueRange, ChaikinVolatility, YangZhangVolatility, RogersSatchellVolatility, GarmanKlassVolatility, ParkinsonVolatility, LinRegAngle, BollingerBandwidth, PercentB, NATR, HistoricalVolatility, AroonOscillator, WaveTrend, RWI, Vortex, MassIndex, StochRSI, UltimateOscillator, PPO, Coppock, VWMA, MaEnvelope, AccelerationBands, StarcBands, AtrBands, HurstChannel, LinRegChannel, StandardErrorBands, DoubleBollinger, TtmSqueeze, FractalChaosBands, VwapStdDevBands, ClassicPivots, FibonacciPivots, Camarilla, WoodiePivots, DemarkPivots, WilliamsFractals, ZigZag, TDSetup, TDSequential, TDDeMarker, TDREI, TDPressure, TDCombo, TDCountdown, TDLines, TDRangeProjection, TDDifferential, TDOpen, TDRiskLevel, InverseFisherTransform, DecyclerOscillator, RoofingFilter, EmpiricalModeDecomposition, HT_DCPHASE, HT_TRENDMODE, HilbertDominantCycle, AdaptiveCycle, SineWave, MAMA, FAMA, Ichimoku, HeikinAshi, ValueArea, VolumeProfile, TpoProfile, InitialBalance, OpeningRange, Doji, Hammer, InvertedHammer, HangingMan, ShootingStar, Engulfing, Harami, MorningEveningStar, ThreeSoldiersOrCrows, PiercingDarkCloud, Marubozu, Tweezer, SpinningTop, ThreeInside, ThreeOutside, TwoCrows, UpsideGapTwoCrows, IdenticalThreeCrows, ThreeLineStrike, ThreeStarsInSouth, AbandonedBaby, AdvanceBlock, BeltHold, Breakaway, Counterattack, DojiStar, DragonflyDoji, GravestoneDoji, LongLeggedDoji, RickshawMan, EveningDojiStar, MorningDojiStar, GapSideBySideWhite, HighWave, Hikkake, HikkakeModified, HomingPigeon, OnNeck, InNeck, Thrusting, SeparatingLines, Kicking, KickingByLength, LadderBottom, MatHold, MatchingLow, LongLine, ShortLine, RisingThreeMethods, FallingThreeMethods, UpsideGapThreeMethods, DownsideGapThreeMethods, StalledPattern, StickSandwich, Takuri, ClosingMarubozu, OpeningMarubozu, TasukiGap, UniqueThreeRiver, ConcealingBabySwallow, DoubleTopBottom, TripleTopBottom, HeadAndShoulders, Triangle, Wedge, FlagPennant, RectangleRange, CupAndHandle, Abcd, Gartley, Butterfly, Bat, Crab, Shark, Cypher, ThreeDrives, OrderBookImbalanceTop1, OrderBookImbalanceFull, Microprice, QuotedSpread, DepthSlope, OrderBookImbalanceTopN, SignedVolume, CumulativeVolumeDelta, TradeImbalance, EffectiveSpread, RealizedSpread, KylesLambda, Footprint, FundingRate, FundingRateMean, FundingRateZScore, FundingBasis, OpenInterestDelta, OIPriceDivergence, OIWeighted, LongShortRatio, TakerBuySellRatio, LiquidationFeatures, TermStructureBasis, CalendarSpread, AdvanceDecline, AdvanceDeclineRatio, AdVolumeLine, McClellanOscillator, McClellanSummationIndex, Trin, BreadthThrust, NewHighsNewLows, HighLowIndex, PercentAboveMa, UpDownVolumeRatio, BullishPercentIndex, CumulativeVolumeIndex, AbsoluteBreadthIndex, TickIndex, SharpeRatio, SortinoRatio, CalmarRatio, OmegaRatio, MaxDrawdown, AverageDrawdown, DrawdownDuration, PainIndex, ValueAtRisk, ConditionalValueAtRisk, ProfitFactor, GainLossRatio, RecoveryFactor, KellyCriterion, TreynorRatio, InformationRatio, RenkoBars, KagiBars, PointAndFigureBars, Alpha, SessionVwap, OvernightGap, SeasonalZScore, TimeOfDayReturnProfile, IntradayVolatilityProfile, VolumeByTimeProfile, DayOfWeekProfile, AverageDailyRange, TurnOfMonth, SessionHighLow, SessionRange, OvernightIntradayReturn, FibRetracement, FibExtension, FibProjection, AutoFib, GoldenPocket, FibConfluence, FibFan, FibArcs, FibChannel, FibTimeZones } = nativeBinding
313
+ const { version, SMA, EMA, WMA, RSI, DEMA, TEMA, HMA, ROC, TRIX, SMMA, TRIMA, ZLEMA, MOM, CMO, DPO, StdDev, UlcerIndex, VerticalHorizontalFilter, ZScore, McGinleyDynamic, FRAMA, SuperSmoother, FisherTransform, Decycler, CenterOfGravity, CyberneticCycle, InstantaneousTrendline, EhlersStochastic, RVIVolatility, Variance, CoefficientOfVariation, Skewness, Kurtosis, StandardError, DetrendedStdDev, RSquared, MedianAbsoluteDeviation, MIDPOINT, ROCP, ROCR, ROCR100, LINEARREG_INTERCEPT, TSF, LogReturn, RealizedVolatility, RollingIqr, RollingPercentileRank, TrendLabel, WinRate, Expectancy, SWMA, GMA, EHMA, MedianMA, AdaptiveLaguerre, JumpIndicator, RegimeLabel, RollingQuantile, Autocorrelation, HurstExponent, PearsonCorrelation, Beta, PairwiseBeta, SpreadAr1Coefficient, SpearmanCorrelation, RollingCorrelation, RollingCovariance, OuHalfLife, SpreadHurst, DistanceSsd, BetaNeutralSpread, PairSpreadZScore, LeadLagCrossCorrelation, Cointegration, RelativeStrengthAB, VarianceRatio, GrangerCausality, KalmanHedgeRatio, SpreadBollingerBands, MACD, MACDFIX, MACDEXT, BollingerBands, ATR, PLUS_DM, MINUS_DM, PLUS_DI, MINUS_DI, DX, MIDPRICE, AVGPRICE, SAREXT, HT_PHASOR, CloseVsOpen, BodySizePct, WickRatio, HighLowRange, Stochastic, OBV, ADX, ADXR, CCI, WilliamsR, MFI, PSAR, Keltner, Donchian, VWAP, RollingVWAP, AwesomeOscillator, Aroon, Inertia, ConnorsRSI, LaguerreRSI, SMI, KST, PGO, RVI, AwesomeOscillatorHistogram, STC, ElderImpulse, ZeroLagMACD, CFO, APO, KAMA, EVWMA, Alligator, JMA, VIDYA, ALMA, T3, GD, HoltWinters, TSI, PMO, TII, ADL, VolumePriceTrend, ChaikinMoneyFlow, ChaikinOscillator, ForceIndex, NVI, PVI, VolumeOscillator, KVO, WilliamsAD, AnchoredRSI, AnchoredVWAP, DemandIndex, TSV, VZO, MarketFacilitationIndex, EaseOfMovement, SuperTrend, ChandelierExit, ChandeKrollStop, AtrTrailingStop, HiLoActivator, VoltyStop, YoyoExit, DonchianStop, PercentageTrailingStop, StepTrailingStop, RenkoTrailingStop, TypicalPrice, MedianPrice, WeightedClose, LinearRegression, LinRegSlope, AcceleratorOscillator, BalanceOfPower, ChoppinessIndex, TrueRange, ChaikinVolatility, YangZhangVolatility, RogersSatchellVolatility, GarmanKlassVolatility, ParkinsonVolatility, LinRegAngle, BollingerBandwidth, PercentB, NATR, HistoricalVolatility, AroonOscillator, WaveTrend, RWI, Vortex, MassIndex, StochRSI, UltimateOscillator, PPO, Coppock, VWMA, MaEnvelope, AccelerationBands, StarcBands, AtrBands, HurstChannel, LinRegChannel, StandardErrorBands, DoubleBollinger, TtmSqueeze, FractalChaosBands, VwapStdDevBands, ClassicPivots, FibonacciPivots, Camarilla, WoodiePivots, DemarkPivots, WilliamsFractals, ZigZag, TDSetup, TDSequential, TDDeMarker, TDREI, TDPressure, TDCombo, TDCountdown, TDLines, TDRangeProjection, TDDifferential, TDOpen, TDRiskLevel, InverseFisherTransform, DecyclerOscillator, RoofingFilter, EmpiricalModeDecomposition, HT_DCPHASE, HT_TRENDMODE, HilbertDominantCycle, AdaptiveCycle, SineWave, MAMA, FAMA, Ichimoku, HeikinAshi, ValueArea, VolumeProfile, TpoProfile, InitialBalance, OpeningRange, Doji, Hammer, InvertedHammer, HangingMan, ShootingStar, Engulfing, Harami, MorningEveningStar, ThreeSoldiersOrCrows, PiercingDarkCloud, Marubozu, Tweezer, SpinningTop, ThreeInside, ThreeOutside, TwoCrows, UpsideGapTwoCrows, IdenticalThreeCrows, ThreeLineStrike, ThreeStarsInSouth, AbandonedBaby, AdvanceBlock, BeltHold, Breakaway, Counterattack, DojiStar, DragonflyDoji, GravestoneDoji, LongLeggedDoji, RickshawMan, EveningDojiStar, MorningDojiStar, GapSideBySideWhite, HighWave, Hikkake, HikkakeModified, HomingPigeon, OnNeck, InNeck, Thrusting, SeparatingLines, Kicking, KickingByLength, LadderBottom, MatHold, MatchingLow, LongLine, ShortLine, RisingThreeMethods, FallingThreeMethods, UpsideGapThreeMethods, DownsideGapThreeMethods, StalledPattern, StickSandwich, Takuri, ClosingMarubozu, OpeningMarubozu, TasukiGap, UniqueThreeRiver, ConcealingBabySwallow, DoubleTopBottom, TripleTopBottom, HeadAndShoulders, Triangle, Wedge, FlagPennant, RectangleRange, CupAndHandle, Abcd, Gartley, Butterfly, Bat, Crab, Shark, Cypher, ThreeDrives, OrderBookImbalanceTop1, OrderBookImbalanceFull, Microprice, QuotedSpread, DepthSlope, OrderBookImbalanceTopN, SignedVolume, CumulativeVolumeDelta, TradeImbalance, OrderFlowImbalance, Vpin, AmihudIlliquidity, RollMeasure, EffectiveSpread, RealizedSpread, KylesLambda, Footprint, FundingRate, FundingRateMean, FundingRateZScore, FundingBasis, OpenInterestDelta, OIPriceDivergence, OIWeighted, LongShortRatio, TakerBuySellRatio, LiquidationFeatures, TermStructureBasis, CalendarSpread, AdvanceDecline, AdvanceDeclineRatio, AdVolumeLine, McClellanOscillator, McClellanSummationIndex, Trin, BreadthThrust, NewHighsNewLows, HighLowIndex, PercentAboveMa, UpDownVolumeRatio, BullishPercentIndex, CumulativeVolumeIndex, AbsoluteBreadthIndex, TickIndex, SharpeRatio, SortinoRatio, CalmarRatio, OmegaRatio, MaxDrawdown, AverageDrawdown, DrawdownDuration, PainIndex, ValueAtRisk, ConditionalValueAtRisk, ProfitFactor, GainLossRatio, RecoveryFactor, KellyCriterion, TreynorRatio, InformationRatio, RenkoBars, KagiBars, PointAndFigureBars, Alpha, SessionVwap, OvernightGap, SeasonalZScore, TimeOfDayReturnProfile, IntradayVolatilityProfile, VolumeByTimeProfile, DayOfWeekProfile, AverageDailyRange, TurnOfMonth, SessionHighLow, SessionRange, OvernightIntradayReturn, FibRetracement, FibExtension, FibProjection, AutoFib, GoldenPocket, FibConfluence, FibFan, FibArcs, FibChannel, FibTimeZones } = nativeBinding
314
314
 
315
315
  module.exports.version = version
316
316
  module.exports.SMA = SMA
@@ -356,11 +356,27 @@ module.exports.ROCR = ROCR
356
356
  module.exports.ROCR100 = ROCR100
357
357
  module.exports.LINEARREG_INTERCEPT = LINEARREG_INTERCEPT
358
358
  module.exports.TSF = TSF
359
+ module.exports.LogReturn = LogReturn
360
+ module.exports.RealizedVolatility = RealizedVolatility
361
+ module.exports.RollingIqr = RollingIqr
362
+ module.exports.RollingPercentileRank = RollingPercentileRank
363
+ module.exports.TrendLabel = TrendLabel
364
+ module.exports.WinRate = WinRate
365
+ module.exports.Expectancy = Expectancy
366
+ module.exports.SWMA = SWMA
367
+ module.exports.GMA = GMA
368
+ module.exports.EHMA = EHMA
369
+ module.exports.MedianMA = MedianMA
370
+ module.exports.AdaptiveLaguerre = AdaptiveLaguerre
371
+ module.exports.JumpIndicator = JumpIndicator
372
+ module.exports.RegimeLabel = RegimeLabel
373
+ module.exports.RollingQuantile = RollingQuantile
359
374
  module.exports.Autocorrelation = Autocorrelation
360
375
  module.exports.HurstExponent = HurstExponent
361
376
  module.exports.PearsonCorrelation = PearsonCorrelation
362
377
  module.exports.Beta = Beta
363
378
  module.exports.PairwiseBeta = PairwiseBeta
379
+ module.exports.SpreadAr1Coefficient = SpreadAr1Coefficient
364
380
  module.exports.SpearmanCorrelation = SpearmanCorrelation
365
381
  module.exports.RollingCorrelation = RollingCorrelation
366
382
  module.exports.RollingCovariance = RollingCovariance
@@ -390,6 +406,10 @@ module.exports.MIDPRICE = MIDPRICE
390
406
  module.exports.AVGPRICE = AVGPRICE
391
407
  module.exports.SAREXT = SAREXT
392
408
  module.exports.HT_PHASOR = HT_PHASOR
409
+ module.exports.CloseVsOpen = CloseVsOpen
410
+ module.exports.BodySizePct = BodySizePct
411
+ module.exports.WickRatio = WickRatio
412
+ module.exports.HighLowRange = HighLowRange
393
413
  module.exports.Stochastic = Stochastic
394
414
  module.exports.OBV = OBV
395
415
  module.exports.ADX = ADX
@@ -424,6 +444,8 @@ module.exports.JMA = JMA
424
444
  module.exports.VIDYA = VIDYA
425
445
  module.exports.ALMA = ALMA
426
446
  module.exports.T3 = T3
447
+ module.exports.GD = GD
448
+ module.exports.HoltWinters = HoltWinters
427
449
  module.exports.TSI = TSI
428
450
  module.exports.PMO = PMO
429
451
  module.exports.TII = TII
@@ -617,6 +639,10 @@ module.exports.OrderBookImbalanceTopN = OrderBookImbalanceTopN
617
639
  module.exports.SignedVolume = SignedVolume
618
640
  module.exports.CumulativeVolumeDelta = CumulativeVolumeDelta
619
641
  module.exports.TradeImbalance = TradeImbalance
642
+ module.exports.OrderFlowImbalance = OrderFlowImbalance
643
+ module.exports.Vpin = Vpin
644
+ module.exports.AmihudIlliquidity = AmihudIlliquidity
645
+ module.exports.RollMeasure = RollMeasure
620
646
  module.exports.EffectiveSpread = EffectiveSpread
621
647
  module.exports.RealizedSpread = RealizedSpread
622
648
  module.exports.KylesLambda = KylesLambda
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickra-darwin-arm64",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Native binding for wickra (macOS Apple Silicon). Installed automatically as an optional dependency of wickra on matching platforms.",
5
5
  "main": "wickra.darwin-arm64.node",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickra-darwin-x64",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Native binding for wickra (macOS Intel). Installed automatically as an optional dependency of wickra on matching platforms.",
5
5
  "main": "wickra.darwin-x64.node",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickra-linux-arm64-gnu",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Native binding for wickra (linux arm64 GNU). Installed automatically as an optional dependency of wickra on matching platforms.",
5
5
  "main": "wickra.linux-arm64-gnu.node",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickra-linux-x64-gnu",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Native binding for wickra (linux x64 GNU). Installed automatically as an optional dependency of wickra on matching platforms.",
5
5
  "main": "wickra.linux-x64-gnu.node",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickra-win32-arm64-msvc",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Native binding for wickra (Windows arm64 MSVC). Installed automatically as an optional dependency of wickra on matching platforms.",
5
5
  "main": "wickra.win32-arm64-msvc.node",
6
6
  "files": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickra-win32-x64-msvc",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Native binding for wickra (Windows x64 MSVC). Installed automatically as an optional dependency of wickra on matching platforms.",
5
5
  "main": "wickra.win32-x64-msvc.node",
6
6
  "files": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickra",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Streaming-first technical indicators: incremental, fast, install-free. Node bindings powered by Rust.",
5
5
  "author": "kingchenc <support@wickra.org>",
6
6
  "main": "index.js",
@@ -47,12 +47,12 @@
47
47
  "node": ">= 18"
48
48
  },
49
49
  "optionalDependencies": {
50
- "wickra-linux-x64-gnu": "0.5.3",
51
- "wickra-linux-arm64-gnu": "0.5.3",
52
- "wickra-darwin-x64": "0.5.3",
53
- "wickra-darwin-arm64": "0.5.3",
54
- "wickra-win32-x64-msvc": "0.5.3",
55
- "wickra-win32-arm64-msvc": "0.5.3"
50
+ "wickra-linux-x64-gnu": "0.5.5",
51
+ "wickra-linux-arm64-gnu": "0.5.5",
52
+ "wickra-darwin-x64": "0.5.5",
53
+ "wickra-darwin-arm64": "0.5.5",
54
+ "wickra-win32-x64-msvc": "0.5.5",
55
+ "wickra-win32-arm64-msvc": "0.5.5"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "napi build --platform --release",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file