wickra-wasm 0.4.5 → 0.4.6

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
@@ -516,6 +516,82 @@ export class ATR {
516
516
  }
517
517
  if (Symbol.dispose) ATR.prototype[Symbol.dispose] = ATR.prototype.free;
518
518
 
519
+ export class AVGPRICE {
520
+ __destroy_into_raw() {
521
+ const ptr = this.__wbg_ptr;
522
+ this.__wbg_ptr = 0;
523
+ AVGPRICEFinalization.unregister(this);
524
+ return ptr;
525
+ }
526
+ free() {
527
+ const ptr = this.__destroy_into_raw();
528
+ wasm.__wbg_avgprice_free(ptr, 0);
529
+ }
530
+ /**
531
+ * @param {Float64Array} open
532
+ * @param {Float64Array} high
533
+ * @param {Float64Array} low
534
+ * @param {Float64Array} close
535
+ * @returns {Float64Array}
536
+ */
537
+ batch(open, high, low, close) {
538
+ try {
539
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
540
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
541
+ const len0 = WASM_VECTOR_LEN;
542
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
543
+ const len1 = WASM_VECTOR_LEN;
544
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
545
+ const len2 = WASM_VECTOR_LEN;
546
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
547
+ const len3 = WASM_VECTOR_LEN;
548
+ wasm.avgprice_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
549
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
550
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
551
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
552
+ if (r2) {
553
+ throw takeObject(r1);
554
+ }
555
+ return takeObject(r0);
556
+ } finally {
557
+ wasm.__wbindgen_add_to_stack_pointer(16);
558
+ }
559
+ }
560
+ constructor() {
561
+ const ret = wasm.avgprice_new();
562
+ this.__wbg_ptr = ret;
563
+ AVGPRICEFinalization.register(this, this.__wbg_ptr, this);
564
+ return this;
565
+ }
566
+ reset() {
567
+ wasm.avgprice_reset(this.__wbg_ptr);
568
+ }
569
+ /**
570
+ * @param {number} open
571
+ * @param {number} high
572
+ * @param {number} low
573
+ * @param {number} close
574
+ * @returns {number | undefined}
575
+ */
576
+ update(open, high, low, close) {
577
+ try {
578
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
579
+ wasm.avgprice_update(retptr, this.__wbg_ptr, open, high, low, close);
580
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
581
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
582
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
583
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
584
+ if (r5) {
585
+ throw takeObject(r4);
586
+ }
587
+ return r0 === 0 ? undefined : r2;
588
+ } finally {
589
+ wasm.__wbindgen_add_to_stack_pointer(32);
590
+ }
591
+ }
592
+ }
593
+ if (Symbol.dispose) AVGPRICE.prototype[Symbol.dispose] = AVGPRICE.prototype.free;
594
+
519
595
  export class AbandonedBaby {
520
596
  __destroy_into_raw() {
521
597
  const ptr = this.__wbg_ptr;
@@ -4588,6 +4664,92 @@ export class DPO {
4588
4664
  }
4589
4665
  if (Symbol.dispose) DPO.prototype[Symbol.dispose] = DPO.prototype.free;
4590
4666
 
4667
+ export class DX {
4668
+ __destroy_into_raw() {
4669
+ const ptr = this.__wbg_ptr;
4670
+ this.__wbg_ptr = 0;
4671
+ DXFinalization.unregister(this);
4672
+ return ptr;
4673
+ }
4674
+ free() {
4675
+ const ptr = this.__destroy_into_raw();
4676
+ wasm.__wbg_dx_free(ptr, 0);
4677
+ }
4678
+ /**
4679
+ * @param {Float64Array} high
4680
+ * @param {Float64Array} low
4681
+ * @param {Float64Array} close
4682
+ * @returns {Float64Array}
4683
+ */
4684
+ batch(high, low, close) {
4685
+ try {
4686
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4687
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
4688
+ const len0 = WASM_VECTOR_LEN;
4689
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
4690
+ const len1 = WASM_VECTOR_LEN;
4691
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
4692
+ const len2 = WASM_VECTOR_LEN;
4693
+ wasm.dx_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
4694
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4695
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4696
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
4697
+ if (r2) {
4698
+ throw takeObject(r1);
4699
+ }
4700
+ return takeObject(r0);
4701
+ } finally {
4702
+ wasm.__wbindgen_add_to_stack_pointer(16);
4703
+ }
4704
+ }
4705
+ /**
4706
+ * @param {number} period
4707
+ */
4708
+ constructor(period) {
4709
+ try {
4710
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4711
+ wasm.dx_new(retptr, period);
4712
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4713
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4714
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
4715
+ if (r2) {
4716
+ throw takeObject(r1);
4717
+ }
4718
+ this.__wbg_ptr = r0;
4719
+ DXFinalization.register(this, this.__wbg_ptr, this);
4720
+ return this;
4721
+ } finally {
4722
+ wasm.__wbindgen_add_to_stack_pointer(16);
4723
+ }
4724
+ }
4725
+ reset() {
4726
+ wasm.dx_reset(this.__wbg_ptr);
4727
+ }
4728
+ /**
4729
+ * @param {number} high
4730
+ * @param {number} low
4731
+ * @param {number} close
4732
+ * @returns {number | undefined}
4733
+ */
4734
+ update(high, low, close) {
4735
+ try {
4736
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
4737
+ wasm.dx_update(retptr, this.__wbg_ptr, high, low, close);
4738
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4739
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
4740
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
4741
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
4742
+ if (r5) {
4743
+ throw takeObject(r4);
4744
+ }
4745
+ return r0 === 0 ? undefined : r2;
4746
+ } finally {
4747
+ wasm.__wbindgen_add_to_stack_pointer(32);
4748
+ }
4749
+ }
4750
+ }
4751
+ if (Symbol.dispose) DX.prototype[Symbol.dispose] = DX.prototype.free;
4752
+
4591
4753
  export class Decycler {
4592
4754
  __destroy_into_raw() {
4593
4755
  const ptr = this.__wbg_ptr;
@@ -7819,164 +7981,330 @@ export class HMA {
7819
7981
  }
7820
7982
  if (Symbol.dispose) HMA.prototype[Symbol.dispose] = HMA.prototype.free;
7821
7983
 
7822
- export class Hammer {
7984
+ export class HT_DCPHASE {
7823
7985
  __destroy_into_raw() {
7824
7986
  const ptr = this.__wbg_ptr;
7825
7987
  this.__wbg_ptr = 0;
7826
- HammerFinalization.unregister(this);
7988
+ HT_DCPHASEFinalization.unregister(this);
7827
7989
  return ptr;
7828
7990
  }
7829
7991
  free() {
7830
7992
  const ptr = this.__destroy_into_raw();
7831
- wasm.__wbg_hammer_free(ptr, 0);
7993
+ wasm.__wbg_ht_dcphase_free(ptr, 0);
7832
7994
  }
7833
7995
  /**
7834
- * @param {Float64Array} open
7835
- * @param {Float64Array} high
7836
- * @param {Float64Array} low
7837
- * @param {Float64Array} close
7996
+ * @param {Float64Array} prices
7838
7997
  * @returns {Float64Array}
7839
7998
  */
7840
- batch(open, high, low, close) {
7841
- try {
7842
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7843
- const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
7844
- const len0 = WASM_VECTOR_LEN;
7845
- const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
7846
- const len1 = WASM_VECTOR_LEN;
7847
- const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
7848
- const len2 = WASM_VECTOR_LEN;
7849
- const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
7850
- const len3 = WASM_VECTOR_LEN;
7851
- wasm.hammer_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
7852
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
7853
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
7854
- var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
7855
- if (r2) {
7856
- throw takeObject(r1);
7857
- }
7858
- return takeObject(r0);
7859
- } finally {
7860
- wasm.__wbindgen_add_to_stack_pointer(16);
7861
- }
7999
+ batch(prices) {
8000
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
8001
+ const len0 = WASM_VECTOR_LEN;
8002
+ const ret = wasm.ht_dcphase_batch(this.__wbg_ptr, ptr0, len0);
8003
+ return takeObject(ret);
7862
8004
  }
7863
8005
  /**
7864
8006
  * @returns {boolean}
7865
8007
  */
7866
8008
  isReady() {
7867
- const ret = wasm.hammer_isReady(this.__wbg_ptr);
8009
+ const ret = wasm.ht_dcphase_isReady(this.__wbg_ptr);
7868
8010
  return ret !== 0;
7869
8011
  }
7870
8012
  constructor() {
7871
- const ret = wasm.hammer_new();
8013
+ const ret = wasm.ht_dcphase_new();
7872
8014
  this.__wbg_ptr = ret;
7873
- HammerFinalization.register(this, this.__wbg_ptr, this);
8015
+ HT_DCPHASEFinalization.register(this, this.__wbg_ptr, this);
7874
8016
  return this;
7875
8017
  }
7876
8018
  reset() {
7877
- wasm.hammer_reset(this.__wbg_ptr);
8019
+ wasm.ht_dcphase_reset(this.__wbg_ptr);
7878
8020
  }
7879
8021
  /**
7880
- * @param {number} open
7881
- * @param {number} high
7882
- * @param {number} low
7883
- * @param {number} close
8022
+ * @param {number} value
7884
8023
  * @returns {number | undefined}
7885
8024
  */
7886
- update(open, high, low, close) {
8025
+ update(value) {
7887
8026
  try {
7888
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
7889
- wasm.hammer_update(retptr, this.__wbg_ptr, open, high, low, close);
8027
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8028
+ wasm.ht_dcphase_update(retptr, this.__wbg_ptr, value);
7890
8029
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
7891
8030
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
7892
- var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
7893
- var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
7894
- if (r5) {
7895
- throw takeObject(r4);
7896
- }
7897
8031
  return r0 === 0 ? undefined : r2;
7898
8032
  } finally {
7899
- wasm.__wbindgen_add_to_stack_pointer(32);
8033
+ wasm.__wbindgen_add_to_stack_pointer(16);
7900
8034
  }
7901
8035
  }
7902
8036
  /**
7903
8037
  * @returns {number}
7904
8038
  */
7905
8039
  warmupPeriod() {
7906
- const ret = wasm.hammer_warmupPeriod(this.__wbg_ptr);
8040
+ const ret = wasm.ht_dcphase_warmupPeriod(this.__wbg_ptr);
7907
8041
  return ret >>> 0;
7908
8042
  }
7909
8043
  }
7910
- if (Symbol.dispose) Hammer.prototype[Symbol.dispose] = Hammer.prototype.free;
8044
+ if (Symbol.dispose) HT_DCPHASE.prototype[Symbol.dispose] = HT_DCPHASE.prototype.free;
7911
8045
 
7912
- export class HangingMan {
8046
+ export class HT_PHASOR {
7913
8047
  __destroy_into_raw() {
7914
8048
  const ptr = this.__wbg_ptr;
7915
8049
  this.__wbg_ptr = 0;
7916
- HangingManFinalization.unregister(this);
8050
+ HT_PHASORFinalization.unregister(this);
7917
8051
  return ptr;
7918
8052
  }
7919
8053
  free() {
7920
8054
  const ptr = this.__destroy_into_raw();
7921
- wasm.__wbg_hangingman_free(ptr, 0);
8055
+ wasm.__wbg_ht_phasor_free(ptr, 0);
7922
8056
  }
7923
8057
  /**
7924
- * @param {Float64Array} open
7925
- * @param {Float64Array} high
7926
- * @param {Float64Array} low
7927
- * @param {Float64Array} close
8058
+ * Returns a flat `Float64Array` of length `2 * n`: `[inphase0, quad0, ...]`.
8059
+ * @param {Float64Array} prices
7928
8060
  * @returns {Float64Array}
7929
8061
  */
7930
- batch(open, high, low, close) {
7931
- try {
7932
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7933
- const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
7934
- const len0 = WASM_VECTOR_LEN;
7935
- const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
7936
- const len1 = WASM_VECTOR_LEN;
7937
- const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
7938
- const len2 = WASM_VECTOR_LEN;
7939
- const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
7940
- const len3 = WASM_VECTOR_LEN;
7941
- wasm.hangingman_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
7942
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
7943
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
7944
- var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
7945
- if (r2) {
7946
- throw takeObject(r1);
7947
- }
7948
- return takeObject(r0);
7949
- } finally {
7950
- wasm.__wbindgen_add_to_stack_pointer(16);
7951
- }
7952
- }
7953
- /**
7954
- * @returns {boolean}
7955
- */
7956
- isReady() {
7957
- const ret = wasm.hangingman_isReady(this.__wbg_ptr);
7958
- return ret !== 0;
8062
+ batch(prices) {
8063
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
8064
+ const len0 = WASM_VECTOR_LEN;
8065
+ const ret = wasm.ht_phasor_batch(this.__wbg_ptr, ptr0, len0);
8066
+ return takeObject(ret);
7959
8067
  }
7960
8068
  constructor() {
7961
- const ret = wasm.hangingman_new();
8069
+ const ret = wasm.ht_phasor_new();
7962
8070
  this.__wbg_ptr = ret;
7963
- HangingManFinalization.register(this, this.__wbg_ptr, this);
8071
+ HT_PHASORFinalization.register(this, this.__wbg_ptr, this);
7964
8072
  return this;
7965
8073
  }
7966
8074
  reset() {
7967
- wasm.hangingman_reset(this.__wbg_ptr);
8075
+ wasm.ht_phasor_reset(this.__wbg_ptr);
7968
8076
  }
7969
8077
  /**
7970
- * @param {number} open
7971
- * @param {number} high
7972
- * @param {number} low
7973
- * @param {number} close
7974
- * @returns {number | undefined}
8078
+ * @param {number} value
8079
+ * @returns {any}
7975
8080
  */
7976
- update(open, high, low, close) {
7977
- try {
7978
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
7979
- wasm.hangingman_update(retptr, this.__wbg_ptr, open, high, low, close);
8081
+ update(value) {
8082
+ const ret = wasm.ht_phasor_update(this.__wbg_ptr, value);
8083
+ return takeObject(ret);
8084
+ }
8085
+ }
8086
+ if (Symbol.dispose) HT_PHASOR.prototype[Symbol.dispose] = HT_PHASOR.prototype.free;
8087
+
8088
+ export class HT_TRENDMODE {
8089
+ __destroy_into_raw() {
8090
+ const ptr = this.__wbg_ptr;
8091
+ this.__wbg_ptr = 0;
8092
+ HT_TRENDMODEFinalization.unregister(this);
8093
+ return ptr;
8094
+ }
8095
+ free() {
8096
+ const ptr = this.__destroy_into_raw();
8097
+ wasm.__wbg_ht_trendmode_free(ptr, 0);
8098
+ }
8099
+ /**
8100
+ * @param {Float64Array} prices
8101
+ * @returns {Float64Array}
8102
+ */
8103
+ batch(prices) {
8104
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
8105
+ const len0 = WASM_VECTOR_LEN;
8106
+ const ret = wasm.ht_trendmode_batch(this.__wbg_ptr, ptr0, len0);
8107
+ return takeObject(ret);
8108
+ }
8109
+ /**
8110
+ * @returns {boolean}
8111
+ */
8112
+ isReady() {
8113
+ const ret = wasm.ht_trendmode_isReady(this.__wbg_ptr);
8114
+ return ret !== 0;
8115
+ }
8116
+ constructor() {
8117
+ const ret = wasm.ht_trendmode_new();
8118
+ this.__wbg_ptr = ret;
8119
+ HT_TRENDMODEFinalization.register(this, this.__wbg_ptr, this);
8120
+ return this;
8121
+ }
8122
+ reset() {
8123
+ wasm.ht_trendmode_reset(this.__wbg_ptr);
8124
+ }
8125
+ /**
8126
+ * @param {number} value
8127
+ * @returns {number | undefined}
8128
+ */
8129
+ update(value) {
8130
+ try {
8131
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8132
+ wasm.ht_trendmode_update(retptr, this.__wbg_ptr, value);
8133
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8134
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
8135
+ return r0 === 0 ? undefined : r2;
8136
+ } finally {
8137
+ wasm.__wbindgen_add_to_stack_pointer(16);
8138
+ }
8139
+ }
8140
+ /**
8141
+ * @returns {number}
8142
+ */
8143
+ warmupPeriod() {
8144
+ const ret = wasm.ht_trendmode_warmupPeriod(this.__wbg_ptr);
8145
+ return ret >>> 0;
8146
+ }
8147
+ }
8148
+ if (Symbol.dispose) HT_TRENDMODE.prototype[Symbol.dispose] = HT_TRENDMODE.prototype.free;
8149
+
8150
+ export class Hammer {
8151
+ __destroy_into_raw() {
8152
+ const ptr = this.__wbg_ptr;
8153
+ this.__wbg_ptr = 0;
8154
+ HammerFinalization.unregister(this);
8155
+ return ptr;
8156
+ }
8157
+ free() {
8158
+ const ptr = this.__destroy_into_raw();
8159
+ wasm.__wbg_hammer_free(ptr, 0);
8160
+ }
8161
+ /**
8162
+ * @param {Float64Array} open
8163
+ * @param {Float64Array} high
8164
+ * @param {Float64Array} low
8165
+ * @param {Float64Array} close
8166
+ * @returns {Float64Array}
8167
+ */
8168
+ batch(open, high, low, close) {
8169
+ try {
8170
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8171
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
8172
+ const len0 = WASM_VECTOR_LEN;
8173
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
8174
+ const len1 = WASM_VECTOR_LEN;
8175
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
8176
+ const len2 = WASM_VECTOR_LEN;
8177
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
8178
+ const len3 = WASM_VECTOR_LEN;
8179
+ wasm.hammer_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
8180
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8181
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
8182
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
8183
+ if (r2) {
8184
+ throw takeObject(r1);
8185
+ }
8186
+ return takeObject(r0);
8187
+ } finally {
8188
+ wasm.__wbindgen_add_to_stack_pointer(16);
8189
+ }
8190
+ }
8191
+ /**
8192
+ * @returns {boolean}
8193
+ */
8194
+ isReady() {
8195
+ const ret = wasm.hammer_isReady(this.__wbg_ptr);
8196
+ return ret !== 0;
8197
+ }
8198
+ constructor() {
8199
+ const ret = wasm.hammer_new();
8200
+ this.__wbg_ptr = ret;
8201
+ HammerFinalization.register(this, this.__wbg_ptr, this);
8202
+ return this;
8203
+ }
8204
+ reset() {
8205
+ wasm.hammer_reset(this.__wbg_ptr);
8206
+ }
8207
+ /**
8208
+ * @param {number} open
8209
+ * @param {number} high
8210
+ * @param {number} low
8211
+ * @param {number} close
8212
+ * @returns {number | undefined}
8213
+ */
8214
+ update(open, high, low, close) {
8215
+ try {
8216
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
8217
+ wasm.hammer_update(retptr, this.__wbg_ptr, open, high, low, close);
8218
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8219
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
8220
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
8221
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
8222
+ if (r5) {
8223
+ throw takeObject(r4);
8224
+ }
8225
+ return r0 === 0 ? undefined : r2;
8226
+ } finally {
8227
+ wasm.__wbindgen_add_to_stack_pointer(32);
8228
+ }
8229
+ }
8230
+ /**
8231
+ * @returns {number}
8232
+ */
8233
+ warmupPeriod() {
8234
+ const ret = wasm.hammer_warmupPeriod(this.__wbg_ptr);
8235
+ return ret >>> 0;
8236
+ }
8237
+ }
8238
+ if (Symbol.dispose) Hammer.prototype[Symbol.dispose] = Hammer.prototype.free;
8239
+
8240
+ export class HangingMan {
8241
+ __destroy_into_raw() {
8242
+ const ptr = this.__wbg_ptr;
8243
+ this.__wbg_ptr = 0;
8244
+ HangingManFinalization.unregister(this);
8245
+ return ptr;
8246
+ }
8247
+ free() {
8248
+ const ptr = this.__destroy_into_raw();
8249
+ wasm.__wbg_hangingman_free(ptr, 0);
8250
+ }
8251
+ /**
8252
+ * @param {Float64Array} open
8253
+ * @param {Float64Array} high
8254
+ * @param {Float64Array} low
8255
+ * @param {Float64Array} close
8256
+ * @returns {Float64Array}
8257
+ */
8258
+ batch(open, high, low, close) {
8259
+ try {
8260
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8261
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
8262
+ const len0 = WASM_VECTOR_LEN;
8263
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
8264
+ const len1 = WASM_VECTOR_LEN;
8265
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
8266
+ const len2 = WASM_VECTOR_LEN;
8267
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
8268
+ const len3 = WASM_VECTOR_LEN;
8269
+ wasm.hangingman_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
8270
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8271
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
8272
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
8273
+ if (r2) {
8274
+ throw takeObject(r1);
8275
+ }
8276
+ return takeObject(r0);
8277
+ } finally {
8278
+ wasm.__wbindgen_add_to_stack_pointer(16);
8279
+ }
8280
+ }
8281
+ /**
8282
+ * @returns {boolean}
8283
+ */
8284
+ isReady() {
8285
+ const ret = wasm.hangingman_isReady(this.__wbg_ptr);
8286
+ return ret !== 0;
8287
+ }
8288
+ constructor() {
8289
+ const ret = wasm.hangingman_new();
8290
+ this.__wbg_ptr = ret;
8291
+ HangingManFinalization.register(this, this.__wbg_ptr, this);
8292
+ return this;
8293
+ }
8294
+ reset() {
8295
+ wasm.hangingman_reset(this.__wbg_ptr);
8296
+ }
8297
+ /**
8298
+ * @param {number} open
8299
+ * @param {number} high
8300
+ * @param {number} low
8301
+ * @param {number} close
8302
+ * @returns {number | undefined}
8303
+ */
8304
+ update(open, high, low, close) {
8305
+ try {
8306
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
8307
+ wasm.hangingman_update(retptr, this.__wbg_ptr, open, high, low, close);
7980
8308
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
7981
8309
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
7982
8310
  var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
@@ -10687,51 +11015,127 @@ export class KylesLambda {
10687
11015
  }
10688
11016
  if (Symbol.dispose) KylesLambda.prototype[Symbol.dispose] = KylesLambda.prototype.free;
10689
11017
 
10690
- export class LadderBottom {
11018
+ export class LINEARREG_INTERCEPT {
10691
11019
  __destroy_into_raw() {
10692
11020
  const ptr = this.__wbg_ptr;
10693
11021
  this.__wbg_ptr = 0;
10694
- LadderBottomFinalization.unregister(this);
11022
+ LINEARREG_INTERCEPTFinalization.unregister(this);
10695
11023
  return ptr;
10696
11024
  }
10697
11025
  free() {
10698
11026
  const ptr = this.__destroy_into_raw();
10699
- wasm.__wbg_ladderbottom_free(ptr, 0);
11027
+ wasm.__wbg_linearreg_intercept_free(ptr, 0);
10700
11028
  }
10701
11029
  /**
10702
- * @param {Float64Array} open
10703
- * @param {Float64Array} high
10704
- * @param {Float64Array} low
10705
- * @param {Float64Array} close
11030
+ * @param {Float64Array} prices
10706
11031
  * @returns {Float64Array}
10707
11032
  */
10708
- batch(open, high, low, close) {
11033
+ batch(prices) {
11034
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
11035
+ const len0 = WASM_VECTOR_LEN;
11036
+ const ret = wasm.linearreg_intercept_batch(this.__wbg_ptr, ptr0, len0);
11037
+ return takeObject(ret);
11038
+ }
11039
+ /**
11040
+ * @returns {boolean}
11041
+ */
11042
+ isReady() {
11043
+ const ret = wasm.linearreg_intercept_isReady(this.__wbg_ptr);
11044
+ return ret !== 0;
11045
+ }
11046
+ /**
11047
+ * @param {number} period
11048
+ */
11049
+ constructor(period) {
10709
11050
  try {
10710
11051
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10711
- const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
10712
- const len0 = WASM_VECTOR_LEN;
10713
- const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
10714
- const len1 = WASM_VECTOR_LEN;
10715
- const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
10716
- const len2 = WASM_VECTOR_LEN;
10717
- const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
10718
- const len3 = WASM_VECTOR_LEN;
10719
- wasm.ladderbottom_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
11052
+ wasm.linearreg_intercept_new(retptr, period);
10720
11053
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10721
11054
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
10722
11055
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10723
11056
  if (r2) {
10724
11057
  throw takeObject(r1);
10725
11058
  }
10726
- return takeObject(r0);
11059
+ this.__wbg_ptr = r0;
11060
+ LINEARREG_INTERCEPTFinalization.register(this, this.__wbg_ptr, this);
11061
+ return this;
10727
11062
  } finally {
10728
11063
  wasm.__wbindgen_add_to_stack_pointer(16);
10729
11064
  }
10730
11065
  }
11066
+ reset() {
11067
+ wasm.linearreg_intercept_reset(this.__wbg_ptr);
11068
+ }
10731
11069
  /**
10732
- * @returns {boolean}
11070
+ * @param {number} value
11071
+ * @returns {number | undefined}
10733
11072
  */
10734
- isReady() {
11073
+ update(value) {
11074
+ try {
11075
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11076
+ wasm.linearreg_intercept_update(retptr, this.__wbg_ptr, value);
11077
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11078
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
11079
+ return r0 === 0 ? undefined : r2;
11080
+ } finally {
11081
+ wasm.__wbindgen_add_to_stack_pointer(16);
11082
+ }
11083
+ }
11084
+ /**
11085
+ * @returns {number}
11086
+ */
11087
+ warmupPeriod() {
11088
+ const ret = wasm.linearreg_intercept_warmupPeriod(this.__wbg_ptr);
11089
+ return ret >>> 0;
11090
+ }
11091
+ }
11092
+ if (Symbol.dispose) LINEARREG_INTERCEPT.prototype[Symbol.dispose] = LINEARREG_INTERCEPT.prototype.free;
11093
+
11094
+ export class LadderBottom {
11095
+ __destroy_into_raw() {
11096
+ const ptr = this.__wbg_ptr;
11097
+ this.__wbg_ptr = 0;
11098
+ LadderBottomFinalization.unregister(this);
11099
+ return ptr;
11100
+ }
11101
+ free() {
11102
+ const ptr = this.__destroy_into_raw();
11103
+ wasm.__wbg_ladderbottom_free(ptr, 0);
11104
+ }
11105
+ /**
11106
+ * @param {Float64Array} open
11107
+ * @param {Float64Array} high
11108
+ * @param {Float64Array} low
11109
+ * @param {Float64Array} close
11110
+ * @returns {Float64Array}
11111
+ */
11112
+ batch(open, high, low, close) {
11113
+ try {
11114
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11115
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
11116
+ const len0 = WASM_VECTOR_LEN;
11117
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
11118
+ const len1 = WASM_VECTOR_LEN;
11119
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
11120
+ const len2 = WASM_VECTOR_LEN;
11121
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
11122
+ const len3 = WASM_VECTOR_LEN;
11123
+ wasm.ladderbottom_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
11124
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11125
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
11126
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
11127
+ if (r2) {
11128
+ throw takeObject(r1);
11129
+ }
11130
+ return takeObject(r0);
11131
+ } finally {
11132
+ wasm.__wbindgen_add_to_stack_pointer(16);
11133
+ }
11134
+ }
11135
+ /**
11136
+ * @returns {boolean}
11137
+ */
11138
+ isReady() {
10735
11139
  const ret = wasm.ladderbottom_isReady(this.__wbg_ptr);
10736
11140
  return ret !== 0;
10737
11141
  }
@@ -11601,6 +12005,124 @@ export class MACD {
11601
12005
  }
11602
12006
  if (Symbol.dispose) MACD.prototype[Symbol.dispose] = MACD.prototype.free;
11603
12007
 
12008
+ export class MACDEXT {
12009
+ __destroy_into_raw() {
12010
+ const ptr = this.__wbg_ptr;
12011
+ this.__wbg_ptr = 0;
12012
+ MACDEXTFinalization.unregister(this);
12013
+ return ptr;
12014
+ }
12015
+ free() {
12016
+ const ptr = this.__destroy_into_raw();
12017
+ wasm.__wbg_macdext_free(ptr, 0);
12018
+ }
12019
+ /**
12020
+ * Returns a flat `Float64Array` of length `3 * n`: `[macd0, sig0, hist0, ...]`.
12021
+ * @param {Float64Array} prices
12022
+ * @returns {Float64Array}
12023
+ */
12024
+ batch(prices) {
12025
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
12026
+ const len0 = WASM_VECTOR_LEN;
12027
+ const ret = wasm.macdext_batch(this.__wbg_ptr, ptr0, len0);
12028
+ return takeObject(ret);
12029
+ }
12030
+ /**
12031
+ * Moving-average types are TA-Lib `MA_Type` codes `0..=5`.
12032
+ * @param {number} fast
12033
+ * @param {number} fast_matype
12034
+ * @param {number} slow
12035
+ * @param {number} slow_matype
12036
+ * @param {number} signal
12037
+ * @param {number} signal_matype
12038
+ */
12039
+ constructor(fast, fast_matype, slow, slow_matype, signal, signal_matype) {
12040
+ try {
12041
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12042
+ wasm.macdext_new(retptr, fast, fast_matype, slow, slow_matype, signal, signal_matype);
12043
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12044
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12045
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12046
+ if (r2) {
12047
+ throw takeObject(r1);
12048
+ }
12049
+ this.__wbg_ptr = r0;
12050
+ MACDEXTFinalization.register(this, this.__wbg_ptr, this);
12051
+ return this;
12052
+ } finally {
12053
+ wasm.__wbindgen_add_to_stack_pointer(16);
12054
+ }
12055
+ }
12056
+ reset() {
12057
+ wasm.macdext_reset(this.__wbg_ptr);
12058
+ }
12059
+ /**
12060
+ * @param {number} value
12061
+ * @returns {any}
12062
+ */
12063
+ update(value) {
12064
+ const ret = wasm.macdext_update(this.__wbg_ptr, value);
12065
+ return takeObject(ret);
12066
+ }
12067
+ }
12068
+ if (Symbol.dispose) MACDEXT.prototype[Symbol.dispose] = MACDEXT.prototype.free;
12069
+
12070
+ export class MACDFIX {
12071
+ __destroy_into_raw() {
12072
+ const ptr = this.__wbg_ptr;
12073
+ this.__wbg_ptr = 0;
12074
+ MACDFIXFinalization.unregister(this);
12075
+ return ptr;
12076
+ }
12077
+ free() {
12078
+ const ptr = this.__destroy_into_raw();
12079
+ wasm.__wbg_macdfix_free(ptr, 0);
12080
+ }
12081
+ /**
12082
+ * Returns a flat `Float64Array` of length `3 * n`: `[macd0, sig0, hist0, ...]`.
12083
+ * @param {Float64Array} prices
12084
+ * @returns {Float64Array}
12085
+ */
12086
+ batch(prices) {
12087
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
12088
+ const len0 = WASM_VECTOR_LEN;
12089
+ const ret = wasm.macdfix_batch(this.__wbg_ptr, ptr0, len0);
12090
+ return takeObject(ret);
12091
+ }
12092
+ /**
12093
+ * @param {number} signal
12094
+ */
12095
+ constructor(signal) {
12096
+ try {
12097
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12098
+ wasm.macdfix_new(retptr, signal);
12099
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12100
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12101
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12102
+ if (r2) {
12103
+ throw takeObject(r1);
12104
+ }
12105
+ this.__wbg_ptr = r0;
12106
+ MACDFIXFinalization.register(this, this.__wbg_ptr, this);
12107
+ return this;
12108
+ } finally {
12109
+ wasm.__wbindgen_add_to_stack_pointer(16);
12110
+ }
12111
+ }
12112
+ reset() {
12113
+ wasm.macdfix_reset(this.__wbg_ptr);
12114
+ }
12115
+ /**
12116
+ * @param {number} value
12117
+ * @returns {any}
12118
+ */
12119
+ update(value) {
12120
+ const ret = wasm.macdfix_update(this.__wbg_ptr, value);
12121
+ return takeObject(ret);
12122
+ }
12123
+ }
12124
+ if (Symbol.dispose) MACDFIX.prototype[Symbol.dispose] = MACDFIX.prototype.free;
12125
+
11604
12126
  export class MAMA {
11605
12127
  __destroy_into_raw() {
11606
12128
  const ptr = this.__wbg_ptr;
@@ -11637,7 +12159,352 @@ export class MAMA {
11637
12159
  constructor(fast_limit, slow_limit) {
11638
12160
  try {
11639
12161
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11640
- wasm.mama_new(retptr, fast_limit, slow_limit);
12162
+ wasm.mama_new(retptr, fast_limit, slow_limit);
12163
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12164
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12165
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12166
+ if (r2) {
12167
+ throw takeObject(r1);
12168
+ }
12169
+ this.__wbg_ptr = r0;
12170
+ MAMAFinalization.register(this, this.__wbg_ptr, this);
12171
+ return this;
12172
+ } finally {
12173
+ wasm.__wbindgen_add_to_stack_pointer(16);
12174
+ }
12175
+ }
12176
+ reset() {
12177
+ wasm.mama_reset(this.__wbg_ptr);
12178
+ }
12179
+ /**
12180
+ * @param {number} value
12181
+ * @returns {any}
12182
+ */
12183
+ update(value) {
12184
+ const ret = wasm.mama_update(this.__wbg_ptr, value);
12185
+ return takeObject(ret);
12186
+ }
12187
+ /**
12188
+ * @returns {number}
12189
+ */
12190
+ warmupPeriod() {
12191
+ const ret = wasm.mama_warmupPeriod(this.__wbg_ptr);
12192
+ return ret >>> 0;
12193
+ }
12194
+ }
12195
+ if (Symbol.dispose) MAMA.prototype[Symbol.dispose] = MAMA.prototype.free;
12196
+
12197
+ export class MFI {
12198
+ __destroy_into_raw() {
12199
+ const ptr = this.__wbg_ptr;
12200
+ this.__wbg_ptr = 0;
12201
+ MFIFinalization.unregister(this);
12202
+ return ptr;
12203
+ }
12204
+ free() {
12205
+ const ptr = this.__destroy_into_raw();
12206
+ wasm.__wbg_mfi_free(ptr, 0);
12207
+ }
12208
+ /**
12209
+ * @param {Float64Array} high
12210
+ * @param {Float64Array} low
12211
+ * @param {Float64Array} close
12212
+ * @param {Float64Array} volume
12213
+ * @returns {Float64Array}
12214
+ */
12215
+ batch(high, low, close, volume) {
12216
+ try {
12217
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12218
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
12219
+ const len0 = WASM_VECTOR_LEN;
12220
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
12221
+ const len1 = WASM_VECTOR_LEN;
12222
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
12223
+ const len2 = WASM_VECTOR_LEN;
12224
+ const ptr3 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
12225
+ const len3 = WASM_VECTOR_LEN;
12226
+ wasm.mfi_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
12227
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12228
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12229
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12230
+ if (r2) {
12231
+ throw takeObject(r1);
12232
+ }
12233
+ return takeObject(r0);
12234
+ } finally {
12235
+ wasm.__wbindgen_add_to_stack_pointer(16);
12236
+ }
12237
+ }
12238
+ /**
12239
+ * @returns {boolean}
12240
+ */
12241
+ isReady() {
12242
+ const ret = wasm.mfi_isReady(this.__wbg_ptr);
12243
+ return ret !== 0;
12244
+ }
12245
+ /**
12246
+ * @param {number} period
12247
+ */
12248
+ constructor(period) {
12249
+ try {
12250
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12251
+ wasm.mfi_new(retptr, period);
12252
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12253
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12254
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12255
+ if (r2) {
12256
+ throw takeObject(r1);
12257
+ }
12258
+ this.__wbg_ptr = r0;
12259
+ MFIFinalization.register(this, this.__wbg_ptr, this);
12260
+ return this;
12261
+ } finally {
12262
+ wasm.__wbindgen_add_to_stack_pointer(16);
12263
+ }
12264
+ }
12265
+ reset() {
12266
+ wasm.mfi_reset(this.__wbg_ptr);
12267
+ }
12268
+ /**
12269
+ * @param {number} high
12270
+ * @param {number} low
12271
+ * @param {number} close
12272
+ * @param {number} volume
12273
+ * @returns {number | undefined}
12274
+ */
12275
+ update(high, low, close, volume) {
12276
+ try {
12277
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
12278
+ wasm.mfi_update(retptr, this.__wbg_ptr, high, low, close, volume);
12279
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12280
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
12281
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
12282
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
12283
+ if (r5) {
12284
+ throw takeObject(r4);
12285
+ }
12286
+ return r0 === 0 ? undefined : r2;
12287
+ } finally {
12288
+ wasm.__wbindgen_add_to_stack_pointer(32);
12289
+ }
12290
+ }
12291
+ /**
12292
+ * @returns {number}
12293
+ */
12294
+ warmupPeriod() {
12295
+ const ret = wasm.mfi_warmupPeriod(this.__wbg_ptr);
12296
+ return ret >>> 0;
12297
+ }
12298
+ }
12299
+ if (Symbol.dispose) MFI.prototype[Symbol.dispose] = MFI.prototype.free;
12300
+
12301
+ export class MIDPOINT {
12302
+ __destroy_into_raw() {
12303
+ const ptr = this.__wbg_ptr;
12304
+ this.__wbg_ptr = 0;
12305
+ MIDPOINTFinalization.unregister(this);
12306
+ return ptr;
12307
+ }
12308
+ free() {
12309
+ const ptr = this.__destroy_into_raw();
12310
+ wasm.__wbg_midpoint_free(ptr, 0);
12311
+ }
12312
+ /**
12313
+ * @param {Float64Array} prices
12314
+ * @returns {Float64Array}
12315
+ */
12316
+ batch(prices) {
12317
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
12318
+ const len0 = WASM_VECTOR_LEN;
12319
+ const ret = wasm.midpoint_batch(this.__wbg_ptr, ptr0, len0);
12320
+ return takeObject(ret);
12321
+ }
12322
+ /**
12323
+ * @returns {boolean}
12324
+ */
12325
+ isReady() {
12326
+ const ret = wasm.midpoint_isReady(this.__wbg_ptr);
12327
+ return ret !== 0;
12328
+ }
12329
+ /**
12330
+ * @param {number} period
12331
+ */
12332
+ constructor(period) {
12333
+ try {
12334
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12335
+ wasm.midpoint_new(retptr, period);
12336
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12337
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12338
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12339
+ if (r2) {
12340
+ throw takeObject(r1);
12341
+ }
12342
+ this.__wbg_ptr = r0;
12343
+ MIDPOINTFinalization.register(this, this.__wbg_ptr, this);
12344
+ return this;
12345
+ } finally {
12346
+ wasm.__wbindgen_add_to_stack_pointer(16);
12347
+ }
12348
+ }
12349
+ reset() {
12350
+ wasm.midpoint_reset(this.__wbg_ptr);
12351
+ }
12352
+ /**
12353
+ * @param {number} value
12354
+ * @returns {number | undefined}
12355
+ */
12356
+ update(value) {
12357
+ try {
12358
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12359
+ wasm.midpoint_update(retptr, this.__wbg_ptr, value);
12360
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12361
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
12362
+ return r0 === 0 ? undefined : r2;
12363
+ } finally {
12364
+ wasm.__wbindgen_add_to_stack_pointer(16);
12365
+ }
12366
+ }
12367
+ /**
12368
+ * @returns {number}
12369
+ */
12370
+ warmupPeriod() {
12371
+ const ret = wasm.midpoint_warmupPeriod(this.__wbg_ptr);
12372
+ return ret >>> 0;
12373
+ }
12374
+ }
12375
+ if (Symbol.dispose) MIDPOINT.prototype[Symbol.dispose] = MIDPOINT.prototype.free;
12376
+
12377
+ export class MIDPRICE {
12378
+ __destroy_into_raw() {
12379
+ const ptr = this.__wbg_ptr;
12380
+ this.__wbg_ptr = 0;
12381
+ MIDPRICEFinalization.unregister(this);
12382
+ return ptr;
12383
+ }
12384
+ free() {
12385
+ const ptr = this.__destroy_into_raw();
12386
+ wasm.__wbg_midprice_free(ptr, 0);
12387
+ }
12388
+ /**
12389
+ * @param {Float64Array} high
12390
+ * @param {Float64Array} low
12391
+ * @param {Float64Array} close
12392
+ * @returns {Float64Array}
12393
+ */
12394
+ batch(high, low, close) {
12395
+ try {
12396
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12397
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
12398
+ const len0 = WASM_VECTOR_LEN;
12399
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
12400
+ const len1 = WASM_VECTOR_LEN;
12401
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
12402
+ const len2 = WASM_VECTOR_LEN;
12403
+ wasm.midprice_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
12404
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12405
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12406
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12407
+ if (r2) {
12408
+ throw takeObject(r1);
12409
+ }
12410
+ return takeObject(r0);
12411
+ } finally {
12412
+ wasm.__wbindgen_add_to_stack_pointer(16);
12413
+ }
12414
+ }
12415
+ /**
12416
+ * @param {number} period
12417
+ */
12418
+ constructor(period) {
12419
+ try {
12420
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12421
+ wasm.midprice_new(retptr, period);
12422
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12423
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12424
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12425
+ if (r2) {
12426
+ throw takeObject(r1);
12427
+ }
12428
+ this.__wbg_ptr = r0;
12429
+ MIDPRICEFinalization.register(this, this.__wbg_ptr, this);
12430
+ return this;
12431
+ } finally {
12432
+ wasm.__wbindgen_add_to_stack_pointer(16);
12433
+ }
12434
+ }
12435
+ reset() {
12436
+ wasm.midprice_reset(this.__wbg_ptr);
12437
+ }
12438
+ /**
12439
+ * @param {number} high
12440
+ * @param {number} low
12441
+ * @param {number} close
12442
+ * @returns {number | undefined}
12443
+ */
12444
+ update(high, low, close) {
12445
+ try {
12446
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
12447
+ wasm.midprice_update(retptr, this.__wbg_ptr, high, low, close);
12448
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12449
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
12450
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
12451
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
12452
+ if (r5) {
12453
+ throw takeObject(r4);
12454
+ }
12455
+ return r0 === 0 ? undefined : r2;
12456
+ } finally {
12457
+ wasm.__wbindgen_add_to_stack_pointer(32);
12458
+ }
12459
+ }
12460
+ }
12461
+ if (Symbol.dispose) MIDPRICE.prototype[Symbol.dispose] = MIDPRICE.prototype.free;
12462
+
12463
+ export class MINUS_DI {
12464
+ __destroy_into_raw() {
12465
+ const ptr = this.__wbg_ptr;
12466
+ this.__wbg_ptr = 0;
12467
+ MINUS_DIFinalization.unregister(this);
12468
+ return ptr;
12469
+ }
12470
+ free() {
12471
+ const ptr = this.__destroy_into_raw();
12472
+ wasm.__wbg_minus_di_free(ptr, 0);
12473
+ }
12474
+ /**
12475
+ * @param {Float64Array} high
12476
+ * @param {Float64Array} low
12477
+ * @param {Float64Array} close
12478
+ * @returns {Float64Array}
12479
+ */
12480
+ batch(high, low, close) {
12481
+ try {
12482
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12483
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
12484
+ const len0 = WASM_VECTOR_LEN;
12485
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
12486
+ const len1 = WASM_VECTOR_LEN;
12487
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
12488
+ const len2 = WASM_VECTOR_LEN;
12489
+ wasm.minus_di_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
12490
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12491
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
12492
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
12493
+ if (r2) {
12494
+ throw takeObject(r1);
12495
+ }
12496
+ return takeObject(r0);
12497
+ } finally {
12498
+ wasm.__wbindgen_add_to_stack_pointer(16);
12499
+ }
12500
+ }
12501
+ /**
12502
+ * @param {number} period
12503
+ */
12504
+ constructor(period) {
12505
+ try {
12506
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
12507
+ wasm.minus_di_new(retptr, period);
11641
12508
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11642
12509
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
11643
12510
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -11645,52 +12512,58 @@ export class MAMA {
11645
12512
  throw takeObject(r1);
11646
12513
  }
11647
12514
  this.__wbg_ptr = r0;
11648
- MAMAFinalization.register(this, this.__wbg_ptr, this);
12515
+ MINUS_DIFinalization.register(this, this.__wbg_ptr, this);
11649
12516
  return this;
11650
12517
  } finally {
11651
12518
  wasm.__wbindgen_add_to_stack_pointer(16);
11652
12519
  }
11653
12520
  }
11654
12521
  reset() {
11655
- wasm.mama_reset(this.__wbg_ptr);
11656
- }
11657
- /**
11658
- * @param {number} value
11659
- * @returns {any}
11660
- */
11661
- update(value) {
11662
- const ret = wasm.mama_update(this.__wbg_ptr, value);
11663
- return takeObject(ret);
12522
+ wasm.minus_di_reset(this.__wbg_ptr);
11664
12523
  }
11665
12524
  /**
11666
- * @returns {number}
12525
+ * @param {number} high
12526
+ * @param {number} low
12527
+ * @param {number} close
12528
+ * @returns {number | undefined}
11667
12529
  */
11668
- warmupPeriod() {
11669
- const ret = wasm.mama_warmupPeriod(this.__wbg_ptr);
11670
- return ret >>> 0;
12530
+ update(high, low, close) {
12531
+ try {
12532
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
12533
+ wasm.minus_di_update(retptr, this.__wbg_ptr, high, low, close);
12534
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
12535
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
12536
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
12537
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
12538
+ if (r5) {
12539
+ throw takeObject(r4);
12540
+ }
12541
+ return r0 === 0 ? undefined : r2;
12542
+ } finally {
12543
+ wasm.__wbindgen_add_to_stack_pointer(32);
12544
+ }
11671
12545
  }
11672
12546
  }
11673
- if (Symbol.dispose) MAMA.prototype[Symbol.dispose] = MAMA.prototype.free;
12547
+ if (Symbol.dispose) MINUS_DI.prototype[Symbol.dispose] = MINUS_DI.prototype.free;
11674
12548
 
11675
- export class MFI {
12549
+ export class MINUS_DM {
11676
12550
  __destroy_into_raw() {
11677
12551
  const ptr = this.__wbg_ptr;
11678
12552
  this.__wbg_ptr = 0;
11679
- MFIFinalization.unregister(this);
12553
+ MINUS_DMFinalization.unregister(this);
11680
12554
  return ptr;
11681
12555
  }
11682
12556
  free() {
11683
12557
  const ptr = this.__destroy_into_raw();
11684
- wasm.__wbg_mfi_free(ptr, 0);
12558
+ wasm.__wbg_minus_dm_free(ptr, 0);
11685
12559
  }
11686
12560
  /**
11687
12561
  * @param {Float64Array} high
11688
12562
  * @param {Float64Array} low
11689
12563
  * @param {Float64Array} close
11690
- * @param {Float64Array} volume
11691
12564
  * @returns {Float64Array}
11692
12565
  */
11693
- batch(high, low, close, volume) {
12566
+ batch(high, low, close) {
11694
12567
  try {
11695
12568
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11696
12569
  const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
@@ -11699,9 +12572,7 @@ export class MFI {
11699
12572
  const len1 = WASM_VECTOR_LEN;
11700
12573
  const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
11701
12574
  const len2 = WASM_VECTOR_LEN;
11702
- const ptr3 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
11703
- const len3 = WASM_VECTOR_LEN;
11704
- wasm.mfi_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
12575
+ wasm.minus_dm_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
11705
12576
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11706
12577
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
11707
12578
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -11713,20 +12584,13 @@ export class MFI {
11713
12584
  wasm.__wbindgen_add_to_stack_pointer(16);
11714
12585
  }
11715
12586
  }
11716
- /**
11717
- * @returns {boolean}
11718
- */
11719
- isReady() {
11720
- const ret = wasm.mfi_isReady(this.__wbg_ptr);
11721
- return ret !== 0;
11722
- }
11723
12587
  /**
11724
12588
  * @param {number} period
11725
12589
  */
11726
12590
  constructor(period) {
11727
12591
  try {
11728
12592
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
11729
- wasm.mfi_new(retptr, period);
12593
+ wasm.minus_dm_new(retptr, period);
11730
12594
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11731
12595
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
11732
12596
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -11734,26 +12598,25 @@ export class MFI {
11734
12598
  throw takeObject(r1);
11735
12599
  }
11736
12600
  this.__wbg_ptr = r0;
11737
- MFIFinalization.register(this, this.__wbg_ptr, this);
12601
+ MINUS_DMFinalization.register(this, this.__wbg_ptr, this);
11738
12602
  return this;
11739
12603
  } finally {
11740
12604
  wasm.__wbindgen_add_to_stack_pointer(16);
11741
12605
  }
11742
12606
  }
11743
12607
  reset() {
11744
- wasm.mfi_reset(this.__wbg_ptr);
12608
+ wasm.minus_dm_reset(this.__wbg_ptr);
11745
12609
  }
11746
12610
  /**
11747
12611
  * @param {number} high
11748
12612
  * @param {number} low
11749
12613
  * @param {number} close
11750
- * @param {number} volume
11751
12614
  * @returns {number | undefined}
11752
12615
  */
11753
- update(high, low, close, volume) {
12616
+ update(high, low, close) {
11754
12617
  try {
11755
12618
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
11756
- wasm.mfi_update(retptr, this.__wbg_ptr, high, low, close, volume);
12619
+ wasm.minus_dm_update(retptr, this.__wbg_ptr, high, low, close);
11757
12620
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
11758
12621
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
11759
12622
  var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
@@ -11766,15 +12629,8 @@ export class MFI {
11766
12629
  wasm.__wbindgen_add_to_stack_pointer(32);
11767
12630
  }
11768
12631
  }
11769
- /**
11770
- * @returns {number}
11771
- */
11772
- warmupPeriod() {
11773
- const ret = wasm.mfi_warmupPeriod(this.__wbg_ptr);
11774
- return ret >>> 0;
11775
- }
11776
12632
  }
11777
- if (Symbol.dispose) MFI.prototype[Symbol.dispose] = MFI.prototype.free;
12633
+ if (Symbol.dispose) MINUS_DM.prototype[Symbol.dispose] = MINUS_DM.prototype.free;
11778
12634
 
11779
12635
  export class MOM {
11780
12636
  __destroy_into_raw() {
@@ -13866,18 +14722,211 @@ export class OrderBookImbalanceTopN {
13866
14722
  * @param {Float64Array} ask_sz
13867
14723
  * @returns {number | undefined}
13868
14724
  */
13869
- update(bid_px, bid_sz, ask_px, ask_sz) {
14725
+ update(bid_px, bid_sz, ask_px, ask_sz) {
14726
+ try {
14727
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
14728
+ const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
14729
+ const len0 = WASM_VECTOR_LEN;
14730
+ const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
14731
+ const len1 = WASM_VECTOR_LEN;
14732
+ const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
14733
+ const len2 = WASM_VECTOR_LEN;
14734
+ const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
14735
+ const len3 = WASM_VECTOR_LEN;
14736
+ wasm.orderbookimbalancetopn_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
14737
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14738
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
14739
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
14740
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
14741
+ if (r5) {
14742
+ throw takeObject(r4);
14743
+ }
14744
+ return r0 === 0 ? undefined : r2;
14745
+ } finally {
14746
+ wasm.__wbindgen_add_to_stack_pointer(32);
14747
+ }
14748
+ }
14749
+ /**
14750
+ * @returns {number}
14751
+ */
14752
+ warmupPeriod() {
14753
+ const ret = wasm.orderbookimbalancetopn_warmupPeriod(this.__wbg_ptr);
14754
+ return ret >>> 0;
14755
+ }
14756
+ }
14757
+ if (Symbol.dispose) OrderBookImbalanceTopN.prototype[Symbol.dispose] = OrderBookImbalanceTopN.prototype.free;
14758
+
14759
+ export class PGO {
14760
+ __destroy_into_raw() {
14761
+ const ptr = this.__wbg_ptr;
14762
+ this.__wbg_ptr = 0;
14763
+ PGOFinalization.unregister(this);
14764
+ return ptr;
14765
+ }
14766
+ free() {
14767
+ const ptr = this.__destroy_into_raw();
14768
+ wasm.__wbg_pgo_free(ptr, 0);
14769
+ }
14770
+ /**
14771
+ * @param {Float64Array} high
14772
+ * @param {Float64Array} low
14773
+ * @param {Float64Array} close
14774
+ * @returns {Float64Array}
14775
+ */
14776
+ batch(high, low, close) {
14777
+ try {
14778
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
14779
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
14780
+ const len0 = WASM_VECTOR_LEN;
14781
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
14782
+ const len1 = WASM_VECTOR_LEN;
14783
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
14784
+ const len2 = WASM_VECTOR_LEN;
14785
+ wasm.pgo_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
14786
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14787
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
14788
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
14789
+ if (r2) {
14790
+ throw takeObject(r1);
14791
+ }
14792
+ return takeObject(r0);
14793
+ } finally {
14794
+ wasm.__wbindgen_add_to_stack_pointer(16);
14795
+ }
14796
+ }
14797
+ /**
14798
+ * @returns {boolean}
14799
+ */
14800
+ isReady() {
14801
+ const ret = wasm.pgo_isReady(this.__wbg_ptr);
14802
+ return ret !== 0;
14803
+ }
14804
+ /**
14805
+ * @param {number} period
14806
+ */
14807
+ constructor(period) {
14808
+ try {
14809
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
14810
+ wasm.pgo_new(retptr, period);
14811
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14812
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
14813
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
14814
+ if (r2) {
14815
+ throw takeObject(r1);
14816
+ }
14817
+ this.__wbg_ptr = r0;
14818
+ PGOFinalization.register(this, this.__wbg_ptr, this);
14819
+ return this;
14820
+ } finally {
14821
+ wasm.__wbindgen_add_to_stack_pointer(16);
14822
+ }
14823
+ }
14824
+ reset() {
14825
+ wasm.pgo_reset(this.__wbg_ptr);
14826
+ }
14827
+ /**
14828
+ * @param {number} high
14829
+ * @param {number} low
14830
+ * @param {number} close
14831
+ * @returns {number | undefined}
14832
+ */
14833
+ update(high, low, close) {
14834
+ try {
14835
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
14836
+ wasm.pgo_update(retptr, this.__wbg_ptr, high, low, close);
14837
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14838
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
14839
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
14840
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
14841
+ if (r5) {
14842
+ throw takeObject(r4);
14843
+ }
14844
+ return r0 === 0 ? undefined : r2;
14845
+ } finally {
14846
+ wasm.__wbindgen_add_to_stack_pointer(32);
14847
+ }
14848
+ }
14849
+ /**
14850
+ * @returns {number}
14851
+ */
14852
+ warmupPeriod() {
14853
+ const ret = wasm.pgo_warmupPeriod(this.__wbg_ptr);
14854
+ return ret >>> 0;
14855
+ }
14856
+ }
14857
+ if (Symbol.dispose) PGO.prototype[Symbol.dispose] = PGO.prototype.free;
14858
+
14859
+ export class PLUS_DI {
14860
+ __destroy_into_raw() {
14861
+ const ptr = this.__wbg_ptr;
14862
+ this.__wbg_ptr = 0;
14863
+ PLUS_DIFinalization.unregister(this);
14864
+ return ptr;
14865
+ }
14866
+ free() {
14867
+ const ptr = this.__destroy_into_raw();
14868
+ wasm.__wbg_plus_di_free(ptr, 0);
14869
+ }
14870
+ /**
14871
+ * @param {Float64Array} high
14872
+ * @param {Float64Array} low
14873
+ * @param {Float64Array} close
14874
+ * @returns {Float64Array}
14875
+ */
14876
+ batch(high, low, close) {
14877
+ try {
14878
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
14879
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
14880
+ const len0 = WASM_VECTOR_LEN;
14881
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
14882
+ const len1 = WASM_VECTOR_LEN;
14883
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
14884
+ const len2 = WASM_VECTOR_LEN;
14885
+ wasm.plus_di_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
14886
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14887
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
14888
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
14889
+ if (r2) {
14890
+ throw takeObject(r1);
14891
+ }
14892
+ return takeObject(r0);
14893
+ } finally {
14894
+ wasm.__wbindgen_add_to_stack_pointer(16);
14895
+ }
14896
+ }
14897
+ /**
14898
+ * @param {number} period
14899
+ */
14900
+ constructor(period) {
14901
+ try {
14902
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
14903
+ wasm.plus_di_new(retptr, period);
14904
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14905
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
14906
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
14907
+ if (r2) {
14908
+ throw takeObject(r1);
14909
+ }
14910
+ this.__wbg_ptr = r0;
14911
+ PLUS_DIFinalization.register(this, this.__wbg_ptr, this);
14912
+ return this;
14913
+ } finally {
14914
+ wasm.__wbindgen_add_to_stack_pointer(16);
14915
+ }
14916
+ }
14917
+ reset() {
14918
+ wasm.plus_di_reset(this.__wbg_ptr);
14919
+ }
14920
+ /**
14921
+ * @param {number} high
14922
+ * @param {number} low
14923
+ * @param {number} close
14924
+ * @returns {number | undefined}
14925
+ */
14926
+ update(high, low, close) {
13870
14927
  try {
13871
14928
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
13872
- const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
13873
- const len0 = WASM_VECTOR_LEN;
13874
- const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
13875
- const len1 = WASM_VECTOR_LEN;
13876
- const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
13877
- const len2 = WASM_VECTOR_LEN;
13878
- const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
13879
- const len3 = WASM_VECTOR_LEN;
13880
- wasm.orderbookimbalancetopn_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
14929
+ wasm.plus_di_update(retptr, this.__wbg_ptr, high, low, close);
13881
14930
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13882
14931
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
13883
14932
  var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
@@ -13890,26 +14939,19 @@ export class OrderBookImbalanceTopN {
13890
14939
  wasm.__wbindgen_add_to_stack_pointer(32);
13891
14940
  }
13892
14941
  }
13893
- /**
13894
- * @returns {number}
13895
- */
13896
- warmupPeriod() {
13897
- const ret = wasm.orderbookimbalancetopn_warmupPeriod(this.__wbg_ptr);
13898
- return ret >>> 0;
13899
- }
13900
14942
  }
13901
- if (Symbol.dispose) OrderBookImbalanceTopN.prototype[Symbol.dispose] = OrderBookImbalanceTopN.prototype.free;
14943
+ if (Symbol.dispose) PLUS_DI.prototype[Symbol.dispose] = PLUS_DI.prototype.free;
13902
14944
 
13903
- export class PGO {
14945
+ export class PLUS_DM {
13904
14946
  __destroy_into_raw() {
13905
14947
  const ptr = this.__wbg_ptr;
13906
14948
  this.__wbg_ptr = 0;
13907
- PGOFinalization.unregister(this);
14949
+ PLUS_DMFinalization.unregister(this);
13908
14950
  return ptr;
13909
14951
  }
13910
14952
  free() {
13911
14953
  const ptr = this.__destroy_into_raw();
13912
- wasm.__wbg_pgo_free(ptr, 0);
14954
+ wasm.__wbg_plus_dm_free(ptr, 0);
13913
14955
  }
13914
14956
  /**
13915
14957
  * @param {Float64Array} high
@@ -13926,7 +14968,7 @@ export class PGO {
13926
14968
  const len1 = WASM_VECTOR_LEN;
13927
14969
  const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
13928
14970
  const len2 = WASM_VECTOR_LEN;
13929
- wasm.pgo_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
14971
+ wasm.plus_dm_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
13930
14972
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13931
14973
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
13932
14974
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -13938,20 +14980,13 @@ export class PGO {
13938
14980
  wasm.__wbindgen_add_to_stack_pointer(16);
13939
14981
  }
13940
14982
  }
13941
- /**
13942
- * @returns {boolean}
13943
- */
13944
- isReady() {
13945
- const ret = wasm.pgo_isReady(this.__wbg_ptr);
13946
- return ret !== 0;
13947
- }
13948
14983
  /**
13949
14984
  * @param {number} period
13950
14985
  */
13951
14986
  constructor(period) {
13952
14987
  try {
13953
14988
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
13954
- wasm.pgo_new(retptr, period);
14989
+ wasm.plus_dm_new(retptr, period);
13955
14990
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13956
14991
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
13957
14992
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -13959,14 +14994,14 @@ export class PGO {
13959
14994
  throw takeObject(r1);
13960
14995
  }
13961
14996
  this.__wbg_ptr = r0;
13962
- PGOFinalization.register(this, this.__wbg_ptr, this);
14997
+ PLUS_DMFinalization.register(this, this.__wbg_ptr, this);
13963
14998
  return this;
13964
14999
  } finally {
13965
15000
  wasm.__wbindgen_add_to_stack_pointer(16);
13966
15001
  }
13967
15002
  }
13968
15003
  reset() {
13969
- wasm.pgo_reset(this.__wbg_ptr);
15004
+ wasm.plus_dm_reset(this.__wbg_ptr);
13970
15005
  }
13971
15006
  /**
13972
15007
  * @param {number} high
@@ -13977,7 +15012,7 @@ export class PGO {
13977
15012
  update(high, low, close) {
13978
15013
  try {
13979
15014
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
13980
- wasm.pgo_update(retptr, this.__wbg_ptr, high, low, close);
15015
+ wasm.plus_dm_update(retptr, this.__wbg_ptr, high, low, close);
13981
15016
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
13982
15017
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
13983
15018
  var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
@@ -13990,15 +15025,8 @@ export class PGO {
13990
15025
  wasm.__wbindgen_add_to_stack_pointer(32);
13991
15026
  }
13992
15027
  }
13993
- /**
13994
- * @returns {number}
13995
- */
13996
- warmupPeriod() {
13997
- const ret = wasm.pgo_warmupPeriod(this.__wbg_ptr);
13998
- return ret >>> 0;
13999
- }
14000
15028
  }
14001
- if (Symbol.dispose) PGO.prototype[Symbol.dispose] = PGO.prototype.free;
15029
+ if (Symbol.dispose) PLUS_DM.prototype[Symbol.dispose] = PLUS_DM.prototype.free;
14002
15030
 
14003
15031
  export class PMO {
14004
15032
  __destroy_into_raw() {
@@ -15100,18 +16128,238 @@ export class PointAndFigureBars {
15100
16128
  }
15101
16129
  }
15102
16130
  }
15103
- if (Symbol.dispose) PointAndFigureBars.prototype[Symbol.dispose] = PointAndFigureBars.prototype.free;
16131
+ if (Symbol.dispose) PointAndFigureBars.prototype[Symbol.dispose] = PointAndFigureBars.prototype.free;
16132
+
16133
+ export class ProfitFactor {
16134
+ __destroy_into_raw() {
16135
+ const ptr = this.__wbg_ptr;
16136
+ this.__wbg_ptr = 0;
16137
+ ProfitFactorFinalization.unregister(this);
16138
+ return ptr;
16139
+ }
16140
+ free() {
16141
+ const ptr = this.__destroy_into_raw();
16142
+ wasm.__wbg_profitfactor_free(ptr, 0);
16143
+ }
16144
+ /**
16145
+ * @param {Float64Array} prices
16146
+ * @returns {Float64Array}
16147
+ */
16148
+ batch(prices) {
16149
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
16150
+ const len0 = WASM_VECTOR_LEN;
16151
+ const ret = wasm.profitfactor_batch(this.__wbg_ptr, ptr0, len0);
16152
+ return takeObject(ret);
16153
+ }
16154
+ /**
16155
+ * @returns {boolean}
16156
+ */
16157
+ isReady() {
16158
+ const ret = wasm.profitfactor_isReady(this.__wbg_ptr);
16159
+ return ret !== 0;
16160
+ }
16161
+ /**
16162
+ * @param {number} period
16163
+ */
16164
+ constructor(period) {
16165
+ try {
16166
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
16167
+ wasm.profitfactor_new(retptr, period);
16168
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
16169
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
16170
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
16171
+ if (r2) {
16172
+ throw takeObject(r1);
16173
+ }
16174
+ this.__wbg_ptr = r0;
16175
+ ProfitFactorFinalization.register(this, this.__wbg_ptr, this);
16176
+ return this;
16177
+ } finally {
16178
+ wasm.__wbindgen_add_to_stack_pointer(16);
16179
+ }
16180
+ }
16181
+ reset() {
16182
+ wasm.profitfactor_reset(this.__wbg_ptr);
16183
+ }
16184
+ /**
16185
+ * @param {number} value
16186
+ * @returns {number | undefined}
16187
+ */
16188
+ update(value) {
16189
+ try {
16190
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
16191
+ wasm.profitfactor_update(retptr, this.__wbg_ptr, value);
16192
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
16193
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
16194
+ return r0 === 0 ? undefined : r2;
16195
+ } finally {
16196
+ wasm.__wbindgen_add_to_stack_pointer(16);
16197
+ }
16198
+ }
16199
+ /**
16200
+ * @returns {number}
16201
+ */
16202
+ warmupPeriod() {
16203
+ const ret = wasm.profitfactor_warmupPeriod(this.__wbg_ptr);
16204
+ return ret >>> 0;
16205
+ }
16206
+ }
16207
+ if (Symbol.dispose) ProfitFactor.prototype[Symbol.dispose] = ProfitFactor.prototype.free;
16208
+
16209
+ export class QuotedSpread {
16210
+ __destroy_into_raw() {
16211
+ const ptr = this.__wbg_ptr;
16212
+ this.__wbg_ptr = 0;
16213
+ QuotedSpreadFinalization.unregister(this);
16214
+ return ptr;
16215
+ }
16216
+ free() {
16217
+ const ptr = this.__destroy_into_raw();
16218
+ wasm.__wbg_quotedspread_free(ptr, 0);
16219
+ }
16220
+ /**
16221
+ * @returns {boolean}
16222
+ */
16223
+ isReady() {
16224
+ const ret = wasm.quotedspread_isReady(this.__wbg_ptr);
16225
+ return ret !== 0;
16226
+ }
16227
+ constructor() {
16228
+ const ret = wasm.quotedspread_new();
16229
+ this.__wbg_ptr = ret;
16230
+ QuotedSpreadFinalization.register(this, this.__wbg_ptr, this);
16231
+ return this;
16232
+ }
16233
+ reset() {
16234
+ wasm.quotedspread_reset(this.__wbg_ptr);
16235
+ }
16236
+ /**
16237
+ * @param {Float64Array} bid_px
16238
+ * @param {Float64Array} bid_sz
16239
+ * @param {Float64Array} ask_px
16240
+ * @param {Float64Array} ask_sz
16241
+ * @returns {number | undefined}
16242
+ */
16243
+ update(bid_px, bid_sz, ask_px, ask_sz) {
16244
+ try {
16245
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
16246
+ const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
16247
+ const len0 = WASM_VECTOR_LEN;
16248
+ const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
16249
+ const len1 = WASM_VECTOR_LEN;
16250
+ const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
16251
+ const len2 = WASM_VECTOR_LEN;
16252
+ const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
16253
+ const len3 = WASM_VECTOR_LEN;
16254
+ wasm.quotedspread_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
16255
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
16256
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
16257
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
16258
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
16259
+ if (r5) {
16260
+ throw takeObject(r4);
16261
+ }
16262
+ return r0 === 0 ? undefined : r2;
16263
+ } finally {
16264
+ wasm.__wbindgen_add_to_stack_pointer(32);
16265
+ }
16266
+ }
16267
+ /**
16268
+ * @returns {number}
16269
+ */
16270
+ warmupPeriod() {
16271
+ const ret = wasm.quotedspread_warmupPeriod(this.__wbg_ptr);
16272
+ return ret >>> 0;
16273
+ }
16274
+ }
16275
+ if (Symbol.dispose) QuotedSpread.prototype[Symbol.dispose] = QuotedSpread.prototype.free;
16276
+
16277
+ export class ROC {
16278
+ __destroy_into_raw() {
16279
+ const ptr = this.__wbg_ptr;
16280
+ this.__wbg_ptr = 0;
16281
+ ROCFinalization.unregister(this);
16282
+ return ptr;
16283
+ }
16284
+ free() {
16285
+ const ptr = this.__destroy_into_raw();
16286
+ wasm.__wbg_roc_free(ptr, 0);
16287
+ }
16288
+ /**
16289
+ * @param {Float64Array} prices
16290
+ * @returns {Float64Array}
16291
+ */
16292
+ batch(prices) {
16293
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
16294
+ const len0 = WASM_VECTOR_LEN;
16295
+ const ret = wasm.roc_batch(this.__wbg_ptr, ptr0, len0);
16296
+ return takeObject(ret);
16297
+ }
16298
+ /**
16299
+ * @returns {boolean}
16300
+ */
16301
+ isReady() {
16302
+ const ret = wasm.roc_isReady(this.__wbg_ptr);
16303
+ return ret !== 0;
16304
+ }
16305
+ /**
16306
+ * @param {number} period
16307
+ */
16308
+ constructor(period) {
16309
+ try {
16310
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
16311
+ wasm.roc_new(retptr, period);
16312
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
16313
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
16314
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
16315
+ if (r2) {
16316
+ throw takeObject(r1);
16317
+ }
16318
+ this.__wbg_ptr = r0;
16319
+ ROCFinalization.register(this, this.__wbg_ptr, this);
16320
+ return this;
16321
+ } finally {
16322
+ wasm.__wbindgen_add_to_stack_pointer(16);
16323
+ }
16324
+ }
16325
+ reset() {
16326
+ wasm.roc_reset(this.__wbg_ptr);
16327
+ }
16328
+ /**
16329
+ * @param {number} value
16330
+ * @returns {number | undefined}
16331
+ */
16332
+ update(value) {
16333
+ try {
16334
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
16335
+ wasm.roc_update(retptr, this.__wbg_ptr, value);
16336
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
16337
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
16338
+ return r0 === 0 ? undefined : r2;
16339
+ } finally {
16340
+ wasm.__wbindgen_add_to_stack_pointer(16);
16341
+ }
16342
+ }
16343
+ /**
16344
+ * @returns {number}
16345
+ */
16346
+ warmupPeriod() {
16347
+ const ret = wasm.roc_warmupPeriod(this.__wbg_ptr);
16348
+ return ret >>> 0;
16349
+ }
16350
+ }
16351
+ if (Symbol.dispose) ROC.prototype[Symbol.dispose] = ROC.prototype.free;
15104
16352
 
15105
- export class ProfitFactor {
16353
+ export class ROCP {
15106
16354
  __destroy_into_raw() {
15107
16355
  const ptr = this.__wbg_ptr;
15108
16356
  this.__wbg_ptr = 0;
15109
- ProfitFactorFinalization.unregister(this);
16357
+ ROCPFinalization.unregister(this);
15110
16358
  return ptr;
15111
16359
  }
15112
16360
  free() {
15113
16361
  const ptr = this.__destroy_into_raw();
15114
- wasm.__wbg_profitfactor_free(ptr, 0);
16362
+ wasm.__wbg_rocp_free(ptr, 0);
15115
16363
  }
15116
16364
  /**
15117
16365
  * @param {Float64Array} prices
@@ -15120,14 +16368,14 @@ export class ProfitFactor {
15120
16368
  batch(prices) {
15121
16369
  const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
15122
16370
  const len0 = WASM_VECTOR_LEN;
15123
- const ret = wasm.profitfactor_batch(this.__wbg_ptr, ptr0, len0);
16371
+ const ret = wasm.rocp_batch(this.__wbg_ptr, ptr0, len0);
15124
16372
  return takeObject(ret);
15125
16373
  }
15126
16374
  /**
15127
16375
  * @returns {boolean}
15128
16376
  */
15129
16377
  isReady() {
15130
- const ret = wasm.profitfactor_isReady(this.__wbg_ptr);
16378
+ const ret = wasm.rocp_isReady(this.__wbg_ptr);
15131
16379
  return ret !== 0;
15132
16380
  }
15133
16381
  /**
@@ -15136,7 +16384,7 @@ export class ProfitFactor {
15136
16384
  constructor(period) {
15137
16385
  try {
15138
16386
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
15139
- wasm.profitfactor_new(retptr, period);
16387
+ wasm.rocp_new(retptr, period);
15140
16388
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
15141
16389
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
15142
16390
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -15144,14 +16392,14 @@ export class ProfitFactor {
15144
16392
  throw takeObject(r1);
15145
16393
  }
15146
16394
  this.__wbg_ptr = r0;
15147
- ProfitFactorFinalization.register(this, this.__wbg_ptr, this);
16395
+ ROCPFinalization.register(this, this.__wbg_ptr, this);
15148
16396
  return this;
15149
16397
  } finally {
15150
16398
  wasm.__wbindgen_add_to_stack_pointer(16);
15151
16399
  }
15152
16400
  }
15153
16401
  reset() {
15154
- wasm.profitfactor_reset(this.__wbg_ptr);
16402
+ wasm.rocp_reset(this.__wbg_ptr);
15155
16403
  }
15156
16404
  /**
15157
16405
  * @param {number} value
@@ -15160,7 +16408,7 @@ export class ProfitFactor {
15160
16408
  update(value) {
15161
16409
  try {
15162
16410
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
15163
- wasm.profitfactor_update(retptr, this.__wbg_ptr, value);
16411
+ wasm.rocp_update(retptr, this.__wbg_ptr, value);
15164
16412
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
15165
16413
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
15166
16414
  return r0 === 0 ? undefined : r2;
@@ -15172,90 +16420,98 @@ export class ProfitFactor {
15172
16420
  * @returns {number}
15173
16421
  */
15174
16422
  warmupPeriod() {
15175
- const ret = wasm.profitfactor_warmupPeriod(this.__wbg_ptr);
16423
+ const ret = wasm.rocp_warmupPeriod(this.__wbg_ptr);
15176
16424
  return ret >>> 0;
15177
16425
  }
15178
16426
  }
15179
- if (Symbol.dispose) ProfitFactor.prototype[Symbol.dispose] = ProfitFactor.prototype.free;
16427
+ if (Symbol.dispose) ROCP.prototype[Symbol.dispose] = ROCP.prototype.free;
15180
16428
 
15181
- export class QuotedSpread {
16429
+ export class ROCR {
15182
16430
  __destroy_into_raw() {
15183
16431
  const ptr = this.__wbg_ptr;
15184
16432
  this.__wbg_ptr = 0;
15185
- QuotedSpreadFinalization.unregister(this);
16433
+ ROCRFinalization.unregister(this);
15186
16434
  return ptr;
15187
16435
  }
15188
16436
  free() {
15189
16437
  const ptr = this.__destroy_into_raw();
15190
- wasm.__wbg_quotedspread_free(ptr, 0);
16438
+ wasm.__wbg_rocr_free(ptr, 0);
16439
+ }
16440
+ /**
16441
+ * @param {Float64Array} prices
16442
+ * @returns {Float64Array}
16443
+ */
16444
+ batch(prices) {
16445
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
16446
+ const len0 = WASM_VECTOR_LEN;
16447
+ const ret = wasm.rocr_batch(this.__wbg_ptr, ptr0, len0);
16448
+ return takeObject(ret);
15191
16449
  }
15192
16450
  /**
15193
16451
  * @returns {boolean}
15194
16452
  */
15195
16453
  isReady() {
15196
- const ret = wasm.quotedspread_isReady(this.__wbg_ptr);
16454
+ const ret = wasm.rocr_isReady(this.__wbg_ptr);
15197
16455
  return ret !== 0;
15198
16456
  }
15199
- constructor() {
15200
- const ret = wasm.quotedspread_new();
15201
- this.__wbg_ptr = ret;
15202
- QuotedSpreadFinalization.register(this, this.__wbg_ptr, this);
15203
- return this;
16457
+ /**
16458
+ * @param {number} period
16459
+ */
16460
+ constructor(period) {
16461
+ try {
16462
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
16463
+ wasm.rocr_new(retptr, period);
16464
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
16465
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
16466
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
16467
+ if (r2) {
16468
+ throw takeObject(r1);
16469
+ }
16470
+ this.__wbg_ptr = r0;
16471
+ ROCRFinalization.register(this, this.__wbg_ptr, this);
16472
+ return this;
16473
+ } finally {
16474
+ wasm.__wbindgen_add_to_stack_pointer(16);
16475
+ }
15204
16476
  }
15205
16477
  reset() {
15206
- wasm.quotedspread_reset(this.__wbg_ptr);
16478
+ wasm.rocr_reset(this.__wbg_ptr);
15207
16479
  }
15208
16480
  /**
15209
- * @param {Float64Array} bid_px
15210
- * @param {Float64Array} bid_sz
15211
- * @param {Float64Array} ask_px
15212
- * @param {Float64Array} ask_sz
16481
+ * @param {number} value
15213
16482
  * @returns {number | undefined}
15214
16483
  */
15215
- update(bid_px, bid_sz, ask_px, ask_sz) {
16484
+ update(value) {
15216
16485
  try {
15217
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
15218
- const ptr0 = passArrayF64ToWasm0(bid_px, wasm.__wbindgen_export3);
15219
- const len0 = WASM_VECTOR_LEN;
15220
- const ptr1 = passArrayF64ToWasm0(bid_sz, wasm.__wbindgen_export3);
15221
- const len1 = WASM_VECTOR_LEN;
15222
- const ptr2 = passArrayF64ToWasm0(ask_px, wasm.__wbindgen_export3);
15223
- const len2 = WASM_VECTOR_LEN;
15224
- const ptr3 = passArrayF64ToWasm0(ask_sz, wasm.__wbindgen_export3);
15225
- const len3 = WASM_VECTOR_LEN;
15226
- wasm.quotedspread_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
16486
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
16487
+ wasm.rocr_update(retptr, this.__wbg_ptr, value);
15227
16488
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
15228
16489
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
15229
- var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
15230
- var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
15231
- if (r5) {
15232
- throw takeObject(r4);
15233
- }
15234
16490
  return r0 === 0 ? undefined : r2;
15235
16491
  } finally {
15236
- wasm.__wbindgen_add_to_stack_pointer(32);
16492
+ wasm.__wbindgen_add_to_stack_pointer(16);
15237
16493
  }
15238
16494
  }
15239
16495
  /**
15240
16496
  * @returns {number}
15241
16497
  */
15242
16498
  warmupPeriod() {
15243
- const ret = wasm.quotedspread_warmupPeriod(this.__wbg_ptr);
16499
+ const ret = wasm.rocr_warmupPeriod(this.__wbg_ptr);
15244
16500
  return ret >>> 0;
15245
16501
  }
15246
16502
  }
15247
- if (Symbol.dispose) QuotedSpread.prototype[Symbol.dispose] = QuotedSpread.prototype.free;
16503
+ if (Symbol.dispose) ROCR.prototype[Symbol.dispose] = ROCR.prototype.free;
15248
16504
 
15249
- export class ROC {
16505
+ export class ROCR100 {
15250
16506
  __destroy_into_raw() {
15251
16507
  const ptr = this.__wbg_ptr;
15252
16508
  this.__wbg_ptr = 0;
15253
- ROCFinalization.unregister(this);
16509
+ ROCR100Finalization.unregister(this);
15254
16510
  return ptr;
15255
16511
  }
15256
16512
  free() {
15257
16513
  const ptr = this.__destroy_into_raw();
15258
- wasm.__wbg_roc_free(ptr, 0);
16514
+ wasm.__wbg_rocr100_free(ptr, 0);
15259
16515
  }
15260
16516
  /**
15261
16517
  * @param {Float64Array} prices
@@ -15264,14 +16520,14 @@ export class ROC {
15264
16520
  batch(prices) {
15265
16521
  const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
15266
16522
  const len0 = WASM_VECTOR_LEN;
15267
- const ret = wasm.roc_batch(this.__wbg_ptr, ptr0, len0);
16523
+ const ret = wasm.rocr100_batch(this.__wbg_ptr, ptr0, len0);
15268
16524
  return takeObject(ret);
15269
16525
  }
15270
16526
  /**
15271
16527
  * @returns {boolean}
15272
16528
  */
15273
16529
  isReady() {
15274
- const ret = wasm.roc_isReady(this.__wbg_ptr);
16530
+ const ret = wasm.rocr100_isReady(this.__wbg_ptr);
15275
16531
  return ret !== 0;
15276
16532
  }
15277
16533
  /**
@@ -15280,7 +16536,7 @@ export class ROC {
15280
16536
  constructor(period) {
15281
16537
  try {
15282
16538
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
15283
- wasm.roc_new(retptr, period);
16539
+ wasm.rocr100_new(retptr, period);
15284
16540
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
15285
16541
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
15286
16542
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -15288,14 +16544,14 @@ export class ROC {
15288
16544
  throw takeObject(r1);
15289
16545
  }
15290
16546
  this.__wbg_ptr = r0;
15291
- ROCFinalization.register(this, this.__wbg_ptr, this);
16547
+ ROCR100Finalization.register(this, this.__wbg_ptr, this);
15292
16548
  return this;
15293
16549
  } finally {
15294
16550
  wasm.__wbindgen_add_to_stack_pointer(16);
15295
16551
  }
15296
16552
  }
15297
16553
  reset() {
15298
- wasm.roc_reset(this.__wbg_ptr);
16554
+ wasm.rocr100_reset(this.__wbg_ptr);
15299
16555
  }
15300
16556
  /**
15301
16557
  * @param {number} value
@@ -15304,7 +16560,7 @@ export class ROC {
15304
16560
  update(value) {
15305
16561
  try {
15306
16562
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
15307
- wasm.roc_update(retptr, this.__wbg_ptr, value);
16563
+ wasm.rocr100_update(retptr, this.__wbg_ptr, value);
15308
16564
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
15309
16565
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
15310
16566
  return r0 === 0 ? undefined : r2;
@@ -15316,11 +16572,11 @@ export class ROC {
15316
16572
  * @returns {number}
15317
16573
  */
15318
16574
  warmupPeriod() {
15319
- const ret = wasm.roc_warmupPeriod(this.__wbg_ptr);
16575
+ const ret = wasm.rocr100_warmupPeriod(this.__wbg_ptr);
15320
16576
  return ret >>> 0;
15321
16577
  }
15322
16578
  }
15323
- if (Symbol.dispose) ROC.prototype[Symbol.dispose] = ROC.prototype.free;
16579
+ if (Symbol.dispose) ROCR100.prototype[Symbol.dispose] = ROCR100.prototype.free;
15324
16580
 
15325
16581
  export class RSI {
15326
16582
  __destroy_into_raw() {
@@ -16584,6 +17840,99 @@ export class RoofingFilter {
16584
17840
  }
16585
17841
  if (Symbol.dispose) RoofingFilter.prototype[Symbol.dispose] = RoofingFilter.prototype.free;
16586
17842
 
17843
+ export class SAREXT {
17844
+ __destroy_into_raw() {
17845
+ const ptr = this.__wbg_ptr;
17846
+ this.__wbg_ptr = 0;
17847
+ SAREXTFinalization.unregister(this);
17848
+ return ptr;
17849
+ }
17850
+ free() {
17851
+ const ptr = this.__destroy_into_raw();
17852
+ wasm.__wbg_sarext_free(ptr, 0);
17853
+ }
17854
+ /**
17855
+ * @param {Float64Array} high
17856
+ * @param {Float64Array} low
17857
+ * @param {Float64Array} close
17858
+ * @returns {Float64Array}
17859
+ */
17860
+ batch(high, low, close) {
17861
+ try {
17862
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
17863
+ const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
17864
+ const len0 = WASM_VECTOR_LEN;
17865
+ const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
17866
+ const len1 = WASM_VECTOR_LEN;
17867
+ const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
17868
+ const len2 = WASM_VECTOR_LEN;
17869
+ wasm.sarext_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
17870
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
17871
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
17872
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
17873
+ if (r2) {
17874
+ throw takeObject(r1);
17875
+ }
17876
+ return takeObject(r0);
17877
+ } finally {
17878
+ wasm.__wbindgen_add_to_stack_pointer(16);
17879
+ }
17880
+ }
17881
+ /**
17882
+ * @param {number} start_value
17883
+ * @param {number} offset_on_reverse
17884
+ * @param {number} accel_init_long
17885
+ * @param {number} accel_long
17886
+ * @param {number} accel_max_long
17887
+ * @param {number} accel_init_short
17888
+ * @param {number} accel_short
17889
+ * @param {number} accel_max_short
17890
+ */
17891
+ constructor(start_value, offset_on_reverse, accel_init_long, accel_long, accel_max_long, accel_init_short, accel_short, accel_max_short) {
17892
+ try {
17893
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
17894
+ wasm.sarext_new(retptr, start_value, offset_on_reverse, accel_init_long, accel_long, accel_max_long, accel_init_short, accel_short, accel_max_short);
17895
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
17896
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
17897
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
17898
+ if (r2) {
17899
+ throw takeObject(r1);
17900
+ }
17901
+ this.__wbg_ptr = r0;
17902
+ SAREXTFinalization.register(this, this.__wbg_ptr, this);
17903
+ return this;
17904
+ } finally {
17905
+ wasm.__wbindgen_add_to_stack_pointer(16);
17906
+ }
17907
+ }
17908
+ reset() {
17909
+ wasm.sarext_reset(this.__wbg_ptr);
17910
+ }
17911
+ /**
17912
+ * @param {number} high
17913
+ * @param {number} low
17914
+ * @param {number} close
17915
+ * @returns {number | undefined}
17916
+ */
17917
+ update(high, low, close) {
17918
+ try {
17919
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
17920
+ wasm.sarext_update(retptr, this.__wbg_ptr, high, low, close);
17921
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
17922
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
17923
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
17924
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
17925
+ if (r5) {
17926
+ throw takeObject(r4);
17927
+ }
17928
+ return r0 === 0 ? undefined : r2;
17929
+ } finally {
17930
+ wasm.__wbindgen_add_to_stack_pointer(32);
17931
+ }
17932
+ }
17933
+ }
17934
+ if (Symbol.dispose) SAREXT.prototype[Symbol.dispose] = SAREXT.prototype.free;
17935
+
16587
17936
  export class SMA {
16588
17937
  __destroy_into_raw() {
16589
17938
  const ptr = this.__wbg_ptr;
@@ -20202,6 +21551,82 @@ export class TRIX {
20202
21551
  }
20203
21552
  if (Symbol.dispose) TRIX.prototype[Symbol.dispose] = TRIX.prototype.free;
20204
21553
 
21554
+ export class TSF {
21555
+ __destroy_into_raw() {
21556
+ const ptr = this.__wbg_ptr;
21557
+ this.__wbg_ptr = 0;
21558
+ TSFFinalization.unregister(this);
21559
+ return ptr;
21560
+ }
21561
+ free() {
21562
+ const ptr = this.__destroy_into_raw();
21563
+ wasm.__wbg_tsf_free(ptr, 0);
21564
+ }
21565
+ /**
21566
+ * @param {Float64Array} prices
21567
+ * @returns {Float64Array}
21568
+ */
21569
+ batch(prices) {
21570
+ const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
21571
+ const len0 = WASM_VECTOR_LEN;
21572
+ const ret = wasm.tsf_batch(this.__wbg_ptr, ptr0, len0);
21573
+ return takeObject(ret);
21574
+ }
21575
+ /**
21576
+ * @returns {boolean}
21577
+ */
21578
+ isReady() {
21579
+ const ret = wasm.tsf_isReady(this.__wbg_ptr);
21580
+ return ret !== 0;
21581
+ }
21582
+ /**
21583
+ * @param {number} period
21584
+ */
21585
+ constructor(period) {
21586
+ try {
21587
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21588
+ wasm.tsf_new(retptr, period);
21589
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21590
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
21591
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
21592
+ if (r2) {
21593
+ throw takeObject(r1);
21594
+ }
21595
+ this.__wbg_ptr = r0;
21596
+ TSFFinalization.register(this, this.__wbg_ptr, this);
21597
+ return this;
21598
+ } finally {
21599
+ wasm.__wbindgen_add_to_stack_pointer(16);
21600
+ }
21601
+ }
21602
+ reset() {
21603
+ wasm.tsf_reset(this.__wbg_ptr);
21604
+ }
21605
+ /**
21606
+ * @param {number} value
21607
+ * @returns {number | undefined}
21608
+ */
21609
+ update(value) {
21610
+ try {
21611
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21612
+ wasm.tsf_update(retptr, this.__wbg_ptr, value);
21613
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21614
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
21615
+ return r0 === 0 ? undefined : r2;
21616
+ } finally {
21617
+ wasm.__wbindgen_add_to_stack_pointer(16);
21618
+ }
21619
+ }
21620
+ /**
21621
+ * @returns {number}
21622
+ */
21623
+ warmupPeriod() {
21624
+ const ret = wasm.tsf_warmupPeriod(this.__wbg_ptr);
21625
+ return ret >>> 0;
21626
+ }
21627
+ }
21628
+ if (Symbol.dispose) TSF.prototype[Symbol.dispose] = TSF.prototype.free;
21629
+
20205
21630
  export class TSI {
20206
21631
  __destroy_into_raw() {
20207
21632
  const ptr = this.__wbg_ptr;
@@ -24793,6 +26218,9 @@ const AutocorrelationFinalization = (typeof FinalizationRegistry === 'undefined'
24793
26218
  const AverageDrawdownFinalization = (typeof FinalizationRegistry === 'undefined')
24794
26219
  ? { register: () => {}, unregister: () => {} }
24795
26220
  : new FinalizationRegistry(ptr => wasm.__wbg_averagedrawdown_free(ptr, 1));
26221
+ const AVGPRICEFinalization = (typeof FinalizationRegistry === 'undefined')
26222
+ ? { register: () => {}, unregister: () => {} }
26223
+ : new FinalizationRegistry(ptr => wasm.__wbg_avgprice_free(ptr, 1));
24796
26224
  const BalanceOfPowerFinalization = (typeof FinalizationRegistry === 'undefined')
24797
26225
  ? { register: () => {}, unregister: () => {} }
24798
26226
  : new FinalizationRegistry(ptr => wasm.__wbg_balanceofpower_free(ptr, 1));
@@ -24931,6 +26359,9 @@ const DragonflyDojiFinalization = (typeof FinalizationRegistry === 'undefined')
24931
26359
  const DrawdownDurationFinalization = (typeof FinalizationRegistry === 'undefined')
24932
26360
  ? { register: () => {}, unregister: () => {} }
24933
26361
  : new FinalizationRegistry(ptr => wasm.__wbg_drawdownduration_free(ptr, 1));
26362
+ const DXFinalization = (typeof FinalizationRegistry === 'undefined')
26363
+ ? { register: () => {}, unregister: () => {} }
26364
+ : new FinalizationRegistry(ptr => wasm.__wbg_dx_free(ptr, 1));
24934
26365
  const EaseOfMovementFinalization = (typeof FinalizationRegistry === 'undefined')
24935
26366
  ? { register: () => {}, unregister: () => {} }
24936
26367
  : new FinalizationRegistry(ptr => wasm.__wbg_easeofmovement_free(ptr, 1));
@@ -25042,6 +26473,15 @@ const HMAFinalization = (typeof FinalizationRegistry === 'undefined')
25042
26473
  const HomingPigeonFinalization = (typeof FinalizationRegistry === 'undefined')
25043
26474
  ? { register: () => {}, unregister: () => {} }
25044
26475
  : new FinalizationRegistry(ptr => wasm.__wbg_homingpigeon_free(ptr, 1));
26476
+ const HT_DCPHASEFinalization = (typeof FinalizationRegistry === 'undefined')
26477
+ ? { register: () => {}, unregister: () => {} }
26478
+ : new FinalizationRegistry(ptr => wasm.__wbg_ht_dcphase_free(ptr, 1));
26479
+ const HT_PHASORFinalization = (typeof FinalizationRegistry === 'undefined')
26480
+ ? { register: () => {}, unregister: () => {} }
26481
+ : new FinalizationRegistry(ptr => wasm.__wbg_ht_phasor_free(ptr, 1));
26482
+ const HT_TRENDMODEFinalization = (typeof FinalizationRegistry === 'undefined')
26483
+ ? { register: () => {}, unregister: () => {} }
26484
+ : new FinalizationRegistry(ptr => wasm.__wbg_ht_trendmode_free(ptr, 1));
25045
26485
  const HurstChannelFinalization = (typeof FinalizationRegistry === 'undefined')
25046
26486
  ? { register: () => {}, unregister: () => {} }
25047
26487
  : new FinalizationRegistry(ptr => wasm.__wbg_hurstchannel_free(ptr, 1));
@@ -25123,6 +26563,9 @@ const LinRegAngleFinalization = (typeof FinalizationRegistry === 'undefined')
25123
26563
  const LinRegChannelFinalization = (typeof FinalizationRegistry === 'undefined')
25124
26564
  ? { register: () => {}, unregister: () => {} }
25125
26565
  : new FinalizationRegistry(ptr => wasm.__wbg_linregchannel_free(ptr, 1));
26566
+ const LINEARREG_INTERCEPTFinalization = (typeof FinalizationRegistry === 'undefined')
26567
+ ? { register: () => {}, unregister: () => {} }
26568
+ : new FinalizationRegistry(ptr => wasm.__wbg_linearreg_intercept_free(ptr, 1));
25126
26569
  const LinRegSlopeFinalization = (typeof FinalizationRegistry === 'undefined')
25127
26570
  ? { register: () => {}, unregister: () => {} }
25128
26571
  : new FinalizationRegistry(ptr => wasm.__wbg_linregslope_free(ptr, 1));
@@ -25147,6 +26590,12 @@ const MaEnvelopeFinalization = (typeof FinalizationRegistry === 'undefined')
25147
26590
  const MACDFinalization = (typeof FinalizationRegistry === 'undefined')
25148
26591
  ? { register: () => {}, unregister: () => {} }
25149
26592
  : new FinalizationRegistry(ptr => wasm.__wbg_macd_free(ptr, 1));
26593
+ const MACDEXTFinalization = (typeof FinalizationRegistry === 'undefined')
26594
+ ? { register: () => {}, unregister: () => {} }
26595
+ : new FinalizationRegistry(ptr => wasm.__wbg_macdext_free(ptr, 1));
26596
+ const MACDFIXFinalization = (typeof FinalizationRegistry === 'undefined')
26597
+ ? { register: () => {}, unregister: () => {} }
26598
+ : new FinalizationRegistry(ptr => wasm.__wbg_macdfix_free(ptr, 1));
25150
26599
  const MAMAFinalization = (typeof FinalizationRegistry === 'undefined')
25151
26600
  ? { register: () => {}, unregister: () => {} }
25152
26601
  : new FinalizationRegistry(ptr => wasm.__wbg_mama_free(ptr, 1));
@@ -25183,6 +26632,18 @@ const MFIFinalization = (typeof FinalizationRegistry === 'undefined')
25183
26632
  const MicropriceFinalization = (typeof FinalizationRegistry === 'undefined')
25184
26633
  ? { register: () => {}, unregister: () => {} }
25185
26634
  : new FinalizationRegistry(ptr => wasm.__wbg_microprice_free(ptr, 1));
26635
+ const MIDPOINTFinalization = (typeof FinalizationRegistry === 'undefined')
26636
+ ? { register: () => {}, unregister: () => {} }
26637
+ : new FinalizationRegistry(ptr => wasm.__wbg_midpoint_free(ptr, 1));
26638
+ const MIDPRICEFinalization = (typeof FinalizationRegistry === 'undefined')
26639
+ ? { register: () => {}, unregister: () => {} }
26640
+ : new FinalizationRegistry(ptr => wasm.__wbg_midprice_free(ptr, 1));
26641
+ const MINUS_DIFinalization = (typeof FinalizationRegistry === 'undefined')
26642
+ ? { register: () => {}, unregister: () => {} }
26643
+ : new FinalizationRegistry(ptr => wasm.__wbg_minus_di_free(ptr, 1));
26644
+ const MINUS_DMFinalization = (typeof FinalizationRegistry === 'undefined')
26645
+ ? { register: () => {}, unregister: () => {} }
26646
+ : new FinalizationRegistry(ptr => wasm.__wbg_minus_dm_free(ptr, 1));
25186
26647
  const MOMFinalization = (typeof FinalizationRegistry === 'undefined')
25187
26648
  ? { register: () => {}, unregister: () => {} }
25188
26649
  : new FinalizationRegistry(ptr => wasm.__wbg_mom_free(ptr, 1));
@@ -25258,6 +26719,12 @@ const PGOFinalization = (typeof FinalizationRegistry === 'undefined')
25258
26719
  const PiercingDarkCloudFinalization = (typeof FinalizationRegistry === 'undefined')
25259
26720
  ? { register: () => {}, unregister: () => {} }
25260
26721
  : new FinalizationRegistry(ptr => wasm.__wbg_piercingdarkcloud_free(ptr, 1));
26722
+ const PLUS_DIFinalization = (typeof FinalizationRegistry === 'undefined')
26723
+ ? { register: () => {}, unregister: () => {} }
26724
+ : new FinalizationRegistry(ptr => wasm.__wbg_plus_di_free(ptr, 1));
26725
+ const PLUS_DMFinalization = (typeof FinalizationRegistry === 'undefined')
26726
+ ? { register: () => {}, unregister: () => {} }
26727
+ : new FinalizationRegistry(ptr => wasm.__wbg_plus_dm_free(ptr, 1));
25261
26728
  const PMOFinalization = (typeof FinalizationRegistry === 'undefined')
25262
26729
  ? { register: () => {}, unregister: () => {} }
25263
26730
  : new FinalizationRegistry(ptr => wasm.__wbg_pmo_free(ptr, 1));
@@ -25306,6 +26773,15 @@ const RisingThreeMethodsFinalization = (typeof FinalizationRegistry === 'undefin
25306
26773
  const ROCFinalization = (typeof FinalizationRegistry === 'undefined')
25307
26774
  ? { register: () => {}, unregister: () => {} }
25308
26775
  : new FinalizationRegistry(ptr => wasm.__wbg_roc_free(ptr, 1));
26776
+ const ROCPFinalization = (typeof FinalizationRegistry === 'undefined')
26777
+ ? { register: () => {}, unregister: () => {} }
26778
+ : new FinalizationRegistry(ptr => wasm.__wbg_rocp_free(ptr, 1));
26779
+ const ROCRFinalization = (typeof FinalizationRegistry === 'undefined')
26780
+ ? { register: () => {}, unregister: () => {} }
26781
+ : new FinalizationRegistry(ptr => wasm.__wbg_rocr_free(ptr, 1));
26782
+ const ROCR100Finalization = (typeof FinalizationRegistry === 'undefined')
26783
+ ? { register: () => {}, unregister: () => {} }
26784
+ : new FinalizationRegistry(ptr => wasm.__wbg_rocr100_free(ptr, 1));
25309
26785
  const RogersSatchellVolatilityFinalization = (typeof FinalizationRegistry === 'undefined')
25310
26786
  ? { register: () => {}, unregister: () => {} }
25311
26787
  : new FinalizationRegistry(ptr => wasm.__wbg_rogerssatchellvolatility_free(ptr, 1));
@@ -25327,6 +26803,9 @@ const RVIVolatilityFinalization = (typeof FinalizationRegistry === 'undefined')
25327
26803
  const RWIFinalization = (typeof FinalizationRegistry === 'undefined')
25328
26804
  ? { register: () => {}, unregister: () => {} }
25329
26805
  : new FinalizationRegistry(ptr => wasm.__wbg_rwi_free(ptr, 1));
26806
+ const SAREXTFinalization = (typeof FinalizationRegistry === 'undefined')
26807
+ ? { register: () => {}, unregister: () => {} }
26808
+ : new FinalizationRegistry(ptr => wasm.__wbg_sarext_free(ptr, 1));
25330
26809
  const SeparatingLinesFinalization = (typeof FinalizationRegistry === 'undefined')
25331
26810
  ? { register: () => {}, unregister: () => {} }
25332
26811
  : new FinalizationRegistry(ptr => wasm.__wbg_separatinglines_free(ptr, 1));
@@ -25495,6 +26974,9 @@ const TRIXFinalization = (typeof FinalizationRegistry === 'undefined')
25495
26974
  const TrueRangeFinalization = (typeof FinalizationRegistry === 'undefined')
25496
26975
  ? { register: () => {}, unregister: () => {} }
25497
26976
  : new FinalizationRegistry(ptr => wasm.__wbg_truerange_free(ptr, 1));
26977
+ const TSFFinalization = (typeof FinalizationRegistry === 'undefined')
26978
+ ? { register: () => {}, unregister: () => {} }
26979
+ : new FinalizationRegistry(ptr => wasm.__wbg_tsf_free(ptr, 1));
25498
26980
  const TSIFinalization = (typeof FinalizationRegistry === 'undefined')
25499
26981
  ? { register: () => {}, unregister: () => {} }
25500
26982
  : new FinalizationRegistry(ptr => wasm.__wbg_tsi_free(ptr, 1));