wickra-wasm 0.5.1 → 0.5.2

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
@@ -682,6 +682,96 @@ export class AbandonedBaby {
682
682
  }
683
683
  if (Symbol.dispose) AbandonedBaby.prototype[Symbol.dispose] = AbandonedBaby.prototype.free;
684
684
 
685
+ export class Abcd {
686
+ __destroy_into_raw() {
687
+ const ptr = this.__wbg_ptr;
688
+ this.__wbg_ptr = 0;
689
+ AbcdFinalization.unregister(this);
690
+ return ptr;
691
+ }
692
+ free() {
693
+ const ptr = this.__destroy_into_raw();
694
+ wasm.__wbg_abcd_free(ptr, 0);
695
+ }
696
+ /**
697
+ * @param {Float64Array} open
698
+ * @param {Float64Array} high
699
+ * @param {Float64Array} low
700
+ * @param {Float64Array} close
701
+ * @returns {Float64Array}
702
+ */
703
+ batch(open, high, low, close) {
704
+ try {
705
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
706
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
707
+ const len0 = WASM_VECTOR_LEN;
708
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
709
+ const len1 = WASM_VECTOR_LEN;
710
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
711
+ const len2 = WASM_VECTOR_LEN;
712
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
713
+ const len3 = WASM_VECTOR_LEN;
714
+ wasm.abcd_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
715
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
716
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
717
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
718
+ if (r2) {
719
+ throw takeObject(r1);
720
+ }
721
+ return takeObject(r0);
722
+ } finally {
723
+ wasm.__wbindgen_add_to_stack_pointer(16);
724
+ }
725
+ }
726
+ /**
727
+ * @returns {boolean}
728
+ */
729
+ isReady() {
730
+ const ret = wasm.abcd_isReady(this.__wbg_ptr);
731
+ return ret !== 0;
732
+ }
733
+ constructor() {
734
+ const ret = wasm.abcd_new();
735
+ this.__wbg_ptr = ret;
736
+ AbcdFinalization.register(this, this.__wbg_ptr, this);
737
+ return this;
738
+ }
739
+ reset() {
740
+ wasm.abcd_reset(this.__wbg_ptr);
741
+ }
742
+ /**
743
+ * @param {number} open
744
+ * @param {number} high
745
+ * @param {number} low
746
+ * @param {number} close
747
+ * @returns {number | undefined}
748
+ */
749
+ update(open, high, low, close) {
750
+ try {
751
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
752
+ wasm.abcd_update(retptr, this.__wbg_ptr, open, high, low, close);
753
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
754
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
755
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
756
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
757
+ if (r5) {
758
+ throw takeObject(r4);
759
+ }
760
+ return r0 === 0 ? undefined : r2;
761
+ } finally {
762
+ wasm.__wbindgen_add_to_stack_pointer(32);
763
+ }
764
+ }
765
+ /**
766
+ * @returns {number}
767
+ */
768
+ warmupPeriod() {
769
+ const ret = wasm.abcd_warmupPeriod(this.__wbg_ptr);
770
+ return ret >>> 0;
771
+ }
772
+ }
773
+ if (Symbol.dispose) Abcd.prototype[Symbol.dispose] = Abcd.prototype.free;
774
+
685
775
  export class AbsoluteBreadthIndex {
686
776
  __destroy_into_raw() {
687
777
  const ptr = this.__wbg_ptr;
@@ -2493,6 +2583,96 @@ export class BalanceOfPower {
2493
2583
  }
2494
2584
  if (Symbol.dispose) BalanceOfPower.prototype[Symbol.dispose] = BalanceOfPower.prototype.free;
2495
2585
 
2586
+ export class Bat {
2587
+ __destroy_into_raw() {
2588
+ const ptr = this.__wbg_ptr;
2589
+ this.__wbg_ptr = 0;
2590
+ BatFinalization.unregister(this);
2591
+ return ptr;
2592
+ }
2593
+ free() {
2594
+ const ptr = this.__destroy_into_raw();
2595
+ wasm.__wbg_bat_free(ptr, 0);
2596
+ }
2597
+ /**
2598
+ * @param {Float64Array} open
2599
+ * @param {Float64Array} high
2600
+ * @param {Float64Array} low
2601
+ * @param {Float64Array} close
2602
+ * @returns {Float64Array}
2603
+ */
2604
+ batch(open, high, low, close) {
2605
+ try {
2606
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2607
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
2608
+ const len0 = WASM_VECTOR_LEN;
2609
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
2610
+ const len1 = WASM_VECTOR_LEN;
2611
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
2612
+ const len2 = WASM_VECTOR_LEN;
2613
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
2614
+ const len3 = WASM_VECTOR_LEN;
2615
+ wasm.bat_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
2616
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
2617
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
2618
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
2619
+ if (r2) {
2620
+ throw takeObject(r1);
2621
+ }
2622
+ return takeObject(r0);
2623
+ } finally {
2624
+ wasm.__wbindgen_add_to_stack_pointer(16);
2625
+ }
2626
+ }
2627
+ /**
2628
+ * @returns {boolean}
2629
+ */
2630
+ isReady() {
2631
+ const ret = wasm.bat_isReady(this.__wbg_ptr);
2632
+ return ret !== 0;
2633
+ }
2634
+ constructor() {
2635
+ const ret = wasm.bat_new();
2636
+ this.__wbg_ptr = ret;
2637
+ BatFinalization.register(this, this.__wbg_ptr, this);
2638
+ return this;
2639
+ }
2640
+ reset() {
2641
+ wasm.bat_reset(this.__wbg_ptr);
2642
+ }
2643
+ /**
2644
+ * @param {number} open
2645
+ * @param {number} high
2646
+ * @param {number} low
2647
+ * @param {number} close
2648
+ * @returns {number | undefined}
2649
+ */
2650
+ update(open, high, low, close) {
2651
+ try {
2652
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
2653
+ wasm.bat_update(retptr, this.__wbg_ptr, open, high, low, close);
2654
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
2655
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
2656
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
2657
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
2658
+ if (r5) {
2659
+ throw takeObject(r4);
2660
+ }
2661
+ return r0 === 0 ? undefined : r2;
2662
+ } finally {
2663
+ wasm.__wbindgen_add_to_stack_pointer(32);
2664
+ }
2665
+ }
2666
+ /**
2667
+ * @returns {number}
2668
+ */
2669
+ warmupPeriod() {
2670
+ const ret = wasm.bat_warmupPeriod(this.__wbg_ptr);
2671
+ return ret >>> 0;
2672
+ }
2673
+ }
2674
+ if (Symbol.dispose) Bat.prototype[Symbol.dispose] = Bat.prototype.free;
2675
+
2496
2676
  export class BeltHold {
2497
2677
  __destroy_into_raw() {
2498
2678
  const ptr = this.__wbg_ptr;
@@ -3146,6 +3326,96 @@ export class BullishPercentIndex {
3146
3326
  }
3147
3327
  if (Symbol.dispose) BullishPercentIndex.prototype[Symbol.dispose] = BullishPercentIndex.prototype.free;
3148
3328
 
3329
+ export class Butterfly {
3330
+ __destroy_into_raw() {
3331
+ const ptr = this.__wbg_ptr;
3332
+ this.__wbg_ptr = 0;
3333
+ ButterflyFinalization.unregister(this);
3334
+ return ptr;
3335
+ }
3336
+ free() {
3337
+ const ptr = this.__destroy_into_raw();
3338
+ wasm.__wbg_butterfly_free(ptr, 0);
3339
+ }
3340
+ /**
3341
+ * @param {Float64Array} open
3342
+ * @param {Float64Array} high
3343
+ * @param {Float64Array} low
3344
+ * @param {Float64Array} close
3345
+ * @returns {Float64Array}
3346
+ */
3347
+ batch(open, high, low, close) {
3348
+ try {
3349
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3350
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
3351
+ const len0 = WASM_VECTOR_LEN;
3352
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
3353
+ const len1 = WASM_VECTOR_LEN;
3354
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
3355
+ const len2 = WASM_VECTOR_LEN;
3356
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
3357
+ const len3 = WASM_VECTOR_LEN;
3358
+ wasm.butterfly_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
3359
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3360
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3361
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
3362
+ if (r2) {
3363
+ throw takeObject(r1);
3364
+ }
3365
+ return takeObject(r0);
3366
+ } finally {
3367
+ wasm.__wbindgen_add_to_stack_pointer(16);
3368
+ }
3369
+ }
3370
+ /**
3371
+ * @returns {boolean}
3372
+ */
3373
+ isReady() {
3374
+ const ret = wasm.butterfly_isReady(this.__wbg_ptr);
3375
+ return ret !== 0;
3376
+ }
3377
+ constructor() {
3378
+ const ret = wasm.butterfly_new();
3379
+ this.__wbg_ptr = ret;
3380
+ ButterflyFinalization.register(this, this.__wbg_ptr, this);
3381
+ return this;
3382
+ }
3383
+ reset() {
3384
+ wasm.butterfly_reset(this.__wbg_ptr);
3385
+ }
3386
+ /**
3387
+ * @param {number} open
3388
+ * @param {number} high
3389
+ * @param {number} low
3390
+ * @param {number} close
3391
+ * @returns {number | undefined}
3392
+ */
3393
+ update(open, high, low, close) {
3394
+ try {
3395
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
3396
+ wasm.butterfly_update(retptr, this.__wbg_ptr, open, high, low, close);
3397
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3398
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
3399
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
3400
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
3401
+ if (r5) {
3402
+ throw takeObject(r4);
3403
+ }
3404
+ return r0 === 0 ? undefined : r2;
3405
+ } finally {
3406
+ wasm.__wbindgen_add_to_stack_pointer(32);
3407
+ }
3408
+ }
3409
+ /**
3410
+ * @returns {number}
3411
+ */
3412
+ warmupPeriod() {
3413
+ const ret = wasm.butterfly_warmupPeriod(this.__wbg_ptr);
3414
+ return ret >>> 0;
3415
+ }
3416
+ }
3417
+ if (Symbol.dispose) Butterfly.prototype[Symbol.dispose] = Butterfly.prototype.free;
3418
+
3149
3419
  export class CCI {
3150
3420
  __destroy_into_raw() {
3151
3421
  const ptr = this.__wbg_ptr;
@@ -4972,30 +5242,120 @@ export class Counterattack {
4972
5242
  }
4973
5243
  if (Symbol.dispose) Counterattack.prototype[Symbol.dispose] = Counterattack.prototype.free;
4974
5244
 
4975
- export class CumulativeVolumeDelta {
5245
+ export class Crab {
4976
5246
  __destroy_into_raw() {
4977
5247
  const ptr = this.__wbg_ptr;
4978
5248
  this.__wbg_ptr = 0;
4979
- CumulativeVolumeDeltaFinalization.unregister(this);
5249
+ CrabFinalization.unregister(this);
4980
5250
  return ptr;
4981
5251
  }
4982
5252
  free() {
4983
5253
  const ptr = this.__destroy_into_raw();
4984
- wasm.__wbg_cumulativevolumedelta_free(ptr, 0);
5254
+ wasm.__wbg_crab_free(ptr, 0);
4985
5255
  }
4986
5256
  /**
4987
- * @returns {boolean}
5257
+ * @param {Float64Array} open
5258
+ * @param {Float64Array} high
5259
+ * @param {Float64Array} low
5260
+ * @param {Float64Array} close
5261
+ * @returns {Float64Array}
4988
5262
  */
4989
- isReady() {
4990
- const ret = wasm.cumulativevolumedelta_isReady(this.__wbg_ptr);
4991
- return ret !== 0;
4992
- }
4993
- constructor() {
4994
- const ret = wasm.cumulativevolumedelta_new();
4995
- this.__wbg_ptr = ret;
4996
- CumulativeVolumeDeltaFinalization.register(this, this.__wbg_ptr, this);
4997
- return this;
4998
- }
5263
+ batch(open, high, low, close) {
5264
+ try {
5265
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5266
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
5267
+ const len0 = WASM_VECTOR_LEN;
5268
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
5269
+ const len1 = WASM_VECTOR_LEN;
5270
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
5271
+ const len2 = WASM_VECTOR_LEN;
5272
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
5273
+ const len3 = WASM_VECTOR_LEN;
5274
+ wasm.crab_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
5275
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5276
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5277
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
5278
+ if (r2) {
5279
+ throw takeObject(r1);
5280
+ }
5281
+ return takeObject(r0);
5282
+ } finally {
5283
+ wasm.__wbindgen_add_to_stack_pointer(16);
5284
+ }
5285
+ }
5286
+ /**
5287
+ * @returns {boolean}
5288
+ */
5289
+ isReady() {
5290
+ const ret = wasm.crab_isReady(this.__wbg_ptr);
5291
+ return ret !== 0;
5292
+ }
5293
+ constructor() {
5294
+ const ret = wasm.crab_new();
5295
+ this.__wbg_ptr = ret;
5296
+ CrabFinalization.register(this, this.__wbg_ptr, this);
5297
+ return this;
5298
+ }
5299
+ reset() {
5300
+ wasm.crab_reset(this.__wbg_ptr);
5301
+ }
5302
+ /**
5303
+ * @param {number} open
5304
+ * @param {number} high
5305
+ * @param {number} low
5306
+ * @param {number} close
5307
+ * @returns {number | undefined}
5308
+ */
5309
+ update(open, high, low, close) {
5310
+ try {
5311
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
5312
+ wasm.crab_update(retptr, this.__wbg_ptr, open, high, low, close);
5313
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5314
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
5315
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
5316
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
5317
+ if (r5) {
5318
+ throw takeObject(r4);
5319
+ }
5320
+ return r0 === 0 ? undefined : r2;
5321
+ } finally {
5322
+ wasm.__wbindgen_add_to_stack_pointer(32);
5323
+ }
5324
+ }
5325
+ /**
5326
+ * @returns {number}
5327
+ */
5328
+ warmupPeriod() {
5329
+ const ret = wasm.crab_warmupPeriod(this.__wbg_ptr);
5330
+ return ret >>> 0;
5331
+ }
5332
+ }
5333
+ if (Symbol.dispose) Crab.prototype[Symbol.dispose] = Crab.prototype.free;
5334
+
5335
+ export class CumulativeVolumeDelta {
5336
+ __destroy_into_raw() {
5337
+ const ptr = this.__wbg_ptr;
5338
+ this.__wbg_ptr = 0;
5339
+ CumulativeVolumeDeltaFinalization.unregister(this);
5340
+ return ptr;
5341
+ }
5342
+ free() {
5343
+ const ptr = this.__destroy_into_raw();
5344
+ wasm.__wbg_cumulativevolumedelta_free(ptr, 0);
5345
+ }
5346
+ /**
5347
+ * @returns {boolean}
5348
+ */
5349
+ isReady() {
5350
+ const ret = wasm.cumulativevolumedelta_isReady(this.__wbg_ptr);
5351
+ return ret !== 0;
5352
+ }
5353
+ constructor() {
5354
+ const ret = wasm.cumulativevolumedelta_new();
5355
+ this.__wbg_ptr = ret;
5356
+ CumulativeVolumeDeltaFinalization.register(this, this.__wbg_ptr, this);
5357
+ return this;
5358
+ }
4999
5359
  reset() {
5000
5360
  wasm.cumulativevolumedelta_reset(this.__wbg_ptr);
5001
5361
  }
@@ -5099,6 +5459,96 @@ export class CumulativeVolumeIndex {
5099
5459
  }
5100
5460
  if (Symbol.dispose) CumulativeVolumeIndex.prototype[Symbol.dispose] = CumulativeVolumeIndex.prototype.free;
5101
5461
 
5462
+ export class CupAndHandle {
5463
+ __destroy_into_raw() {
5464
+ const ptr = this.__wbg_ptr;
5465
+ this.__wbg_ptr = 0;
5466
+ CupAndHandleFinalization.unregister(this);
5467
+ return ptr;
5468
+ }
5469
+ free() {
5470
+ const ptr = this.__destroy_into_raw();
5471
+ wasm.__wbg_cupandhandle_free(ptr, 0);
5472
+ }
5473
+ /**
5474
+ * @param {Float64Array} open
5475
+ * @param {Float64Array} high
5476
+ * @param {Float64Array} low
5477
+ * @param {Float64Array} close
5478
+ * @returns {Float64Array}
5479
+ */
5480
+ batch(open, high, low, close) {
5481
+ try {
5482
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5483
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
5484
+ const len0 = WASM_VECTOR_LEN;
5485
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
5486
+ const len1 = WASM_VECTOR_LEN;
5487
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
5488
+ const len2 = WASM_VECTOR_LEN;
5489
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
5490
+ const len3 = WASM_VECTOR_LEN;
5491
+ wasm.cupandhandle_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
5492
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5493
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5494
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
5495
+ if (r2) {
5496
+ throw takeObject(r1);
5497
+ }
5498
+ return takeObject(r0);
5499
+ } finally {
5500
+ wasm.__wbindgen_add_to_stack_pointer(16);
5501
+ }
5502
+ }
5503
+ /**
5504
+ * @returns {boolean}
5505
+ */
5506
+ isReady() {
5507
+ const ret = wasm.cupandhandle_isReady(this.__wbg_ptr);
5508
+ return ret !== 0;
5509
+ }
5510
+ constructor() {
5511
+ const ret = wasm.cupandhandle_new();
5512
+ this.__wbg_ptr = ret;
5513
+ CupAndHandleFinalization.register(this, this.__wbg_ptr, this);
5514
+ return this;
5515
+ }
5516
+ reset() {
5517
+ wasm.cupandhandle_reset(this.__wbg_ptr);
5518
+ }
5519
+ /**
5520
+ * @param {number} open
5521
+ * @param {number} high
5522
+ * @param {number} low
5523
+ * @param {number} close
5524
+ * @returns {number | undefined}
5525
+ */
5526
+ update(open, high, low, close) {
5527
+ try {
5528
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
5529
+ wasm.cupandhandle_update(retptr, this.__wbg_ptr, open, high, low, close);
5530
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5531
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
5532
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
5533
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
5534
+ if (r5) {
5535
+ throw takeObject(r4);
5536
+ }
5537
+ return r0 === 0 ? undefined : r2;
5538
+ } finally {
5539
+ wasm.__wbindgen_add_to_stack_pointer(32);
5540
+ }
5541
+ }
5542
+ /**
5543
+ * @returns {number}
5544
+ */
5545
+ warmupPeriod() {
5546
+ const ret = wasm.cupandhandle_warmupPeriod(this.__wbg_ptr);
5547
+ return ret >>> 0;
5548
+ }
5549
+ }
5550
+ if (Symbol.dispose) CupAndHandle.prototype[Symbol.dispose] = CupAndHandle.prototype.free;
5551
+
5102
5552
  export class CyberneticCycle {
5103
5553
  __destroy_into_raw() {
5104
5554
  const ptr = this.__wbg_ptr;
@@ -5175,6 +5625,96 @@ export class CyberneticCycle {
5175
5625
  }
5176
5626
  if (Symbol.dispose) CyberneticCycle.prototype[Symbol.dispose] = CyberneticCycle.prototype.free;
5177
5627
 
5628
+ export class Cypher {
5629
+ __destroy_into_raw() {
5630
+ const ptr = this.__wbg_ptr;
5631
+ this.__wbg_ptr = 0;
5632
+ CypherFinalization.unregister(this);
5633
+ return ptr;
5634
+ }
5635
+ free() {
5636
+ const ptr = this.__destroy_into_raw();
5637
+ wasm.__wbg_cypher_free(ptr, 0);
5638
+ }
5639
+ /**
5640
+ * @param {Float64Array} open
5641
+ * @param {Float64Array} high
5642
+ * @param {Float64Array} low
5643
+ * @param {Float64Array} close
5644
+ * @returns {Float64Array}
5645
+ */
5646
+ batch(open, high, low, close) {
5647
+ try {
5648
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5649
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
5650
+ const len0 = WASM_VECTOR_LEN;
5651
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
5652
+ const len1 = WASM_VECTOR_LEN;
5653
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
5654
+ const len2 = WASM_VECTOR_LEN;
5655
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
5656
+ const len3 = WASM_VECTOR_LEN;
5657
+ wasm.cypher_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
5658
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5659
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5660
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
5661
+ if (r2) {
5662
+ throw takeObject(r1);
5663
+ }
5664
+ return takeObject(r0);
5665
+ } finally {
5666
+ wasm.__wbindgen_add_to_stack_pointer(16);
5667
+ }
5668
+ }
5669
+ /**
5670
+ * @returns {boolean}
5671
+ */
5672
+ isReady() {
5673
+ const ret = wasm.cypher_isReady(this.__wbg_ptr);
5674
+ return ret !== 0;
5675
+ }
5676
+ constructor() {
5677
+ const ret = wasm.cypher_new();
5678
+ this.__wbg_ptr = ret;
5679
+ CypherFinalization.register(this, this.__wbg_ptr, this);
5680
+ return this;
5681
+ }
5682
+ reset() {
5683
+ wasm.cypher_reset(this.__wbg_ptr);
5684
+ }
5685
+ /**
5686
+ * @param {number} open
5687
+ * @param {number} high
5688
+ * @param {number} low
5689
+ * @param {number} close
5690
+ * @returns {number | undefined}
5691
+ */
5692
+ update(open, high, low, close) {
5693
+ try {
5694
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
5695
+ wasm.cypher_update(retptr, this.__wbg_ptr, open, high, low, close);
5696
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5697
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
5698
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
5699
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
5700
+ if (r5) {
5701
+ throw takeObject(r4);
5702
+ }
5703
+ return r0 === 0 ? undefined : r2;
5704
+ } finally {
5705
+ wasm.__wbindgen_add_to_stack_pointer(32);
5706
+ }
5707
+ }
5708
+ /**
5709
+ * @returns {number}
5710
+ */
5711
+ warmupPeriod() {
5712
+ const ret = wasm.cypher_warmupPeriod(this.__wbg_ptr);
5713
+ return ret >>> 0;
5714
+ }
5715
+ }
5716
+ if (Symbol.dispose) Cypher.prototype[Symbol.dispose] = Cypher.prototype.free;
5717
+
5178
5718
  export class DEMA {
5179
5719
  __destroy_into_raw() {
5180
5720
  const ptr = this.__wbg_ptr;
@@ -6488,11 +7028,101 @@ export class DoubleBollinger {
6488
7028
  * @returns {number}
6489
7029
  */
6490
7030
  warmupPeriod() {
6491
- const ret = wasm.doublebollinger_warmupPeriod(this.__wbg_ptr);
7031
+ const ret = wasm.doublebollinger_warmupPeriod(this.__wbg_ptr);
7032
+ return ret >>> 0;
7033
+ }
7034
+ }
7035
+ if (Symbol.dispose) DoubleBollinger.prototype[Symbol.dispose] = DoubleBollinger.prototype.free;
7036
+
7037
+ export class DoubleTopBottom {
7038
+ __destroy_into_raw() {
7039
+ const ptr = this.__wbg_ptr;
7040
+ this.__wbg_ptr = 0;
7041
+ DoubleTopBottomFinalization.unregister(this);
7042
+ return ptr;
7043
+ }
7044
+ free() {
7045
+ const ptr = this.__destroy_into_raw();
7046
+ wasm.__wbg_doubletopbottom_free(ptr, 0);
7047
+ }
7048
+ /**
7049
+ * @param {Float64Array} open
7050
+ * @param {Float64Array} high
7051
+ * @param {Float64Array} low
7052
+ * @param {Float64Array} close
7053
+ * @returns {Float64Array}
7054
+ */
7055
+ batch(open, high, low, close) {
7056
+ try {
7057
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
7058
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
7059
+ const len0 = WASM_VECTOR_LEN;
7060
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
7061
+ const len1 = WASM_VECTOR_LEN;
7062
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
7063
+ const len2 = WASM_VECTOR_LEN;
7064
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
7065
+ const len3 = WASM_VECTOR_LEN;
7066
+ wasm.doubletopbottom_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
7067
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
7068
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
7069
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
7070
+ if (r2) {
7071
+ throw takeObject(r1);
7072
+ }
7073
+ return takeObject(r0);
7074
+ } finally {
7075
+ wasm.__wbindgen_add_to_stack_pointer(16);
7076
+ }
7077
+ }
7078
+ /**
7079
+ * @returns {boolean}
7080
+ */
7081
+ isReady() {
7082
+ const ret = wasm.doubletopbottom_isReady(this.__wbg_ptr);
7083
+ return ret !== 0;
7084
+ }
7085
+ constructor() {
7086
+ const ret = wasm.doubletopbottom_new();
7087
+ this.__wbg_ptr = ret;
7088
+ DoubleTopBottomFinalization.register(this, this.__wbg_ptr, this);
7089
+ return this;
7090
+ }
7091
+ reset() {
7092
+ wasm.doubletopbottom_reset(this.__wbg_ptr);
7093
+ }
7094
+ /**
7095
+ * @param {number} open
7096
+ * @param {number} high
7097
+ * @param {number} low
7098
+ * @param {number} close
7099
+ * @returns {number | undefined}
7100
+ */
7101
+ update(open, high, low, close) {
7102
+ try {
7103
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
7104
+ wasm.doubletopbottom_update(retptr, this.__wbg_ptr, open, high, low, close);
7105
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
7106
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
7107
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
7108
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
7109
+ if (r5) {
7110
+ throw takeObject(r4);
7111
+ }
7112
+ return r0 === 0 ? undefined : r2;
7113
+ } finally {
7114
+ wasm.__wbindgen_add_to_stack_pointer(32);
7115
+ }
7116
+ }
7117
+ /**
7118
+ * @returns {number}
7119
+ */
7120
+ warmupPeriod() {
7121
+ const ret = wasm.doubletopbottom_warmupPeriod(this.__wbg_ptr);
6492
7122
  return ret >>> 0;
6493
7123
  }
6494
7124
  }
6495
- if (Symbol.dispose) DoubleBollinger.prototype[Symbol.dispose] = DoubleBollinger.prototype.free;
7125
+ if (Symbol.dispose) DoubleTopBottom.prototype[Symbol.dispose] = DoubleTopBottom.prototype.free;
6496
7126
 
6497
7127
  export class DownsideGapThreeMethods {
6498
7128
  __destroy_into_raw() {
@@ -7864,6 +8494,96 @@ export class FisherTransform {
7864
8494
  }
7865
8495
  if (Symbol.dispose) FisherTransform.prototype[Symbol.dispose] = FisherTransform.prototype.free;
7866
8496
 
8497
+ export class FlagPennant {
8498
+ __destroy_into_raw() {
8499
+ const ptr = this.__wbg_ptr;
8500
+ this.__wbg_ptr = 0;
8501
+ FlagPennantFinalization.unregister(this);
8502
+ return ptr;
8503
+ }
8504
+ free() {
8505
+ const ptr = this.__destroy_into_raw();
8506
+ wasm.__wbg_flagpennant_free(ptr, 0);
8507
+ }
8508
+ /**
8509
+ * @param {Float64Array} open
8510
+ * @param {Float64Array} high
8511
+ * @param {Float64Array} low
8512
+ * @param {Float64Array} close
8513
+ * @returns {Float64Array}
8514
+ */
8515
+ batch(open, high, low, close) {
8516
+ try {
8517
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
8518
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
8519
+ const len0 = WASM_VECTOR_LEN;
8520
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
8521
+ const len1 = WASM_VECTOR_LEN;
8522
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
8523
+ const len2 = WASM_VECTOR_LEN;
8524
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
8525
+ const len3 = WASM_VECTOR_LEN;
8526
+ wasm.flagpennant_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
8527
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8528
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
8529
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
8530
+ if (r2) {
8531
+ throw takeObject(r1);
8532
+ }
8533
+ return takeObject(r0);
8534
+ } finally {
8535
+ wasm.__wbindgen_add_to_stack_pointer(16);
8536
+ }
8537
+ }
8538
+ /**
8539
+ * @returns {boolean}
8540
+ */
8541
+ isReady() {
8542
+ const ret = wasm.flagpennant_isReady(this.__wbg_ptr);
8543
+ return ret !== 0;
8544
+ }
8545
+ constructor() {
8546
+ const ret = wasm.flagpennant_new();
8547
+ this.__wbg_ptr = ret;
8548
+ FlagPennantFinalization.register(this, this.__wbg_ptr, this);
8549
+ return this;
8550
+ }
8551
+ reset() {
8552
+ wasm.flagpennant_reset(this.__wbg_ptr);
8553
+ }
8554
+ /**
8555
+ * @param {number} open
8556
+ * @param {number} high
8557
+ * @param {number} low
8558
+ * @param {number} close
8559
+ * @returns {number | undefined}
8560
+ */
8561
+ update(open, high, low, close) {
8562
+ try {
8563
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
8564
+ wasm.flagpennant_update(retptr, this.__wbg_ptr, open, high, low, close);
8565
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
8566
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
8567
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
8568
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
8569
+ if (r5) {
8570
+ throw takeObject(r4);
8571
+ }
8572
+ return r0 === 0 ? undefined : r2;
8573
+ } finally {
8574
+ wasm.__wbindgen_add_to_stack_pointer(32);
8575
+ }
8576
+ }
8577
+ /**
8578
+ * @returns {number}
8579
+ */
8580
+ warmupPeriod() {
8581
+ const ret = wasm.flagpennant_warmupPeriod(this.__wbg_ptr);
8582
+ return ret >>> 0;
8583
+ }
8584
+ }
8585
+ if (Symbol.dispose) FlagPennant.prototype[Symbol.dispose] = FlagPennant.prototype.free;
8586
+
7867
8587
  export class Footprint {
7868
8588
  __destroy_into_raw() {
7869
8589
  const ptr = this.__wbg_ptr;
@@ -8642,6 +9362,96 @@ export class GarmanKlassVolatility {
8642
9362
  }
8643
9363
  if (Symbol.dispose) GarmanKlassVolatility.prototype[Symbol.dispose] = GarmanKlassVolatility.prototype.free;
8644
9364
 
9365
+ export class Gartley {
9366
+ __destroy_into_raw() {
9367
+ const ptr = this.__wbg_ptr;
9368
+ this.__wbg_ptr = 0;
9369
+ GartleyFinalization.unregister(this);
9370
+ return ptr;
9371
+ }
9372
+ free() {
9373
+ const ptr = this.__destroy_into_raw();
9374
+ wasm.__wbg_gartley_free(ptr, 0);
9375
+ }
9376
+ /**
9377
+ * @param {Float64Array} open
9378
+ * @param {Float64Array} high
9379
+ * @param {Float64Array} low
9380
+ * @param {Float64Array} close
9381
+ * @returns {Float64Array}
9382
+ */
9383
+ batch(open, high, low, close) {
9384
+ try {
9385
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
9386
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
9387
+ const len0 = WASM_VECTOR_LEN;
9388
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
9389
+ const len1 = WASM_VECTOR_LEN;
9390
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
9391
+ const len2 = WASM_VECTOR_LEN;
9392
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
9393
+ const len3 = WASM_VECTOR_LEN;
9394
+ wasm.gartley_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
9395
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9396
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9397
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
9398
+ if (r2) {
9399
+ throw takeObject(r1);
9400
+ }
9401
+ return takeObject(r0);
9402
+ } finally {
9403
+ wasm.__wbindgen_add_to_stack_pointer(16);
9404
+ }
9405
+ }
9406
+ /**
9407
+ * @returns {boolean}
9408
+ */
9409
+ isReady() {
9410
+ const ret = wasm.gartley_isReady(this.__wbg_ptr);
9411
+ return ret !== 0;
9412
+ }
9413
+ constructor() {
9414
+ const ret = wasm.gartley_new();
9415
+ this.__wbg_ptr = ret;
9416
+ GartleyFinalization.register(this, this.__wbg_ptr, this);
9417
+ return this;
9418
+ }
9419
+ reset() {
9420
+ wasm.gartley_reset(this.__wbg_ptr);
9421
+ }
9422
+ /**
9423
+ * @param {number} open
9424
+ * @param {number} high
9425
+ * @param {number} low
9426
+ * @param {number} close
9427
+ * @returns {number | undefined}
9428
+ */
9429
+ update(open, high, low, close) {
9430
+ try {
9431
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
9432
+ wasm.gartley_update(retptr, this.__wbg_ptr, open, high, low, close);
9433
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9434
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
9435
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
9436
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
9437
+ if (r5) {
9438
+ throw takeObject(r4);
9439
+ }
9440
+ return r0 === 0 ? undefined : r2;
9441
+ } finally {
9442
+ wasm.__wbindgen_add_to_stack_pointer(32);
9443
+ }
9444
+ }
9445
+ /**
9446
+ * @returns {number}
9447
+ */
9448
+ warmupPeriod() {
9449
+ const ret = wasm.gartley_warmupPeriod(this.__wbg_ptr);
9450
+ return ret >>> 0;
9451
+ }
9452
+ }
9453
+ if (Symbol.dispose) Gartley.prototype[Symbol.dispose] = Gartley.prototype.free;
9454
+
8645
9455
  export class GrangerCausality {
8646
9456
  __destroy_into_raw() {
8647
9457
  const ptr = this.__wbg_ptr;
@@ -9242,22 +10052,112 @@ export class HangingMan {
9242
10052
  * @returns {number}
9243
10053
  */
9244
10054
  warmupPeriod() {
9245
- const ret = wasm.hangingman_warmupPeriod(this.__wbg_ptr);
10055
+ const ret = wasm.hangingman_warmupPeriod(this.__wbg_ptr);
10056
+ return ret >>> 0;
10057
+ }
10058
+ }
10059
+ if (Symbol.dispose) HangingMan.prototype[Symbol.dispose] = HangingMan.prototype.free;
10060
+
10061
+ export class Harami {
10062
+ __destroy_into_raw() {
10063
+ const ptr = this.__wbg_ptr;
10064
+ this.__wbg_ptr = 0;
10065
+ HaramiFinalization.unregister(this);
10066
+ return ptr;
10067
+ }
10068
+ free() {
10069
+ const ptr = this.__destroy_into_raw();
10070
+ wasm.__wbg_harami_free(ptr, 0);
10071
+ }
10072
+ /**
10073
+ * @param {Float64Array} open
10074
+ * @param {Float64Array} high
10075
+ * @param {Float64Array} low
10076
+ * @param {Float64Array} close
10077
+ * @returns {Float64Array}
10078
+ */
10079
+ batch(open, high, low, close) {
10080
+ try {
10081
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
10082
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
10083
+ const len0 = WASM_VECTOR_LEN;
10084
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
10085
+ const len1 = WASM_VECTOR_LEN;
10086
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
10087
+ const len2 = WASM_VECTOR_LEN;
10088
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
10089
+ const len3 = WASM_VECTOR_LEN;
10090
+ wasm.harami_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
10091
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10092
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
10093
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
10094
+ if (r2) {
10095
+ throw takeObject(r1);
10096
+ }
10097
+ return takeObject(r0);
10098
+ } finally {
10099
+ wasm.__wbindgen_add_to_stack_pointer(16);
10100
+ }
10101
+ }
10102
+ /**
10103
+ * @returns {boolean}
10104
+ */
10105
+ isReady() {
10106
+ const ret = wasm.harami_isReady(this.__wbg_ptr);
10107
+ return ret !== 0;
10108
+ }
10109
+ constructor() {
10110
+ const ret = wasm.harami_new();
10111
+ this.__wbg_ptr = ret;
10112
+ HaramiFinalization.register(this, this.__wbg_ptr, this);
10113
+ return this;
10114
+ }
10115
+ reset() {
10116
+ wasm.harami_reset(this.__wbg_ptr);
10117
+ }
10118
+ /**
10119
+ * @param {number} open
10120
+ * @param {number} high
10121
+ * @param {number} low
10122
+ * @param {number} close
10123
+ * @returns {number | undefined}
10124
+ */
10125
+ update(open, high, low, close) {
10126
+ try {
10127
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
10128
+ wasm.harami_update(retptr, this.__wbg_ptr, open, high, low, close);
10129
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
10130
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
10131
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
10132
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
10133
+ if (r5) {
10134
+ throw takeObject(r4);
10135
+ }
10136
+ return r0 === 0 ? undefined : r2;
10137
+ } finally {
10138
+ wasm.__wbindgen_add_to_stack_pointer(32);
10139
+ }
10140
+ }
10141
+ /**
10142
+ * @returns {number}
10143
+ */
10144
+ warmupPeriod() {
10145
+ const ret = wasm.harami_warmupPeriod(this.__wbg_ptr);
9246
10146
  return ret >>> 0;
9247
10147
  }
9248
10148
  }
9249
- if (Symbol.dispose) HangingMan.prototype[Symbol.dispose] = HangingMan.prototype.free;
10149
+ if (Symbol.dispose) Harami.prototype[Symbol.dispose] = Harami.prototype.free;
9250
10150
 
9251
- export class Harami {
10151
+ export class HeadAndShoulders {
9252
10152
  __destroy_into_raw() {
9253
10153
  const ptr = this.__wbg_ptr;
9254
10154
  this.__wbg_ptr = 0;
9255
- HaramiFinalization.unregister(this);
10155
+ HeadAndShouldersFinalization.unregister(this);
9256
10156
  return ptr;
9257
10157
  }
9258
10158
  free() {
9259
10159
  const ptr = this.__destroy_into_raw();
9260
- wasm.__wbg_harami_free(ptr, 0);
10160
+ wasm.__wbg_headandshoulders_free(ptr, 0);
9261
10161
  }
9262
10162
  /**
9263
10163
  * @param {Float64Array} open
@@ -9277,7 +10177,7 @@ export class Harami {
9277
10177
  const len2 = WASM_VECTOR_LEN;
9278
10178
  const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
9279
10179
  const len3 = WASM_VECTOR_LEN;
9280
- wasm.harami_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
10180
+ wasm.headandshoulders_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
9281
10181
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9282
10182
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
9283
10183
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -9293,17 +10193,17 @@ export class Harami {
9293
10193
  * @returns {boolean}
9294
10194
  */
9295
10195
  isReady() {
9296
- const ret = wasm.harami_isReady(this.__wbg_ptr);
10196
+ const ret = wasm.headandshoulders_isReady(this.__wbg_ptr);
9297
10197
  return ret !== 0;
9298
10198
  }
9299
10199
  constructor() {
9300
- const ret = wasm.harami_new();
10200
+ const ret = wasm.headandshoulders_new();
9301
10201
  this.__wbg_ptr = ret;
9302
- HaramiFinalization.register(this, this.__wbg_ptr, this);
10202
+ HeadAndShouldersFinalization.register(this, this.__wbg_ptr, this);
9303
10203
  return this;
9304
10204
  }
9305
10205
  reset() {
9306
- wasm.harami_reset(this.__wbg_ptr);
10206
+ wasm.headandshoulders_reset(this.__wbg_ptr);
9307
10207
  }
9308
10208
  /**
9309
10209
  * @param {number} open
@@ -9315,7 +10215,7 @@ export class Harami {
9315
10215
  update(open, high, low, close) {
9316
10216
  try {
9317
10217
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
9318
- wasm.harami_update(retptr, this.__wbg_ptr, open, high, low, close);
10218
+ wasm.headandshoulders_update(retptr, this.__wbg_ptr, open, high, low, close);
9319
10219
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
9320
10220
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
9321
10221
  var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
@@ -9332,11 +10232,11 @@ export class Harami {
9332
10232
  * @returns {number}
9333
10233
  */
9334
10234
  warmupPeriod() {
9335
- const ret = wasm.harami_warmupPeriod(this.__wbg_ptr);
10235
+ const ret = wasm.headandshoulders_warmupPeriod(this.__wbg_ptr);
9336
10236
  return ret >>> 0;
9337
10237
  }
9338
10238
  }
9339
- if (Symbol.dispose) Harami.prototype[Symbol.dispose] = Harami.prototype.free;
10239
+ if (Symbol.dispose) HeadAndShoulders.prototype[Symbol.dispose] = HeadAndShoulders.prototype.free;
9340
10240
 
9341
10241
  export class HeikinAshi {
9342
10242
  __destroy_into_raw() {
@@ -18810,6 +19710,96 @@ export class RecoveryFactor {
18810
19710
  }
18811
19711
  if (Symbol.dispose) RecoveryFactor.prototype[Symbol.dispose] = RecoveryFactor.prototype.free;
18812
19712
 
19713
+ export class RectangleRange {
19714
+ __destroy_into_raw() {
19715
+ const ptr = this.__wbg_ptr;
19716
+ this.__wbg_ptr = 0;
19717
+ RectangleRangeFinalization.unregister(this);
19718
+ return ptr;
19719
+ }
19720
+ free() {
19721
+ const ptr = this.__destroy_into_raw();
19722
+ wasm.__wbg_rectanglerange_free(ptr, 0);
19723
+ }
19724
+ /**
19725
+ * @param {Float64Array} open
19726
+ * @param {Float64Array} high
19727
+ * @param {Float64Array} low
19728
+ * @param {Float64Array} close
19729
+ * @returns {Float64Array}
19730
+ */
19731
+ batch(open, high, low, close) {
19732
+ try {
19733
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
19734
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
19735
+ const len0 = WASM_VECTOR_LEN;
19736
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
19737
+ const len1 = WASM_VECTOR_LEN;
19738
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
19739
+ const len2 = WASM_VECTOR_LEN;
19740
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
19741
+ const len3 = WASM_VECTOR_LEN;
19742
+ wasm.rectanglerange_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
19743
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
19744
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
19745
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
19746
+ if (r2) {
19747
+ throw takeObject(r1);
19748
+ }
19749
+ return takeObject(r0);
19750
+ } finally {
19751
+ wasm.__wbindgen_add_to_stack_pointer(16);
19752
+ }
19753
+ }
19754
+ /**
19755
+ * @returns {boolean}
19756
+ */
19757
+ isReady() {
19758
+ const ret = wasm.rectanglerange_isReady(this.__wbg_ptr);
19759
+ return ret !== 0;
19760
+ }
19761
+ constructor() {
19762
+ const ret = wasm.rectanglerange_new();
19763
+ this.__wbg_ptr = ret;
19764
+ RectangleRangeFinalization.register(this, this.__wbg_ptr, this);
19765
+ return this;
19766
+ }
19767
+ reset() {
19768
+ wasm.rectanglerange_reset(this.__wbg_ptr);
19769
+ }
19770
+ /**
19771
+ * @param {number} open
19772
+ * @param {number} high
19773
+ * @param {number} low
19774
+ * @param {number} close
19775
+ * @returns {number | undefined}
19776
+ */
19777
+ update(open, high, low, close) {
19778
+ try {
19779
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
19780
+ wasm.rectanglerange_update(retptr, this.__wbg_ptr, open, high, low, close);
19781
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
19782
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
19783
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
19784
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
19785
+ if (r5) {
19786
+ throw takeObject(r4);
19787
+ }
19788
+ return r0 === 0 ? undefined : r2;
19789
+ } finally {
19790
+ wasm.__wbindgen_add_to_stack_pointer(32);
19791
+ }
19792
+ }
19793
+ /**
19794
+ * @returns {number}
19795
+ */
19796
+ warmupPeriod() {
19797
+ const ret = wasm.rectanglerange_warmupPeriod(this.__wbg_ptr);
19798
+ return ret >>> 0;
19799
+ }
19800
+ }
19801
+ if (Symbol.dispose) RectangleRange.prototype[Symbol.dispose] = RectangleRange.prototype.free;
19802
+
18813
19803
  export class RelativeStrengthAB {
18814
19804
  __destroy_into_raw() {
18815
19805
  const ptr = this.__wbg_ptr;
@@ -20492,6 +21482,96 @@ export class SessionVwap {
20492
21482
  }
20493
21483
  if (Symbol.dispose) SessionVwap.prototype[Symbol.dispose] = SessionVwap.prototype.free;
20494
21484
 
21485
+ export class Shark {
21486
+ __destroy_into_raw() {
21487
+ const ptr = this.__wbg_ptr;
21488
+ this.__wbg_ptr = 0;
21489
+ SharkFinalization.unregister(this);
21490
+ return ptr;
21491
+ }
21492
+ free() {
21493
+ const ptr = this.__destroy_into_raw();
21494
+ wasm.__wbg_shark_free(ptr, 0);
21495
+ }
21496
+ /**
21497
+ * @param {Float64Array} open
21498
+ * @param {Float64Array} high
21499
+ * @param {Float64Array} low
21500
+ * @param {Float64Array} close
21501
+ * @returns {Float64Array}
21502
+ */
21503
+ batch(open, high, low, close) {
21504
+ try {
21505
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
21506
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
21507
+ const len0 = WASM_VECTOR_LEN;
21508
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
21509
+ const len1 = WASM_VECTOR_LEN;
21510
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
21511
+ const len2 = WASM_VECTOR_LEN;
21512
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
21513
+ const len3 = WASM_VECTOR_LEN;
21514
+ wasm.shark_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
21515
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21516
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
21517
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
21518
+ if (r2) {
21519
+ throw takeObject(r1);
21520
+ }
21521
+ return takeObject(r0);
21522
+ } finally {
21523
+ wasm.__wbindgen_add_to_stack_pointer(16);
21524
+ }
21525
+ }
21526
+ /**
21527
+ * @returns {boolean}
21528
+ */
21529
+ isReady() {
21530
+ const ret = wasm.shark_isReady(this.__wbg_ptr);
21531
+ return ret !== 0;
21532
+ }
21533
+ constructor() {
21534
+ const ret = wasm.shark_new();
21535
+ this.__wbg_ptr = ret;
21536
+ SharkFinalization.register(this, this.__wbg_ptr, this);
21537
+ return this;
21538
+ }
21539
+ reset() {
21540
+ wasm.shark_reset(this.__wbg_ptr);
21541
+ }
21542
+ /**
21543
+ * @param {number} open
21544
+ * @param {number} high
21545
+ * @param {number} low
21546
+ * @param {number} close
21547
+ * @returns {number | undefined}
21548
+ */
21549
+ update(open, high, low, close) {
21550
+ try {
21551
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
21552
+ wasm.shark_update(retptr, this.__wbg_ptr, open, high, low, close);
21553
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
21554
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
21555
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
21556
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
21557
+ if (r5) {
21558
+ throw takeObject(r4);
21559
+ }
21560
+ return r0 === 0 ? undefined : r2;
21561
+ } finally {
21562
+ wasm.__wbindgen_add_to_stack_pointer(32);
21563
+ }
21564
+ }
21565
+ /**
21566
+ * @returns {number}
21567
+ */
21568
+ warmupPeriod() {
21569
+ const ret = wasm.shark_warmupPeriod(this.__wbg_ptr);
21570
+ return ret >>> 0;
21571
+ }
21572
+ }
21573
+ if (Symbol.dispose) Shark.prototype[Symbol.dispose] = Shark.prototype.free;
21574
+
20495
21575
  export class SharpeRatio {
20496
21576
  __destroy_into_raw() {
20497
21577
  const ptr = this.__wbg_ptr;
@@ -24376,7 +25456,97 @@ export class TermStructureBasis {
24376
25456
  update(futures_price, index_price) {
24377
25457
  try {
24378
25458
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
24379
- wasm.termstructurebasis_update(retptr, this.__wbg_ptr, futures_price, index_price);
25459
+ wasm.termstructurebasis_update(retptr, this.__wbg_ptr, futures_price, index_price);
25460
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
25461
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
25462
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
25463
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
25464
+ if (r5) {
25465
+ throw takeObject(r4);
25466
+ }
25467
+ return r0 === 0 ? undefined : r2;
25468
+ } finally {
25469
+ wasm.__wbindgen_add_to_stack_pointer(32);
25470
+ }
25471
+ }
25472
+ /**
25473
+ * @returns {number}
25474
+ */
25475
+ warmupPeriod() {
25476
+ const ret = wasm.termstructurebasis_warmupPeriod(this.__wbg_ptr);
25477
+ return ret >>> 0;
25478
+ }
25479
+ }
25480
+ if (Symbol.dispose) TermStructureBasis.prototype[Symbol.dispose] = TermStructureBasis.prototype.free;
25481
+
25482
+ export class ThreeDrives {
25483
+ __destroy_into_raw() {
25484
+ const ptr = this.__wbg_ptr;
25485
+ this.__wbg_ptr = 0;
25486
+ ThreeDrivesFinalization.unregister(this);
25487
+ return ptr;
25488
+ }
25489
+ free() {
25490
+ const ptr = this.__destroy_into_raw();
25491
+ wasm.__wbg_threedrives_free(ptr, 0);
25492
+ }
25493
+ /**
25494
+ * @param {Float64Array} open
25495
+ * @param {Float64Array} high
25496
+ * @param {Float64Array} low
25497
+ * @param {Float64Array} close
25498
+ * @returns {Float64Array}
25499
+ */
25500
+ batch(open, high, low, close) {
25501
+ try {
25502
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
25503
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
25504
+ const len0 = WASM_VECTOR_LEN;
25505
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
25506
+ const len1 = WASM_VECTOR_LEN;
25507
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
25508
+ const len2 = WASM_VECTOR_LEN;
25509
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
25510
+ const len3 = WASM_VECTOR_LEN;
25511
+ wasm.threedrives_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
25512
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
25513
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
25514
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
25515
+ if (r2) {
25516
+ throw takeObject(r1);
25517
+ }
25518
+ return takeObject(r0);
25519
+ } finally {
25520
+ wasm.__wbindgen_add_to_stack_pointer(16);
25521
+ }
25522
+ }
25523
+ /**
25524
+ * @returns {boolean}
25525
+ */
25526
+ isReady() {
25527
+ const ret = wasm.threedrives_isReady(this.__wbg_ptr);
25528
+ return ret !== 0;
25529
+ }
25530
+ constructor() {
25531
+ const ret = wasm.threedrives_new();
25532
+ this.__wbg_ptr = ret;
25533
+ ThreeDrivesFinalization.register(this, this.__wbg_ptr, this);
25534
+ return this;
25535
+ }
25536
+ reset() {
25537
+ wasm.threedrives_reset(this.__wbg_ptr);
25538
+ }
25539
+ /**
25540
+ * @param {number} open
25541
+ * @param {number} high
25542
+ * @param {number} low
25543
+ * @param {number} close
25544
+ * @returns {number | undefined}
25545
+ */
25546
+ update(open, high, low, close) {
25547
+ try {
25548
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
25549
+ wasm.threedrives_update(retptr, this.__wbg_ptr, open, high, low, close);
24380
25550
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
24381
25551
  var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
24382
25552
  var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
@@ -24393,11 +25563,11 @@ export class TermStructureBasis {
24393
25563
  * @returns {number}
24394
25564
  */
24395
25565
  warmupPeriod() {
24396
- const ret = wasm.termstructurebasis_warmupPeriod(this.__wbg_ptr);
25566
+ const ret = wasm.threedrives_warmupPeriod(this.__wbg_ptr);
24397
25567
  return ret >>> 0;
24398
25568
  }
24399
25569
  }
24400
- if (Symbol.dispose) TermStructureBasis.prototype[Symbol.dispose] = TermStructureBasis.prototype.free;
25570
+ if (Symbol.dispose) ThreeDrives.prototype[Symbol.dispose] = ThreeDrives.prototype.free;
24401
25571
 
24402
25572
  export class ThreeInside {
24403
25573
  __destroy_into_raw() {
@@ -25352,6 +26522,96 @@ export class TreynorRatio {
25352
26522
  }
25353
26523
  if (Symbol.dispose) TreynorRatio.prototype[Symbol.dispose] = TreynorRatio.prototype.free;
25354
26524
 
26525
+ export class Triangle {
26526
+ __destroy_into_raw() {
26527
+ const ptr = this.__wbg_ptr;
26528
+ this.__wbg_ptr = 0;
26529
+ TriangleFinalization.unregister(this);
26530
+ return ptr;
26531
+ }
26532
+ free() {
26533
+ const ptr = this.__destroy_into_raw();
26534
+ wasm.__wbg_triangle_free(ptr, 0);
26535
+ }
26536
+ /**
26537
+ * @param {Float64Array} open
26538
+ * @param {Float64Array} high
26539
+ * @param {Float64Array} low
26540
+ * @param {Float64Array} close
26541
+ * @returns {Float64Array}
26542
+ */
26543
+ batch(open, high, low, close) {
26544
+ try {
26545
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
26546
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
26547
+ const len0 = WASM_VECTOR_LEN;
26548
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
26549
+ const len1 = WASM_VECTOR_LEN;
26550
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
26551
+ const len2 = WASM_VECTOR_LEN;
26552
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
26553
+ const len3 = WASM_VECTOR_LEN;
26554
+ wasm.triangle_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
26555
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
26556
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
26557
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
26558
+ if (r2) {
26559
+ throw takeObject(r1);
26560
+ }
26561
+ return takeObject(r0);
26562
+ } finally {
26563
+ wasm.__wbindgen_add_to_stack_pointer(16);
26564
+ }
26565
+ }
26566
+ /**
26567
+ * @returns {boolean}
26568
+ */
26569
+ isReady() {
26570
+ const ret = wasm.triangle_isReady(this.__wbg_ptr);
26571
+ return ret !== 0;
26572
+ }
26573
+ constructor() {
26574
+ const ret = wasm.triangle_new();
26575
+ this.__wbg_ptr = ret;
26576
+ TriangleFinalization.register(this, this.__wbg_ptr, this);
26577
+ return this;
26578
+ }
26579
+ reset() {
26580
+ wasm.triangle_reset(this.__wbg_ptr);
26581
+ }
26582
+ /**
26583
+ * @param {number} open
26584
+ * @param {number} high
26585
+ * @param {number} low
26586
+ * @param {number} close
26587
+ * @returns {number | undefined}
26588
+ */
26589
+ update(open, high, low, close) {
26590
+ try {
26591
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
26592
+ wasm.triangle_update(retptr, this.__wbg_ptr, open, high, low, close);
26593
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
26594
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
26595
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
26596
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
26597
+ if (r5) {
26598
+ throw takeObject(r4);
26599
+ }
26600
+ return r0 === 0 ? undefined : r2;
26601
+ } finally {
26602
+ wasm.__wbindgen_add_to_stack_pointer(32);
26603
+ }
26604
+ }
26605
+ /**
26606
+ * @returns {number}
26607
+ */
26608
+ warmupPeriod() {
26609
+ const ret = wasm.triangle_warmupPeriod(this.__wbg_ptr);
26610
+ return ret >>> 0;
26611
+ }
26612
+ }
26613
+ if (Symbol.dispose) Triangle.prototype[Symbol.dispose] = Triangle.prototype.free;
26614
+
25355
26615
  export class Trin {
25356
26616
  __destroy_into_raw() {
25357
26617
  const ptr = this.__wbg_ptr;
@@ -25420,6 +26680,96 @@ export class Trin {
25420
26680
  }
25421
26681
  if (Symbol.dispose) Trin.prototype[Symbol.dispose] = Trin.prototype.free;
25422
26682
 
26683
+ export class TripleTopBottom {
26684
+ __destroy_into_raw() {
26685
+ const ptr = this.__wbg_ptr;
26686
+ this.__wbg_ptr = 0;
26687
+ TripleTopBottomFinalization.unregister(this);
26688
+ return ptr;
26689
+ }
26690
+ free() {
26691
+ const ptr = this.__destroy_into_raw();
26692
+ wasm.__wbg_tripletopbottom_free(ptr, 0);
26693
+ }
26694
+ /**
26695
+ * @param {Float64Array} open
26696
+ * @param {Float64Array} high
26697
+ * @param {Float64Array} low
26698
+ * @param {Float64Array} close
26699
+ * @returns {Float64Array}
26700
+ */
26701
+ batch(open, high, low, close) {
26702
+ try {
26703
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
26704
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
26705
+ const len0 = WASM_VECTOR_LEN;
26706
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
26707
+ const len1 = WASM_VECTOR_LEN;
26708
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
26709
+ const len2 = WASM_VECTOR_LEN;
26710
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
26711
+ const len3 = WASM_VECTOR_LEN;
26712
+ wasm.tripletopbottom_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
26713
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
26714
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
26715
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
26716
+ if (r2) {
26717
+ throw takeObject(r1);
26718
+ }
26719
+ return takeObject(r0);
26720
+ } finally {
26721
+ wasm.__wbindgen_add_to_stack_pointer(16);
26722
+ }
26723
+ }
26724
+ /**
26725
+ * @returns {boolean}
26726
+ */
26727
+ isReady() {
26728
+ const ret = wasm.tripletopbottom_isReady(this.__wbg_ptr);
26729
+ return ret !== 0;
26730
+ }
26731
+ constructor() {
26732
+ const ret = wasm.tripletopbottom_new();
26733
+ this.__wbg_ptr = ret;
26734
+ TripleTopBottomFinalization.register(this, this.__wbg_ptr, this);
26735
+ return this;
26736
+ }
26737
+ reset() {
26738
+ wasm.tripletopbottom_reset(this.__wbg_ptr);
26739
+ }
26740
+ /**
26741
+ * @param {number} open
26742
+ * @param {number} high
26743
+ * @param {number} low
26744
+ * @param {number} close
26745
+ * @returns {number | undefined}
26746
+ */
26747
+ update(open, high, low, close) {
26748
+ try {
26749
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
26750
+ wasm.tripletopbottom_update(retptr, this.__wbg_ptr, open, high, low, close);
26751
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
26752
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
26753
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
26754
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
26755
+ if (r5) {
26756
+ throw takeObject(r4);
26757
+ }
26758
+ return r0 === 0 ? undefined : r2;
26759
+ } finally {
26760
+ wasm.__wbindgen_add_to_stack_pointer(32);
26761
+ }
26762
+ }
26763
+ /**
26764
+ * @returns {number}
26765
+ */
26766
+ warmupPeriod() {
26767
+ const ret = wasm.tripletopbottom_warmupPeriod(this.__wbg_ptr);
26768
+ return ret >>> 0;
26769
+ }
26770
+ }
26771
+ if (Symbol.dispose) TripleTopBottom.prototype[Symbol.dispose] = TripleTopBottom.prototype.free;
26772
+
25423
26773
  export class TrueRange {
25424
26774
  __destroy_into_raw() {
25425
26775
  const ptr = this.__wbg_ptr;
@@ -27977,6 +29327,96 @@ export class WaveTrend {
27977
29327
  }
27978
29328
  if (Symbol.dispose) WaveTrend.prototype[Symbol.dispose] = WaveTrend.prototype.free;
27979
29329
 
29330
+ export class Wedge {
29331
+ __destroy_into_raw() {
29332
+ const ptr = this.__wbg_ptr;
29333
+ this.__wbg_ptr = 0;
29334
+ WedgeFinalization.unregister(this);
29335
+ return ptr;
29336
+ }
29337
+ free() {
29338
+ const ptr = this.__destroy_into_raw();
29339
+ wasm.__wbg_wedge_free(ptr, 0);
29340
+ }
29341
+ /**
29342
+ * @param {Float64Array} open
29343
+ * @param {Float64Array} high
29344
+ * @param {Float64Array} low
29345
+ * @param {Float64Array} close
29346
+ * @returns {Float64Array}
29347
+ */
29348
+ batch(open, high, low, close) {
29349
+ try {
29350
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
29351
+ const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
29352
+ const len0 = WASM_VECTOR_LEN;
29353
+ const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
29354
+ const len1 = WASM_VECTOR_LEN;
29355
+ const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
29356
+ const len2 = WASM_VECTOR_LEN;
29357
+ const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
29358
+ const len3 = WASM_VECTOR_LEN;
29359
+ wasm.wedge_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
29360
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
29361
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
29362
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
29363
+ if (r2) {
29364
+ throw takeObject(r1);
29365
+ }
29366
+ return takeObject(r0);
29367
+ } finally {
29368
+ wasm.__wbindgen_add_to_stack_pointer(16);
29369
+ }
29370
+ }
29371
+ /**
29372
+ * @returns {boolean}
29373
+ */
29374
+ isReady() {
29375
+ const ret = wasm.wedge_isReady(this.__wbg_ptr);
29376
+ return ret !== 0;
29377
+ }
29378
+ constructor() {
29379
+ const ret = wasm.wedge_new();
29380
+ this.__wbg_ptr = ret;
29381
+ WedgeFinalization.register(this, this.__wbg_ptr, this);
29382
+ return this;
29383
+ }
29384
+ reset() {
29385
+ wasm.wedge_reset(this.__wbg_ptr);
29386
+ }
29387
+ /**
29388
+ * @param {number} open
29389
+ * @param {number} high
29390
+ * @param {number} low
29391
+ * @param {number} close
29392
+ * @returns {number | undefined}
29393
+ */
29394
+ update(open, high, low, close) {
29395
+ try {
29396
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
29397
+ wasm.wedge_update(retptr, this.__wbg_ptr, open, high, low, close);
29398
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
29399
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
29400
+ var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
29401
+ var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
29402
+ if (r5) {
29403
+ throw takeObject(r4);
29404
+ }
29405
+ return r0 === 0 ? undefined : r2;
29406
+ } finally {
29407
+ wasm.__wbindgen_add_to_stack_pointer(32);
29408
+ }
29409
+ }
29410
+ /**
29411
+ * @returns {number}
29412
+ */
29413
+ warmupPeriod() {
29414
+ const ret = wasm.wedge_warmupPeriod(this.__wbg_ptr);
29415
+ return ret >>> 0;
29416
+ }
29417
+ }
29418
+ if (Symbol.dispose) Wedge.prototype[Symbol.dispose] = Wedge.prototype.free;
29419
+
27980
29420
  export class WeightedClose {
27981
29421
  __destroy_into_raw() {
27982
29422
  const ptr = this.__wbg_ptr;
@@ -29008,6 +30448,9 @@ export function __wbindgen_object_drop_ref(arg0) {
29008
30448
  const AbandonedBabyFinalization = (typeof FinalizationRegistry === 'undefined')
29009
30449
  ? { register: () => {}, unregister: () => {} }
29010
30450
  : new FinalizationRegistry(ptr => wasm.__wbg_abandonedbaby_free(ptr, 1));
30451
+ const AbcdFinalization = (typeof FinalizationRegistry === 'undefined')
30452
+ ? { register: () => {}, unregister: () => {} }
30453
+ : new FinalizationRegistry(ptr => wasm.__wbg_abcd_free(ptr, 1));
29011
30454
  const AbsoluteBreadthIndexFinalization = (typeof FinalizationRegistry === 'undefined')
29012
30455
  ? { register: () => {}, unregister: () => {} }
29013
30456
  : new FinalizationRegistry(ptr => wasm.__wbg_absolutebreadthindex_free(ptr, 1));
@@ -29098,6 +30541,9 @@ const AVGPRICEFinalization = (typeof FinalizationRegistry === 'undefined')
29098
30541
  const BalanceOfPowerFinalization = (typeof FinalizationRegistry === 'undefined')
29099
30542
  ? { register: () => {}, unregister: () => {} }
29100
30543
  : new FinalizationRegistry(ptr => wasm.__wbg_balanceofpower_free(ptr, 1));
30544
+ const BatFinalization = (typeof FinalizationRegistry === 'undefined')
30545
+ ? { register: () => {}, unregister: () => {} }
30546
+ : new FinalizationRegistry(ptr => wasm.__wbg_bat_free(ptr, 1));
29101
30547
  const BollingerBandsFinalization = (typeof FinalizationRegistry === 'undefined')
29102
30548
  ? { register: () => {}, unregister: () => {} }
29103
30549
  : new FinalizationRegistry(ptr => wasm.__wbg_bollingerbands_free(ptr, 1));
@@ -29122,6 +30568,9 @@ const BreakawayFinalization = (typeof FinalizationRegistry === 'undefined')
29122
30568
  const BullishPercentIndexFinalization = (typeof FinalizationRegistry === 'undefined')
29123
30569
  ? { register: () => {}, unregister: () => {} }
29124
30570
  : new FinalizationRegistry(ptr => wasm.__wbg_bullishpercentindex_free(ptr, 1));
30571
+ const ButterflyFinalization = (typeof FinalizationRegistry === 'undefined')
30572
+ ? { register: () => {}, unregister: () => {} }
30573
+ : new FinalizationRegistry(ptr => wasm.__wbg_butterfly_free(ptr, 1));
29125
30574
  const CalendarSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
29126
30575
  ? { register: () => {}, unregister: () => {} }
29127
30576
  : new FinalizationRegistry(ptr => wasm.__wbg_calendarspread_free(ptr, 1));
@@ -29188,15 +30637,24 @@ const CoppockFinalization = (typeof FinalizationRegistry === 'undefined')
29188
30637
  const CounterattackFinalization = (typeof FinalizationRegistry === 'undefined')
29189
30638
  ? { register: () => {}, unregister: () => {} }
29190
30639
  : new FinalizationRegistry(ptr => wasm.__wbg_counterattack_free(ptr, 1));
30640
+ const CrabFinalization = (typeof FinalizationRegistry === 'undefined')
30641
+ ? { register: () => {}, unregister: () => {} }
30642
+ : new FinalizationRegistry(ptr => wasm.__wbg_crab_free(ptr, 1));
29191
30643
  const CumulativeVolumeDeltaFinalization = (typeof FinalizationRegistry === 'undefined')
29192
30644
  ? { register: () => {}, unregister: () => {} }
29193
30645
  : new FinalizationRegistry(ptr => wasm.__wbg_cumulativevolumedelta_free(ptr, 1));
29194
30646
  const CumulativeVolumeIndexFinalization = (typeof FinalizationRegistry === 'undefined')
29195
30647
  ? { register: () => {}, unregister: () => {} }
29196
30648
  : new FinalizationRegistry(ptr => wasm.__wbg_cumulativevolumeindex_free(ptr, 1));
30649
+ const CupAndHandleFinalization = (typeof FinalizationRegistry === 'undefined')
30650
+ ? { register: () => {}, unregister: () => {} }
30651
+ : new FinalizationRegistry(ptr => wasm.__wbg_cupandhandle_free(ptr, 1));
29197
30652
  const CyberneticCycleFinalization = (typeof FinalizationRegistry === 'undefined')
29198
30653
  ? { register: () => {}, unregister: () => {} }
29199
30654
  : new FinalizationRegistry(ptr => wasm.__wbg_cyberneticcycle_free(ptr, 1));
30655
+ const CypherFinalization = (typeof FinalizationRegistry === 'undefined')
30656
+ ? { register: () => {}, unregister: () => {} }
30657
+ : new FinalizationRegistry(ptr => wasm.__wbg_cypher_free(ptr, 1));
29200
30658
  const DayOfWeekProfileFinalization = (typeof FinalizationRegistry === 'undefined')
29201
30659
  ? { register: () => {}, unregister: () => {} }
29202
30660
  : new FinalizationRegistry(ptr => wasm.__wbg_dayofweekprofile_free(ptr, 1));
@@ -29239,6 +30697,9 @@ const DonchianStopFinalization = (typeof FinalizationRegistry === 'undefined')
29239
30697
  const DoubleBollingerFinalization = (typeof FinalizationRegistry === 'undefined')
29240
30698
  ? { register: () => {}, unregister: () => {} }
29241
30699
  : new FinalizationRegistry(ptr => wasm.__wbg_doublebollinger_free(ptr, 1));
30700
+ const DoubleTopBottomFinalization = (typeof FinalizationRegistry === 'undefined')
30701
+ ? { register: () => {}, unregister: () => {} }
30702
+ : new FinalizationRegistry(ptr => wasm.__wbg_doubletopbottom_free(ptr, 1));
29242
30703
  const DownsideGapThreeMethodsFinalization = (typeof FinalizationRegistry === 'undefined')
29243
30704
  ? { register: () => {}, unregister: () => {} }
29244
30705
  : new FinalizationRegistry(ptr => wasm.__wbg_downsidegapthreemethods_free(ptr, 1));
@@ -29293,6 +30754,9 @@ const FibonacciPivotsFinalization = (typeof FinalizationRegistry === 'undefined'
29293
30754
  const FisherTransformFinalization = (typeof FinalizationRegistry === 'undefined')
29294
30755
  ? { register: () => {}, unregister: () => {} }
29295
30756
  : new FinalizationRegistry(ptr => wasm.__wbg_fishertransform_free(ptr, 1));
30757
+ const FlagPennantFinalization = (typeof FinalizationRegistry === 'undefined')
30758
+ ? { register: () => {}, unregister: () => {} }
30759
+ : new FinalizationRegistry(ptr => wasm.__wbg_flagpennant_free(ptr, 1));
29296
30760
  const FootprintFinalization = (typeof FinalizationRegistry === 'undefined')
29297
30761
  ? { register: () => {}, unregister: () => {} }
29298
30762
  : new FinalizationRegistry(ptr => wasm.__wbg_footprint_free(ptr, 1));
@@ -29326,6 +30790,9 @@ const GapSideBySideWhiteFinalization = (typeof FinalizationRegistry === 'undefin
29326
30790
  const GarmanKlassVolatilityFinalization = (typeof FinalizationRegistry === 'undefined')
29327
30791
  ? { register: () => {}, unregister: () => {} }
29328
30792
  : new FinalizationRegistry(ptr => wasm.__wbg_garmanklassvolatility_free(ptr, 1));
30793
+ const GartleyFinalization = (typeof FinalizationRegistry === 'undefined')
30794
+ ? { register: () => {}, unregister: () => {} }
30795
+ : new FinalizationRegistry(ptr => wasm.__wbg_gartley_free(ptr, 1));
29329
30796
  const GrangerCausalityFinalization = (typeof FinalizationRegistry === 'undefined')
29330
30797
  ? { register: () => {}, unregister: () => {} }
29331
30798
  : new FinalizationRegistry(ptr => wasm.__wbg_grangercausality_free(ptr, 1));
@@ -29341,6 +30808,9 @@ const HangingManFinalization = (typeof FinalizationRegistry === 'undefined')
29341
30808
  const HaramiFinalization = (typeof FinalizationRegistry === 'undefined')
29342
30809
  ? { register: () => {}, unregister: () => {} }
29343
30810
  : new FinalizationRegistry(ptr => wasm.__wbg_harami_free(ptr, 1));
30811
+ const HeadAndShouldersFinalization = (typeof FinalizationRegistry === 'undefined')
30812
+ ? { register: () => {}, unregister: () => {} }
30813
+ : new FinalizationRegistry(ptr => wasm.__wbg_headandshoulders_free(ptr, 1));
29344
30814
  const HeikinAshiFinalization = (typeof FinalizationRegistry === 'undefined')
29345
30815
  ? { register: () => {}, unregister: () => {} }
29346
30816
  : new FinalizationRegistry(ptr => wasm.__wbg_heikinashi_free(ptr, 1));
@@ -29680,6 +31150,9 @@ const RealizedSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
29680
31150
  const RecoveryFactorFinalization = (typeof FinalizationRegistry === 'undefined')
29681
31151
  ? { register: () => {}, unregister: () => {} }
29682
31152
  : new FinalizationRegistry(ptr => wasm.__wbg_recoveryfactor_free(ptr, 1));
31153
+ const RectangleRangeFinalization = (typeof FinalizationRegistry === 'undefined')
31154
+ ? { register: () => {}, unregister: () => {} }
31155
+ : new FinalizationRegistry(ptr => wasm.__wbg_rectanglerange_free(ptr, 1));
29683
31156
  const RelativeStrengthABFinalization = (typeof FinalizationRegistry === 'undefined')
29684
31157
  ? { register: () => {}, unregister: () => {} }
29685
31158
  : new FinalizationRegistry(ptr => wasm.__wbg_relativestrengthab_free(ptr, 1));
@@ -29752,6 +31225,9 @@ const SessionRangeFinalization = (typeof FinalizationRegistry === 'undefined')
29752
31225
  const SessionVwapFinalization = (typeof FinalizationRegistry === 'undefined')
29753
31226
  ? { register: () => {}, unregister: () => {} }
29754
31227
  : new FinalizationRegistry(ptr => wasm.__wbg_sessionvwap_free(ptr, 1));
31228
+ const SharkFinalization = (typeof FinalizationRegistry === 'undefined')
31229
+ ? { register: () => {}, unregister: () => {} }
31230
+ : new FinalizationRegistry(ptr => wasm.__wbg_shark_free(ptr, 1));
29755
31231
  const SharpeRatioFinalization = (typeof FinalizationRegistry === 'undefined')
29756
31232
  ? { register: () => {}, unregister: () => {} }
29757
31233
  : new FinalizationRegistry(ptr => wasm.__wbg_sharperatio_free(ptr, 1));
@@ -29884,6 +31360,9 @@ const TEMAFinalization = (typeof FinalizationRegistry === 'undefined')
29884
31360
  const TermStructureBasisFinalization = (typeof FinalizationRegistry === 'undefined')
29885
31361
  ? { register: () => {}, unregister: () => {} }
29886
31362
  : new FinalizationRegistry(ptr => wasm.__wbg_termstructurebasis_free(ptr, 1));
31363
+ const ThreeDrivesFinalization = (typeof FinalizationRegistry === 'undefined')
31364
+ ? { register: () => {}, unregister: () => {} }
31365
+ : new FinalizationRegistry(ptr => wasm.__wbg_threedrives_free(ptr, 1));
29887
31366
  const ThreeInsideFinalization = (typeof FinalizationRegistry === 'undefined')
29888
31367
  ? { register: () => {}, unregister: () => {} }
29889
31368
  : new FinalizationRegistry(ptr => wasm.__wbg_threeinside_free(ptr, 1));
@@ -29920,12 +31399,18 @@ const TradeImbalanceFinalization = (typeof FinalizationRegistry === 'undefined')
29920
31399
  const TreynorRatioFinalization = (typeof FinalizationRegistry === 'undefined')
29921
31400
  ? { register: () => {}, unregister: () => {} }
29922
31401
  : new FinalizationRegistry(ptr => wasm.__wbg_treynorratio_free(ptr, 1));
31402
+ const TriangleFinalization = (typeof FinalizationRegistry === 'undefined')
31403
+ ? { register: () => {}, unregister: () => {} }
31404
+ : new FinalizationRegistry(ptr => wasm.__wbg_triangle_free(ptr, 1));
29923
31405
  const TRIMAFinalization = (typeof FinalizationRegistry === 'undefined')
29924
31406
  ? { register: () => {}, unregister: () => {} }
29925
31407
  : new FinalizationRegistry(ptr => wasm.__wbg_trima_free(ptr, 1));
29926
31408
  const TrinFinalization = (typeof FinalizationRegistry === 'undefined')
29927
31409
  ? { register: () => {}, unregister: () => {} }
29928
31410
  : new FinalizationRegistry(ptr => wasm.__wbg_trin_free(ptr, 1));
31411
+ const TripleTopBottomFinalization = (typeof FinalizationRegistry === 'undefined')
31412
+ ? { register: () => {}, unregister: () => {} }
31413
+ : new FinalizationRegistry(ptr => wasm.__wbg_tripletopbottom_free(ptr, 1));
29929
31414
  const TRIXFinalization = (typeof FinalizationRegistry === 'undefined')
29930
31415
  ? { register: () => {}, unregister: () => {} }
29931
31416
  : new FinalizationRegistry(ptr => wasm.__wbg_trix_free(ptr, 1));
@@ -30025,6 +31510,9 @@ const VZOFinalization = (typeof FinalizationRegistry === 'undefined')
30025
31510
  const WaveTrendFinalization = (typeof FinalizationRegistry === 'undefined')
30026
31511
  ? { register: () => {}, unregister: () => {} }
30027
31512
  : new FinalizationRegistry(ptr => wasm.__wbg_wavetrend_free(ptr, 1));
31513
+ const WedgeFinalization = (typeof FinalizationRegistry === 'undefined')
31514
+ ? { register: () => {}, unregister: () => {} }
31515
+ : new FinalizationRegistry(ptr => wasm.__wbg_wedge_free(ptr, 1));
30028
31516
  const WeightedCloseFinalization = (typeof FinalizationRegistry === 'undefined')
30029
31517
  ? { register: () => {}, unregister: () => {} }
30030
31518
  : new FinalizationRegistry(ptr => wasm.__wbg_weightedclose_free(ptr, 1));