wickra-wasm 0.4.1 → 0.4.3

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
@@ -3548,6 +3548,65 @@ export class Coppock {
3548
3548
  }
3549
3549
  if (Symbol.dispose) Coppock.prototype[Symbol.dispose] = Coppock.prototype.free;
3550
3550
 
3551
+ export class CumulativeVolumeDelta {
3552
+ __destroy_into_raw() {
3553
+ const ptr = this.__wbg_ptr;
3554
+ this.__wbg_ptr = 0;
3555
+ CumulativeVolumeDeltaFinalization.unregister(this);
3556
+ return ptr;
3557
+ }
3558
+ free() {
3559
+ const ptr = this.__destroy_into_raw();
3560
+ wasm.__wbg_cumulativevolumedelta_free(ptr, 0);
3561
+ }
3562
+ /**
3563
+ * @returns {boolean}
3564
+ */
3565
+ isReady() {
3566
+ const ret = wasm.cumulativevolumedelta_isReady(this.__wbg_ptr);
3567
+ return ret !== 0;
3568
+ }
3569
+ constructor() {
3570
+ const ret = wasm.cumulativevolumedelta_new();
3571
+ this.__wbg_ptr = ret;
3572
+ CumulativeVolumeDeltaFinalization.register(this, this.__wbg_ptr, this);
3573
+ return this;
3574
+ }
3575
+ reset() {
3576
+ wasm.cumulativevolumedelta_reset(this.__wbg_ptr);
3577
+ }
3578
+ /**
3579
+ * @param {number} price
3580
+ * @param {number} size
3581
+ * @param {boolean} is_buy
3582
+ * @returns {number | undefined}
3583
+ */
3584
+ update(price, size, is_buy) {
3585
+ try {
3586
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
3587
+ wasm.cumulativevolumedelta_update(retptr, this.__wbg_ptr, price, size, is_buy);
3588
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3589
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
3590
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
3591
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
3592
+ if (r5) {
3593
+ throw takeObject(r4);
3594
+ }
3595
+ return r0 === 0 ? undefined : r2;
3596
+ } finally {
3597
+ wasm.__wbindgen_add_to_stack_pointer(32);
3598
+ }
3599
+ }
3600
+ /**
3601
+ * @returns {number}
3602
+ */
3603
+ warmupPeriod() {
3604
+ const ret = wasm.cumulativevolumedelta_warmupPeriod(this.__wbg_ptr);
3605
+ return ret >>> 0;
3606
+ }
3607
+ }
3608
+ if (Symbol.dispose) CumulativeVolumeDelta.prototype[Symbol.dispose] = CumulativeVolumeDelta.prototype.free;
3609
+
3551
3610
  export class CyberneticCycle {
3552
3611
  __destroy_into_raw() {
3553
3612
  const ptr = this.__wbg_ptr;
@@ -4108,6 +4167,74 @@ export class DemarkPivots {
4108
4167
  }
4109
4168
  if (Symbol.dispose) DemarkPivots.prototype[Symbol.dispose] = DemarkPivots.prototype.free;
4110
4169
 
4170
+ export class DepthSlope {
4171
+ __destroy_into_raw() {
4172
+ const ptr = this.__wbg_ptr;
4173
+ this.__wbg_ptr = 0;
4174
+ DepthSlopeFinalization.unregister(this);
4175
+ return ptr;
4176
+ }
4177
+ free() {
4178
+ const ptr = this.__destroy_into_raw();
4179
+ wasm.__wbg_depthslope_free(ptr, 0);
4180
+ }
4181
+ /**
4182
+ * @returns {boolean}
4183
+ */
4184
+ isReady() {
4185
+ const ret = wasm.depthslope_isReady(this.__wbg_ptr);
4186
+ return ret !== 0;
4187
+ }
4188
+ constructor() {
4189
+ const ret = wasm.depthslope_new();
4190
+ this.__wbg_ptr = ret;
4191
+ DepthSlopeFinalization.register(this, this.__wbg_ptr, this);
4192
+ return this;
4193
+ }
4194
+ reset() {
4195
+ wasm.depthslope_reset(this.__wbg_ptr);
4196
+ }
4197
+ /**
4198
+ * @param {Float64Array} bid_px
4199
+ * @param {Float64Array} bid_sz
4200
+ * @param {Float64Array} ask_px
4201
+ * @param {Float64Array} ask_sz
4202
+ * @returns {number | undefined}
4203
+ */
4204
+ update(bid_px, bid_sz, ask_px, ask_sz) {
4205
+ try {
4206
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
4207
+ const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
4208
+ const len0 = WASM_VECTOR_LEN;
4209
+ const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
4210
+ const len1 = WASM_VECTOR_LEN;
4211
+ const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
4212
+ const len2 = WASM_VECTOR_LEN;
4213
+ const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
4214
+ const len3 = WASM_VECTOR_LEN;
4215
+ wasm.depthslope_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
4216
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4217
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
4218
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
4219
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
4220
+ if (r5) {
4221
+ throw takeObject(r4);
4222
+ }
4223
+ return r0 === 0 ? undefined : r2;
4224
+ } finally {
4225
+ wasm.__wbindgen_add_to_stack_pointer(32);
4226
+ }
4227
+ }
4228
+ /**
4229
+ * @returns {number}
4230
+ */
4231
+ warmupPeriod() {
4232
+ const ret = wasm.depthslope_warmupPeriod(this.__wbg_ptr);
4233
+ return ret >>> 0;
4234
+ }
4235
+ }
4236
+ if (Symbol.dispose) DepthSlope.prototype[Symbol.dispose] = DepthSlope.prototype.free;
4237
+
4111
4238
  export class DetrendedStdDev {
4112
4239
  __destroy_into_raw() {
4113
4240
  const ptr = this.__wbg_ptr;
@@ -4232,8 +4359,18 @@ export class Doji {
4232
4359
  const ret = wasm.doji_isReady(this.__wbg_ptr);
4233
4360
  return ret !== 0;
4234
4361
  }
4235
- constructor() {
4236
- const ret = wasm.doji_new();
4362
+ /**
4363
+ * @returns {boolean}
4364
+ */
4365
+ isSigned() {
4366
+ const ret = wasm.doji_isSigned(this.__wbg_ptr);
4367
+ return ret !== 0;
4368
+ }
4369
+ /**
4370
+ * @param {boolean | null} [signed]
4371
+ */
4372
+ constructor(signed) {
4373
+ const ret = wasm.doji_new(isLikeNone(signed) ? 0xFFFFFF : signed ? 1 : 0);
4237
4374
  this.__wbg_ptr = ret;
4238
4375
  DojiFinalization.register(this, this.__wbg_ptr, this);
4239
4376
  return this;
@@ -4839,6 +4976,66 @@ export class EaseOfMovement {
4839
4976
  }
4840
4977
  if (Symbol.dispose) EaseOfMovement.prototype[Symbol.dispose] = EaseOfMovement.prototype.free;
4841
4978
 
4979
+ export class EffectiveSpread {
4980
+ __destroy_into_raw() {
4981
+ const ptr = this.__wbg_ptr;
4982
+ this.__wbg_ptr = 0;
4983
+ EffectiveSpreadFinalization.unregister(this);
4984
+ return ptr;
4985
+ }
4986
+ free() {
4987
+ const ptr = this.__destroy_into_raw();
4988
+ wasm.__wbg_effectivespread_free(ptr, 0);
4989
+ }
4990
+ /**
4991
+ * @returns {boolean}
4992
+ */
4993
+ isReady() {
4994
+ const ret = wasm.effectivespread_isReady(this.__wbg_ptr);
4995
+ return ret !== 0;
4996
+ }
4997
+ constructor() {
4998
+ const ret = wasm.effectivespread_new();
4999
+ this.__wbg_ptr = ret;
5000
+ EffectiveSpreadFinalization.register(this, this.__wbg_ptr, this);
5001
+ return this;
5002
+ }
5003
+ reset() {
5004
+ wasm.effectivespread_reset(this.__wbg_ptr);
5005
+ }
5006
+ /**
5007
+ * @param {number} price
5008
+ * @param {number} size
5009
+ * @param {boolean} is_buy
5010
+ * @param {number} mid
5011
+ * @returns {number | undefined}
5012
+ */
5013
+ update(price, size, is_buy, mid) {
5014
+ try {
5015
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
5016
+ wasm.effectivespread_update(retptr, this.__wbg_ptr, price, size, is_buy, mid);
5017
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5018
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
5019
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
5020
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
5021
+ if (r5) {
5022
+ throw takeObject(r4);
5023
+ }
5024
+ return r0 === 0 ? undefined : r2;
5025
+ } finally {
5026
+ wasm.__wbindgen_add_to_stack_pointer(32);
5027
+ }
5028
+ }
5029
+ /**
5030
+ * @returns {number}
5031
+ */
5032
+ warmupPeriod() {
5033
+ const ret = wasm.effectivespread_warmupPeriod(this.__wbg_ptr);
5034
+ return ret >>> 0;
5035
+ }
5036
+ }
5037
+ if (Symbol.dispose) EffectiveSpread.prototype[Symbol.dispose] = EffectiveSpread.prototype.free;
5038
+
4842
5039
  export class EhlersStochastic {
4843
5040
  __destroy_into_raw() {
4844
5041
  const ptr = this.__wbg_ptr;
@@ -5475,6 +5672,78 @@ export class FisherTransform {
5475
5672
  }
5476
5673
  if (Symbol.dispose) FisherTransform.prototype[Symbol.dispose] = FisherTransform.prototype.free;
5477
5674
 
5675
+ export class Footprint {
5676
+ __destroy_into_raw() {
5677
+ const ptr = this.__wbg_ptr;
5678
+ this.__wbg_ptr = 0;
5679
+ FootprintFinalization.unregister(this);
5680
+ return ptr;
5681
+ }
5682
+ free() {
5683
+ const ptr = this.__destroy_into_raw();
5684
+ wasm.__wbg_footprint_free(ptr, 0);
5685
+ }
5686
+ /**
5687
+ * @returns {boolean}
5688
+ */
5689
+ isReady() {
5690
+ const ret = wasm.footprint_isReady(this.__wbg_ptr);
5691
+ return ret !== 0;
5692
+ }
5693
+ /**
5694
+ * @param {number} tick_size
5695
+ */
5696
+ constructor(tick_size) {
5697
+ try {
5698
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5699
+ wasm.footprint_new(retptr, tick_size);
5700
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5701
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5702
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
5703
+ if (r2) {
5704
+ throw takeObject(r1);
5705
+ }
5706
+ this.__wbg_ptr = r0;
5707
+ FootprintFinalization.register(this, this.__wbg_ptr, this);
5708
+ return this;
5709
+ } finally {
5710
+ wasm.__wbindgen_add_to_stack_pointer(16);
5711
+ }
5712
+ }
5713
+ reset() {
5714
+ wasm.footprint_reset(this.__wbg_ptr);
5715
+ }
5716
+ /**
5717
+ * @param {number} price
5718
+ * @param {number} size
5719
+ * @param {boolean} is_buy
5720
+ * @returns {any}
5721
+ */
5722
+ update(price, size, is_buy) {
5723
+ try {
5724
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5725
+ wasm.footprint_update(retptr, this.__wbg_ptr, price, size, is_buy);
5726
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5727
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5728
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
5729
+ if (r2) {
5730
+ throw takeObject(r1);
5731
+ }
5732
+ return takeObject(r0);
5733
+ } finally {
5734
+ wasm.__wbindgen_add_to_stack_pointer(16);
5735
+ }
5736
+ }
5737
+ /**
5738
+ * @returns {number}
5739
+ */
5740
+ warmupPeriod() {
5741
+ const ret = wasm.footprint_warmupPeriod(this.__wbg_ptr);
5742
+ return ret >>> 0;
5743
+ }
5744
+ }
5745
+ if (Symbol.dispose) Footprint.prototype[Symbol.dispose] = Footprint.prototype.free;
5746
+
5478
5747
  export class ForceIndex {
5479
5748
  __destroy_into_raw() {
5480
5749
  const ptr = this.__wbg_ptr;
@@ -7899,6 +8168,80 @@ export class Kurtosis {
7899
8168
  }
7900
8169
  if (Symbol.dispose) Kurtosis.prototype[Symbol.dispose] = Kurtosis.prototype.free;
7901
8170
 
8171
+ export class KylesLambda {
8172
+ __destroy_into_raw() {
8173
+ const ptr = this.__wbg_ptr;
8174
+ this.__wbg_ptr = 0;
8175
+ KylesLambdaFinalization.unregister(this);
8176
+ return ptr;
8177
+ }
8178
+ free() {
8179
+ const ptr = this.__destroy_into_raw();
8180
+ wasm.__wbg_kyleslambda_free(ptr, 0);
8181
+ }
8182
+ /**
8183
+ * @returns {boolean}
8184
+ */
8185
+ isReady() {
8186
+ const ret = wasm.kyleslambda_isReady(this.__wbg_ptr);
8187
+ return ret !== 0;
8188
+ }
8189
+ /**
8190
+ * @param {number} window
8191
+ */
8192
+ constructor(window) {
8193
+ try {
8194
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8195
+ wasm.kyleslambda_new(retptr, window);
8196
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8197
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
8198
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
8199
+ if (r2) {
8200
+ throw takeObject(r1);
8201
+ }
8202
+ this.__wbg_ptr = r0;
8203
+ KylesLambdaFinalization.register(this, this.__wbg_ptr, this);
8204
+ return this;
8205
+ } finally {
8206
+ wasm.__wbindgen_add_to_stack_pointer(16);
8207
+ }
8208
+ }
8209
+ reset() {
8210
+ wasm.kyleslambda_reset(this.__wbg_ptr);
8211
+ }
8212
+ /**
8213
+ * @param {number} price
8214
+ * @param {number} size
8215
+ * @param {boolean} is_buy
8216
+ * @param {number} mid
8217
+ * @returns {number | undefined}
8218
+ */
8219
+ update(price, size, is_buy, mid) {
8220
+ try {
8221
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
8222
+ wasm.kyleslambda_update(retptr, this.__wbg_ptr, price, size, is_buy, mid);
8223
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8224
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
8225
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
8226
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
8227
+ if (r5) {
8228
+ throw takeObject(r4);
8229
+ }
8230
+ return r0 === 0 ? undefined : r2;
8231
+ } finally {
8232
+ wasm.__wbindgen_add_to_stack_pointer(32);
8233
+ }
8234
+ }
8235
+ /**
8236
+ * @returns {number}
8237
+ */
8238
+ warmupPeriod() {
8239
+ const ret = wasm.kyleslambda_warmupPeriod(this.__wbg_ptr);
8240
+ return ret >>> 0;
8241
+ }
8242
+ }
8243
+ if (Symbol.dispose) KylesLambda.prototype[Symbol.dispose] = KylesLambda.prototype.free;
8244
+
7902
8245
  export class LaguerreRSI {
7903
8246
  __destroy_into_raw() {
7904
8247
  const ptr = this.__wbg_ptr;
@@ -9291,6 +9634,74 @@ export class MedianPrice {
9291
9634
  }
9292
9635
  if (Symbol.dispose) MedianPrice.prototype[Symbol.dispose] = MedianPrice.prototype.free;
9293
9636
 
9637
+ export class Microprice {
9638
+ __destroy_into_raw() {
9639
+ const ptr = this.__wbg_ptr;
9640
+ this.__wbg_ptr = 0;
9641
+ MicropriceFinalization.unregister(this);
9642
+ return ptr;
9643
+ }
9644
+ free() {
9645
+ const ptr = this.__destroy_into_raw();
9646
+ wasm.__wbg_microprice_free(ptr, 0);
9647
+ }
9648
+ /**
9649
+ * @returns {boolean}
9650
+ */
9651
+ isReady() {
9652
+ const ret = wasm.microprice_isReady(this.__wbg_ptr);
9653
+ return ret !== 0;
9654
+ }
9655
+ constructor() {
9656
+ const ret = wasm.microprice_new();
9657
+ this.__wbg_ptr = ret;
9658
+ MicropriceFinalization.register(this, this.__wbg_ptr, this);
9659
+ return this;
9660
+ }
9661
+ reset() {
9662
+ wasm.microprice_reset(this.__wbg_ptr);
9663
+ }
9664
+ /**
9665
+ * @param {Float64Array} bid_px
9666
+ * @param {Float64Array} bid_sz
9667
+ * @param {Float64Array} ask_px
9668
+ * @param {Float64Array} ask_sz
9669
+ * @returns {number | undefined}
9670
+ */
9671
+ update(bid_px, bid_sz, ask_px, ask_sz) {
9672
+ try {
9673
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
9674
+ const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
9675
+ const len0 = WASM_VECTOR_LEN;
9676
+ const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
9677
+ const len1 = WASM_VECTOR_LEN;
9678
+ const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
9679
+ const len2 = WASM_VECTOR_LEN;
9680
+ const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
9681
+ const len3 = WASM_VECTOR_LEN;
9682
+ wasm.microprice_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
9683
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9684
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
9685
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
9686
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
9687
+ if (r5) {
9688
+ throw takeObject(r4);
9689
+ }
9690
+ return r0 === 0 ? undefined : r2;
9691
+ } finally {
9692
+ wasm.__wbindgen_add_to_stack_pointer(32);
9693
+ }
9694
+ }
9695
+ /**
9696
+ * @returns {number}
9697
+ */
9698
+ warmupPeriod() {
9699
+ const ret = wasm.microprice_warmupPeriod(this.__wbg_ptr);
9700
+ return ret >>> 0;
9701
+ }
9702
+ }
9703
+ if (Symbol.dispose) Microprice.prototype[Symbol.dispose] = Microprice.prototype.free;
9704
+
9294
9705
  export class MorningEveningStar {
9295
9706
  __destroy_into_raw() {
9296
9707
  const ptr = this.__wbg_ptr;
@@ -9782,27 +10193,245 @@ export class OpeningRange {
9782
10193
  update(high, low, close) {
9783
10194
  try {
9784
10195
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9785
- wasm.openingrange_update(retptr, this.__wbg_ptr, high, low, close);
10196
+ wasm.openingrange_update(retptr, this.__wbg_ptr, high, low, close);
10197
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10198
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
10199
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10200
+ if (r2) {
10201
+ throw takeObject(r1);
10202
+ }
10203
+ return takeObject(r0);
10204
+ } finally {
10205
+ wasm.__wbindgen_add_to_stack_pointer(16);
10206
+ }
10207
+ }
10208
+ /**
10209
+ * @returns {number}
10210
+ */
10211
+ warmupPeriod() {
10212
+ const ret = wasm.openingrange_warmupPeriod(this.__wbg_ptr);
10213
+ return ret >>> 0;
10214
+ }
10215
+ }
10216
+ if (Symbol.dispose) OpeningRange.prototype[Symbol.dispose] = OpeningRange.prototype.free;
10217
+
10218
+ export class OrderBookImbalanceFull {
10219
+ __destroy_into_raw() {
10220
+ const ptr = this.__wbg_ptr;
10221
+ this.__wbg_ptr = 0;
10222
+ OrderBookImbalanceFullFinalization.unregister(this);
10223
+ return ptr;
10224
+ }
10225
+ free() {
10226
+ const ptr = this.__destroy_into_raw();
10227
+ wasm.__wbg_orderbookimbalancefull_free(ptr, 0);
10228
+ }
10229
+ /**
10230
+ * @returns {boolean}
10231
+ */
10232
+ isReady() {
10233
+ const ret = wasm.orderbookimbalancefull_isReady(this.__wbg_ptr);
10234
+ return ret !== 0;
10235
+ }
10236
+ constructor() {
10237
+ const ret = wasm.orderbookimbalancefull_new();
10238
+ this.__wbg_ptr = ret;
10239
+ OrderBookImbalanceFullFinalization.register(this, this.__wbg_ptr, this);
10240
+ return this;
10241
+ }
10242
+ reset() {
10243
+ wasm.orderbookimbalancefull_reset(this.__wbg_ptr);
10244
+ }
10245
+ /**
10246
+ * @param {Float64Array} bid_px
10247
+ * @param {Float64Array} bid_sz
10248
+ * @param {Float64Array} ask_px
10249
+ * @param {Float64Array} ask_sz
10250
+ * @returns {number | undefined}
10251
+ */
10252
+ update(bid_px, bid_sz, ask_px, ask_sz) {
10253
+ try {
10254
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
10255
+ const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
10256
+ const len0 = WASM_VECTOR_LEN;
10257
+ const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
10258
+ const len1 = WASM_VECTOR_LEN;
10259
+ const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
10260
+ const len2 = WASM_VECTOR_LEN;
10261
+ const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
10262
+ const len3 = WASM_VECTOR_LEN;
10263
+ wasm.orderbookimbalancefull_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
10264
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10265
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
10266
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
10267
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
10268
+ if (r5) {
10269
+ throw takeObject(r4);
10270
+ }
10271
+ return r0 === 0 ? undefined : r2;
10272
+ } finally {
10273
+ wasm.__wbindgen_add_to_stack_pointer(32);
10274
+ }
10275
+ }
10276
+ /**
10277
+ * @returns {number}
10278
+ */
10279
+ warmupPeriod() {
10280
+ const ret = wasm.orderbookimbalancefull_warmupPeriod(this.__wbg_ptr);
10281
+ return ret >>> 0;
10282
+ }
10283
+ }
10284
+ if (Symbol.dispose) OrderBookImbalanceFull.prototype[Symbol.dispose] = OrderBookImbalanceFull.prototype.free;
10285
+
10286
+ export class OrderBookImbalanceTop1 {
10287
+ __destroy_into_raw() {
10288
+ const ptr = this.__wbg_ptr;
10289
+ this.__wbg_ptr = 0;
10290
+ OrderBookImbalanceTop1Finalization.unregister(this);
10291
+ return ptr;
10292
+ }
10293
+ free() {
10294
+ const ptr = this.__destroy_into_raw();
10295
+ wasm.__wbg_orderbookimbalancetop1_free(ptr, 0);
10296
+ }
10297
+ /**
10298
+ * @returns {boolean}
10299
+ */
10300
+ isReady() {
10301
+ const ret = wasm.orderbookimbalancetop1_isReady(this.__wbg_ptr);
10302
+ return ret !== 0;
10303
+ }
10304
+ constructor() {
10305
+ const ret = wasm.orderbookimbalancetop1_new();
10306
+ this.__wbg_ptr = ret;
10307
+ OrderBookImbalanceTop1Finalization.register(this, this.__wbg_ptr, this);
10308
+ return this;
10309
+ }
10310
+ reset() {
10311
+ wasm.orderbookimbalancetop1_reset(this.__wbg_ptr);
10312
+ }
10313
+ /**
10314
+ * @param {Float64Array} bid_px
10315
+ * @param {Float64Array} bid_sz
10316
+ * @param {Float64Array} ask_px
10317
+ * @param {Float64Array} ask_sz
10318
+ * @returns {number | undefined}
10319
+ */
10320
+ update(bid_px, bid_sz, ask_px, ask_sz) {
10321
+ try {
10322
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
10323
+ const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
10324
+ const len0 = WASM_VECTOR_LEN;
10325
+ const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
10326
+ const len1 = WASM_VECTOR_LEN;
10327
+ const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
10328
+ const len2 = WASM_VECTOR_LEN;
10329
+ const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
10330
+ const len3 = WASM_VECTOR_LEN;
10331
+ wasm.orderbookimbalancetop1_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
10332
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10333
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
10334
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
10335
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
10336
+ if (r5) {
10337
+ throw takeObject(r4);
10338
+ }
10339
+ return r0 === 0 ? undefined : r2;
10340
+ } finally {
10341
+ wasm.__wbindgen_add_to_stack_pointer(32);
10342
+ }
10343
+ }
10344
+ /**
10345
+ * @returns {number}
10346
+ */
10347
+ warmupPeriod() {
10348
+ const ret = wasm.orderbookimbalancetop1_warmupPeriod(this.__wbg_ptr);
10349
+ return ret >>> 0;
10350
+ }
10351
+ }
10352
+ if (Symbol.dispose) OrderBookImbalanceTop1.prototype[Symbol.dispose] = OrderBookImbalanceTop1.prototype.free;
10353
+
10354
+ export class OrderBookImbalanceTopN {
10355
+ __destroy_into_raw() {
10356
+ const ptr = this.__wbg_ptr;
10357
+ this.__wbg_ptr = 0;
10358
+ OrderBookImbalanceTopNFinalization.unregister(this);
10359
+ return ptr;
10360
+ }
10361
+ free() {
10362
+ const ptr = this.__destroy_into_raw();
10363
+ wasm.__wbg_orderbookimbalancetopn_free(ptr, 0);
10364
+ }
10365
+ /**
10366
+ * @returns {boolean}
10367
+ */
10368
+ isReady() {
10369
+ const ret = wasm.orderbookimbalancetopn_isReady(this.__wbg_ptr);
10370
+ return ret !== 0;
10371
+ }
10372
+ /**
10373
+ * @param {number} levels
10374
+ */
10375
+ constructor(levels) {
10376
+ try {
10377
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10378
+ wasm.orderbookimbalancetopn_new(retptr, levels);
9786
10379
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9787
10380
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9788
10381
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
9789
10382
  if (r2) {
9790
10383
  throw takeObject(r1);
9791
10384
  }
9792
- return takeObject(r0);
10385
+ this.__wbg_ptr = r0;
10386
+ OrderBookImbalanceTopNFinalization.register(this, this.__wbg_ptr, this);
10387
+ return this;
9793
10388
  } finally {
9794
10389
  wasm.__wbindgen_add_to_stack_pointer(16);
9795
10390
  }
9796
10391
  }
10392
+ reset() {
10393
+ wasm.orderbookimbalancetopn_reset(this.__wbg_ptr);
10394
+ }
10395
+ /**
10396
+ * @param {Float64Array} bid_px
10397
+ * @param {Float64Array} bid_sz
10398
+ * @param {Float64Array} ask_px
10399
+ * @param {Float64Array} ask_sz
10400
+ * @returns {number | undefined}
10401
+ */
10402
+ update(bid_px, bid_sz, ask_px, ask_sz) {
10403
+ try {
10404
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
10405
+ const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
10406
+ const len0 = WASM_VECTOR_LEN;
10407
+ const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
10408
+ const len1 = WASM_VECTOR_LEN;
10409
+ const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
10410
+ const len2 = WASM_VECTOR_LEN;
10411
+ const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
10412
+ const len3 = WASM_VECTOR_LEN;
10413
+ wasm.orderbookimbalancetopn_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
10414
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10415
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
10416
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
10417
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
10418
+ if (r5) {
10419
+ throw takeObject(r4);
10420
+ }
10421
+ return r0 === 0 ? undefined : r2;
10422
+ } finally {
10423
+ wasm.__wbindgen_add_to_stack_pointer(32);
10424
+ }
10425
+ }
9797
10426
  /**
9798
10427
  * @returns {number}
9799
10428
  */
9800
10429
  warmupPeriod() {
9801
- const ret = wasm.openingrange_warmupPeriod(this.__wbg_ptr);
10430
+ const ret = wasm.orderbookimbalancetopn_warmupPeriod(this.__wbg_ptr);
9802
10431
  return ret >>> 0;
9803
10432
  }
9804
10433
  }
9805
- if (Symbol.dispose) OpeningRange.prototype[Symbol.dispose] = OpeningRange.prototype.free;
10434
+ if (Symbol.dispose) OrderBookImbalanceTopN.prototype[Symbol.dispose] = OrderBookImbalanceTopN.prototype.free;
9806
10435
 
9807
10436
  export class PGO {
9808
10437
  __destroy_into_raw() {
@@ -10989,6 +11618,74 @@ export class ProfitFactor {
10989
11618
  }
10990
11619
  if (Symbol.dispose) ProfitFactor.prototype[Symbol.dispose] = ProfitFactor.prototype.free;
10991
11620
 
11621
+ export class QuotedSpread {
11622
+ __destroy_into_raw() {
11623
+ const ptr = this.__wbg_ptr;
11624
+ this.__wbg_ptr = 0;
11625
+ QuotedSpreadFinalization.unregister(this);
11626
+ return ptr;
11627
+ }
11628
+ free() {
11629
+ const ptr = this.__destroy_into_raw();
11630
+ wasm.__wbg_quotedspread_free(ptr, 0);
11631
+ }
11632
+ /**
11633
+ * @returns {boolean}
11634
+ */
11635
+ isReady() {
11636
+ const ret = wasm.quotedspread_isReady(this.__wbg_ptr);
11637
+ return ret !== 0;
11638
+ }
11639
+ constructor() {
11640
+ const ret = wasm.quotedspread_new();
11641
+ this.__wbg_ptr = ret;
11642
+ QuotedSpreadFinalization.register(this, this.__wbg_ptr, this);
11643
+ return this;
11644
+ }
11645
+ reset() {
11646
+ wasm.quotedspread_reset(this.__wbg_ptr);
11647
+ }
11648
+ /**
11649
+ * @param {Float64Array} bid_px
11650
+ * @param {Float64Array} bid_sz
11651
+ * @param {Float64Array} ask_px
11652
+ * @param {Float64Array} ask_sz
11653
+ * @returns {number | undefined}
11654
+ */
11655
+ update(bid_px, bid_sz, ask_px, ask_sz) {
11656
+ try {
11657
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
11658
+ const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
11659
+ const len0 = WASM_VECTOR_LEN;
11660
+ const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
11661
+ const len1 = WASM_VECTOR_LEN;
11662
+ const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
11663
+ const len2 = WASM_VECTOR_LEN;
11664
+ const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
11665
+ const len3 = WASM_VECTOR_LEN;
11666
+ wasm.quotedspread_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
11667
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11668
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
11669
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
11670
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
11671
+ if (r5) {
11672
+ throw takeObject(r4);
11673
+ }
11674
+ return r0 === 0 ? undefined : r2;
11675
+ } finally {
11676
+ wasm.__wbindgen_add_to_stack_pointer(32);
11677
+ }
11678
+ }
11679
+ /**
11680
+ * @returns {number}
11681
+ */
11682
+ warmupPeriod() {
11683
+ const ret = wasm.quotedspread_warmupPeriod(this.__wbg_ptr);
11684
+ return ret >>> 0;
11685
+ }
11686
+ }
11687
+ if (Symbol.dispose) QuotedSpread.prototype[Symbol.dispose] = QuotedSpread.prototype.free;
11688
+
10992
11689
  export class ROC {
10993
11690
  __destroy_into_raw() {
10994
11691
  const ptr = this.__wbg_ptr;
@@ -11483,6 +12180,80 @@ export class RWI {
11483
12180
  }
11484
12181
  if (Symbol.dispose) RWI.prototype[Symbol.dispose] = RWI.prototype.free;
11485
12182
 
12183
+ export class RealizedSpread {
12184
+ __destroy_into_raw() {
12185
+ const ptr = this.__wbg_ptr;
12186
+ this.__wbg_ptr = 0;
12187
+ RealizedSpreadFinalization.unregister(this);
12188
+ return ptr;
12189
+ }
12190
+ free() {
12191
+ const ptr = this.__destroy_into_raw();
12192
+ wasm.__wbg_realizedspread_free(ptr, 0);
12193
+ }
12194
+ /**
12195
+ * @returns {boolean}
12196
+ */
12197
+ isReady() {
12198
+ const ret = wasm.realizedspread_isReady(this.__wbg_ptr);
12199
+ return ret !== 0;
12200
+ }
12201
+ /**
12202
+ * @param {number} horizon
12203
+ */
12204
+ constructor(horizon) {
12205
+ try {
12206
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12207
+ wasm.realizedspread_new(retptr, horizon);
12208
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12209
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12210
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12211
+ if (r2) {
12212
+ throw takeObject(r1);
12213
+ }
12214
+ this.__wbg_ptr = r0;
12215
+ RealizedSpreadFinalization.register(this, this.__wbg_ptr, this);
12216
+ return this;
12217
+ } finally {
12218
+ wasm.__wbindgen_add_to_stack_pointer(16);
12219
+ }
12220
+ }
12221
+ reset() {
12222
+ wasm.realizedspread_reset(this.__wbg_ptr);
12223
+ }
12224
+ /**
12225
+ * @param {number} price
12226
+ * @param {number} size
12227
+ * @param {boolean} is_buy
12228
+ * @param {number} mid
12229
+ * @returns {number | undefined}
12230
+ */
12231
+ update(price, size, is_buy, mid) {
12232
+ try {
12233
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
12234
+ wasm.realizedspread_update(retptr, this.__wbg_ptr, price, size, is_buy, mid);
12235
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12236
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
12237
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
12238
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
12239
+ if (r5) {
12240
+ throw takeObject(r4);
12241
+ }
12242
+ return r0 === 0 ? undefined : r2;
12243
+ } finally {
12244
+ wasm.__wbindgen_add_to_stack_pointer(32);
12245
+ }
12246
+ }
12247
+ /**
12248
+ * @returns {number}
12249
+ */
12250
+ warmupPeriod() {
12251
+ const ret = wasm.realizedspread_warmupPeriod(this.__wbg_ptr);
12252
+ return ret >>> 0;
12253
+ }
12254
+ }
12255
+ if (Symbol.dispose) RealizedSpread.prototype[Symbol.dispose] = RealizedSpread.prototype.free;
12256
+
11486
12257
  export class RecoveryFactor {
11487
12258
  __destroy_into_raw() {
11488
12259
  const ptr = this.__wbg_ptr;
@@ -12488,6 +13259,65 @@ export class ShootingStar {
12488
13259
  }
12489
13260
  if (Symbol.dispose) ShootingStar.prototype[Symbol.dispose] = ShootingStar.prototype.free;
12490
13261
 
13262
+ export class SignedVolume {
13263
+ __destroy_into_raw() {
13264
+ const ptr = this.__wbg_ptr;
13265
+ this.__wbg_ptr = 0;
13266
+ SignedVolumeFinalization.unregister(this);
13267
+ return ptr;
13268
+ }
13269
+ free() {
13270
+ const ptr = this.__destroy_into_raw();
13271
+ wasm.__wbg_signedvolume_free(ptr, 0);
13272
+ }
13273
+ /**
13274
+ * @returns {boolean}
13275
+ */
13276
+ isReady() {
13277
+ const ret = wasm.signedvolume_isReady(this.__wbg_ptr);
13278
+ return ret !== 0;
13279
+ }
13280
+ constructor() {
13281
+ const ret = wasm.signedvolume_new();
13282
+ this.__wbg_ptr = ret;
13283
+ SignedVolumeFinalization.register(this, this.__wbg_ptr, this);
13284
+ return this;
13285
+ }
13286
+ reset() {
13287
+ wasm.signedvolume_reset(this.__wbg_ptr);
13288
+ }
13289
+ /**
13290
+ * @param {number} price
13291
+ * @param {number} size
13292
+ * @param {boolean} is_buy
13293
+ * @returns {number | undefined}
13294
+ */
13295
+ update(price, size, is_buy) {
13296
+ try {
13297
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
13298
+ wasm.signedvolume_update(retptr, this.__wbg_ptr, price, size, is_buy);
13299
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13300
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
13301
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
13302
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
13303
+ if (r5) {
13304
+ throw takeObject(r4);
13305
+ }
13306
+ return r0 === 0 ? undefined : r2;
13307
+ } finally {
13308
+ wasm.__wbindgen_add_to_stack_pointer(32);
13309
+ }
13310
+ }
13311
+ /**
13312
+ * @returns {number}
13313
+ */
13314
+ warmupPeriod() {
13315
+ const ret = wasm.signedvolume_warmupPeriod(this.__wbg_ptr);
13316
+ return ret >>> 0;
13317
+ }
13318
+ }
13319
+ if (Symbol.dispose) SignedVolume.prototype[Symbol.dispose] = SignedVolume.prototype.free;
13320
+
12491
13321
  export class SineWave {
12492
13322
  __destroy_into_raw() {
12493
13323
  const ptr = this.__wbg_ptr;
@@ -15616,6 +16446,79 @@ export class ThreeSoldiersOrCrows {
15616
16446
  }
15617
16447
  if (Symbol.dispose) ThreeSoldiersOrCrows.prototype[Symbol.dispose] = ThreeSoldiersOrCrows.prototype.free;
15618
16448
 
16449
+ export class TradeImbalance {
16450
+ __destroy_into_raw() {
16451
+ const ptr = this.__wbg_ptr;
16452
+ this.__wbg_ptr = 0;
16453
+ TradeImbalanceFinalization.unregister(this);
16454
+ return ptr;
16455
+ }
16456
+ free() {
16457
+ const ptr = this.__destroy_into_raw();
16458
+ wasm.__wbg_tradeimbalance_free(ptr, 0);
16459
+ }
16460
+ /**
16461
+ * @returns {boolean}
16462
+ */
16463
+ isReady() {
16464
+ const ret = wasm.tradeimbalance_isReady(this.__wbg_ptr);
16465
+ return ret !== 0;
16466
+ }
16467
+ /**
16468
+ * @param {number} window
16469
+ */
16470
+ constructor(window) {
16471
+ try {
16472
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
16473
+ wasm.tradeimbalance_new(retptr, window);
16474
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
16475
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
16476
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
16477
+ if (r2) {
16478
+ throw takeObject(r1);
16479
+ }
16480
+ this.__wbg_ptr = r0;
16481
+ TradeImbalanceFinalization.register(this, this.__wbg_ptr, this);
16482
+ return this;
16483
+ } finally {
16484
+ wasm.__wbindgen_add_to_stack_pointer(16);
16485
+ }
16486
+ }
16487
+ reset() {
16488
+ wasm.tradeimbalance_reset(this.__wbg_ptr);
16489
+ }
16490
+ /**
16491
+ * @param {number} price
16492
+ * @param {number} size
16493
+ * @param {boolean} is_buy
16494
+ * @returns {number | undefined}
16495
+ */
16496
+ update(price, size, is_buy) {
16497
+ try {
16498
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
16499
+ wasm.tradeimbalance_update(retptr, this.__wbg_ptr, price, size, is_buy);
16500
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
16501
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
16502
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
16503
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
16504
+ if (r5) {
16505
+ throw takeObject(r4);
16506
+ }
16507
+ return r0 === 0 ? undefined : r2;
16508
+ } finally {
16509
+ wasm.__wbindgen_add_to_stack_pointer(32);
16510
+ }
16511
+ }
16512
+ /**
16513
+ * @returns {number}
16514
+ */
16515
+ warmupPeriod() {
16516
+ const ret = wasm.tradeimbalance_warmupPeriod(this.__wbg_ptr);
16517
+ return ret >>> 0;
16518
+ }
16519
+ }
16520
+ if (Symbol.dispose) TradeImbalance.prototype[Symbol.dispose] = TradeImbalance.prototype.free;
16521
+
15619
16522
  export class TreynorRatio {
15620
16523
  __destroy_into_raw() {
15621
16524
  const ptr = this.__wbg_ptr;
@@ -18473,10 +19376,18 @@ export function __wbg_new_227d7c05414eb861() {
18473
19376
  const ret = new Error();
18474
19377
  return addHeapObject(ret);
18475
19378
  }
19379
+ export function __wbg_new_310879b66b6e95e1() {
19380
+ const ret = new Array();
19381
+ return addHeapObject(ret);
19382
+ }
18476
19383
  export function __wbg_new_from_slice_02962bf7778cf945(arg0, arg1) {
18477
19384
  const ret = new Float64Array(getArrayF64FromWasm0(arg0, arg1));
18478
19385
  return addHeapObject(ret);
18479
19386
  }
19387
+ export function __wbg_push_b77c476b01548d0a(arg0, arg1) {
19388
+ const ret = getObject(arg0).push(getObject(arg1));
19389
+ return ret;
19390
+ }
18480
19391
  export function __wbg_set_a0e911be3da02782() { return handleError(function (arg0, arg1, arg2) {
18481
19392
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
18482
19393
  return ret;
@@ -18630,6 +19541,9 @@ const ConnorsRSIFinalization = (typeof FinalizationRegistry === 'undefined')
18630
19541
  const CoppockFinalization = (typeof FinalizationRegistry === 'undefined')
18631
19542
  ? { register: () => {}, unregister: () => {} }
18632
19543
  : new FinalizationRegistry(ptr => wasm.__wbg_coppock_free(ptr, 1));
19544
+ const CumulativeVolumeDeltaFinalization = (typeof FinalizationRegistry === 'undefined')
19545
+ ? { register: () => {}, unregister: () => {} }
19546
+ : new FinalizationRegistry(ptr => wasm.__wbg_cumulativevolumedelta_free(ptr, 1));
18633
19547
  const CyberneticCycleFinalization = (typeof FinalizationRegistry === 'undefined')
18634
19548
  ? { register: () => {}, unregister: () => {} }
18635
19549
  : new FinalizationRegistry(ptr => wasm.__wbg_cyberneticcycle_free(ptr, 1));
@@ -18648,6 +19562,9 @@ const DemandIndexFinalization = (typeof FinalizationRegistry === 'undefined')
18648
19562
  const DemarkPivotsFinalization = (typeof FinalizationRegistry === 'undefined')
18649
19563
  ? { register: () => {}, unregister: () => {} }
18650
19564
  : new FinalizationRegistry(ptr => wasm.__wbg_demarkpivots_free(ptr, 1));
19565
+ const DepthSlopeFinalization = (typeof FinalizationRegistry === 'undefined')
19566
+ ? { register: () => {}, unregister: () => {} }
19567
+ : new FinalizationRegistry(ptr => wasm.__wbg_depthslope_free(ptr, 1));
18651
19568
  const DetrendedStdDevFinalization = (typeof FinalizationRegistry === 'undefined')
18652
19569
  ? { register: () => {}, unregister: () => {} }
18653
19570
  : new FinalizationRegistry(ptr => wasm.__wbg_detrendedstddev_free(ptr, 1));
@@ -18672,6 +19589,9 @@ const DrawdownDurationFinalization = (typeof FinalizationRegistry === 'undefined
18672
19589
  const EaseOfMovementFinalization = (typeof FinalizationRegistry === 'undefined')
18673
19590
  ? { register: () => {}, unregister: () => {} }
18674
19591
  : new FinalizationRegistry(ptr => wasm.__wbg_easeofmovement_free(ptr, 1));
19592
+ const EffectiveSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
19593
+ ? { register: () => {}, unregister: () => {} }
19594
+ : new FinalizationRegistry(ptr => wasm.__wbg_effectivespread_free(ptr, 1));
18675
19595
  const EhlersStochasticFinalization = (typeof FinalizationRegistry === 'undefined')
18676
19596
  ? { register: () => {}, unregister: () => {} }
18677
19597
  : new FinalizationRegistry(ptr => wasm.__wbg_ehlersstochastic_free(ptr, 1));
@@ -18699,6 +19619,9 @@ const FibonacciPivotsFinalization = (typeof FinalizationRegistry === 'undefined'
18699
19619
  const FisherTransformFinalization = (typeof FinalizationRegistry === 'undefined')
18700
19620
  ? { register: () => {}, unregister: () => {} }
18701
19621
  : new FinalizationRegistry(ptr => wasm.__wbg_fishertransform_free(ptr, 1));
19622
+ const FootprintFinalization = (typeof FinalizationRegistry === 'undefined')
19623
+ ? { register: () => {}, unregister: () => {} }
19624
+ : new FinalizationRegistry(ptr => wasm.__wbg_footprint_free(ptr, 1));
18702
19625
  const ForceIndexFinalization = (typeof FinalizationRegistry === 'undefined')
18703
19626
  ? { register: () => {}, unregister: () => {} }
18704
19627
  : new FinalizationRegistry(ptr => wasm.__wbg_forceindex_free(ptr, 1));
@@ -18786,6 +19709,9 @@ const KurtosisFinalization = (typeof FinalizationRegistry === 'undefined')
18786
19709
  const KVOFinalization = (typeof FinalizationRegistry === 'undefined')
18787
19710
  ? { register: () => {}, unregister: () => {} }
18788
19711
  : new FinalizationRegistry(ptr => wasm.__wbg_kvo_free(ptr, 1));
19712
+ const KylesLambdaFinalization = (typeof FinalizationRegistry === 'undefined')
19713
+ ? { register: () => {}, unregister: () => {} }
19714
+ : new FinalizationRegistry(ptr => wasm.__wbg_kyleslambda_free(ptr, 1));
18789
19715
  const LaguerreRSIFinalization = (typeof FinalizationRegistry === 'undefined')
18790
19716
  ? { register: () => {}, unregister: () => {} }
18791
19717
  : new FinalizationRegistry(ptr => wasm.__wbg_laguerrersi_free(ptr, 1));
@@ -18837,6 +19763,9 @@ const MedianPriceFinalization = (typeof FinalizationRegistry === 'undefined')
18837
19763
  const MFIFinalization = (typeof FinalizationRegistry === 'undefined')
18838
19764
  ? { register: () => {}, unregister: () => {} }
18839
19765
  : new FinalizationRegistry(ptr => wasm.__wbg_mfi_free(ptr, 1));
19766
+ const MicropriceFinalization = (typeof FinalizationRegistry === 'undefined')
19767
+ ? { register: () => {}, unregister: () => {} }
19768
+ : new FinalizationRegistry(ptr => wasm.__wbg_microprice_free(ptr, 1));
18840
19769
  const MOMFinalization = (typeof FinalizationRegistry === 'undefined')
18841
19770
  ? { register: () => {}, unregister: () => {} }
18842
19771
  : new FinalizationRegistry(ptr => wasm.__wbg_mom_free(ptr, 1));
@@ -18858,6 +19787,15 @@ const OmegaRatioFinalization = (typeof FinalizationRegistry === 'undefined')
18858
19787
  const OpeningRangeFinalization = (typeof FinalizationRegistry === 'undefined')
18859
19788
  ? { register: () => {}, unregister: () => {} }
18860
19789
  : new FinalizationRegistry(ptr => wasm.__wbg_openingrange_free(ptr, 1));
19790
+ const OrderBookImbalanceFullFinalization = (typeof FinalizationRegistry === 'undefined')
19791
+ ? { register: () => {}, unregister: () => {} }
19792
+ : new FinalizationRegistry(ptr => wasm.__wbg_orderbookimbalancefull_free(ptr, 1));
19793
+ const OrderBookImbalanceTop1Finalization = (typeof FinalizationRegistry === 'undefined')
19794
+ ? { register: () => {}, unregister: () => {} }
19795
+ : new FinalizationRegistry(ptr => wasm.__wbg_orderbookimbalancetop1_free(ptr, 1));
19796
+ const OrderBookImbalanceTopNFinalization = (typeof FinalizationRegistry === 'undefined')
19797
+ ? { register: () => {}, unregister: () => {} }
19798
+ : new FinalizationRegistry(ptr => wasm.__wbg_orderbookimbalancetopn_free(ptr, 1));
18861
19799
  const PainIndexFinalization = (typeof FinalizationRegistry === 'undefined')
18862
19800
  ? { register: () => {}, unregister: () => {} }
18863
19801
  : new FinalizationRegistry(ptr => wasm.__wbg_painindex_free(ptr, 1));
@@ -18900,9 +19838,15 @@ const PSARFinalization = (typeof FinalizationRegistry === 'undefined')
18900
19838
  const PVIFinalization = (typeof FinalizationRegistry === 'undefined')
18901
19839
  ? { register: () => {}, unregister: () => {} }
18902
19840
  : new FinalizationRegistry(ptr => wasm.__wbg_pvi_free(ptr, 1));
19841
+ const QuotedSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
19842
+ ? { register: () => {}, unregister: () => {} }
19843
+ : new FinalizationRegistry(ptr => wasm.__wbg_quotedspread_free(ptr, 1));
18903
19844
  const RSquaredFinalization = (typeof FinalizationRegistry === 'undefined')
18904
19845
  ? { register: () => {}, unregister: () => {} }
18905
19846
  : new FinalizationRegistry(ptr => wasm.__wbg_rsquared_free(ptr, 1));
19847
+ const RealizedSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
19848
+ ? { register: () => {}, unregister: () => {} }
19849
+ : new FinalizationRegistry(ptr => wasm.__wbg_realizedspread_free(ptr, 1));
18906
19850
  const RecoveryFactorFinalization = (typeof FinalizationRegistry === 'undefined')
18907
19851
  ? { register: () => {}, unregister: () => {} }
18908
19852
  : new FinalizationRegistry(ptr => wasm.__wbg_recoveryfactor_free(ptr, 1));
@@ -18942,6 +19886,9 @@ const SharpeRatioFinalization = (typeof FinalizationRegistry === 'undefined')
18942
19886
  const ShootingStarFinalization = (typeof FinalizationRegistry === 'undefined')
18943
19887
  ? { register: () => {}, unregister: () => {} }
18944
19888
  : new FinalizationRegistry(ptr => wasm.__wbg_shootingstar_free(ptr, 1));
19889
+ const SignedVolumeFinalization = (typeof FinalizationRegistry === 'undefined')
19890
+ ? { register: () => {}, unregister: () => {} }
19891
+ : new FinalizationRegistry(ptr => wasm.__wbg_signedvolume_free(ptr, 1));
18945
19892
  const SineWaveFinalization = (typeof FinalizationRegistry === 'undefined')
18946
19893
  ? { register: () => {}, unregister: () => {} }
18947
19894
  : new FinalizationRegistry(ptr => wasm.__wbg_sinewave_free(ptr, 1));
@@ -19050,6 +19997,9 @@ const ThreeSoldiersOrCrowsFinalization = (typeof FinalizationRegistry === 'undef
19050
19997
  const TIIFinalization = (typeof FinalizationRegistry === 'undefined')
19051
19998
  ? { register: () => {}, unregister: () => {} }
19052
19999
  : new FinalizationRegistry(ptr => wasm.__wbg_tii_free(ptr, 1));
20000
+ const TradeImbalanceFinalization = (typeof FinalizationRegistry === 'undefined')
20001
+ ? { register: () => {}, unregister: () => {} }
20002
+ : new FinalizationRegistry(ptr => wasm.__wbg_tradeimbalance_free(ptr, 1));
19053
20003
  const TreynorRatioFinalization = (typeof FinalizationRegistry === 'undefined')
19054
20004
  ? { register: () => {}, unregister: () => {} }
19055
20005
  : new FinalizationRegistry(ptr => wasm.__wbg_treynorratio_free(ptr, 1));