wickra-wasm 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/wickra_wasm_bg.js CHANGED
@@ -1155,6 +1155,82 @@ export class AdaptiveCycle {
1155
1155
  }
1156
1156
  if (Symbol.dispose) AdaptiveCycle.prototype[Symbol.dispose] = AdaptiveCycle.prototype.free;
1157
1157
 
1158
+ export class AdaptiveLaguerre {
1159
+ __destroy_into_raw() {
1160
+ const ptr = this.__wbg_ptr;
1161
+ this.__wbg_ptr = 0;
1162
+ AdaptiveLaguerreFinalization.unregister(this);
1163
+ return ptr;
1164
+ }
1165
+ free() {
1166
+ const ptr = this.__destroy_into_raw();
1167
+ wasm.__wbg_adaptivelaguerre_free(ptr, 0);
1168
+ }
1169
+ /**
1170
+ * @param {Float64Array} prices
1171
+ * @returns {Float64Array}
1172
+ */
1173
+ batch(prices) {
1174
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
1175
+ const len0 = WASM_VECTOR_LEN;
1176
+ const ret = wasm.adaptivelaguerre_batch(this.__wbg_ptr, ptr0, len0);
1177
+ return takeObject(ret);
1178
+ }
1179
+ /**
1180
+ * @returns {boolean}
1181
+ */
1182
+ isReady() {
1183
+ const ret = wasm.adaptivelaguerre_isReady(this.__wbg_ptr);
1184
+ return ret !== 0;
1185
+ }
1186
+ /**
1187
+ * @param {number} period
1188
+ */
1189
+ constructor(period) {
1190
+ try {
1191
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1192
+ wasm.adaptivelaguerre_new(retptr, period);
1193
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1194
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1195
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1196
+ if (r2) {
1197
+ throw takeObject(r1);
1198
+ }
1199
+ this.__wbg_ptr = r0;
1200
+ AdaptiveLaguerreFinalization.register(this, this.__wbg_ptr, this);
1201
+ return this;
1202
+ } finally {
1203
+ wasm.__wbindgen_add_to_stack_pointer(16);
1204
+ }
1205
+ }
1206
+ reset() {
1207
+ wasm.adaptivelaguerre_reset(this.__wbg_ptr);
1208
+ }
1209
+ /**
1210
+ * @param {number} value
1211
+ * @returns {number | undefined}
1212
+ */
1213
+ update(value) {
1214
+ try {
1215
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1216
+ wasm.adaptivelaguerre_update(retptr, this.__wbg_ptr, value);
1217
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1218
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
1219
+ return r0 === 0 ? undefined : r2;
1220
+ } finally {
1221
+ wasm.__wbindgen_add_to_stack_pointer(16);
1222
+ }
1223
+ }
1224
+ /**
1225
+ * @returns {number}
1226
+ */
1227
+ warmupPeriod() {
1228
+ const ret = wasm.adaptivelaguerre_warmupPeriod(this.__wbg_ptr);
1229
+ return ret >>> 0;
1230
+ }
1231
+ }
1232
+ if (Symbol.dispose) AdaptiveLaguerre.prototype[Symbol.dispose] = AdaptiveLaguerre.prototype.free;
1233
+
1158
1234
  export class AdvanceBlock {
1159
1235
  __destroy_into_raw() {
1160
1236
  const ptr = this.__wbg_ptr;
@@ -1572,6 +1648,79 @@ export class Alpha {
1572
1648
  }
1573
1649
  if (Symbol.dispose) Alpha.prototype[Symbol.dispose] = Alpha.prototype.free;
1574
1650
 
1651
+ export class AmihudIlliquidity {
1652
+ __destroy_into_raw() {
1653
+ const ptr = this.__wbg_ptr;
1654
+ this.__wbg_ptr = 0;
1655
+ AmihudIlliquidityFinalization.unregister(this);
1656
+ return ptr;
1657
+ }
1658
+ free() {
1659
+ const ptr = this.__destroy_into_raw();
1660
+ wasm.__wbg_amihudilliquidity_free(ptr, 0);
1661
+ }
1662
+ /**
1663
+ * @returns {boolean}
1664
+ */
1665
+ isReady() {
1666
+ const ret = wasm.amihudilliquidity_isReady(this.__wbg_ptr);
1667
+ return ret !== 0;
1668
+ }
1669
+ /**
1670
+ * @param {number} period
1671
+ */
1672
+ constructor(period) {
1673
+ try {
1674
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1675
+ wasm.amihudilliquidity_new(retptr, period);
1676
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1677
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1678
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1679
+ if (r2) {
1680
+ throw takeObject(r1);
1681
+ }
1682
+ this.__wbg_ptr = r0;
1683
+ AmihudIlliquidityFinalization.register(this, this.__wbg_ptr, this);
1684
+ return this;
1685
+ } finally {
1686
+ wasm.__wbindgen_add_to_stack_pointer(16);
1687
+ }
1688
+ }
1689
+ reset() {
1690
+ wasm.amihudilliquidity_reset(this.__wbg_ptr);
1691
+ }
1692
+ /**
1693
+ * @param {number} price
1694
+ * @param {number} size
1695
+ * @param {boolean} is_buy
1696
+ * @returns {number | undefined}
1697
+ */
1698
+ update(price, size, is_buy) {
1699
+ try {
1700
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
1701
+ wasm.amihudilliquidity_update(retptr, this.__wbg_ptr, price, size, is_buy);
1702
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1703
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
1704
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
1705
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
1706
+ if (r5) {
1707
+ throw takeObject(r4);
1708
+ }
1709
+ return r0 === 0 ? undefined : r2;
1710
+ } finally {
1711
+ wasm.__wbindgen_add_to_stack_pointer(32);
1712
+ }
1713
+ }
1714
+ /**
1715
+ * @returns {number}
1716
+ */
1717
+ warmupPeriod() {
1718
+ const ret = wasm.amihudilliquidity_warmupPeriod(this.__wbg_ptr);
1719
+ return ret >>> 0;
1720
+ }
1721
+ }
1722
+ if (Symbol.dispose) AmihudIlliquidity.prototype[Symbol.dispose] = AmihudIlliquidity.prototype.free;
1723
+
1575
1724
  export class AnchoredRSI {
1576
1725
  __destroy_into_raw() {
1577
1726
  const ptr = this.__wbg_ptr;
@@ -3030,6 +3179,82 @@ export class BetaNeutralSpread {
3030
3179
  }
3031
3180
  if (Symbol.dispose) BetaNeutralSpread.prototype[Symbol.dispose] = BetaNeutralSpread.prototype.free;
3032
3181
 
3182
+ export class BodySizePct {
3183
+ __destroy_into_raw() {
3184
+ const ptr = this.__wbg_ptr;
3185
+ this.__wbg_ptr = 0;
3186
+ BodySizePctFinalization.unregister(this);
3187
+ return ptr;
3188
+ }
3189
+ free() {
3190
+ const ptr = this.__destroy_into_raw();
3191
+ wasm.__wbg_bodysizepct_free(ptr, 0);
3192
+ }
3193
+ /**
3194
+ * @param {Float64Array} open
3195
+ * @param {Float64Array} high
3196
+ * @param {Float64Array} low
3197
+ * @param {Float64Array} close
3198
+ * @returns {Float64Array}
3199
+ */
3200
+ batch(open, high, low, close) {
3201
+ try {
3202
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3203
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
3204
+ const len0 = WASM_VECTOR_LEN;
3205
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
3206
+ const len1 = WASM_VECTOR_LEN;
3207
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
3208
+ const len2 = WASM_VECTOR_LEN;
3209
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
3210
+ const len3 = WASM_VECTOR_LEN;
3211
+ wasm.bodysizepct_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
3212
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3213
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3214
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
3215
+ if (r2) {
3216
+ throw takeObject(r1);
3217
+ }
3218
+ return takeObject(r0);
3219
+ } finally {
3220
+ wasm.__wbindgen_add_to_stack_pointer(16);
3221
+ }
3222
+ }
3223
+ constructor() {
3224
+ const ret = wasm.bodysizepct_new();
3225
+ this.__wbg_ptr = ret;
3226
+ BodySizePctFinalization.register(this, this.__wbg_ptr, this);
3227
+ return this;
3228
+ }
3229
+ reset() {
3230
+ wasm.bodysizepct_reset(this.__wbg_ptr);
3231
+ }
3232
+ /**
3233
+ * @param {number} open
3234
+ * @param {number} high
3235
+ * @param {number} low
3236
+ * @param {number} close
3237
+ * @returns {number | undefined}
3238
+ */
3239
+ update(open, high, low, close) {
3240
+ try {
3241
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
3242
+ wasm.bodysizepct_update(retptr, this.__wbg_ptr, open, high, low, close);
3243
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3244
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
3245
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
3246
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
3247
+ if (r5) {
3248
+ throw takeObject(r4);
3249
+ }
3250
+ return r0 === 0 ? undefined : r2;
3251
+ } finally {
3252
+ wasm.__wbindgen_add_to_stack_pointer(32);
3253
+ }
3254
+ }
3255
+ }
3256
+ if (Symbol.dispose) BodySizePct.prototype[Symbol.dispose] = BodySizePct.prototype.free;
3257
+
3033
3258
  export class BollingerBands {
3034
3259
  __destroy_into_raw() {
3035
3260
  const ptr = this.__wbg_ptr;
@@ -4656,16 +4881,16 @@ export class ClassicPivots {
4656
4881
  }
4657
4882
  if (Symbol.dispose) ClassicPivots.prototype[Symbol.dispose] = ClassicPivots.prototype.free;
4658
4883
 
4659
- export class ClosingMarubozu {
4884
+ export class CloseVsOpen {
4660
4885
  __destroy_into_raw() {
4661
4886
  const ptr = this.__wbg_ptr;
4662
4887
  this.__wbg_ptr = 0;
4663
- ClosingMarubozuFinalization.unregister(this);
4888
+ CloseVsOpenFinalization.unregister(this);
4664
4889
  return ptr;
4665
4890
  }
4666
4891
  free() {
4667
4892
  const ptr = this.__destroy_into_raw();
4668
- wasm.__wbg_closingmarubozu_free(ptr, 0);
4893
+ wasm.__wbg_closevsopen_free(ptr, 0);
4669
4894
  }
4670
4895
  /**
4671
4896
  * @param {Float64Array} open
@@ -4685,7 +4910,7 @@ export class ClosingMarubozu {
4685
4910
  const len2 = WASM_VECTOR_LEN;
4686
4911
  const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
4687
4912
  const len3 = WASM_VECTOR_LEN;
4688
- wasm.closingmarubozu_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
4913
+ wasm.closevsopen_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
4689
4914
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4690
4915
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4691
4916
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -4697,21 +4922,14 @@ export class ClosingMarubozu {
4697
4922
  wasm.__wbindgen_add_to_stack_pointer(16);
4698
4923
  }
4699
4924
  }
4700
- /**
4701
- * @returns {boolean}
4702
- */
4703
- isReady() {
4704
- const ret = wasm.closingmarubozu_isReady(this.__wbg_ptr);
4705
- return ret !== 0;
4706
- }
4707
4925
  constructor() {
4708
- const ret = wasm.closingmarubozu_new();
4926
+ const ret = wasm.closevsopen_new();
4709
4927
  this.__wbg_ptr = ret;
4710
- ClosingMarubozuFinalization.register(this, this.__wbg_ptr, this);
4928
+ CloseVsOpenFinalization.register(this, this.__wbg_ptr, this);
4711
4929
  return this;
4712
4930
  }
4713
4931
  reset() {
4714
- wasm.closingmarubozu_reset(this.__wbg_ptr);
4932
+ wasm.closevsopen_reset(this.__wbg_ptr);
4715
4933
  }
4716
4934
  /**
4717
4935
  * @param {number} open
@@ -4723,7 +4941,7 @@ export class ClosingMarubozu {
4723
4941
  update(open, high, low, close) {
4724
4942
  try {
4725
4943
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
4726
- wasm.closingmarubozu_update(retptr, this.__wbg_ptr, open, high, low, close);
4944
+ wasm.closevsopen_update(retptr, this.__wbg_ptr, open, high, low, close);
4727
4945
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4728
4946
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
4729
4947
  var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
@@ -4736,36 +4954,119 @@ export class ClosingMarubozu {
4736
4954
  wasm.__wbindgen_add_to_stack_pointer(32);
4737
4955
  }
4738
4956
  }
4739
- /**
4740
- * @returns {number}
4741
- */
4742
- warmupPeriod() {
4743
- const ret = wasm.closingmarubozu_warmupPeriod(this.__wbg_ptr);
4744
- return ret >>> 0;
4745
- }
4746
4957
  }
4747
- if (Symbol.dispose) ClosingMarubozu.prototype[Symbol.dispose] = ClosingMarubozu.prototype.free;
4958
+ if (Symbol.dispose) CloseVsOpen.prototype[Symbol.dispose] = CloseVsOpen.prototype.free;
4748
4959
 
4749
- export class CoefficientOfVariation {
4960
+ export class ClosingMarubozu {
4750
4961
  __destroy_into_raw() {
4751
4962
  const ptr = this.__wbg_ptr;
4752
4963
  this.__wbg_ptr = 0;
4753
- CoefficientOfVariationFinalization.unregister(this);
4964
+ ClosingMarubozuFinalization.unregister(this);
4754
4965
  return ptr;
4755
4966
  }
4756
4967
  free() {
4757
4968
  const ptr = this.__destroy_into_raw();
4758
- wasm.__wbg_coefficientofvariation_free(ptr, 0);
4969
+ wasm.__wbg_closingmarubozu_free(ptr, 0);
4759
4970
  }
4760
4971
  /**
4761
- * @param {Float64Array} prices
4972
+ * @param {Float64Array} open
4973
+ * @param {Float64Array} high
4974
+ * @param {Float64Array} low
4975
+ * @param {Float64Array} close
4762
4976
  * @returns {Float64Array}
4763
4977
  */
4764
- batch(prices) {
4765
- const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
4766
- const len0 = WASM_VECTOR_LEN;
4767
- const ret = wasm.coefficientofvariation_batch(this.__wbg_ptr, ptr0, len0);
4768
- return takeObject(ret);
4978
+ batch(open, high, low, close) {
4979
+ try {
4980
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4981
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
4982
+ const len0 = WASM_VECTOR_LEN;
4983
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
4984
+ const len1 = WASM_VECTOR_LEN;
4985
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
4986
+ const len2 = WASM_VECTOR_LEN;
4987
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
4988
+ const len3 = WASM_VECTOR_LEN;
4989
+ wasm.closingmarubozu_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
4990
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4991
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4992
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
4993
+ if (r2) {
4994
+ throw takeObject(r1);
4995
+ }
4996
+ return takeObject(r0);
4997
+ } finally {
4998
+ wasm.__wbindgen_add_to_stack_pointer(16);
4999
+ }
5000
+ }
5001
+ /**
5002
+ * @returns {boolean}
5003
+ */
5004
+ isReady() {
5005
+ const ret = wasm.closingmarubozu_isReady(this.__wbg_ptr);
5006
+ return ret !== 0;
5007
+ }
5008
+ constructor() {
5009
+ const ret = wasm.closingmarubozu_new();
5010
+ this.__wbg_ptr = ret;
5011
+ ClosingMarubozuFinalization.register(this, this.__wbg_ptr, this);
5012
+ return this;
5013
+ }
5014
+ reset() {
5015
+ wasm.closingmarubozu_reset(this.__wbg_ptr);
5016
+ }
5017
+ /**
5018
+ * @param {number} open
5019
+ * @param {number} high
5020
+ * @param {number} low
5021
+ * @param {number} close
5022
+ * @returns {number | undefined}
5023
+ */
5024
+ update(open, high, low, close) {
5025
+ try {
5026
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
5027
+ wasm.closingmarubozu_update(retptr, this.__wbg_ptr, open, high, low, close);
5028
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5029
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
5030
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
5031
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
5032
+ if (r5) {
5033
+ throw takeObject(r4);
5034
+ }
5035
+ return r0 === 0 ? undefined : r2;
5036
+ } finally {
5037
+ wasm.__wbindgen_add_to_stack_pointer(32);
5038
+ }
5039
+ }
5040
+ /**
5041
+ * @returns {number}
5042
+ */
5043
+ warmupPeriod() {
5044
+ const ret = wasm.closingmarubozu_warmupPeriod(this.__wbg_ptr);
5045
+ return ret >>> 0;
5046
+ }
5047
+ }
5048
+ if (Symbol.dispose) ClosingMarubozu.prototype[Symbol.dispose] = ClosingMarubozu.prototype.free;
5049
+
5050
+ export class CoefficientOfVariation {
5051
+ __destroy_into_raw() {
5052
+ const ptr = this.__wbg_ptr;
5053
+ this.__wbg_ptr = 0;
5054
+ CoefficientOfVariationFinalization.unregister(this);
5055
+ return ptr;
5056
+ }
5057
+ free() {
5058
+ const ptr = this.__destroy_into_raw();
5059
+ wasm.__wbg_coefficientofvariation_free(ptr, 0);
5060
+ }
5061
+ /**
5062
+ * @param {Float64Array} prices
5063
+ * @returns {Float64Array}
5064
+ */
5065
+ batch(prices) {
5066
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
5067
+ const len0 = WASM_VECTOR_LEN;
5068
+ const ret = wasm.coefficientofvariation_batch(this.__wbg_ptr, ptr0, len0);
5069
+ return takeObject(ret);
4769
5070
  }
4770
5071
  /**
4771
5072
  * @returns {boolean}
@@ -7440,6 +7741,82 @@ export class DrawdownDuration {
7440
7741
  }
7441
7742
  if (Symbol.dispose) DrawdownDuration.prototype[Symbol.dispose] = DrawdownDuration.prototype.free;
7442
7743
 
7744
+ export class EHMA {
7745
+ __destroy_into_raw() {
7746
+ const ptr = this.__wbg_ptr;
7747
+ this.__wbg_ptr = 0;
7748
+ EHMAFinalization.unregister(this);
7749
+ return ptr;
7750
+ }
7751
+ free() {
7752
+ const ptr = this.__destroy_into_raw();
7753
+ wasm.__wbg_ehma_free(ptr, 0);
7754
+ }
7755
+ /**
7756
+ * @param {Float64Array} prices
7757
+ * @returns {Float64Array}
7758
+ */
7759
+ batch(prices) {
7760
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
7761
+ const len0 = WASM_VECTOR_LEN;
7762
+ const ret = wasm.ehma_batch(this.__wbg_ptr, ptr0, len0);
7763
+ return takeObject(ret);
7764
+ }
7765
+ /**
7766
+ * @returns {boolean}
7767
+ */
7768
+ isReady() {
7769
+ const ret = wasm.ehma_isReady(this.__wbg_ptr);
7770
+ return ret !== 0;
7771
+ }
7772
+ /**
7773
+ * @param {number} period
7774
+ */
7775
+ constructor(period) {
7776
+ try {
7777
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7778
+ wasm.ehma_new(retptr, period);
7779
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
7780
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
7781
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
7782
+ if (r2) {
7783
+ throw takeObject(r1);
7784
+ }
7785
+ this.__wbg_ptr = r0;
7786
+ EHMAFinalization.register(this, this.__wbg_ptr, this);
7787
+ return this;
7788
+ } finally {
7789
+ wasm.__wbindgen_add_to_stack_pointer(16);
7790
+ }
7791
+ }
7792
+ reset() {
7793
+ wasm.ehma_reset(this.__wbg_ptr);
7794
+ }
7795
+ /**
7796
+ * @param {number} value
7797
+ * @returns {number | undefined}
7798
+ */
7799
+ update(value) {
7800
+ try {
7801
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7802
+ wasm.ehma_update(retptr, this.__wbg_ptr, value);
7803
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
7804
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
7805
+ return r0 === 0 ? undefined : r2;
7806
+ } finally {
7807
+ wasm.__wbindgen_add_to_stack_pointer(16);
7808
+ }
7809
+ }
7810
+ /**
7811
+ * @returns {number}
7812
+ */
7813
+ warmupPeriod() {
7814
+ const ret = wasm.ehma_warmupPeriod(this.__wbg_ptr);
7815
+ return ret >>> 0;
7816
+ }
7817
+ }
7818
+ if (Symbol.dispose) EHMA.prototype[Symbol.dispose] = EHMA.prototype.free;
7819
+
7443
7820
  export class EMA {
7444
7821
  __destroy_into_raw() {
7445
7822
  const ptr = this.__wbg_ptr;
@@ -8171,6 +8548,82 @@ export class EveningDojiStar {
8171
8548
  }
8172
8549
  if (Symbol.dispose) EveningDojiStar.prototype[Symbol.dispose] = EveningDojiStar.prototype.free;
8173
8550
 
8551
+ export class Expectancy {
8552
+ __destroy_into_raw() {
8553
+ const ptr = this.__wbg_ptr;
8554
+ this.__wbg_ptr = 0;
8555
+ ExpectancyFinalization.unregister(this);
8556
+ return ptr;
8557
+ }
8558
+ free() {
8559
+ const ptr = this.__destroy_into_raw();
8560
+ wasm.__wbg_expectancy_free(ptr, 0);
8561
+ }
8562
+ /**
8563
+ * @param {Float64Array} prices
8564
+ * @returns {Float64Array}
8565
+ */
8566
+ batch(prices) {
8567
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
8568
+ const len0 = WASM_VECTOR_LEN;
8569
+ const ret = wasm.expectancy_batch(this.__wbg_ptr, ptr0, len0);
8570
+ return takeObject(ret);
8571
+ }
8572
+ /**
8573
+ * @returns {boolean}
8574
+ */
8575
+ isReady() {
8576
+ const ret = wasm.expectancy_isReady(this.__wbg_ptr);
8577
+ return ret !== 0;
8578
+ }
8579
+ /**
8580
+ * @param {number} period
8581
+ */
8582
+ constructor(period) {
8583
+ try {
8584
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8585
+ wasm.expectancy_new(retptr, period);
8586
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8587
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
8588
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
8589
+ if (r2) {
8590
+ throw takeObject(r1);
8591
+ }
8592
+ this.__wbg_ptr = r0;
8593
+ ExpectancyFinalization.register(this, this.__wbg_ptr, this);
8594
+ return this;
8595
+ } finally {
8596
+ wasm.__wbindgen_add_to_stack_pointer(16);
8597
+ }
8598
+ }
8599
+ reset() {
8600
+ wasm.expectancy_reset(this.__wbg_ptr);
8601
+ }
8602
+ /**
8603
+ * @param {number} value
8604
+ * @returns {number | undefined}
8605
+ */
8606
+ update(value) {
8607
+ try {
8608
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8609
+ wasm.expectancy_update(retptr, this.__wbg_ptr, value);
8610
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8611
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
8612
+ return r0 === 0 ? undefined : r2;
8613
+ } finally {
8614
+ wasm.__wbindgen_add_to_stack_pointer(16);
8615
+ }
8616
+ }
8617
+ /**
8618
+ * @returns {number}
8619
+ */
8620
+ warmupPeriod() {
8621
+ const ret = wasm.expectancy_warmupPeriod(this.__wbg_ptr);
8622
+ return ret >>> 0;
8623
+ }
8624
+ }
8625
+ if (Symbol.dispose) Expectancy.prototype[Symbol.dispose] = Expectancy.prototype.free;
8626
+
8174
8627
  export class FAMA {
8175
8628
  __destroy_into_raw() {
8176
8629
  const ptr = this.__wbg_ptr;
@@ -9820,16 +10273,16 @@ export class FundingRateZScore {
9820
10273
  }
9821
10274
  if (Symbol.dispose) FundingRateZScore.prototype[Symbol.dispose] = FundingRateZScore.prototype.free;
9822
10275
 
9823
- export class GainLossRatio {
10276
+ export class GD {
9824
10277
  __destroy_into_raw() {
9825
10278
  const ptr = this.__wbg_ptr;
9826
10279
  this.__wbg_ptr = 0;
9827
- GainLossRatioFinalization.unregister(this);
10280
+ GDFinalization.unregister(this);
9828
10281
  return ptr;
9829
10282
  }
9830
10283
  free() {
9831
10284
  const ptr = this.__destroy_into_raw();
9832
- wasm.__wbg_gainlossratio_free(ptr, 0);
10285
+ wasm.__wbg_gd_free(ptr, 0);
9833
10286
  }
9834
10287
  /**
9835
10288
  * @param {Float64Array} prices
@@ -9838,23 +10291,24 @@ export class GainLossRatio {
9838
10291
  batch(prices) {
9839
10292
  const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
9840
10293
  const len0 = WASM_VECTOR_LEN;
9841
- const ret = wasm.gainlossratio_batch(this.__wbg_ptr, ptr0, len0);
10294
+ const ret = wasm.gd_batch(this.__wbg_ptr, ptr0, len0);
9842
10295
  return takeObject(ret);
9843
10296
  }
9844
10297
  /**
9845
10298
  * @returns {boolean}
9846
10299
  */
9847
10300
  isReady() {
9848
- const ret = wasm.gainlossratio_isReady(this.__wbg_ptr);
10301
+ const ret = wasm.gd_isReady(this.__wbg_ptr);
9849
10302
  return ret !== 0;
9850
10303
  }
9851
10304
  /**
9852
10305
  * @param {number} period
10306
+ * @param {number} v
9853
10307
  */
9854
- constructor(period) {
10308
+ constructor(period, v) {
9855
10309
  try {
9856
10310
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9857
- wasm.gainlossratio_new(retptr, period);
10311
+ wasm.gd_new(retptr, period, v);
9858
10312
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9859
10313
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9860
10314
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -9862,14 +10316,14 @@ export class GainLossRatio {
9862
10316
  throw takeObject(r1);
9863
10317
  }
9864
10318
  this.__wbg_ptr = r0;
9865
- GainLossRatioFinalization.register(this, this.__wbg_ptr, this);
10319
+ GDFinalization.register(this, this.__wbg_ptr, this);
9866
10320
  return this;
9867
10321
  } finally {
9868
10322
  wasm.__wbindgen_add_to_stack_pointer(16);
9869
10323
  }
9870
10324
  }
9871
10325
  reset() {
9872
- wasm.gainlossratio_reset(this.__wbg_ptr);
10326
+ wasm.gd_reset(this.__wbg_ptr);
9873
10327
  }
9874
10328
  /**
9875
10329
  * @param {number} value
@@ -9878,7 +10332,7 @@ export class GainLossRatio {
9878
10332
  update(value) {
9879
10333
  try {
9880
10334
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9881
- wasm.gainlossratio_update(retptr, this.__wbg_ptr, value);
10335
+ wasm.gd_update(retptr, this.__wbg_ptr, value);
9882
10336
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9883
10337
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
9884
10338
  return r0 === 0 ? undefined : r2;
@@ -9890,57 +10344,209 @@ export class GainLossRatio {
9890
10344
  * @returns {number}
9891
10345
  */
9892
10346
  warmupPeriod() {
9893
- const ret = wasm.gainlossratio_warmupPeriod(this.__wbg_ptr);
10347
+ const ret = wasm.gd_warmupPeriod(this.__wbg_ptr);
9894
10348
  return ret >>> 0;
9895
10349
  }
9896
10350
  }
9897
- if (Symbol.dispose) GainLossRatio.prototype[Symbol.dispose] = GainLossRatio.prototype.free;
10351
+ if (Symbol.dispose) GD.prototype[Symbol.dispose] = GD.prototype.free;
9898
10352
 
9899
- export class GapSideBySideWhite {
10353
+ export class GMA {
9900
10354
  __destroy_into_raw() {
9901
10355
  const ptr = this.__wbg_ptr;
9902
10356
  this.__wbg_ptr = 0;
9903
- GapSideBySideWhiteFinalization.unregister(this);
10357
+ GMAFinalization.unregister(this);
9904
10358
  return ptr;
9905
10359
  }
9906
10360
  free() {
9907
10361
  const ptr = this.__destroy_into_raw();
9908
- wasm.__wbg_gapsidebysidewhite_free(ptr, 0);
10362
+ wasm.__wbg_gma_free(ptr, 0);
9909
10363
  }
9910
10364
  /**
9911
- * @param {Float64Array} open
9912
- * @param {Float64Array} high
9913
- * @param {Float64Array} low
9914
- * @param {Float64Array} close
10365
+ * @param {Float64Array} prices
9915
10366
  * @returns {Float64Array}
9916
10367
  */
9917
- batch(open, high, low, close) {
10368
+ batch(prices) {
10369
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
10370
+ const len0 = WASM_VECTOR_LEN;
10371
+ const ret = wasm.gma_batch(this.__wbg_ptr, ptr0, len0);
10372
+ return takeObject(ret);
10373
+ }
10374
+ /**
10375
+ * @returns {boolean}
10376
+ */
10377
+ isReady() {
10378
+ const ret = wasm.gma_isReady(this.__wbg_ptr);
10379
+ return ret !== 0;
10380
+ }
10381
+ /**
10382
+ * @param {number} period
10383
+ */
10384
+ constructor(period) {
9918
10385
  try {
9919
10386
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9920
- const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
9921
- const len0 = WASM_VECTOR_LEN;
9922
- const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
9923
- const len1 = WASM_VECTOR_LEN;
9924
- const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
9925
- const len2 = WASM_VECTOR_LEN;
9926
- const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
9927
- const len3 = WASM_VECTOR_LEN;
9928
- wasm.gapsidebysidewhite_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
10387
+ wasm.gma_new(retptr, period);
9929
10388
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9930
10389
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9931
10390
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
9932
10391
  if (r2) {
9933
10392
  throw takeObject(r1);
9934
10393
  }
9935
- return takeObject(r0);
10394
+ this.__wbg_ptr = r0;
10395
+ GMAFinalization.register(this, this.__wbg_ptr, this);
10396
+ return this;
9936
10397
  } finally {
9937
10398
  wasm.__wbindgen_add_to_stack_pointer(16);
9938
10399
  }
9939
10400
  }
10401
+ reset() {
10402
+ wasm.gma_reset(this.__wbg_ptr);
10403
+ }
9940
10404
  /**
9941
- * @returns {boolean}
10405
+ * @param {number} value
10406
+ * @returns {number | undefined}
9942
10407
  */
9943
- isReady() {
10408
+ update(value) {
10409
+ try {
10410
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10411
+ wasm.gma_update(retptr, this.__wbg_ptr, value);
10412
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10413
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
10414
+ return r0 === 0 ? undefined : r2;
10415
+ } finally {
10416
+ wasm.__wbindgen_add_to_stack_pointer(16);
10417
+ }
10418
+ }
10419
+ /**
10420
+ * @returns {number}
10421
+ */
10422
+ warmupPeriod() {
10423
+ const ret = wasm.gma_warmupPeriod(this.__wbg_ptr);
10424
+ return ret >>> 0;
10425
+ }
10426
+ }
10427
+ if (Symbol.dispose) GMA.prototype[Symbol.dispose] = GMA.prototype.free;
10428
+
10429
+ export class GainLossRatio {
10430
+ __destroy_into_raw() {
10431
+ const ptr = this.__wbg_ptr;
10432
+ this.__wbg_ptr = 0;
10433
+ GainLossRatioFinalization.unregister(this);
10434
+ return ptr;
10435
+ }
10436
+ free() {
10437
+ const ptr = this.__destroy_into_raw();
10438
+ wasm.__wbg_gainlossratio_free(ptr, 0);
10439
+ }
10440
+ /**
10441
+ * @param {Float64Array} prices
10442
+ * @returns {Float64Array}
10443
+ */
10444
+ batch(prices) {
10445
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
10446
+ const len0 = WASM_VECTOR_LEN;
10447
+ const ret = wasm.gainlossratio_batch(this.__wbg_ptr, ptr0, len0);
10448
+ return takeObject(ret);
10449
+ }
10450
+ /**
10451
+ * @returns {boolean}
10452
+ */
10453
+ isReady() {
10454
+ const ret = wasm.gainlossratio_isReady(this.__wbg_ptr);
10455
+ return ret !== 0;
10456
+ }
10457
+ /**
10458
+ * @param {number} period
10459
+ */
10460
+ constructor(period) {
10461
+ try {
10462
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10463
+ wasm.gainlossratio_new(retptr, period);
10464
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10465
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
10466
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10467
+ if (r2) {
10468
+ throw takeObject(r1);
10469
+ }
10470
+ this.__wbg_ptr = r0;
10471
+ GainLossRatioFinalization.register(this, this.__wbg_ptr, this);
10472
+ return this;
10473
+ } finally {
10474
+ wasm.__wbindgen_add_to_stack_pointer(16);
10475
+ }
10476
+ }
10477
+ reset() {
10478
+ wasm.gainlossratio_reset(this.__wbg_ptr);
10479
+ }
10480
+ /**
10481
+ * @param {number} value
10482
+ * @returns {number | undefined}
10483
+ */
10484
+ update(value) {
10485
+ try {
10486
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10487
+ wasm.gainlossratio_update(retptr, this.__wbg_ptr, value);
10488
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10489
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
10490
+ return r0 === 0 ? undefined : r2;
10491
+ } finally {
10492
+ wasm.__wbindgen_add_to_stack_pointer(16);
10493
+ }
10494
+ }
10495
+ /**
10496
+ * @returns {number}
10497
+ */
10498
+ warmupPeriod() {
10499
+ const ret = wasm.gainlossratio_warmupPeriod(this.__wbg_ptr);
10500
+ return ret >>> 0;
10501
+ }
10502
+ }
10503
+ if (Symbol.dispose) GainLossRatio.prototype[Symbol.dispose] = GainLossRatio.prototype.free;
10504
+
10505
+ export class GapSideBySideWhite {
10506
+ __destroy_into_raw() {
10507
+ const ptr = this.__wbg_ptr;
10508
+ this.__wbg_ptr = 0;
10509
+ GapSideBySideWhiteFinalization.unregister(this);
10510
+ return ptr;
10511
+ }
10512
+ free() {
10513
+ const ptr = this.__destroy_into_raw();
10514
+ wasm.__wbg_gapsidebysidewhite_free(ptr, 0);
10515
+ }
10516
+ /**
10517
+ * @param {Float64Array} open
10518
+ * @param {Float64Array} high
10519
+ * @param {Float64Array} low
10520
+ * @param {Float64Array} close
10521
+ * @returns {Float64Array}
10522
+ */
10523
+ batch(open, high, low, close) {
10524
+ try {
10525
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10526
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
10527
+ const len0 = WASM_VECTOR_LEN;
10528
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
10529
+ const len1 = WASM_VECTOR_LEN;
10530
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
10531
+ const len2 = WASM_VECTOR_LEN;
10532
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
10533
+ const len3 = WASM_VECTOR_LEN;
10534
+ wasm.gapsidebysidewhite_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
10535
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10536
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
10537
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10538
+ if (r2) {
10539
+ throw takeObject(r1);
10540
+ }
10541
+ return takeObject(r0);
10542
+ } finally {
10543
+ wasm.__wbindgen_add_to_stack_pointer(16);
10544
+ }
10545
+ }
10546
+ /**
10547
+ * @returns {boolean}
10548
+ */
10549
+ isReady() {
9944
10550
  const ret = wasm.gapsidebysidewhite_isReady(this.__wbg_ptr);
9945
10551
  return ret !== 0;
9946
10552
  }
@@ -11308,6 +11914,82 @@ export class HighLowIndex {
11308
11914
  }
11309
11915
  if (Symbol.dispose) HighLowIndex.prototype[Symbol.dispose] = HighLowIndex.prototype.free;
11310
11916
 
11917
+ export class HighLowRange {
11918
+ __destroy_into_raw() {
11919
+ const ptr = this.__wbg_ptr;
11920
+ this.__wbg_ptr = 0;
11921
+ HighLowRangeFinalization.unregister(this);
11922
+ return ptr;
11923
+ }
11924
+ free() {
11925
+ const ptr = this.__destroy_into_raw();
11926
+ wasm.__wbg_highlowrange_free(ptr, 0);
11927
+ }
11928
+ /**
11929
+ * @param {Float64Array} open
11930
+ * @param {Float64Array} high
11931
+ * @param {Float64Array} low
11932
+ * @param {Float64Array} close
11933
+ * @returns {Float64Array}
11934
+ */
11935
+ batch(open, high, low, close) {
11936
+ try {
11937
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11938
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
11939
+ const len0 = WASM_VECTOR_LEN;
11940
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
11941
+ const len1 = WASM_VECTOR_LEN;
11942
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
11943
+ const len2 = WASM_VECTOR_LEN;
11944
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
11945
+ const len3 = WASM_VECTOR_LEN;
11946
+ wasm.highlowrange_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
11947
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11948
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
11949
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
11950
+ if (r2) {
11951
+ throw takeObject(r1);
11952
+ }
11953
+ return takeObject(r0);
11954
+ } finally {
11955
+ wasm.__wbindgen_add_to_stack_pointer(16);
11956
+ }
11957
+ }
11958
+ constructor() {
11959
+ const ret = wasm.highlowrange_new();
11960
+ this.__wbg_ptr = ret;
11961
+ HighLowRangeFinalization.register(this, this.__wbg_ptr, this);
11962
+ return this;
11963
+ }
11964
+ reset() {
11965
+ wasm.highlowrange_reset(this.__wbg_ptr);
11966
+ }
11967
+ /**
11968
+ * @param {number} open
11969
+ * @param {number} high
11970
+ * @param {number} low
11971
+ * @param {number} close
11972
+ * @returns {number | undefined}
11973
+ */
11974
+ update(open, high, low, close) {
11975
+ try {
11976
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
11977
+ wasm.highlowrange_update(retptr, this.__wbg_ptr, open, high, low, close);
11978
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11979
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
11980
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
11981
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
11982
+ if (r5) {
11983
+ throw takeObject(r4);
11984
+ }
11985
+ return r0 === 0 ? undefined : r2;
11986
+ } finally {
11987
+ wasm.__wbindgen_add_to_stack_pointer(32);
11988
+ }
11989
+ }
11990
+ }
11991
+ if (Symbol.dispose) HighLowRange.prototype[Symbol.dispose] = HighLowRange.prototype.free;
11992
+
11311
11993
  export class HighWave {
11312
11994
  __destroy_into_raw() {
11313
11995
  const ptr = this.__wbg_ptr;
@@ -11717,66 +12399,143 @@ export class HistoricalVolatility {
11717
12399
  }
11718
12400
  if (Symbol.dispose) HistoricalVolatility.prototype[Symbol.dispose] = HistoricalVolatility.prototype.free;
11719
12401
 
11720
- export class HomingPigeon {
12402
+ export class HoltWinters {
11721
12403
  __destroy_into_raw() {
11722
12404
  const ptr = this.__wbg_ptr;
11723
12405
  this.__wbg_ptr = 0;
11724
- HomingPigeonFinalization.unregister(this);
12406
+ HoltWintersFinalization.unregister(this);
11725
12407
  return ptr;
11726
12408
  }
11727
12409
  free() {
11728
12410
  const ptr = this.__destroy_into_raw();
11729
- wasm.__wbg_homingpigeon_free(ptr, 0);
12411
+ wasm.__wbg_holtwinters_free(ptr, 0);
11730
12412
  }
11731
12413
  /**
11732
- * @param {Float64Array} open
11733
- * @param {Float64Array} high
11734
- * @param {Float64Array} low
11735
- * @param {Float64Array} close
12414
+ * @param {Float64Array} prices
11736
12415
  * @returns {Float64Array}
11737
12416
  */
11738
- batch(open, high, low, close) {
12417
+ batch(prices) {
12418
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
12419
+ const len0 = WASM_VECTOR_LEN;
12420
+ const ret = wasm.holtwinters_batch(this.__wbg_ptr, ptr0, len0);
12421
+ return takeObject(ret);
12422
+ }
12423
+ /**
12424
+ * @returns {boolean}
12425
+ */
12426
+ isReady() {
12427
+ const ret = wasm.holtwinters_isReady(this.__wbg_ptr);
12428
+ return ret !== 0;
12429
+ }
12430
+ /**
12431
+ * @param {number} alpha
12432
+ * @param {number} beta
12433
+ */
12434
+ constructor(alpha, beta) {
11739
12435
  try {
11740
12436
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11741
- const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
11742
- const len0 = WASM_VECTOR_LEN;
11743
- const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
11744
- const len1 = WASM_VECTOR_LEN;
11745
- const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
11746
- const len2 = WASM_VECTOR_LEN;
11747
- const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
11748
- const len3 = WASM_VECTOR_LEN;
11749
- wasm.homingpigeon_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
12437
+ wasm.holtwinters_new(retptr, alpha, beta);
11750
12438
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11751
12439
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
11752
12440
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
11753
12441
  if (r2) {
11754
12442
  throw takeObject(r1);
11755
12443
  }
11756
- return takeObject(r0);
12444
+ this.__wbg_ptr = r0;
12445
+ HoltWintersFinalization.register(this, this.__wbg_ptr, this);
12446
+ return this;
11757
12447
  } finally {
11758
12448
  wasm.__wbindgen_add_to_stack_pointer(16);
11759
12449
  }
11760
12450
  }
11761
- /**
11762
- * @returns {boolean}
11763
- */
11764
- isReady() {
11765
- const ret = wasm.homingpigeon_isReady(this.__wbg_ptr);
11766
- return ret !== 0;
11767
- }
11768
- constructor() {
11769
- const ret = wasm.homingpigeon_new();
11770
- this.__wbg_ptr = ret;
11771
- HomingPigeonFinalization.register(this, this.__wbg_ptr, this);
11772
- return this;
11773
- }
11774
12451
  reset() {
11775
- wasm.homingpigeon_reset(this.__wbg_ptr);
12452
+ wasm.holtwinters_reset(this.__wbg_ptr);
11776
12453
  }
11777
12454
  /**
11778
- * @param {number} open
11779
- * @param {number} high
12455
+ * @param {number} value
12456
+ * @returns {number | undefined}
12457
+ */
12458
+ update(value) {
12459
+ try {
12460
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12461
+ wasm.holtwinters_update(retptr, this.__wbg_ptr, value);
12462
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12463
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
12464
+ return r0 === 0 ? undefined : r2;
12465
+ } finally {
12466
+ wasm.__wbindgen_add_to_stack_pointer(16);
12467
+ }
12468
+ }
12469
+ /**
12470
+ * @returns {number}
12471
+ */
12472
+ warmupPeriod() {
12473
+ const ret = wasm.holtwinters_warmupPeriod(this.__wbg_ptr);
12474
+ return ret >>> 0;
12475
+ }
12476
+ }
12477
+ if (Symbol.dispose) HoltWinters.prototype[Symbol.dispose] = HoltWinters.prototype.free;
12478
+
12479
+ export class HomingPigeon {
12480
+ __destroy_into_raw() {
12481
+ const ptr = this.__wbg_ptr;
12482
+ this.__wbg_ptr = 0;
12483
+ HomingPigeonFinalization.unregister(this);
12484
+ return ptr;
12485
+ }
12486
+ free() {
12487
+ const ptr = this.__destroy_into_raw();
12488
+ wasm.__wbg_homingpigeon_free(ptr, 0);
12489
+ }
12490
+ /**
12491
+ * @param {Float64Array} open
12492
+ * @param {Float64Array} high
12493
+ * @param {Float64Array} low
12494
+ * @param {Float64Array} close
12495
+ * @returns {Float64Array}
12496
+ */
12497
+ batch(open, high, low, close) {
12498
+ try {
12499
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12500
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
12501
+ const len0 = WASM_VECTOR_LEN;
12502
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
12503
+ const len1 = WASM_VECTOR_LEN;
12504
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
12505
+ const len2 = WASM_VECTOR_LEN;
12506
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
12507
+ const len3 = WASM_VECTOR_LEN;
12508
+ wasm.homingpigeon_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
12509
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12510
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12511
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12512
+ if (r2) {
12513
+ throw takeObject(r1);
12514
+ }
12515
+ return takeObject(r0);
12516
+ } finally {
12517
+ wasm.__wbindgen_add_to_stack_pointer(16);
12518
+ }
12519
+ }
12520
+ /**
12521
+ * @returns {boolean}
12522
+ */
12523
+ isReady() {
12524
+ const ret = wasm.homingpigeon_isReady(this.__wbg_ptr);
12525
+ return ret !== 0;
12526
+ }
12527
+ constructor() {
12528
+ const ret = wasm.homingpigeon_new();
12529
+ this.__wbg_ptr = ret;
12530
+ HomingPigeonFinalization.register(this, this.__wbg_ptr, this);
12531
+ return this;
12532
+ }
12533
+ reset() {
12534
+ wasm.homingpigeon_reset(this.__wbg_ptr);
12535
+ }
12536
+ /**
12537
+ * @param {number} open
12538
+ * @param {number} high
11780
12539
  * @param {number} low
11781
12540
  * @param {number} close
11782
12541
  * @returns {number | undefined}
@@ -12972,6 +13731,83 @@ export class JMA {
12972
13731
  }
12973
13732
  if (Symbol.dispose) JMA.prototype[Symbol.dispose] = JMA.prototype.free;
12974
13733
 
13734
+ export class JumpIndicator {
13735
+ __destroy_into_raw() {
13736
+ const ptr = this.__wbg_ptr;
13737
+ this.__wbg_ptr = 0;
13738
+ JumpIndicatorFinalization.unregister(this);
13739
+ return ptr;
13740
+ }
13741
+ free() {
13742
+ const ptr = this.__destroy_into_raw();
13743
+ wasm.__wbg_jumpindicator_free(ptr, 0);
13744
+ }
13745
+ /**
13746
+ * @param {Float64Array} prices
13747
+ * @returns {Float64Array}
13748
+ */
13749
+ batch(prices) {
13750
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
13751
+ const len0 = WASM_VECTOR_LEN;
13752
+ const ret = wasm.jumpindicator_batch(this.__wbg_ptr, ptr0, len0);
13753
+ return takeObject(ret);
13754
+ }
13755
+ /**
13756
+ * @returns {boolean}
13757
+ */
13758
+ isReady() {
13759
+ const ret = wasm.jumpindicator_isReady(this.__wbg_ptr);
13760
+ return ret !== 0;
13761
+ }
13762
+ /**
13763
+ * @param {number} period
13764
+ * @param {number} threshold
13765
+ */
13766
+ constructor(period, threshold) {
13767
+ try {
13768
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
13769
+ wasm.jumpindicator_new(retptr, period, threshold);
13770
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13771
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
13772
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
13773
+ if (r2) {
13774
+ throw takeObject(r1);
13775
+ }
13776
+ this.__wbg_ptr = r0;
13777
+ JumpIndicatorFinalization.register(this, this.__wbg_ptr, this);
13778
+ return this;
13779
+ } finally {
13780
+ wasm.__wbindgen_add_to_stack_pointer(16);
13781
+ }
13782
+ }
13783
+ reset() {
13784
+ wasm.jumpindicator_reset(this.__wbg_ptr);
13785
+ }
13786
+ /**
13787
+ * @param {number} value
13788
+ * @returns {number | undefined}
13789
+ */
13790
+ update(value) {
13791
+ try {
13792
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
13793
+ wasm.jumpindicator_update(retptr, this.__wbg_ptr, value);
13794
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13795
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
13796
+ return r0 === 0 ? undefined : r2;
13797
+ } finally {
13798
+ wasm.__wbindgen_add_to_stack_pointer(16);
13799
+ }
13800
+ }
13801
+ /**
13802
+ * @returns {number}
13803
+ */
13804
+ warmupPeriod() {
13805
+ const ret = wasm.jumpindicator_warmupPeriod(this.__wbg_ptr);
13806
+ return ret >>> 0;
13807
+ }
13808
+ }
13809
+ if (Symbol.dispose) JumpIndicator.prototype[Symbol.dispose] = JumpIndicator.prototype.free;
13810
+
12975
13811
  export class KAMA {
12976
13812
  __destroy_into_raw() {
12977
13813
  const ptr = this.__wbg_ptr;
@@ -14585,6 +15421,82 @@ export class LiquidationFeatures {
14585
15421
  }
14586
15422
  if (Symbol.dispose) LiquidationFeatures.prototype[Symbol.dispose] = LiquidationFeatures.prototype.free;
14587
15423
 
15424
+ export class LogReturn {
15425
+ __destroy_into_raw() {
15426
+ const ptr = this.__wbg_ptr;
15427
+ this.__wbg_ptr = 0;
15428
+ LogReturnFinalization.unregister(this);
15429
+ return ptr;
15430
+ }
15431
+ free() {
15432
+ const ptr = this.__destroy_into_raw();
15433
+ wasm.__wbg_logreturn_free(ptr, 0);
15434
+ }
15435
+ /**
15436
+ * @param {Float64Array} prices
15437
+ * @returns {Float64Array}
15438
+ */
15439
+ batch(prices) {
15440
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
15441
+ const len0 = WASM_VECTOR_LEN;
15442
+ const ret = wasm.logreturn_batch(this.__wbg_ptr, ptr0, len0);
15443
+ return takeObject(ret);
15444
+ }
15445
+ /**
15446
+ * @returns {boolean}
15447
+ */
15448
+ isReady() {
15449
+ const ret = wasm.logreturn_isReady(this.__wbg_ptr);
15450
+ return ret !== 0;
15451
+ }
15452
+ /**
15453
+ * @param {number} period
15454
+ */
15455
+ constructor(period) {
15456
+ try {
15457
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
15458
+ wasm.logreturn_new(retptr, period);
15459
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
15460
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
15461
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
15462
+ if (r2) {
15463
+ throw takeObject(r1);
15464
+ }
15465
+ this.__wbg_ptr = r0;
15466
+ LogReturnFinalization.register(this, this.__wbg_ptr, this);
15467
+ return this;
15468
+ } finally {
15469
+ wasm.__wbindgen_add_to_stack_pointer(16);
15470
+ }
15471
+ }
15472
+ reset() {
15473
+ wasm.logreturn_reset(this.__wbg_ptr);
15474
+ }
15475
+ /**
15476
+ * @param {number} value
15477
+ * @returns {number | undefined}
15478
+ */
15479
+ update(value) {
15480
+ try {
15481
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
15482
+ wasm.logreturn_update(retptr, this.__wbg_ptr, value);
15483
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
15484
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
15485
+ return r0 === 0 ? undefined : r2;
15486
+ } finally {
15487
+ wasm.__wbindgen_add_to_stack_pointer(16);
15488
+ }
15489
+ }
15490
+ /**
15491
+ * @returns {number}
15492
+ */
15493
+ warmupPeriod() {
15494
+ const ret = wasm.logreturn_warmupPeriod(this.__wbg_ptr);
15495
+ return ret >>> 0;
15496
+ }
15497
+ }
15498
+ if (Symbol.dispose) LogReturn.prototype[Symbol.dispose] = LogReturn.prototype.free;
15499
+
14588
15500
  export class LongLeggedDoji {
14589
15501
  __destroy_into_raw() {
14590
15502
  const ptr = this.__wbg_ptr;
@@ -16452,59 +17364,135 @@ export class MedianAbsoluteDeviation {
16452
17364
  }
16453
17365
  if (Symbol.dispose) MedianAbsoluteDeviation.prototype[Symbol.dispose] = MedianAbsoluteDeviation.prototype.free;
16454
17366
 
16455
- export class MedianPrice {
17367
+ export class MedianMA {
16456
17368
  __destroy_into_raw() {
16457
17369
  const ptr = this.__wbg_ptr;
16458
17370
  this.__wbg_ptr = 0;
16459
- MedianPriceFinalization.unregister(this);
17371
+ MedianMAFinalization.unregister(this);
16460
17372
  return ptr;
16461
17373
  }
16462
17374
  free() {
16463
17375
  const ptr = this.__destroy_into_raw();
16464
- wasm.__wbg_medianprice_free(ptr, 0);
17376
+ wasm.__wbg_medianma_free(ptr, 0);
16465
17377
  }
16466
17378
  /**
16467
- * @param {Float64Array} high
16468
- * @param {Float64Array} low
17379
+ * @param {Float64Array} prices
16469
17380
  * @returns {Float64Array}
16470
17381
  */
16471
- batch(high, low) {
17382
+ batch(prices) {
17383
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
17384
+ const len0 = WASM_VECTOR_LEN;
17385
+ const ret = wasm.medianma_batch(this.__wbg_ptr, ptr0, len0);
17386
+ return takeObject(ret);
17387
+ }
17388
+ /**
17389
+ * @returns {boolean}
17390
+ */
17391
+ isReady() {
17392
+ const ret = wasm.medianma_isReady(this.__wbg_ptr);
17393
+ return ret !== 0;
17394
+ }
17395
+ /**
17396
+ * @param {number} period
17397
+ */
17398
+ constructor(period) {
16472
17399
  try {
16473
17400
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
16474
- const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
16475
- const len0 = WASM_VECTOR_LEN;
16476
- const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
16477
- const len1 = WASM_VECTOR_LEN;
16478
- wasm.medianprice_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
17401
+ wasm.medianma_new(retptr, period);
16479
17402
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
16480
17403
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
16481
17404
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
16482
17405
  if (r2) {
16483
17406
  throw takeObject(r1);
16484
17407
  }
16485
- return takeObject(r0);
17408
+ this.__wbg_ptr = r0;
17409
+ MedianMAFinalization.register(this, this.__wbg_ptr, this);
17410
+ return this;
16486
17411
  } finally {
16487
17412
  wasm.__wbindgen_add_to_stack_pointer(16);
16488
17413
  }
16489
17414
  }
16490
- constructor() {
16491
- const ret = wasm.medianprice_new();
16492
- this.__wbg_ptr = ret;
16493
- MedianPriceFinalization.register(this, this.__wbg_ptr, this);
16494
- return this;
16495
- }
16496
17415
  reset() {
16497
- wasm.medianprice_reset(this.__wbg_ptr);
17416
+ wasm.medianma_reset(this.__wbg_ptr);
16498
17417
  }
16499
17418
  /**
16500
- * @param {number} high
16501
- * @param {number} low
17419
+ * @param {number} value
16502
17420
  * @returns {number | undefined}
16503
17421
  */
16504
- update(high, low) {
17422
+ update(value) {
16505
17423
  try {
16506
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
16507
- wasm.medianprice_update(retptr, this.__wbg_ptr, high, low);
17424
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
17425
+ wasm.medianma_update(retptr, this.__wbg_ptr, value);
17426
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
17427
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
17428
+ return r0 === 0 ? undefined : r2;
17429
+ } finally {
17430
+ wasm.__wbindgen_add_to_stack_pointer(16);
17431
+ }
17432
+ }
17433
+ /**
17434
+ * @returns {number}
17435
+ */
17436
+ warmupPeriod() {
17437
+ const ret = wasm.medianma_warmupPeriod(this.__wbg_ptr);
17438
+ return ret >>> 0;
17439
+ }
17440
+ }
17441
+ if (Symbol.dispose) MedianMA.prototype[Symbol.dispose] = MedianMA.prototype.free;
17442
+
17443
+ export class MedianPrice {
17444
+ __destroy_into_raw() {
17445
+ const ptr = this.__wbg_ptr;
17446
+ this.__wbg_ptr = 0;
17447
+ MedianPriceFinalization.unregister(this);
17448
+ return ptr;
17449
+ }
17450
+ free() {
17451
+ const ptr = this.__destroy_into_raw();
17452
+ wasm.__wbg_medianprice_free(ptr, 0);
17453
+ }
17454
+ /**
17455
+ * @param {Float64Array} high
17456
+ * @param {Float64Array} low
17457
+ * @returns {Float64Array}
17458
+ */
17459
+ batch(high, low) {
17460
+ try {
17461
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
17462
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
17463
+ const len0 = WASM_VECTOR_LEN;
17464
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
17465
+ const len1 = WASM_VECTOR_LEN;
17466
+ wasm.medianprice_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
17467
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
17468
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
17469
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
17470
+ if (r2) {
17471
+ throw takeObject(r1);
17472
+ }
17473
+ return takeObject(r0);
17474
+ } finally {
17475
+ wasm.__wbindgen_add_to_stack_pointer(16);
17476
+ }
17477
+ }
17478
+ constructor() {
17479
+ const ret = wasm.medianprice_new();
17480
+ this.__wbg_ptr = ret;
17481
+ MedianPriceFinalization.register(this, this.__wbg_ptr, this);
17482
+ return this;
17483
+ }
17484
+ reset() {
17485
+ wasm.medianprice_reset(this.__wbg_ptr);
17486
+ }
17487
+ /**
17488
+ * @param {number} high
17489
+ * @param {number} low
17490
+ * @returns {number | undefined}
17491
+ */
17492
+ update(high, low) {
17493
+ try {
17494
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
17495
+ wasm.medianprice_update(retptr, this.__wbg_ptr, high, low);
16508
17496
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
16509
17497
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
16510
17498
  var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
@@ -17844,6 +18832,88 @@ export class OrderBookImbalanceTopN {
17844
18832
  }
17845
18833
  if (Symbol.dispose) OrderBookImbalanceTopN.prototype[Symbol.dispose] = OrderBookImbalanceTopN.prototype.free;
17846
18834
 
18835
+ export class OrderFlowImbalance {
18836
+ __destroy_into_raw() {
18837
+ const ptr = this.__wbg_ptr;
18838
+ this.__wbg_ptr = 0;
18839
+ OrderFlowImbalanceFinalization.unregister(this);
18840
+ return ptr;
18841
+ }
18842
+ free() {
18843
+ const ptr = this.__destroy_into_raw();
18844
+ wasm.__wbg_orderflowimbalance_free(ptr, 0);
18845
+ }
18846
+ /**
18847
+ * @returns {boolean}
18848
+ */
18849
+ isReady() {
18850
+ const ret = wasm.orderflowimbalance_isReady(this.__wbg_ptr);
18851
+ return ret !== 0;
18852
+ }
18853
+ /**
18854
+ * @param {number} period
18855
+ */
18856
+ constructor(period) {
18857
+ try {
18858
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
18859
+ wasm.orderflowimbalance_new(retptr, period);
18860
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
18861
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
18862
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
18863
+ if (r2) {
18864
+ throw takeObject(r1);
18865
+ }
18866
+ this.__wbg_ptr = r0;
18867
+ OrderFlowImbalanceFinalization.register(this, this.__wbg_ptr, this);
18868
+ return this;
18869
+ } finally {
18870
+ wasm.__wbindgen_add_to_stack_pointer(16);
18871
+ }
18872
+ }
18873
+ reset() {
18874
+ wasm.orderflowimbalance_reset(this.__wbg_ptr);
18875
+ }
18876
+ /**
18877
+ * @param {Float64Array} bid_px
18878
+ * @param {Float64Array} bid_sz
18879
+ * @param {Float64Array} ask_px
18880
+ * @param {Float64Array} ask_sz
18881
+ * @returns {number | undefined}
18882
+ */
18883
+ update(bid_px, bid_sz, ask_px, ask_sz) {
18884
+ try {
18885
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
18886
+ const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
18887
+ const len0 = WASM_VECTOR_LEN;
18888
+ const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
18889
+ const len1 = WASM_VECTOR_LEN;
18890
+ const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
18891
+ const len2 = WASM_VECTOR_LEN;
18892
+ const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
18893
+ const len3 = WASM_VECTOR_LEN;
18894
+ wasm.orderflowimbalance_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
18895
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
18896
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
18897
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
18898
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
18899
+ if (r5) {
18900
+ throw takeObject(r4);
18901
+ }
18902
+ return r0 === 0 ? undefined : r2;
18903
+ } finally {
18904
+ wasm.__wbindgen_add_to_stack_pointer(32);
18905
+ }
18906
+ }
18907
+ /**
18908
+ * @returns {number}
18909
+ */
18910
+ warmupPeriod() {
18911
+ const ret = wasm.orderflowimbalance_warmupPeriod(this.__wbg_ptr);
18912
+ return ret >>> 0;
18913
+ }
18914
+ }
18915
+ if (Symbol.dispose) OrderFlowImbalance.prototype[Symbol.dispose] = OrderFlowImbalance.prototype.free;
18916
+
17847
18917
  export class OuHalfLife {
17848
18918
  __destroy_into_raw() {
17849
18919
  const ptr = this.__wbg_ptr;
@@ -20458,6 +21528,82 @@ export class RealizedSpread {
20458
21528
  }
20459
21529
  if (Symbol.dispose) RealizedSpread.prototype[Symbol.dispose] = RealizedSpread.prototype.free;
20460
21530
 
21531
+ export class RealizedVolatility {
21532
+ __destroy_into_raw() {
21533
+ const ptr = this.__wbg_ptr;
21534
+ this.__wbg_ptr = 0;
21535
+ RealizedVolatilityFinalization.unregister(this);
21536
+ return ptr;
21537
+ }
21538
+ free() {
21539
+ const ptr = this.__destroy_into_raw();
21540
+ wasm.__wbg_realizedvolatility_free(ptr, 0);
21541
+ }
21542
+ /**
21543
+ * @param {Float64Array} prices
21544
+ * @returns {Float64Array}
21545
+ */
21546
+ batch(prices) {
21547
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
21548
+ const len0 = WASM_VECTOR_LEN;
21549
+ const ret = wasm.realizedvolatility_batch(this.__wbg_ptr, ptr0, len0);
21550
+ return takeObject(ret);
21551
+ }
21552
+ /**
21553
+ * @returns {boolean}
21554
+ */
21555
+ isReady() {
21556
+ const ret = wasm.realizedvolatility_isReady(this.__wbg_ptr);
21557
+ return ret !== 0;
21558
+ }
21559
+ /**
21560
+ * @param {number} period
21561
+ */
21562
+ constructor(period) {
21563
+ try {
21564
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21565
+ wasm.realizedvolatility_new(retptr, period);
21566
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21567
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
21568
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
21569
+ if (r2) {
21570
+ throw takeObject(r1);
21571
+ }
21572
+ this.__wbg_ptr = r0;
21573
+ RealizedVolatilityFinalization.register(this, this.__wbg_ptr, this);
21574
+ return this;
21575
+ } finally {
21576
+ wasm.__wbindgen_add_to_stack_pointer(16);
21577
+ }
21578
+ }
21579
+ reset() {
21580
+ wasm.realizedvolatility_reset(this.__wbg_ptr);
21581
+ }
21582
+ /**
21583
+ * @param {number} value
21584
+ * @returns {number | undefined}
21585
+ */
21586
+ update(value) {
21587
+ try {
21588
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21589
+ wasm.realizedvolatility_update(retptr, this.__wbg_ptr, value);
21590
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21591
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
21592
+ return r0 === 0 ? undefined : r2;
21593
+ } finally {
21594
+ wasm.__wbindgen_add_to_stack_pointer(16);
21595
+ }
21596
+ }
21597
+ /**
21598
+ * @returns {number}
21599
+ */
21600
+ warmupPeriod() {
21601
+ const ret = wasm.realizedvolatility_warmupPeriod(this.__wbg_ptr);
21602
+ return ret >>> 0;
21603
+ }
21604
+ }
21605
+ if (Symbol.dispose) RealizedVolatility.prototype[Symbol.dispose] = RealizedVolatility.prototype.free;
21606
+
20461
21607
  export class RecoveryFactor {
20462
21608
  __destroy_into_raw() {
20463
21609
  const ptr = this.__wbg_ptr;
@@ -20610,58 +21756,42 @@ export class RectangleRange {
20610
21756
  }
20611
21757
  if (Symbol.dispose) RectangleRange.prototype[Symbol.dispose] = RectangleRange.prototype.free;
20612
21758
 
20613
- export class RelativeStrengthAB {
21759
+ export class RegimeLabel {
20614
21760
  __destroy_into_raw() {
20615
21761
  const ptr = this.__wbg_ptr;
20616
21762
  this.__wbg_ptr = 0;
20617
- RelativeStrengthABFinalization.unregister(this);
21763
+ RegimeLabelFinalization.unregister(this);
20618
21764
  return ptr;
20619
21765
  }
20620
21766
  free() {
20621
21767
  const ptr = this.__destroy_into_raw();
20622
- wasm.__wbg_relativestrengthab_free(ptr, 0);
21768
+ wasm.__wbg_regimelabel_free(ptr, 0);
20623
21769
  }
20624
21770
  /**
20625
- * Flat `Float64Array` of length `3 * n`:
20626
- * `[ratio0, ratioMa0, ratioRsi0, ratio1, ...]`. Warmup rows are NaN.
20627
- * @param {Float64Array} a
20628
- * @param {Float64Array} b
21771
+ * @param {Float64Array} prices
20629
21772
  * @returns {Float64Array}
20630
21773
  */
20631
- batch(a, b) {
20632
- try {
20633
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
20634
- const ptr0 = passArrayF64ToWasm0(a, wasm.__wbindgen_export3);
20635
- const len0 = WASM_VECTOR_LEN;
20636
- const ptr1 = passArrayF64ToWasm0(b, wasm.__wbindgen_export3);
20637
- const len1 = WASM_VECTOR_LEN;
20638
- wasm.relativestrengthab_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
20639
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
20640
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
20641
- var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
20642
- if (r2) {
20643
- throw takeObject(r1);
20644
- }
20645
- return takeObject(r0);
20646
- } finally {
20647
- wasm.__wbindgen_add_to_stack_pointer(16);
20648
- }
21774
+ batch(prices) {
21775
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
21776
+ const len0 = WASM_VECTOR_LEN;
21777
+ const ret = wasm.regimelabel_batch(this.__wbg_ptr, ptr0, len0);
21778
+ return takeObject(ret);
20649
21779
  }
20650
21780
  /**
20651
21781
  * @returns {boolean}
20652
21782
  */
20653
21783
  isReady() {
20654
- const ret = wasm.relativestrengthab_isReady(this.__wbg_ptr);
21784
+ const ret = wasm.regimelabel_isReady(this.__wbg_ptr);
20655
21785
  return ret !== 0;
20656
21786
  }
20657
21787
  /**
20658
- * @param {number} ma_period
20659
- * @param {number} rsi_period
21788
+ * @param {number} vol_period
21789
+ * @param {number} lookback
20660
21790
  */
20661
- constructor(ma_period, rsi_period) {
21791
+ constructor(vol_period, lookback) {
20662
21792
  try {
20663
21793
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
20664
- wasm.relativestrengthab_new(retptr, ma_period, rsi_period);
21794
+ wasm.regimelabel_new(retptr, vol_period, lookback);
20665
21795
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
20666
21796
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
20667
21797
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -20669,27 +21799,120 @@ export class RelativeStrengthAB {
20669
21799
  throw takeObject(r1);
20670
21800
  }
20671
21801
  this.__wbg_ptr = r0;
20672
- RelativeStrengthABFinalization.register(this, this.__wbg_ptr, this);
21802
+ RegimeLabelFinalization.register(this, this.__wbg_ptr, this);
20673
21803
  return this;
20674
21804
  } finally {
20675
21805
  wasm.__wbindgen_add_to_stack_pointer(16);
20676
21806
  }
20677
21807
  }
20678
21808
  reset() {
20679
- wasm.relativestrengthab_reset(this.__wbg_ptr);
21809
+ wasm.regimelabel_reset(this.__wbg_ptr);
20680
21810
  }
20681
21811
  /**
20682
- * Returns `{ ratio, ratioMa, ratioRsi }`, or `null` during warmup.
20683
- * @param {number} a
20684
- * @param {number} b
20685
- * @returns {any}
21812
+ * @param {number} value
21813
+ * @returns {number | undefined}
20686
21814
  */
20687
- update(a, b) {
20688
- const ret = wasm.relativestrengthab_update(this.__wbg_ptr, a, b);
20689
- return takeObject(ret);
20690
- }
20691
- /**
20692
- * @returns {number}
21815
+ update(value) {
21816
+ try {
21817
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21818
+ wasm.regimelabel_update(retptr, this.__wbg_ptr, value);
21819
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21820
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
21821
+ return r0 === 0 ? undefined : r2;
21822
+ } finally {
21823
+ wasm.__wbindgen_add_to_stack_pointer(16);
21824
+ }
21825
+ }
21826
+ /**
21827
+ * @returns {number}
21828
+ */
21829
+ warmupPeriod() {
21830
+ const ret = wasm.regimelabel_warmupPeriod(this.__wbg_ptr);
21831
+ return ret >>> 0;
21832
+ }
21833
+ }
21834
+ if (Symbol.dispose) RegimeLabel.prototype[Symbol.dispose] = RegimeLabel.prototype.free;
21835
+
21836
+ export class RelativeStrengthAB {
21837
+ __destroy_into_raw() {
21838
+ const ptr = this.__wbg_ptr;
21839
+ this.__wbg_ptr = 0;
21840
+ RelativeStrengthABFinalization.unregister(this);
21841
+ return ptr;
21842
+ }
21843
+ free() {
21844
+ const ptr = this.__destroy_into_raw();
21845
+ wasm.__wbg_relativestrengthab_free(ptr, 0);
21846
+ }
21847
+ /**
21848
+ * Flat `Float64Array` of length `3 * n`:
21849
+ * `[ratio0, ratioMa0, ratioRsi0, ratio1, ...]`. Warmup rows are NaN.
21850
+ * @param {Float64Array} a
21851
+ * @param {Float64Array} b
21852
+ * @returns {Float64Array}
21853
+ */
21854
+ batch(a, b) {
21855
+ try {
21856
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21857
+ const ptr0 = passArrayF64ToWasm0(a, wasm.__wbindgen_export3);
21858
+ const len0 = WASM_VECTOR_LEN;
21859
+ const ptr1 = passArrayF64ToWasm0(b, wasm.__wbindgen_export3);
21860
+ const len1 = WASM_VECTOR_LEN;
21861
+ wasm.relativestrengthab_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
21862
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21863
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
21864
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
21865
+ if (r2) {
21866
+ throw takeObject(r1);
21867
+ }
21868
+ return takeObject(r0);
21869
+ } finally {
21870
+ wasm.__wbindgen_add_to_stack_pointer(16);
21871
+ }
21872
+ }
21873
+ /**
21874
+ * @returns {boolean}
21875
+ */
21876
+ isReady() {
21877
+ const ret = wasm.relativestrengthab_isReady(this.__wbg_ptr);
21878
+ return ret !== 0;
21879
+ }
21880
+ /**
21881
+ * @param {number} ma_period
21882
+ * @param {number} rsi_period
21883
+ */
21884
+ constructor(ma_period, rsi_period) {
21885
+ try {
21886
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21887
+ wasm.relativestrengthab_new(retptr, ma_period, rsi_period);
21888
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21889
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
21890
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
21891
+ if (r2) {
21892
+ throw takeObject(r1);
21893
+ }
21894
+ this.__wbg_ptr = r0;
21895
+ RelativeStrengthABFinalization.register(this, this.__wbg_ptr, this);
21896
+ return this;
21897
+ } finally {
21898
+ wasm.__wbindgen_add_to_stack_pointer(16);
21899
+ }
21900
+ }
21901
+ reset() {
21902
+ wasm.relativestrengthab_reset(this.__wbg_ptr);
21903
+ }
21904
+ /**
21905
+ * Returns `{ ratio, ratioMa, ratioRsi }`, or `null` during warmup.
21906
+ * @param {number} a
21907
+ * @param {number} b
21908
+ * @returns {any}
21909
+ */
21910
+ update(a, b) {
21911
+ const ret = wasm.relativestrengthab_update(this.__wbg_ptr, a, b);
21912
+ return takeObject(ret);
21913
+ }
21914
+ /**
21915
+ * @returns {number}
20693
21916
  */
20694
21917
  warmupPeriod() {
20695
21918
  const ret = wasm.relativestrengthab_warmupPeriod(this.__wbg_ptr);
@@ -21130,6 +22353,79 @@ export class RogersSatchellVolatility {
21130
22353
  }
21131
22354
  if (Symbol.dispose) RogersSatchellVolatility.prototype[Symbol.dispose] = RogersSatchellVolatility.prototype.free;
21132
22355
 
22356
+ export class RollMeasure {
22357
+ __destroy_into_raw() {
22358
+ const ptr = this.__wbg_ptr;
22359
+ this.__wbg_ptr = 0;
22360
+ RollMeasureFinalization.unregister(this);
22361
+ return ptr;
22362
+ }
22363
+ free() {
22364
+ const ptr = this.__destroy_into_raw();
22365
+ wasm.__wbg_rollmeasure_free(ptr, 0);
22366
+ }
22367
+ /**
22368
+ * @returns {boolean}
22369
+ */
22370
+ isReady() {
22371
+ const ret = wasm.rollmeasure_isReady(this.__wbg_ptr);
22372
+ return ret !== 0;
22373
+ }
22374
+ /**
22375
+ * @param {number} period
22376
+ */
22377
+ constructor(period) {
22378
+ try {
22379
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
22380
+ wasm.rollmeasure_new(retptr, period);
22381
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
22382
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
22383
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
22384
+ if (r2) {
22385
+ throw takeObject(r1);
22386
+ }
22387
+ this.__wbg_ptr = r0;
22388
+ RollMeasureFinalization.register(this, this.__wbg_ptr, this);
22389
+ return this;
22390
+ } finally {
22391
+ wasm.__wbindgen_add_to_stack_pointer(16);
22392
+ }
22393
+ }
22394
+ reset() {
22395
+ wasm.rollmeasure_reset(this.__wbg_ptr);
22396
+ }
22397
+ /**
22398
+ * @param {number} price
22399
+ * @param {number} size
22400
+ * @param {boolean} is_buy
22401
+ * @returns {number | undefined}
22402
+ */
22403
+ update(price, size, is_buy) {
22404
+ try {
22405
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
22406
+ wasm.rollmeasure_update(retptr, this.__wbg_ptr, price, size, is_buy);
22407
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
22408
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
22409
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
22410
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
22411
+ if (r5) {
22412
+ throw takeObject(r4);
22413
+ }
22414
+ return r0 === 0 ? undefined : r2;
22415
+ } finally {
22416
+ wasm.__wbindgen_add_to_stack_pointer(32);
22417
+ }
22418
+ }
22419
+ /**
22420
+ * @returns {number}
22421
+ */
22422
+ warmupPeriod() {
22423
+ const ret = wasm.rollmeasure_warmupPeriod(this.__wbg_ptr);
22424
+ return ret >>> 0;
22425
+ }
22426
+ }
22427
+ if (Symbol.dispose) RollMeasure.prototype[Symbol.dispose] = RollMeasure.prototype.free;
22428
+
21133
22429
  export class RollingCorrelation {
21134
22430
  __destroy_into_raw() {
21135
22431
  const ptr = this.__wbg_ptr;
@@ -21241,39 +22537,269 @@ export class RollingCovariance {
21241
22537
  * @param {Float64Array} y
21242
22538
  * @returns {Float64Array}
21243
22539
  */
21244
- batch(x, y) {
21245
- try {
21246
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21247
- const ptr0 = passArrayF64ToWasm0(x, wasm.__wbindgen_export3);
21248
- const len0 = WASM_VECTOR_LEN;
21249
- const ptr1 = passArrayF64ToWasm0(y, wasm.__wbindgen_export3);
21250
- const len1 = WASM_VECTOR_LEN;
21251
- wasm.rollingcovariance_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
21252
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21253
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
21254
- var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
21255
- if (r2) {
21256
- throw takeObject(r1);
21257
- }
21258
- return takeObject(r0);
21259
- } finally {
21260
- wasm.__wbindgen_add_to_stack_pointer(16);
21261
- }
22540
+ batch(x, y) {
22541
+ try {
22542
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
22543
+ const ptr0 = passArrayF64ToWasm0(x, wasm.__wbindgen_export3);
22544
+ const len0 = WASM_VECTOR_LEN;
22545
+ const ptr1 = passArrayF64ToWasm0(y, wasm.__wbindgen_export3);
22546
+ const len1 = WASM_VECTOR_LEN;
22547
+ wasm.rollingcovariance_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
22548
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
22549
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
22550
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
22551
+ if (r2) {
22552
+ throw takeObject(r1);
22553
+ }
22554
+ return takeObject(r0);
22555
+ } finally {
22556
+ wasm.__wbindgen_add_to_stack_pointer(16);
22557
+ }
22558
+ }
22559
+ /**
22560
+ * @returns {boolean}
22561
+ */
22562
+ isReady() {
22563
+ const ret = wasm.rollingcovariance_isReady(this.__wbg_ptr);
22564
+ return ret !== 0;
22565
+ }
22566
+ /**
22567
+ * @param {number} period
22568
+ */
22569
+ constructor(period) {
22570
+ try {
22571
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
22572
+ wasm.rollingcovariance_new(retptr, period);
22573
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
22574
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
22575
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
22576
+ if (r2) {
22577
+ throw takeObject(r1);
22578
+ }
22579
+ this.__wbg_ptr = r0;
22580
+ RollingCovarianceFinalization.register(this, this.__wbg_ptr, this);
22581
+ return this;
22582
+ } finally {
22583
+ wasm.__wbindgen_add_to_stack_pointer(16);
22584
+ }
22585
+ }
22586
+ reset() {
22587
+ wasm.rollingcovariance_reset(this.__wbg_ptr);
22588
+ }
22589
+ /**
22590
+ * @param {number} x
22591
+ * @param {number} y
22592
+ * @returns {number | undefined}
22593
+ */
22594
+ update(x, y) {
22595
+ try {
22596
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
22597
+ wasm.rollingcovariance_update(retptr, this.__wbg_ptr, x, y);
22598
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
22599
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
22600
+ return r0 === 0 ? undefined : r2;
22601
+ } finally {
22602
+ wasm.__wbindgen_add_to_stack_pointer(16);
22603
+ }
22604
+ }
22605
+ /**
22606
+ * @returns {number}
22607
+ */
22608
+ warmupPeriod() {
22609
+ const ret = wasm.rollingcovariance_warmupPeriod(this.__wbg_ptr);
22610
+ return ret >>> 0;
22611
+ }
22612
+ }
22613
+ if (Symbol.dispose) RollingCovariance.prototype[Symbol.dispose] = RollingCovariance.prototype.free;
22614
+
22615
+ export class RollingIqr {
22616
+ __destroy_into_raw() {
22617
+ const ptr = this.__wbg_ptr;
22618
+ this.__wbg_ptr = 0;
22619
+ RollingIqrFinalization.unregister(this);
22620
+ return ptr;
22621
+ }
22622
+ free() {
22623
+ const ptr = this.__destroy_into_raw();
22624
+ wasm.__wbg_rollingiqr_free(ptr, 0);
22625
+ }
22626
+ /**
22627
+ * @param {Float64Array} prices
22628
+ * @returns {Float64Array}
22629
+ */
22630
+ batch(prices) {
22631
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
22632
+ const len0 = WASM_VECTOR_LEN;
22633
+ const ret = wasm.rollingiqr_batch(this.__wbg_ptr, ptr0, len0);
22634
+ return takeObject(ret);
22635
+ }
22636
+ /**
22637
+ * @returns {boolean}
22638
+ */
22639
+ isReady() {
22640
+ const ret = wasm.rollingiqr_isReady(this.__wbg_ptr);
22641
+ return ret !== 0;
22642
+ }
22643
+ /**
22644
+ * @param {number} period
22645
+ */
22646
+ constructor(period) {
22647
+ try {
22648
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
22649
+ wasm.rollingiqr_new(retptr, period);
22650
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
22651
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
22652
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
22653
+ if (r2) {
22654
+ throw takeObject(r1);
22655
+ }
22656
+ this.__wbg_ptr = r0;
22657
+ RollingIqrFinalization.register(this, this.__wbg_ptr, this);
22658
+ return this;
22659
+ } finally {
22660
+ wasm.__wbindgen_add_to_stack_pointer(16);
22661
+ }
22662
+ }
22663
+ reset() {
22664
+ wasm.rollingiqr_reset(this.__wbg_ptr);
22665
+ }
22666
+ /**
22667
+ * @param {number} value
22668
+ * @returns {number | undefined}
22669
+ */
22670
+ update(value) {
22671
+ try {
22672
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
22673
+ wasm.rollingiqr_update(retptr, this.__wbg_ptr, value);
22674
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
22675
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
22676
+ return r0 === 0 ? undefined : r2;
22677
+ } finally {
22678
+ wasm.__wbindgen_add_to_stack_pointer(16);
22679
+ }
22680
+ }
22681
+ /**
22682
+ * @returns {number}
22683
+ */
22684
+ warmupPeriod() {
22685
+ const ret = wasm.rollingiqr_warmupPeriod(this.__wbg_ptr);
22686
+ return ret >>> 0;
22687
+ }
22688
+ }
22689
+ if (Symbol.dispose) RollingIqr.prototype[Symbol.dispose] = RollingIqr.prototype.free;
22690
+
22691
+ export class RollingPercentileRank {
22692
+ __destroy_into_raw() {
22693
+ const ptr = this.__wbg_ptr;
22694
+ this.__wbg_ptr = 0;
22695
+ RollingPercentileRankFinalization.unregister(this);
22696
+ return ptr;
22697
+ }
22698
+ free() {
22699
+ const ptr = this.__destroy_into_raw();
22700
+ wasm.__wbg_rollingpercentilerank_free(ptr, 0);
22701
+ }
22702
+ /**
22703
+ * @param {Float64Array} prices
22704
+ * @returns {Float64Array}
22705
+ */
22706
+ batch(prices) {
22707
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
22708
+ const len0 = WASM_VECTOR_LEN;
22709
+ const ret = wasm.rollingpercentilerank_batch(this.__wbg_ptr, ptr0, len0);
22710
+ return takeObject(ret);
22711
+ }
22712
+ /**
22713
+ * @returns {boolean}
22714
+ */
22715
+ isReady() {
22716
+ const ret = wasm.rollingpercentilerank_isReady(this.__wbg_ptr);
22717
+ return ret !== 0;
22718
+ }
22719
+ /**
22720
+ * @param {number} period
22721
+ */
22722
+ constructor(period) {
22723
+ try {
22724
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
22725
+ wasm.rollingpercentilerank_new(retptr, period);
22726
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
22727
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
22728
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
22729
+ if (r2) {
22730
+ throw takeObject(r1);
22731
+ }
22732
+ this.__wbg_ptr = r0;
22733
+ RollingPercentileRankFinalization.register(this, this.__wbg_ptr, this);
22734
+ return this;
22735
+ } finally {
22736
+ wasm.__wbindgen_add_to_stack_pointer(16);
22737
+ }
22738
+ }
22739
+ reset() {
22740
+ wasm.rollingpercentilerank_reset(this.__wbg_ptr);
22741
+ }
22742
+ /**
22743
+ * @param {number} value
22744
+ * @returns {number | undefined}
22745
+ */
22746
+ update(value) {
22747
+ try {
22748
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
22749
+ wasm.rollingpercentilerank_update(retptr, this.__wbg_ptr, value);
22750
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
22751
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
22752
+ return r0 === 0 ? undefined : r2;
22753
+ } finally {
22754
+ wasm.__wbindgen_add_to_stack_pointer(16);
22755
+ }
22756
+ }
22757
+ /**
22758
+ * @returns {number}
22759
+ */
22760
+ warmupPeriod() {
22761
+ const ret = wasm.rollingpercentilerank_warmupPeriod(this.__wbg_ptr);
22762
+ return ret >>> 0;
22763
+ }
22764
+ }
22765
+ if (Symbol.dispose) RollingPercentileRank.prototype[Symbol.dispose] = RollingPercentileRank.prototype.free;
22766
+
22767
+ export class RollingQuantile {
22768
+ __destroy_into_raw() {
22769
+ const ptr = this.__wbg_ptr;
22770
+ this.__wbg_ptr = 0;
22771
+ RollingQuantileFinalization.unregister(this);
22772
+ return ptr;
22773
+ }
22774
+ free() {
22775
+ const ptr = this.__destroy_into_raw();
22776
+ wasm.__wbg_rollingquantile_free(ptr, 0);
22777
+ }
22778
+ /**
22779
+ * @param {Float64Array} prices
22780
+ * @returns {Float64Array}
22781
+ */
22782
+ batch(prices) {
22783
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
22784
+ const len0 = WASM_VECTOR_LEN;
22785
+ const ret = wasm.rollingquantile_batch(this.__wbg_ptr, ptr0, len0);
22786
+ return takeObject(ret);
21262
22787
  }
21263
22788
  /**
21264
22789
  * @returns {boolean}
21265
22790
  */
21266
22791
  isReady() {
21267
- const ret = wasm.rollingcovariance_isReady(this.__wbg_ptr);
22792
+ const ret = wasm.rollingquantile_isReady(this.__wbg_ptr);
21268
22793
  return ret !== 0;
21269
22794
  }
21270
22795
  /**
21271
22796
  * @param {number} period
22797
+ * @param {number} quantile
21272
22798
  */
21273
- constructor(period) {
22799
+ constructor(period, quantile) {
21274
22800
  try {
21275
22801
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21276
- wasm.rollingcovariance_new(retptr, period);
22802
+ wasm.rollingquantile_new(retptr, period, quantile);
21277
22803
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21278
22804
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
21279
22805
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -21281,24 +22807,23 @@ export class RollingCovariance {
21281
22807
  throw takeObject(r1);
21282
22808
  }
21283
22809
  this.__wbg_ptr = r0;
21284
- RollingCovarianceFinalization.register(this, this.__wbg_ptr, this);
22810
+ RollingQuantileFinalization.register(this, this.__wbg_ptr, this);
21285
22811
  return this;
21286
22812
  } finally {
21287
22813
  wasm.__wbindgen_add_to_stack_pointer(16);
21288
22814
  }
21289
22815
  }
21290
22816
  reset() {
21291
- wasm.rollingcovariance_reset(this.__wbg_ptr);
22817
+ wasm.rollingquantile_reset(this.__wbg_ptr);
21292
22818
  }
21293
22819
  /**
21294
- * @param {number} x
21295
- * @param {number} y
22820
+ * @param {number} value
21296
22821
  * @returns {number | undefined}
21297
22822
  */
21298
- update(x, y) {
22823
+ update(value) {
21299
22824
  try {
21300
22825
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21301
- wasm.rollingcovariance_update(retptr, this.__wbg_ptr, x, y);
22826
+ wasm.rollingquantile_update(retptr, this.__wbg_ptr, value);
21302
22827
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21303
22828
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
21304
22829
  return r0 === 0 ? undefined : r2;
@@ -21310,11 +22835,11 @@ export class RollingCovariance {
21310
22835
  * @returns {number}
21311
22836
  */
21312
22837
  warmupPeriod() {
21313
- const ret = wasm.rollingcovariance_warmupPeriod(this.__wbg_ptr);
22838
+ const ret = wasm.rollingquantile_warmupPeriod(this.__wbg_ptr);
21314
22839
  return ret >>> 0;
21315
22840
  }
21316
22841
  }
21317
- if (Symbol.dispose) RollingCovariance.prototype[Symbol.dispose] = RollingCovariance.prototype.free;
22842
+ if (Symbol.dispose) RollingQuantile.prototype[Symbol.dispose] = RollingQuantile.prototype.free;
21318
22843
 
21319
22844
  export class RollingVWAP {
21320
22845
  __destroy_into_raw() {
@@ -21930,6 +23455,82 @@ export class STC {
21930
23455
  }
21931
23456
  if (Symbol.dispose) STC.prototype[Symbol.dispose] = STC.prototype.free;
21932
23457
 
23458
+ export class SWMA {
23459
+ __destroy_into_raw() {
23460
+ const ptr = this.__wbg_ptr;
23461
+ this.__wbg_ptr = 0;
23462
+ SWMAFinalization.unregister(this);
23463
+ return ptr;
23464
+ }
23465
+ free() {
23466
+ const ptr = this.__destroy_into_raw();
23467
+ wasm.__wbg_swma_free(ptr, 0);
23468
+ }
23469
+ /**
23470
+ * @param {Float64Array} prices
23471
+ * @returns {Float64Array}
23472
+ */
23473
+ batch(prices) {
23474
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
23475
+ const len0 = WASM_VECTOR_LEN;
23476
+ const ret = wasm.swma_batch(this.__wbg_ptr, ptr0, len0);
23477
+ return takeObject(ret);
23478
+ }
23479
+ /**
23480
+ * @returns {boolean}
23481
+ */
23482
+ isReady() {
23483
+ const ret = wasm.swma_isReady(this.__wbg_ptr);
23484
+ return ret !== 0;
23485
+ }
23486
+ /**
23487
+ * @param {number} period
23488
+ */
23489
+ constructor(period) {
23490
+ try {
23491
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
23492
+ wasm.swma_new(retptr, period);
23493
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
23494
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
23495
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
23496
+ if (r2) {
23497
+ throw takeObject(r1);
23498
+ }
23499
+ this.__wbg_ptr = r0;
23500
+ SWMAFinalization.register(this, this.__wbg_ptr, this);
23501
+ return this;
23502
+ } finally {
23503
+ wasm.__wbindgen_add_to_stack_pointer(16);
23504
+ }
23505
+ }
23506
+ reset() {
23507
+ wasm.swma_reset(this.__wbg_ptr);
23508
+ }
23509
+ /**
23510
+ * @param {number} value
23511
+ * @returns {number | undefined}
23512
+ */
23513
+ update(value) {
23514
+ try {
23515
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
23516
+ wasm.swma_update(retptr, this.__wbg_ptr, value);
23517
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
23518
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
23519
+ return r0 === 0 ? undefined : r2;
23520
+ } finally {
23521
+ wasm.__wbindgen_add_to_stack_pointer(16);
23522
+ }
23523
+ }
23524
+ /**
23525
+ * @returns {number}
23526
+ */
23527
+ warmupPeriod() {
23528
+ const ret = wasm.swma_warmupPeriod(this.__wbg_ptr);
23529
+ return ret >>> 0;
23530
+ }
23531
+ }
23532
+ if (Symbol.dispose) SWMA.prototype[Symbol.dispose] = SWMA.prototype.free;
23533
+
21933
23534
  export class SeasonalZScore {
21934
23535
  __destroy_into_raw() {
21935
23536
  const ptr = this.__wbg_ptr;
@@ -23103,6 +24704,99 @@ export class SpinningTop {
23103
24704
  }
23104
24705
  if (Symbol.dispose) SpinningTop.prototype[Symbol.dispose] = SpinningTop.prototype.free;
23105
24706
 
24707
+ export class SpreadAr1Coefficient {
24708
+ __destroy_into_raw() {
24709
+ const ptr = this.__wbg_ptr;
24710
+ this.__wbg_ptr = 0;
24711
+ SpreadAr1CoefficientFinalization.unregister(this);
24712
+ return ptr;
24713
+ }
24714
+ free() {
24715
+ const ptr = this.__destroy_into_raw();
24716
+ wasm.__wbg_spreadar1coefficient_free(ptr, 0);
24717
+ }
24718
+ /**
24719
+ * Batch over two equally-sized arrays. Returns one `f64` per
24720
+ * input position (`NaN` during warmup).
24721
+ * @param {Float64Array} x
24722
+ * @param {Float64Array} y
24723
+ * @returns {Float64Array}
24724
+ */
24725
+ batch(x, y) {
24726
+ try {
24727
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
24728
+ const ptr0 = passArrayF64ToWasm0(x, wasm.__wbindgen_export3);
24729
+ const len0 = WASM_VECTOR_LEN;
24730
+ const ptr1 = passArrayF64ToWasm0(y, wasm.__wbindgen_export3);
24731
+ const len1 = WASM_VECTOR_LEN;
24732
+ wasm.spreadar1coefficient_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
24733
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
24734
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
24735
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
24736
+ if (r2) {
24737
+ throw takeObject(r1);
24738
+ }
24739
+ return takeObject(r0);
24740
+ } finally {
24741
+ wasm.__wbindgen_add_to_stack_pointer(16);
24742
+ }
24743
+ }
24744
+ /**
24745
+ * @returns {boolean}
24746
+ */
24747
+ isReady() {
24748
+ const ret = wasm.spreadar1coefficient_isReady(this.__wbg_ptr);
24749
+ return ret !== 0;
24750
+ }
24751
+ /**
24752
+ * @param {number} period
24753
+ */
24754
+ constructor(period) {
24755
+ try {
24756
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
24757
+ wasm.spreadar1coefficient_new(retptr, period);
24758
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
24759
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
24760
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
24761
+ if (r2) {
24762
+ throw takeObject(r1);
24763
+ }
24764
+ this.__wbg_ptr = r0;
24765
+ SpreadAr1CoefficientFinalization.register(this, this.__wbg_ptr, this);
24766
+ return this;
24767
+ } finally {
24768
+ wasm.__wbindgen_add_to_stack_pointer(16);
24769
+ }
24770
+ }
24771
+ reset() {
24772
+ wasm.spreadar1coefficient_reset(this.__wbg_ptr);
24773
+ }
24774
+ /**
24775
+ * @param {number} x
24776
+ * @param {number} y
24777
+ * @returns {number | undefined}
24778
+ */
24779
+ update(x, y) {
24780
+ try {
24781
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
24782
+ wasm.spreadar1coefficient_update(retptr, this.__wbg_ptr, x, y);
24783
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
24784
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
24785
+ return r0 === 0 ? undefined : r2;
24786
+ } finally {
24787
+ wasm.__wbindgen_add_to_stack_pointer(16);
24788
+ }
24789
+ }
24790
+ /**
24791
+ * @returns {number}
24792
+ */
24793
+ warmupPeriod() {
24794
+ const ret = wasm.spreadar1coefficient_warmupPeriod(this.__wbg_ptr);
24795
+ return ret >>> 0;
24796
+ }
24797
+ }
24798
+ if (Symbol.dispose) SpreadAr1Coefficient.prototype[Symbol.dispose] = SpreadAr1Coefficient.prototype.free;
24799
+
23106
24800
  export class SpreadBollingerBands {
23107
24801
  __destroy_into_raw() {
23108
24802
  const ptr = this.__wbg_ptr;
@@ -27171,27 +28865,110 @@ export class TradeImbalance {
27171
28865
  __destroy_into_raw() {
27172
28866
  const ptr = this.__wbg_ptr;
27173
28867
  this.__wbg_ptr = 0;
27174
- TradeImbalanceFinalization.unregister(this);
28868
+ TradeImbalanceFinalization.unregister(this);
28869
+ return ptr;
28870
+ }
28871
+ free() {
28872
+ const ptr = this.__destroy_into_raw();
28873
+ wasm.__wbg_tradeimbalance_free(ptr, 0);
28874
+ }
28875
+ /**
28876
+ * @returns {boolean}
28877
+ */
28878
+ isReady() {
28879
+ const ret = wasm.tradeimbalance_isReady(this.__wbg_ptr);
28880
+ return ret !== 0;
28881
+ }
28882
+ /**
28883
+ * @param {number} window
28884
+ */
28885
+ constructor(window) {
28886
+ try {
28887
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
28888
+ wasm.tradeimbalance_new(retptr, window);
28889
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
28890
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
28891
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
28892
+ if (r2) {
28893
+ throw takeObject(r1);
28894
+ }
28895
+ this.__wbg_ptr = r0;
28896
+ TradeImbalanceFinalization.register(this, this.__wbg_ptr, this);
28897
+ return this;
28898
+ } finally {
28899
+ wasm.__wbindgen_add_to_stack_pointer(16);
28900
+ }
28901
+ }
28902
+ reset() {
28903
+ wasm.tradeimbalance_reset(this.__wbg_ptr);
28904
+ }
28905
+ /**
28906
+ * @param {number} price
28907
+ * @param {number} size
28908
+ * @param {boolean} is_buy
28909
+ * @returns {number | undefined}
28910
+ */
28911
+ update(price, size, is_buy) {
28912
+ try {
28913
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
28914
+ wasm.tradeimbalance_update(retptr, this.__wbg_ptr, price, size, is_buy);
28915
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
28916
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
28917
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
28918
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
28919
+ if (r5) {
28920
+ throw takeObject(r4);
28921
+ }
28922
+ return r0 === 0 ? undefined : r2;
28923
+ } finally {
28924
+ wasm.__wbindgen_add_to_stack_pointer(32);
28925
+ }
28926
+ }
28927
+ /**
28928
+ * @returns {number}
28929
+ */
28930
+ warmupPeriod() {
28931
+ const ret = wasm.tradeimbalance_warmupPeriod(this.__wbg_ptr);
28932
+ return ret >>> 0;
28933
+ }
28934
+ }
28935
+ if (Symbol.dispose) TradeImbalance.prototype[Symbol.dispose] = TradeImbalance.prototype.free;
28936
+
28937
+ export class TrendLabel {
28938
+ __destroy_into_raw() {
28939
+ const ptr = this.__wbg_ptr;
28940
+ this.__wbg_ptr = 0;
28941
+ TrendLabelFinalization.unregister(this);
27175
28942
  return ptr;
27176
28943
  }
27177
28944
  free() {
27178
28945
  const ptr = this.__destroy_into_raw();
27179
- wasm.__wbg_tradeimbalance_free(ptr, 0);
28946
+ wasm.__wbg_trendlabel_free(ptr, 0);
28947
+ }
28948
+ /**
28949
+ * @param {Float64Array} prices
28950
+ * @returns {Float64Array}
28951
+ */
28952
+ batch(prices) {
28953
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
28954
+ const len0 = WASM_VECTOR_LEN;
28955
+ const ret = wasm.trendlabel_batch(this.__wbg_ptr, ptr0, len0);
28956
+ return takeObject(ret);
27180
28957
  }
27181
28958
  /**
27182
28959
  * @returns {boolean}
27183
28960
  */
27184
28961
  isReady() {
27185
- const ret = wasm.tradeimbalance_isReady(this.__wbg_ptr);
28962
+ const ret = wasm.trendlabel_isReady(this.__wbg_ptr);
27186
28963
  return ret !== 0;
27187
28964
  }
27188
28965
  /**
27189
- * @param {number} window
28966
+ * @param {number} period
27190
28967
  */
27191
- constructor(window) {
28968
+ constructor(period) {
27192
28969
  try {
27193
28970
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
27194
- wasm.tradeimbalance_new(retptr, window);
28971
+ wasm.trendlabel_new(retptr, period);
27195
28972
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
27196
28973
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
27197
28974
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -27199,46 +28976,39 @@ export class TradeImbalance {
27199
28976
  throw takeObject(r1);
27200
28977
  }
27201
28978
  this.__wbg_ptr = r0;
27202
- TradeImbalanceFinalization.register(this, this.__wbg_ptr, this);
28979
+ TrendLabelFinalization.register(this, this.__wbg_ptr, this);
27203
28980
  return this;
27204
28981
  } finally {
27205
28982
  wasm.__wbindgen_add_to_stack_pointer(16);
27206
28983
  }
27207
28984
  }
27208
28985
  reset() {
27209
- wasm.tradeimbalance_reset(this.__wbg_ptr);
28986
+ wasm.trendlabel_reset(this.__wbg_ptr);
27210
28987
  }
27211
28988
  /**
27212
- * @param {number} price
27213
- * @param {number} size
27214
- * @param {boolean} is_buy
28989
+ * @param {number} value
27215
28990
  * @returns {number | undefined}
27216
28991
  */
27217
- update(price, size, is_buy) {
28992
+ update(value) {
27218
28993
  try {
27219
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
27220
- wasm.tradeimbalance_update(retptr, this.__wbg_ptr, price, size, is_buy);
28994
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
28995
+ wasm.trendlabel_update(retptr, this.__wbg_ptr, value);
27221
28996
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
27222
28997
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
27223
- var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
27224
- var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
27225
- if (r5) {
27226
- throw takeObject(r4);
27227
- }
27228
28998
  return r0 === 0 ? undefined : r2;
27229
28999
  } finally {
27230
- wasm.__wbindgen_add_to_stack_pointer(32);
29000
+ wasm.__wbindgen_add_to_stack_pointer(16);
27231
29001
  }
27232
29002
  }
27233
29003
  /**
27234
29004
  * @returns {number}
27235
29005
  */
27236
29006
  warmupPeriod() {
27237
- const ret = wasm.tradeimbalance_warmupPeriod(this.__wbg_ptr);
29007
+ const ret = wasm.trendlabel_warmupPeriod(this.__wbg_ptr);
27238
29008
  return ret >>> 0;
27239
29009
  }
27240
29010
  }
27241
- if (Symbol.dispose) TradeImbalance.prototype[Symbol.dispose] = TradeImbalance.prototype.free;
29011
+ if (Symbol.dispose) TrendLabel.prototype[Symbol.dispose] = TrendLabel.prototype.free;
27242
29012
 
27243
29013
  export class TreynorRatio {
27244
29014
  __destroy_into_raw() {
@@ -29846,6 +31616,80 @@ export class Vortex {
29846
31616
  }
29847
31617
  if (Symbol.dispose) Vortex.prototype[Symbol.dispose] = Vortex.prototype.free;
29848
31618
 
31619
+ export class Vpin {
31620
+ __destroy_into_raw() {
31621
+ const ptr = this.__wbg_ptr;
31622
+ this.__wbg_ptr = 0;
31623
+ VpinFinalization.unregister(this);
31624
+ return ptr;
31625
+ }
31626
+ free() {
31627
+ const ptr = this.__destroy_into_raw();
31628
+ wasm.__wbg_vpin_free(ptr, 0);
31629
+ }
31630
+ /**
31631
+ * @returns {boolean}
31632
+ */
31633
+ isReady() {
31634
+ const ret = wasm.vpin_isReady(this.__wbg_ptr);
31635
+ return ret !== 0;
31636
+ }
31637
+ /**
31638
+ * @param {number} bucket_volume
31639
+ * @param {number} num_buckets
31640
+ */
31641
+ constructor(bucket_volume, num_buckets) {
31642
+ try {
31643
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
31644
+ wasm.vpin_new(retptr, bucket_volume, num_buckets);
31645
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
31646
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
31647
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
31648
+ if (r2) {
31649
+ throw takeObject(r1);
31650
+ }
31651
+ this.__wbg_ptr = r0;
31652
+ VpinFinalization.register(this, this.__wbg_ptr, this);
31653
+ return this;
31654
+ } finally {
31655
+ wasm.__wbindgen_add_to_stack_pointer(16);
31656
+ }
31657
+ }
31658
+ reset() {
31659
+ wasm.vpin_reset(this.__wbg_ptr);
31660
+ }
31661
+ /**
31662
+ * @param {number} price
31663
+ * @param {number} size
31664
+ * @param {boolean} is_buy
31665
+ * @returns {number | undefined}
31666
+ */
31667
+ update(price, size, is_buy) {
31668
+ try {
31669
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
31670
+ wasm.vpin_update(retptr, this.__wbg_ptr, price, size, is_buy);
31671
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
31672
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
31673
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
31674
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
31675
+ if (r5) {
31676
+ throw takeObject(r4);
31677
+ }
31678
+ return r0 === 0 ? undefined : r2;
31679
+ } finally {
31680
+ wasm.__wbindgen_add_to_stack_pointer(32);
31681
+ }
31682
+ }
31683
+ /**
31684
+ * @returns {number}
31685
+ */
31686
+ warmupPeriod() {
31687
+ const ret = wasm.vpin_warmupPeriod(this.__wbg_ptr);
31688
+ return ret >>> 0;
31689
+ }
31690
+ }
31691
+ if (Symbol.dispose) Vpin.prototype[Symbol.dispose] = Vpin.prototype.free;
31692
+
29849
31693
  export class VwapStdDevBands {
29850
31694
  __destroy_into_raw() {
29851
31695
  const ptr = this.__wbg_ptr;
@@ -30299,6 +32143,82 @@ export class WeightedClose {
30299
32143
  }
30300
32144
  if (Symbol.dispose) WeightedClose.prototype[Symbol.dispose] = WeightedClose.prototype.free;
30301
32145
 
32146
+ export class WickRatio {
32147
+ __destroy_into_raw() {
32148
+ const ptr = this.__wbg_ptr;
32149
+ this.__wbg_ptr = 0;
32150
+ WickRatioFinalization.unregister(this);
32151
+ return ptr;
32152
+ }
32153
+ free() {
32154
+ const ptr = this.__destroy_into_raw();
32155
+ wasm.__wbg_wickratio_free(ptr, 0);
32156
+ }
32157
+ /**
32158
+ * @param {Float64Array} open
32159
+ * @param {Float64Array} high
32160
+ * @param {Float64Array} low
32161
+ * @param {Float64Array} close
32162
+ * @returns {Float64Array}
32163
+ */
32164
+ batch(open, high, low, close) {
32165
+ try {
32166
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
32167
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
32168
+ const len0 = WASM_VECTOR_LEN;
32169
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
32170
+ const len1 = WASM_VECTOR_LEN;
32171
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
32172
+ const len2 = WASM_VECTOR_LEN;
32173
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
32174
+ const len3 = WASM_VECTOR_LEN;
32175
+ wasm.wickratio_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
32176
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
32177
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
32178
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
32179
+ if (r2) {
32180
+ throw takeObject(r1);
32181
+ }
32182
+ return takeObject(r0);
32183
+ } finally {
32184
+ wasm.__wbindgen_add_to_stack_pointer(16);
32185
+ }
32186
+ }
32187
+ constructor() {
32188
+ const ret = wasm.wickratio_new();
32189
+ this.__wbg_ptr = ret;
32190
+ WickRatioFinalization.register(this, this.__wbg_ptr, this);
32191
+ return this;
32192
+ }
32193
+ reset() {
32194
+ wasm.wickratio_reset(this.__wbg_ptr);
32195
+ }
32196
+ /**
32197
+ * @param {number} open
32198
+ * @param {number} high
32199
+ * @param {number} low
32200
+ * @param {number} close
32201
+ * @returns {number | undefined}
32202
+ */
32203
+ update(open, high, low, close) {
32204
+ try {
32205
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
32206
+ wasm.wickratio_update(retptr, this.__wbg_ptr, open, high, low, close);
32207
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
32208
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
32209
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
32210
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
32211
+ if (r5) {
32212
+ throw takeObject(r4);
32213
+ }
32214
+ return r0 === 0 ? undefined : r2;
32215
+ } finally {
32216
+ wasm.__wbindgen_add_to_stack_pointer(32);
32217
+ }
32218
+ }
32219
+ }
32220
+ if (Symbol.dispose) WickRatio.prototype[Symbol.dispose] = WickRatio.prototype.free;
32221
+
30302
32222
  export class WilliamsAD {
30303
32223
  __destroy_into_raw() {
30304
32224
  const ptr = this.__wbg_ptr;
@@ -30555,6 +32475,82 @@ export class WilliamsR {
30555
32475
  }
30556
32476
  if (Symbol.dispose) WilliamsR.prototype[Symbol.dispose] = WilliamsR.prototype.free;
30557
32477
 
32478
+ export class WinRate {
32479
+ __destroy_into_raw() {
32480
+ const ptr = this.__wbg_ptr;
32481
+ this.__wbg_ptr = 0;
32482
+ WinRateFinalization.unregister(this);
32483
+ return ptr;
32484
+ }
32485
+ free() {
32486
+ const ptr = this.__destroy_into_raw();
32487
+ wasm.__wbg_winrate_free(ptr, 0);
32488
+ }
32489
+ /**
32490
+ * @param {Float64Array} prices
32491
+ * @returns {Float64Array}
32492
+ */
32493
+ batch(prices) {
32494
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
32495
+ const len0 = WASM_VECTOR_LEN;
32496
+ const ret = wasm.winrate_batch(this.__wbg_ptr, ptr0, len0);
32497
+ return takeObject(ret);
32498
+ }
32499
+ /**
32500
+ * @returns {boolean}
32501
+ */
32502
+ isReady() {
32503
+ const ret = wasm.winrate_isReady(this.__wbg_ptr);
32504
+ return ret !== 0;
32505
+ }
32506
+ /**
32507
+ * @param {number} period
32508
+ */
32509
+ constructor(period) {
32510
+ try {
32511
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
32512
+ wasm.winrate_new(retptr, period);
32513
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
32514
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
32515
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
32516
+ if (r2) {
32517
+ throw takeObject(r1);
32518
+ }
32519
+ this.__wbg_ptr = r0;
32520
+ WinRateFinalization.register(this, this.__wbg_ptr, this);
32521
+ return this;
32522
+ } finally {
32523
+ wasm.__wbindgen_add_to_stack_pointer(16);
32524
+ }
32525
+ }
32526
+ reset() {
32527
+ wasm.winrate_reset(this.__wbg_ptr);
32528
+ }
32529
+ /**
32530
+ * @param {number} value
32531
+ * @returns {number | undefined}
32532
+ */
32533
+ update(value) {
32534
+ try {
32535
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
32536
+ wasm.winrate_update(retptr, this.__wbg_ptr, value);
32537
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
32538
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
32539
+ return r0 === 0 ? undefined : r2;
32540
+ } finally {
32541
+ wasm.__wbindgen_add_to_stack_pointer(16);
32542
+ }
32543
+ }
32544
+ /**
32545
+ * @returns {number}
32546
+ */
32547
+ warmupPeriod() {
32548
+ const ret = wasm.winrate_warmupPeriod(this.__wbg_ptr);
32549
+ return ret >>> 0;
32550
+ }
32551
+ }
32552
+ if (Symbol.dispose) WinRate.prototype[Symbol.dispose] = WinRate.prototype.free;
32553
+
30558
32554
  export class WoodiePivots {
30559
32555
  __destroy_into_raw() {
30560
32556
  const ptr = this.__wbg_ptr;
@@ -31279,6 +33275,9 @@ const AdVolumeLineFinalization = (typeof FinalizationRegistry === 'undefined')
31279
33275
  const AdaptiveCycleFinalization = (typeof FinalizationRegistry === 'undefined')
31280
33276
  ? { register: () => {}, unregister: () => {} }
31281
33277
  : new FinalizationRegistry(ptr => wasm.__wbg_adaptivecycle_free(ptr, 1));
33278
+ const AdaptiveLaguerreFinalization = (typeof FinalizationRegistry === 'undefined')
33279
+ ? { register: () => {}, unregister: () => {} }
33280
+ : new FinalizationRegistry(ptr => wasm.__wbg_adaptivelaguerre_free(ptr, 1));
31282
33281
  const ADLFinalization = (typeof FinalizationRegistry === 'undefined')
31283
33282
  ? { register: () => {}, unregister: () => {} }
31284
33283
  : new FinalizationRegistry(ptr => wasm.__wbg_adl_free(ptr, 1));
@@ -31306,6 +33305,9 @@ const ALMAFinalization = (typeof FinalizationRegistry === 'undefined')
31306
33305
  const AlphaFinalization = (typeof FinalizationRegistry === 'undefined')
31307
33306
  ? { register: () => {}, unregister: () => {} }
31308
33307
  : new FinalizationRegistry(ptr => wasm.__wbg_alpha_free(ptr, 1));
33308
+ const AmihudIlliquidityFinalization = (typeof FinalizationRegistry === 'undefined')
33309
+ ? { register: () => {}, unregister: () => {} }
33310
+ : new FinalizationRegistry(ptr => wasm.__wbg_amihudilliquidity_free(ptr, 1));
31309
33311
  const AnchoredRSIFinalization = (typeof FinalizationRegistry === 'undefined')
31310
33312
  ? { register: () => {}, unregister: () => {} }
31311
33313
  : new FinalizationRegistry(ptr => wasm.__wbg_anchoredrsi_free(ptr, 1));
@@ -31369,6 +33371,9 @@ const BetaFinalization = (typeof FinalizationRegistry === 'undefined')
31369
33371
  const BetaNeutralSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
31370
33372
  ? { register: () => {}, unregister: () => {} }
31371
33373
  : new FinalizationRegistry(ptr => wasm.__wbg_betaneutralspread_free(ptr, 1));
33374
+ const BodySizePctFinalization = (typeof FinalizationRegistry === 'undefined')
33375
+ ? { register: () => {}, unregister: () => {} }
33376
+ : new FinalizationRegistry(ptr => wasm.__wbg_bodysizepct_free(ptr, 1));
31372
33377
  const BollingerBandwidthFinalization = (typeof FinalizationRegistry === 'undefined')
31373
33378
  ? { register: () => {}, unregister: () => {} }
31374
33379
  : new FinalizationRegistry(ptr => wasm.__wbg_bollingerbandwidth_free(ptr, 1));
@@ -31423,6 +33428,9 @@ const ChoppinessIndexFinalization = (typeof FinalizationRegistry === 'undefined'
31423
33428
  const ClassicPivotsFinalization = (typeof FinalizationRegistry === 'undefined')
31424
33429
  ? { register: () => {}, unregister: () => {} }
31425
33430
  : new FinalizationRegistry(ptr => wasm.__wbg_classicpivots_free(ptr, 1));
33431
+ const CloseVsOpenFinalization = (typeof FinalizationRegistry === 'undefined')
33432
+ ? { register: () => {}, unregister: () => {} }
33433
+ : new FinalizationRegistry(ptr => wasm.__wbg_closevsopen_free(ptr, 1));
31426
33434
  const ClosingMarubozuFinalization = (typeof FinalizationRegistry === 'undefined')
31427
33435
  ? { register: () => {}, unregister: () => {} }
31428
33436
  : new FinalizationRegistry(ptr => wasm.__wbg_closingmarubozu_free(ptr, 1));
@@ -31537,6 +33545,9 @@ const EffectiveSpreadFinalization = (typeof FinalizationRegistry === 'undefined'
31537
33545
  const EhlersStochasticFinalization = (typeof FinalizationRegistry === 'undefined')
31538
33546
  ? { register: () => {}, unregister: () => {} }
31539
33547
  : new FinalizationRegistry(ptr => wasm.__wbg_ehlersstochastic_free(ptr, 1));
33548
+ const EHMAFinalization = (typeof FinalizationRegistry === 'undefined')
33549
+ ? { register: () => {}, unregister: () => {} }
33550
+ : new FinalizationRegistry(ptr => wasm.__wbg_ehma_free(ptr, 1));
31540
33551
  const ElderImpulseFinalization = (typeof FinalizationRegistry === 'undefined')
31541
33552
  ? { register: () => {}, unregister: () => {} }
31542
33553
  : new FinalizationRegistry(ptr => wasm.__wbg_elderimpulse_free(ptr, 1));
@@ -31555,6 +33566,9 @@ const EveningDojiStarFinalization = (typeof FinalizationRegistry === 'undefined'
31555
33566
  const EVWMAFinalization = (typeof FinalizationRegistry === 'undefined')
31556
33567
  ? { register: () => {}, unregister: () => {} }
31557
33568
  : new FinalizationRegistry(ptr => wasm.__wbg_evwma_free(ptr, 1));
33569
+ const ExpectancyFinalization = (typeof FinalizationRegistry === 'undefined')
33570
+ ? { register: () => {}, unregister: () => {} }
33571
+ : new FinalizationRegistry(ptr => wasm.__wbg_expectancy_free(ptr, 1));
31558
33572
  const FallingThreeMethodsFinalization = (typeof FinalizationRegistry === 'undefined')
31559
33573
  ? { register: () => {}, unregister: () => {} }
31560
33574
  : new FinalizationRegistry(ptr => wasm.__wbg_fallingthreemethods_free(ptr, 1));
@@ -31630,6 +33644,12 @@ const GarmanKlassVolatilityFinalization = (typeof FinalizationRegistry === 'unde
31630
33644
  const GartleyFinalization = (typeof FinalizationRegistry === 'undefined')
31631
33645
  ? { register: () => {}, unregister: () => {} }
31632
33646
  : new FinalizationRegistry(ptr => wasm.__wbg_gartley_free(ptr, 1));
33647
+ const GDFinalization = (typeof FinalizationRegistry === 'undefined')
33648
+ ? { register: () => {}, unregister: () => {} }
33649
+ : new FinalizationRegistry(ptr => wasm.__wbg_gd_free(ptr, 1));
33650
+ const GMAFinalization = (typeof FinalizationRegistry === 'undefined')
33651
+ ? { register: () => {}, unregister: () => {} }
33652
+ : new FinalizationRegistry(ptr => wasm.__wbg_gma_free(ptr, 1));
31633
33653
  const GoldenPocketFinalization = (typeof FinalizationRegistry === 'undefined')
31634
33654
  ? { register: () => {}, unregister: () => {} }
31635
33655
  : new FinalizationRegistry(ptr => wasm.__wbg_goldenpocket_free(ptr, 1));
@@ -31660,6 +33680,9 @@ const HiLoActivatorFinalization = (typeof FinalizationRegistry === 'undefined')
31660
33680
  const HighLowIndexFinalization = (typeof FinalizationRegistry === 'undefined')
31661
33681
  ? { register: () => {}, unregister: () => {} }
31662
33682
  : new FinalizationRegistry(ptr => wasm.__wbg_highlowindex_free(ptr, 1));
33683
+ const HighLowRangeFinalization = (typeof FinalizationRegistry === 'undefined')
33684
+ ? { register: () => {}, unregister: () => {} }
33685
+ : new FinalizationRegistry(ptr => wasm.__wbg_highlowrange_free(ptr, 1));
31663
33686
  const HighWaveFinalization = (typeof FinalizationRegistry === 'undefined')
31664
33687
  ? { register: () => {}, unregister: () => {} }
31665
33688
  : new FinalizationRegistry(ptr => wasm.__wbg_highwave_free(ptr, 1));
@@ -31678,6 +33701,9 @@ const HistoricalVolatilityFinalization = (typeof FinalizationRegistry === 'undef
31678
33701
  const HMAFinalization = (typeof FinalizationRegistry === 'undefined')
31679
33702
  ? { register: () => {}, unregister: () => {} }
31680
33703
  : new FinalizationRegistry(ptr => wasm.__wbg_hma_free(ptr, 1));
33704
+ const HoltWintersFinalization = (typeof FinalizationRegistry === 'undefined')
33705
+ ? { register: () => {}, unregister: () => {} }
33706
+ : new FinalizationRegistry(ptr => wasm.__wbg_holtwinters_free(ptr, 1));
31681
33707
  const HomingPigeonFinalization = (typeof FinalizationRegistry === 'undefined')
31682
33708
  ? { register: () => {}, unregister: () => {} }
31683
33709
  : new FinalizationRegistry(ptr => wasm.__wbg_homingpigeon_free(ptr, 1));
@@ -31729,6 +33755,9 @@ const InvertedHammerFinalization = (typeof FinalizationRegistry === 'undefined')
31729
33755
  const JMAFinalization = (typeof FinalizationRegistry === 'undefined')
31730
33756
  ? { register: () => {}, unregister: () => {} }
31731
33757
  : new FinalizationRegistry(ptr => wasm.__wbg_jma_free(ptr, 1));
33758
+ const JumpIndicatorFinalization = (typeof FinalizationRegistry === 'undefined')
33759
+ ? { register: () => {}, unregister: () => {} }
33760
+ : new FinalizationRegistry(ptr => wasm.__wbg_jumpindicator_free(ptr, 1));
31732
33761
  const KagiBarsFinalization = (typeof FinalizationRegistry === 'undefined')
31733
33762
  ? { register: () => {}, unregister: () => {} }
31734
33763
  : new FinalizationRegistry(ptr => wasm.__wbg_kagibars_free(ptr, 1));
@@ -31789,6 +33818,9 @@ const LinearRegressionFinalization = (typeof FinalizationRegistry === 'undefined
31789
33818
  const LiquidationFeaturesFinalization = (typeof FinalizationRegistry === 'undefined')
31790
33819
  ? { register: () => {}, unregister: () => {} }
31791
33820
  : new FinalizationRegistry(ptr => wasm.__wbg_liquidationfeatures_free(ptr, 1));
33821
+ const LogReturnFinalization = (typeof FinalizationRegistry === 'undefined')
33822
+ ? { register: () => {}, unregister: () => {} }
33823
+ : new FinalizationRegistry(ptr => wasm.__wbg_logreturn_free(ptr, 1));
31792
33824
  const LongLeggedDojiFinalization = (typeof FinalizationRegistry === 'undefined')
31793
33825
  ? { register: () => {}, unregister: () => {} }
31794
33826
  : new FinalizationRegistry(ptr => wasm.__wbg_longleggeddoji_free(ptr, 1));
@@ -31843,6 +33875,9 @@ const McGinleyDynamicFinalization = (typeof FinalizationRegistry === 'undefined'
31843
33875
  const MedianAbsoluteDeviationFinalization = (typeof FinalizationRegistry === 'undefined')
31844
33876
  ? { register: () => {}, unregister: () => {} }
31845
33877
  : new FinalizationRegistry(ptr => wasm.__wbg_medianabsolutedeviation_free(ptr, 1));
33878
+ const MedianMAFinalization = (typeof FinalizationRegistry === 'undefined')
33879
+ ? { register: () => {}, unregister: () => {} }
33880
+ : new FinalizationRegistry(ptr => wasm.__wbg_medianma_free(ptr, 1));
31846
33881
  const MedianPriceFinalization = (typeof FinalizationRegistry === 'undefined')
31847
33882
  ? { register: () => {}, unregister: () => {} }
31848
33883
  : new FinalizationRegistry(ptr => wasm.__wbg_medianprice_free(ptr, 1));
@@ -31915,6 +33950,9 @@ const OrderBookImbalanceTop1Finalization = (typeof FinalizationRegistry === 'und
31915
33950
  const OrderBookImbalanceTopNFinalization = (typeof FinalizationRegistry === 'undefined')
31916
33951
  ? { register: () => {}, unregister: () => {} }
31917
33952
  : new FinalizationRegistry(ptr => wasm.__wbg_orderbookimbalancetopn_free(ptr, 1));
33953
+ const OrderFlowImbalanceFinalization = (typeof FinalizationRegistry === 'undefined')
33954
+ ? { register: () => {}, unregister: () => {} }
33955
+ : new FinalizationRegistry(ptr => wasm.__wbg_orderflowimbalance_free(ptr, 1));
31918
33956
  const OuHalfLifeFinalization = (typeof FinalizationRegistry === 'undefined')
31919
33957
  ? { register: () => {}, unregister: () => {} }
31920
33958
  : new FinalizationRegistry(ptr => wasm.__wbg_ouhalflife_free(ptr, 1));
@@ -31987,12 +34025,18 @@ const RSquaredFinalization = (typeof FinalizationRegistry === 'undefined')
31987
34025
  const RealizedSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
31988
34026
  ? { register: () => {}, unregister: () => {} }
31989
34027
  : new FinalizationRegistry(ptr => wasm.__wbg_realizedspread_free(ptr, 1));
34028
+ const RealizedVolatilityFinalization = (typeof FinalizationRegistry === 'undefined')
34029
+ ? { register: () => {}, unregister: () => {} }
34030
+ : new FinalizationRegistry(ptr => wasm.__wbg_realizedvolatility_free(ptr, 1));
31990
34031
  const RecoveryFactorFinalization = (typeof FinalizationRegistry === 'undefined')
31991
34032
  ? { register: () => {}, unregister: () => {} }
31992
34033
  : new FinalizationRegistry(ptr => wasm.__wbg_recoveryfactor_free(ptr, 1));
31993
34034
  const RectangleRangeFinalization = (typeof FinalizationRegistry === 'undefined')
31994
34035
  ? { register: () => {}, unregister: () => {} }
31995
34036
  : new FinalizationRegistry(ptr => wasm.__wbg_rectanglerange_free(ptr, 1));
34037
+ const RegimeLabelFinalization = (typeof FinalizationRegistry === 'undefined')
34038
+ ? { register: () => {}, unregister: () => {} }
34039
+ : new FinalizationRegistry(ptr => wasm.__wbg_regimelabel_free(ptr, 1));
31996
34040
  const RelativeStrengthABFinalization = (typeof FinalizationRegistry === 'undefined')
31997
34041
  ? { register: () => {}, unregister: () => {} }
31998
34042
  : new FinalizationRegistry(ptr => wasm.__wbg_relativestrengthab_free(ptr, 1));
@@ -32023,12 +34067,24 @@ const ROCR100Finalization = (typeof FinalizationRegistry === 'undefined')
32023
34067
  const RogersSatchellVolatilityFinalization = (typeof FinalizationRegistry === 'undefined')
32024
34068
  ? { register: () => {}, unregister: () => {} }
32025
34069
  : new FinalizationRegistry(ptr => wasm.__wbg_rogerssatchellvolatility_free(ptr, 1));
34070
+ const RollMeasureFinalization = (typeof FinalizationRegistry === 'undefined')
34071
+ ? { register: () => {}, unregister: () => {} }
34072
+ : new FinalizationRegistry(ptr => wasm.__wbg_rollmeasure_free(ptr, 1));
32026
34073
  const RollingCorrelationFinalization = (typeof FinalizationRegistry === 'undefined')
32027
34074
  ? { register: () => {}, unregister: () => {} }
32028
34075
  : new FinalizationRegistry(ptr => wasm.__wbg_rollingcorrelation_free(ptr, 1));
32029
34076
  const RollingCovarianceFinalization = (typeof FinalizationRegistry === 'undefined')
32030
34077
  ? { register: () => {}, unregister: () => {} }
32031
34078
  : new FinalizationRegistry(ptr => wasm.__wbg_rollingcovariance_free(ptr, 1));
34079
+ const RollingIqrFinalization = (typeof FinalizationRegistry === 'undefined')
34080
+ ? { register: () => {}, unregister: () => {} }
34081
+ : new FinalizationRegistry(ptr => wasm.__wbg_rollingiqr_free(ptr, 1));
34082
+ const RollingPercentileRankFinalization = (typeof FinalizationRegistry === 'undefined')
34083
+ ? { register: () => {}, unregister: () => {} }
34084
+ : new FinalizationRegistry(ptr => wasm.__wbg_rollingpercentilerank_free(ptr, 1));
34085
+ const RollingQuantileFinalization = (typeof FinalizationRegistry === 'undefined')
34086
+ ? { register: () => {}, unregister: () => {} }
34087
+ : new FinalizationRegistry(ptr => wasm.__wbg_rollingquantile_free(ptr, 1));
32032
34088
  const RollingVWAPFinalization = (typeof FinalizationRegistry === 'undefined')
32033
34089
  ? { register: () => {}, unregister: () => {} }
32034
34090
  : new FinalizationRegistry(ptr => wasm.__wbg_rollingvwap_free(ptr, 1));
@@ -32083,6 +34139,9 @@ const SignedVolumeFinalization = (typeof FinalizationRegistry === 'undefined')
32083
34139
  const SineWaveFinalization = (typeof FinalizationRegistry === 'undefined')
32084
34140
  ? { register: () => {}, unregister: () => {} }
32085
34141
  : new FinalizationRegistry(ptr => wasm.__wbg_sinewave_free(ptr, 1));
34142
+ const SWMAFinalization = (typeof FinalizationRegistry === 'undefined')
34143
+ ? { register: () => {}, unregister: () => {} }
34144
+ : new FinalizationRegistry(ptr => wasm.__wbg_swma_free(ptr, 1));
32086
34145
  const SkewnessFinalization = (typeof FinalizationRegistry === 'undefined')
32087
34146
  ? { register: () => {}, unregister: () => {} }
32088
34147
  : new FinalizationRegistry(ptr => wasm.__wbg_skewness_free(ptr, 1));
@@ -32104,6 +34163,9 @@ const SpearmanCorrelationFinalization = (typeof FinalizationRegistry === 'undefi
32104
34163
  const SpinningTopFinalization = (typeof FinalizationRegistry === 'undefined')
32105
34164
  ? { register: () => {}, unregister: () => {} }
32106
34165
  : new FinalizationRegistry(ptr => wasm.__wbg_spinningtop_free(ptr, 1));
34166
+ const SpreadAr1CoefficientFinalization = (typeof FinalizationRegistry === 'undefined')
34167
+ ? { register: () => {}, unregister: () => {} }
34168
+ : new FinalizationRegistry(ptr => wasm.__wbg_spreadar1coefficient_free(ptr, 1));
32107
34169
  const SpreadBollingerBandsFinalization = (typeof FinalizationRegistry === 'undefined')
32108
34170
  ? { register: () => {}, unregister: () => {} }
32109
34171
  : new FinalizationRegistry(ptr => wasm.__wbg_spreadbollingerbands_free(ptr, 1));
@@ -32236,6 +34298,9 @@ const TpoProfileFinalization = (typeof FinalizationRegistry === 'undefined')
32236
34298
  const TradeImbalanceFinalization = (typeof FinalizationRegistry === 'undefined')
32237
34299
  ? { register: () => {}, unregister: () => {} }
32238
34300
  : new FinalizationRegistry(ptr => wasm.__wbg_tradeimbalance_free(ptr, 1));
34301
+ const TrendLabelFinalization = (typeof FinalizationRegistry === 'undefined')
34302
+ ? { register: () => {}, unregister: () => {} }
34303
+ : new FinalizationRegistry(ptr => wasm.__wbg_trendlabel_free(ptr, 1));
32239
34304
  const TreynorRatioFinalization = (typeof FinalizationRegistry === 'undefined')
32240
34305
  ? { register: () => {}, unregister: () => {} }
32241
34306
  : new FinalizationRegistry(ptr => wasm.__wbg_treynorratio_free(ptr, 1));
@@ -32335,6 +34400,9 @@ const VolumeProfileFinalization = (typeof FinalizationRegistry === 'undefined')
32335
34400
  const VortexFinalization = (typeof FinalizationRegistry === 'undefined')
32336
34401
  ? { register: () => {}, unregister: () => {} }
32337
34402
  : new FinalizationRegistry(ptr => wasm.__wbg_vortex_free(ptr, 1));
34403
+ const VpinFinalization = (typeof FinalizationRegistry === 'undefined')
34404
+ ? { register: () => {}, unregister: () => {} }
34405
+ : new FinalizationRegistry(ptr => wasm.__wbg_vpin_free(ptr, 1));
32338
34406
  const VWAPFinalization = (typeof FinalizationRegistry === 'undefined')
32339
34407
  ? { register: () => {}, unregister: () => {} }
32340
34408
  : new FinalizationRegistry(ptr => wasm.__wbg_vwap_free(ptr, 1));
@@ -32356,12 +34424,18 @@ const WedgeFinalization = (typeof FinalizationRegistry === 'undefined')
32356
34424
  const WeightedCloseFinalization = (typeof FinalizationRegistry === 'undefined')
32357
34425
  ? { register: () => {}, unregister: () => {} }
32358
34426
  : new FinalizationRegistry(ptr => wasm.__wbg_weightedclose_free(ptr, 1));
34427
+ const WickRatioFinalization = (typeof FinalizationRegistry === 'undefined')
34428
+ ? { register: () => {}, unregister: () => {} }
34429
+ : new FinalizationRegistry(ptr => wasm.__wbg_wickratio_free(ptr, 1));
32359
34430
  const WilliamsFractalsFinalization = (typeof FinalizationRegistry === 'undefined')
32360
34431
  ? { register: () => {}, unregister: () => {} }
32361
34432
  : new FinalizationRegistry(ptr => wasm.__wbg_williamsfractals_free(ptr, 1));
32362
34433
  const WilliamsRFinalization = (typeof FinalizationRegistry === 'undefined')
32363
34434
  ? { register: () => {}, unregister: () => {} }
32364
34435
  : new FinalizationRegistry(ptr => wasm.__wbg_williamsr_free(ptr, 1));
34436
+ const WinRateFinalization = (typeof FinalizationRegistry === 'undefined')
34437
+ ? { register: () => {}, unregister: () => {} }
34438
+ : new FinalizationRegistry(ptr => wasm.__wbg_winrate_free(ptr, 1));
32365
34439
  const WMAFinalization = (typeof FinalizationRegistry === 'undefined')
32366
34440
  ? { register: () => {}, unregister: () => {} }
32367
34441
  : new FinalizationRegistry(ptr => wasm.__wbg_wma_free(ptr, 1));