wickra-wasm 0.5.0 → 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/README.md +8 -4
- package/package.json +1 -1
- package/wickra_wasm.d.ts +303 -0
- package/wickra_wasm.js +1 -1
- package/wickra_wasm_bg.js +2596 -189
- package/wickra_wasm_bg.wasm +0 -0
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;
|
|
@@ -2069,6 +2159,83 @@ export class Autocorrelation {
|
|
|
2069
2159
|
}
|
|
2070
2160
|
if (Symbol.dispose) Autocorrelation.prototype[Symbol.dispose] = Autocorrelation.prototype.free;
|
|
2071
2161
|
|
|
2162
|
+
export class AverageDailyRange {
|
|
2163
|
+
__destroy_into_raw() {
|
|
2164
|
+
const ptr = this.__wbg_ptr;
|
|
2165
|
+
this.__wbg_ptr = 0;
|
|
2166
|
+
AverageDailyRangeFinalization.unregister(this);
|
|
2167
|
+
return ptr;
|
|
2168
|
+
}
|
|
2169
|
+
free() {
|
|
2170
|
+
const ptr = this.__destroy_into_raw();
|
|
2171
|
+
wasm.__wbg_averagedailyrange_free(ptr, 0);
|
|
2172
|
+
}
|
|
2173
|
+
/**
|
|
2174
|
+
* @returns {boolean}
|
|
2175
|
+
*/
|
|
2176
|
+
isReady() {
|
|
2177
|
+
const ret = wasm.averagedailyrange_isReady(this.__wbg_ptr);
|
|
2178
|
+
return ret !== 0;
|
|
2179
|
+
}
|
|
2180
|
+
/**
|
|
2181
|
+
* @param {number} period
|
|
2182
|
+
* @param {number} utc_offset_minutes
|
|
2183
|
+
*/
|
|
2184
|
+
constructor(period, utc_offset_minutes) {
|
|
2185
|
+
try {
|
|
2186
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2187
|
+
wasm.averagedailyrange_new(retptr, period, utc_offset_minutes);
|
|
2188
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2189
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
2190
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
2191
|
+
if (r2) {
|
|
2192
|
+
throw takeObject(r1);
|
|
2193
|
+
}
|
|
2194
|
+
this.__wbg_ptr = r0;
|
|
2195
|
+
AverageDailyRangeFinalization.register(this, this.__wbg_ptr, this);
|
|
2196
|
+
return this;
|
|
2197
|
+
} finally {
|
|
2198
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
reset() {
|
|
2202
|
+
wasm.averagedailyrange_reset(this.__wbg_ptr);
|
|
2203
|
+
}
|
|
2204
|
+
/**
|
|
2205
|
+
* @param {number} open
|
|
2206
|
+
* @param {number} high
|
|
2207
|
+
* @param {number} low
|
|
2208
|
+
* @param {number} close
|
|
2209
|
+
* @param {number} volume
|
|
2210
|
+
* @param {bigint} timestamp
|
|
2211
|
+
* @returns {number | undefined}
|
|
2212
|
+
*/
|
|
2213
|
+
update(open, high, low, close, volume, timestamp) {
|
|
2214
|
+
try {
|
|
2215
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
2216
|
+
wasm.averagedailyrange_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
2217
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2218
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
2219
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
2220
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
2221
|
+
if (r5) {
|
|
2222
|
+
throw takeObject(r4);
|
|
2223
|
+
}
|
|
2224
|
+
return r0 === 0 ? undefined : r2;
|
|
2225
|
+
} finally {
|
|
2226
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2229
|
+
/**
|
|
2230
|
+
* @returns {number}
|
|
2231
|
+
*/
|
|
2232
|
+
warmupPeriod() {
|
|
2233
|
+
const ret = wasm.averagedailyrange_warmupPeriod(this.__wbg_ptr);
|
|
2234
|
+
return ret >>> 0;
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
if (Symbol.dispose) AverageDailyRange.prototype[Symbol.dispose] = AverageDailyRange.prototype.free;
|
|
2238
|
+
|
|
2072
2239
|
export class AverageDrawdown {
|
|
2073
2240
|
__destroy_into_raw() {
|
|
2074
2241
|
const ptr = this.__wbg_ptr;
|
|
@@ -2416,6 +2583,96 @@ export class BalanceOfPower {
|
|
|
2416
2583
|
}
|
|
2417
2584
|
if (Symbol.dispose) BalanceOfPower.prototype[Symbol.dispose] = BalanceOfPower.prototype.free;
|
|
2418
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
|
+
|
|
2419
2676
|
export class BeltHold {
|
|
2420
2677
|
__destroy_into_raw() {
|
|
2421
2678
|
const ptr = this.__wbg_ptr;
|
|
@@ -3069,33 +3326,36 @@ export class BullishPercentIndex {
|
|
|
3069
3326
|
}
|
|
3070
3327
|
if (Symbol.dispose) BullishPercentIndex.prototype[Symbol.dispose] = BullishPercentIndex.prototype.free;
|
|
3071
3328
|
|
|
3072
|
-
export class
|
|
3329
|
+
export class Butterfly {
|
|
3073
3330
|
__destroy_into_raw() {
|
|
3074
3331
|
const ptr = this.__wbg_ptr;
|
|
3075
3332
|
this.__wbg_ptr = 0;
|
|
3076
|
-
|
|
3333
|
+
ButterflyFinalization.unregister(this);
|
|
3077
3334
|
return ptr;
|
|
3078
3335
|
}
|
|
3079
3336
|
free() {
|
|
3080
3337
|
const ptr = this.__destroy_into_raw();
|
|
3081
|
-
wasm.
|
|
3338
|
+
wasm.__wbg_butterfly_free(ptr, 0);
|
|
3082
3339
|
}
|
|
3083
3340
|
/**
|
|
3341
|
+
* @param {Float64Array} open
|
|
3084
3342
|
* @param {Float64Array} high
|
|
3085
3343
|
* @param {Float64Array} low
|
|
3086
3344
|
* @param {Float64Array} close
|
|
3087
3345
|
* @returns {Float64Array}
|
|
3088
3346
|
*/
|
|
3089
|
-
batch(high, low, close) {
|
|
3347
|
+
batch(open, high, low, close) {
|
|
3090
3348
|
try {
|
|
3091
3349
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3092
|
-
const ptr0 = passArrayF64ToWasm0(
|
|
3350
|
+
const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
|
|
3093
3351
|
const len0 = WASM_VECTOR_LEN;
|
|
3094
|
-
const ptr1 = passArrayF64ToWasm0(
|
|
3352
|
+
const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
3095
3353
|
const len1 = WASM_VECTOR_LEN;
|
|
3096
|
-
const ptr2 = passArrayF64ToWasm0(
|
|
3354
|
+
const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
3097
3355
|
const len2 = WASM_VECTOR_LEN;
|
|
3098
|
-
|
|
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);
|
|
3099
3359
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3100
3360
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3101
3361
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -3111,19 +3371,106 @@ export class CCI {
|
|
|
3111
3371
|
* @returns {boolean}
|
|
3112
3372
|
*/
|
|
3113
3373
|
isReady() {
|
|
3114
|
-
const ret = wasm.
|
|
3374
|
+
const ret = wasm.butterfly_isReady(this.__wbg_ptr);
|
|
3115
3375
|
return ret !== 0;
|
|
3116
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
|
+
}
|
|
3117
3386
|
/**
|
|
3118
|
-
* @param {number}
|
|
3387
|
+
* @param {number} open
|
|
3388
|
+
* @param {number} high
|
|
3389
|
+
* @param {number} low
|
|
3390
|
+
* @param {number} close
|
|
3391
|
+
* @returns {number | undefined}
|
|
3119
3392
|
*/
|
|
3120
|
-
|
|
3393
|
+
update(open, high, low, close) {
|
|
3121
3394
|
try {
|
|
3122
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-
|
|
3123
|
-
wasm.
|
|
3395
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
3396
|
+
wasm.butterfly_update(retptr, this.__wbg_ptr, open, high, low, close);
|
|
3124
3397
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3125
|
-
var
|
|
3126
|
-
var
|
|
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
|
+
|
|
3419
|
+
export class CCI {
|
|
3420
|
+
__destroy_into_raw() {
|
|
3421
|
+
const ptr = this.__wbg_ptr;
|
|
3422
|
+
this.__wbg_ptr = 0;
|
|
3423
|
+
CCIFinalization.unregister(this);
|
|
3424
|
+
return ptr;
|
|
3425
|
+
}
|
|
3426
|
+
free() {
|
|
3427
|
+
const ptr = this.__destroy_into_raw();
|
|
3428
|
+
wasm.__wbg_cci_free(ptr, 0);
|
|
3429
|
+
}
|
|
3430
|
+
/**
|
|
3431
|
+
* @param {Float64Array} high
|
|
3432
|
+
* @param {Float64Array} low
|
|
3433
|
+
* @param {Float64Array} close
|
|
3434
|
+
* @returns {Float64Array}
|
|
3435
|
+
*/
|
|
3436
|
+
batch(high, low, close) {
|
|
3437
|
+
try {
|
|
3438
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3439
|
+
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
3440
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3441
|
+
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
3442
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3443
|
+
const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
3444
|
+
const len2 = WASM_VECTOR_LEN;
|
|
3445
|
+
wasm.cci_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
3446
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3447
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3448
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
3449
|
+
if (r2) {
|
|
3450
|
+
throw takeObject(r1);
|
|
3451
|
+
}
|
|
3452
|
+
return takeObject(r0);
|
|
3453
|
+
} finally {
|
|
3454
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3455
|
+
}
|
|
3456
|
+
}
|
|
3457
|
+
/**
|
|
3458
|
+
* @returns {boolean}
|
|
3459
|
+
*/
|
|
3460
|
+
isReady() {
|
|
3461
|
+
const ret = wasm.cci_isReady(this.__wbg_ptr);
|
|
3462
|
+
return ret !== 0;
|
|
3463
|
+
}
|
|
3464
|
+
/**
|
|
3465
|
+
* @param {number} period
|
|
3466
|
+
*/
|
|
3467
|
+
constructor(period) {
|
|
3468
|
+
try {
|
|
3469
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3470
|
+
wasm.cci_new(retptr, period);
|
|
3471
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3472
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3473
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
3127
3474
|
if (r2) {
|
|
3128
3475
|
throw takeObject(r1);
|
|
3129
3476
|
}
|
|
@@ -4895,6 +5242,96 @@ export class Counterattack {
|
|
|
4895
5242
|
}
|
|
4896
5243
|
if (Symbol.dispose) Counterattack.prototype[Symbol.dispose] = Counterattack.prototype.free;
|
|
4897
5244
|
|
|
5245
|
+
export class Crab {
|
|
5246
|
+
__destroy_into_raw() {
|
|
5247
|
+
const ptr = this.__wbg_ptr;
|
|
5248
|
+
this.__wbg_ptr = 0;
|
|
5249
|
+
CrabFinalization.unregister(this);
|
|
5250
|
+
return ptr;
|
|
5251
|
+
}
|
|
5252
|
+
free() {
|
|
5253
|
+
const ptr = this.__destroy_into_raw();
|
|
5254
|
+
wasm.__wbg_crab_free(ptr, 0);
|
|
5255
|
+
}
|
|
5256
|
+
/**
|
|
5257
|
+
* @param {Float64Array} open
|
|
5258
|
+
* @param {Float64Array} high
|
|
5259
|
+
* @param {Float64Array} low
|
|
5260
|
+
* @param {Float64Array} close
|
|
5261
|
+
* @returns {Float64Array}
|
|
5262
|
+
*/
|
|
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
|
+
|
|
4898
5335
|
export class CumulativeVolumeDelta {
|
|
4899
5336
|
__destroy_into_raw() {
|
|
4900
5337
|
const ptr = this.__wbg_ptr;
|
|
@@ -5022,92 +5459,106 @@ export class CumulativeVolumeIndex {
|
|
|
5022
5459
|
}
|
|
5023
5460
|
if (Symbol.dispose) CumulativeVolumeIndex.prototype[Symbol.dispose] = CumulativeVolumeIndex.prototype.free;
|
|
5024
5461
|
|
|
5025
|
-
export class
|
|
5462
|
+
export class CupAndHandle {
|
|
5026
5463
|
__destroy_into_raw() {
|
|
5027
5464
|
const ptr = this.__wbg_ptr;
|
|
5028
5465
|
this.__wbg_ptr = 0;
|
|
5029
|
-
|
|
5466
|
+
CupAndHandleFinalization.unregister(this);
|
|
5030
5467
|
return ptr;
|
|
5031
5468
|
}
|
|
5032
5469
|
free() {
|
|
5033
5470
|
const ptr = this.__destroy_into_raw();
|
|
5034
|
-
wasm.
|
|
5471
|
+
wasm.__wbg_cupandhandle_free(ptr, 0);
|
|
5035
5472
|
}
|
|
5036
5473
|
/**
|
|
5037
|
-
* @param {Float64Array}
|
|
5474
|
+
* @param {Float64Array} open
|
|
5475
|
+
* @param {Float64Array} high
|
|
5476
|
+
* @param {Float64Array} low
|
|
5477
|
+
* @param {Float64Array} close
|
|
5038
5478
|
* @returns {Float64Array}
|
|
5039
5479
|
*/
|
|
5040
|
-
batch(
|
|
5041
|
-
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
5042
|
-
const len0 = WASM_VECTOR_LEN;
|
|
5043
|
-
const ret = wasm.cyberneticcycle_batch(this.__wbg_ptr, ptr0, len0);
|
|
5044
|
-
return takeObject(ret);
|
|
5045
|
-
}
|
|
5046
|
-
/**
|
|
5047
|
-
* @returns {boolean}
|
|
5048
|
-
*/
|
|
5049
|
-
isReady() {
|
|
5050
|
-
const ret = wasm.cyberneticcycle_isReady(this.__wbg_ptr);
|
|
5051
|
-
return ret !== 0;
|
|
5052
|
-
}
|
|
5053
|
-
/**
|
|
5054
|
-
* @param {number} period
|
|
5055
|
-
*/
|
|
5056
|
-
constructor(period) {
|
|
5480
|
+
batch(open, high, low, close) {
|
|
5057
5481
|
try {
|
|
5058
5482
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
5059
|
-
|
|
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);
|
|
5060
5492
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
5061
5493
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
5062
5494
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
5063
5495
|
if (r2) {
|
|
5064
5496
|
throw takeObject(r1);
|
|
5065
5497
|
}
|
|
5066
|
-
|
|
5067
|
-
CyberneticCycleFinalization.register(this, this.__wbg_ptr, this);
|
|
5068
|
-
return this;
|
|
5498
|
+
return takeObject(r0);
|
|
5069
5499
|
} finally {
|
|
5070
5500
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
5071
5501
|
}
|
|
5072
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
|
+
}
|
|
5073
5516
|
reset() {
|
|
5074
|
-
wasm.
|
|
5517
|
+
wasm.cupandhandle_reset(this.__wbg_ptr);
|
|
5075
5518
|
}
|
|
5076
5519
|
/**
|
|
5077
|
-
* @param {number}
|
|
5520
|
+
* @param {number} open
|
|
5521
|
+
* @param {number} high
|
|
5522
|
+
* @param {number} low
|
|
5523
|
+
* @param {number} close
|
|
5078
5524
|
* @returns {number | undefined}
|
|
5079
5525
|
*/
|
|
5080
|
-
update(
|
|
5526
|
+
update(open, high, low, close) {
|
|
5081
5527
|
try {
|
|
5082
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-
|
|
5083
|
-
wasm.
|
|
5528
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
5529
|
+
wasm.cupandhandle_update(retptr, this.__wbg_ptr, open, high, low, close);
|
|
5084
5530
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
5085
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
|
+
}
|
|
5086
5537
|
return r0 === 0 ? undefined : r2;
|
|
5087
5538
|
} finally {
|
|
5088
|
-
wasm.__wbindgen_add_to_stack_pointer(
|
|
5539
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
5089
5540
|
}
|
|
5090
5541
|
}
|
|
5091
5542
|
/**
|
|
5092
5543
|
* @returns {number}
|
|
5093
5544
|
*/
|
|
5094
5545
|
warmupPeriod() {
|
|
5095
|
-
const ret = wasm.
|
|
5546
|
+
const ret = wasm.cupandhandle_warmupPeriod(this.__wbg_ptr);
|
|
5096
5547
|
return ret >>> 0;
|
|
5097
5548
|
}
|
|
5098
5549
|
}
|
|
5099
|
-
if (Symbol.dispose)
|
|
5550
|
+
if (Symbol.dispose) CupAndHandle.prototype[Symbol.dispose] = CupAndHandle.prototype.free;
|
|
5100
5551
|
|
|
5101
|
-
export class
|
|
5552
|
+
export class CyberneticCycle {
|
|
5102
5553
|
__destroy_into_raw() {
|
|
5103
5554
|
const ptr = this.__wbg_ptr;
|
|
5104
5555
|
this.__wbg_ptr = 0;
|
|
5105
|
-
|
|
5556
|
+
CyberneticCycleFinalization.unregister(this);
|
|
5106
5557
|
return ptr;
|
|
5107
5558
|
}
|
|
5108
5559
|
free() {
|
|
5109
5560
|
const ptr = this.__destroy_into_raw();
|
|
5110
|
-
wasm.
|
|
5561
|
+
wasm.__wbg_cyberneticcycle_free(ptr, 0);
|
|
5111
5562
|
}
|
|
5112
5563
|
/**
|
|
5113
5564
|
* @param {Float64Array} prices
|
|
@@ -5116,14 +5567,14 @@ export class DEMA {
|
|
|
5116
5567
|
batch(prices) {
|
|
5117
5568
|
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
5118
5569
|
const len0 = WASM_VECTOR_LEN;
|
|
5119
|
-
const ret = wasm.
|
|
5570
|
+
const ret = wasm.cyberneticcycle_batch(this.__wbg_ptr, ptr0, len0);
|
|
5120
5571
|
return takeObject(ret);
|
|
5121
5572
|
}
|
|
5122
5573
|
/**
|
|
5123
5574
|
* @returns {boolean}
|
|
5124
5575
|
*/
|
|
5125
5576
|
isReady() {
|
|
5126
|
-
const ret = wasm.
|
|
5577
|
+
const ret = wasm.cyberneticcycle_isReady(this.__wbg_ptr);
|
|
5127
5578
|
return ret !== 0;
|
|
5128
5579
|
}
|
|
5129
5580
|
/**
|
|
@@ -5132,7 +5583,7 @@ export class DEMA {
|
|
|
5132
5583
|
constructor(period) {
|
|
5133
5584
|
try {
|
|
5134
5585
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
5135
|
-
wasm.
|
|
5586
|
+
wasm.cyberneticcycle_new(retptr, period);
|
|
5136
5587
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
5137
5588
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
5138
5589
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -5140,14 +5591,14 @@ export class DEMA {
|
|
|
5140
5591
|
throw takeObject(r1);
|
|
5141
5592
|
}
|
|
5142
5593
|
this.__wbg_ptr = r0;
|
|
5143
|
-
|
|
5594
|
+
CyberneticCycleFinalization.register(this, this.__wbg_ptr, this);
|
|
5144
5595
|
return this;
|
|
5145
5596
|
} finally {
|
|
5146
5597
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
5147
5598
|
}
|
|
5148
5599
|
}
|
|
5149
5600
|
reset() {
|
|
5150
|
-
wasm.
|
|
5601
|
+
wasm.cyberneticcycle_reset(this.__wbg_ptr);
|
|
5151
5602
|
}
|
|
5152
5603
|
/**
|
|
5153
5604
|
* @param {number} value
|
|
@@ -5156,7 +5607,7 @@ export class DEMA {
|
|
|
5156
5607
|
update(value) {
|
|
5157
5608
|
try {
|
|
5158
5609
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
5159
|
-
wasm.
|
|
5610
|
+
wasm.cyberneticcycle_update(retptr, this.__wbg_ptr, value);
|
|
5160
5611
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
5161
5612
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
5162
5613
|
return r0 === 0 ? undefined : r2;
|
|
@@ -5168,31 +5619,197 @@ export class DEMA {
|
|
|
5168
5619
|
* @returns {number}
|
|
5169
5620
|
*/
|
|
5170
5621
|
warmupPeriod() {
|
|
5171
|
-
const ret = wasm.
|
|
5622
|
+
const ret = wasm.cyberneticcycle_warmupPeriod(this.__wbg_ptr);
|
|
5172
5623
|
return ret >>> 0;
|
|
5173
5624
|
}
|
|
5174
5625
|
}
|
|
5175
|
-
if (Symbol.dispose)
|
|
5626
|
+
if (Symbol.dispose) CyberneticCycle.prototype[Symbol.dispose] = CyberneticCycle.prototype.free;
|
|
5176
5627
|
|
|
5177
|
-
export class
|
|
5628
|
+
export class Cypher {
|
|
5178
5629
|
__destroy_into_raw() {
|
|
5179
5630
|
const ptr = this.__wbg_ptr;
|
|
5180
5631
|
this.__wbg_ptr = 0;
|
|
5181
|
-
|
|
5632
|
+
CypherFinalization.unregister(this);
|
|
5182
5633
|
return ptr;
|
|
5183
5634
|
}
|
|
5184
5635
|
free() {
|
|
5185
5636
|
const ptr = this.__destroy_into_raw();
|
|
5186
|
-
wasm.
|
|
5637
|
+
wasm.__wbg_cypher_free(ptr, 0);
|
|
5187
5638
|
}
|
|
5188
5639
|
/**
|
|
5189
|
-
* @param {Float64Array}
|
|
5640
|
+
* @param {Float64Array} open
|
|
5641
|
+
* @param {Float64Array} high
|
|
5642
|
+
* @param {Float64Array} low
|
|
5643
|
+
* @param {Float64Array} close
|
|
5190
5644
|
* @returns {Float64Array}
|
|
5191
5645
|
*/
|
|
5192
|
-
batch(
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
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
|
+
|
|
5718
|
+
export class DEMA {
|
|
5719
|
+
__destroy_into_raw() {
|
|
5720
|
+
const ptr = this.__wbg_ptr;
|
|
5721
|
+
this.__wbg_ptr = 0;
|
|
5722
|
+
DEMAFinalization.unregister(this);
|
|
5723
|
+
return ptr;
|
|
5724
|
+
}
|
|
5725
|
+
free() {
|
|
5726
|
+
const ptr = this.__destroy_into_raw();
|
|
5727
|
+
wasm.__wbg_dema_free(ptr, 0);
|
|
5728
|
+
}
|
|
5729
|
+
/**
|
|
5730
|
+
* @param {Float64Array} prices
|
|
5731
|
+
* @returns {Float64Array}
|
|
5732
|
+
*/
|
|
5733
|
+
batch(prices) {
|
|
5734
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
5735
|
+
const len0 = WASM_VECTOR_LEN;
|
|
5736
|
+
const ret = wasm.dema_batch(this.__wbg_ptr, ptr0, len0);
|
|
5737
|
+
return takeObject(ret);
|
|
5738
|
+
}
|
|
5739
|
+
/**
|
|
5740
|
+
* @returns {boolean}
|
|
5741
|
+
*/
|
|
5742
|
+
isReady() {
|
|
5743
|
+
const ret = wasm.dema_isReady(this.__wbg_ptr);
|
|
5744
|
+
return ret !== 0;
|
|
5745
|
+
}
|
|
5746
|
+
/**
|
|
5747
|
+
* @param {number} period
|
|
5748
|
+
*/
|
|
5749
|
+
constructor(period) {
|
|
5750
|
+
try {
|
|
5751
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
5752
|
+
wasm.dema_new(retptr, period);
|
|
5753
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
5754
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
5755
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
5756
|
+
if (r2) {
|
|
5757
|
+
throw takeObject(r1);
|
|
5758
|
+
}
|
|
5759
|
+
this.__wbg_ptr = r0;
|
|
5760
|
+
DEMAFinalization.register(this, this.__wbg_ptr, this);
|
|
5761
|
+
return this;
|
|
5762
|
+
} finally {
|
|
5763
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
5764
|
+
}
|
|
5765
|
+
}
|
|
5766
|
+
reset() {
|
|
5767
|
+
wasm.dema_reset(this.__wbg_ptr);
|
|
5768
|
+
}
|
|
5769
|
+
/**
|
|
5770
|
+
* @param {number} value
|
|
5771
|
+
* @returns {number | undefined}
|
|
5772
|
+
*/
|
|
5773
|
+
update(value) {
|
|
5774
|
+
try {
|
|
5775
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
5776
|
+
wasm.dema_update(retptr, this.__wbg_ptr, value);
|
|
5777
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
5778
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
5779
|
+
return r0 === 0 ? undefined : r2;
|
|
5780
|
+
} finally {
|
|
5781
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
5782
|
+
}
|
|
5783
|
+
}
|
|
5784
|
+
/**
|
|
5785
|
+
* @returns {number}
|
|
5786
|
+
*/
|
|
5787
|
+
warmupPeriod() {
|
|
5788
|
+
const ret = wasm.dema_warmupPeriod(this.__wbg_ptr);
|
|
5789
|
+
return ret >>> 0;
|
|
5790
|
+
}
|
|
5791
|
+
}
|
|
5792
|
+
if (Symbol.dispose) DEMA.prototype[Symbol.dispose] = DEMA.prototype.free;
|
|
5793
|
+
|
|
5794
|
+
export class DPO {
|
|
5795
|
+
__destroy_into_raw() {
|
|
5796
|
+
const ptr = this.__wbg_ptr;
|
|
5797
|
+
this.__wbg_ptr = 0;
|
|
5798
|
+
DPOFinalization.unregister(this);
|
|
5799
|
+
return ptr;
|
|
5800
|
+
}
|
|
5801
|
+
free() {
|
|
5802
|
+
const ptr = this.__destroy_into_raw();
|
|
5803
|
+
wasm.__wbg_dpo_free(ptr, 0);
|
|
5804
|
+
}
|
|
5805
|
+
/**
|
|
5806
|
+
* @param {Float64Array} prices
|
|
5807
|
+
* @returns {Float64Array}
|
|
5808
|
+
*/
|
|
5809
|
+
batch(prices) {
|
|
5810
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
5811
|
+
const len0 = WASM_VECTOR_LEN;
|
|
5812
|
+
const ret = wasm.dpo_batch(this.__wbg_ptr, ptr0, len0);
|
|
5196
5813
|
return takeObject(ret);
|
|
5197
5814
|
}
|
|
5198
5815
|
/**
|
|
@@ -5336,6 +5953,77 @@ export class DX {
|
|
|
5336
5953
|
}
|
|
5337
5954
|
if (Symbol.dispose) DX.prototype[Symbol.dispose] = DX.prototype.free;
|
|
5338
5955
|
|
|
5956
|
+
export class DayOfWeekProfile {
|
|
5957
|
+
__destroy_into_raw() {
|
|
5958
|
+
const ptr = this.__wbg_ptr;
|
|
5959
|
+
this.__wbg_ptr = 0;
|
|
5960
|
+
DayOfWeekProfileFinalization.unregister(this);
|
|
5961
|
+
return ptr;
|
|
5962
|
+
}
|
|
5963
|
+
free() {
|
|
5964
|
+
const ptr = this.__destroy_into_raw();
|
|
5965
|
+
wasm.__wbg_dayofweekprofile_free(ptr, 0);
|
|
5966
|
+
}
|
|
5967
|
+
/**
|
|
5968
|
+
* @returns {boolean}
|
|
5969
|
+
*/
|
|
5970
|
+
isReady() {
|
|
5971
|
+
const ret = wasm.dayofweekprofile_isReady(this.__wbg_ptr);
|
|
5972
|
+
return ret !== 0;
|
|
5973
|
+
}
|
|
5974
|
+
/**
|
|
5975
|
+
* @param {number} utc_offset_minutes
|
|
5976
|
+
*/
|
|
5977
|
+
constructor(utc_offset_minutes) {
|
|
5978
|
+
const ret = wasm.dayofweekprofile_new(utc_offset_minutes);
|
|
5979
|
+
this.__wbg_ptr = ret;
|
|
5980
|
+
DayOfWeekProfileFinalization.register(this, this.__wbg_ptr, this);
|
|
5981
|
+
return this;
|
|
5982
|
+
}
|
|
5983
|
+
reset() {
|
|
5984
|
+
wasm.dayofweekprofile_reset(this.__wbg_ptr);
|
|
5985
|
+
}
|
|
5986
|
+
/**
|
|
5987
|
+
* @param {number} open
|
|
5988
|
+
* @param {number} high
|
|
5989
|
+
* @param {number} low
|
|
5990
|
+
* @param {number} close
|
|
5991
|
+
* @param {number} volume
|
|
5992
|
+
* @param {bigint} timestamp
|
|
5993
|
+
* @returns {any}
|
|
5994
|
+
*/
|
|
5995
|
+
update(open, high, low, close, volume, timestamp) {
|
|
5996
|
+
try {
|
|
5997
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
5998
|
+
wasm.dayofweekprofile_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
5999
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
6000
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
6001
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
6002
|
+
if (r2) {
|
|
6003
|
+
throw takeObject(r1);
|
|
6004
|
+
}
|
|
6005
|
+
return takeObject(r0);
|
|
6006
|
+
} finally {
|
|
6007
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
6008
|
+
}
|
|
6009
|
+
}
|
|
6010
|
+
/**
|
|
6011
|
+
* @returns {number}
|
|
6012
|
+
*/
|
|
6013
|
+
utcOffsetMinutes() {
|
|
6014
|
+
const ret = wasm.dayofweekprofile_utcOffsetMinutes(this.__wbg_ptr);
|
|
6015
|
+
return ret;
|
|
6016
|
+
}
|
|
6017
|
+
/**
|
|
6018
|
+
* @returns {number}
|
|
6019
|
+
*/
|
|
6020
|
+
warmupPeriod() {
|
|
6021
|
+
const ret = wasm.dayofweekprofile_warmupPeriod(this.__wbg_ptr);
|
|
6022
|
+
return ret >>> 0;
|
|
6023
|
+
}
|
|
6024
|
+
}
|
|
6025
|
+
if (Symbol.dispose) DayOfWeekProfile.prototype[Symbol.dispose] = DayOfWeekProfile.prototype.free;
|
|
6026
|
+
|
|
5339
6027
|
export class Decycler {
|
|
5340
6028
|
__destroy_into_raw() {
|
|
5341
6029
|
const ptr = this.__wbg_ptr;
|
|
@@ -6346,16 +7034,16 @@ export class DoubleBollinger {
|
|
|
6346
7034
|
}
|
|
6347
7035
|
if (Symbol.dispose) DoubleBollinger.prototype[Symbol.dispose] = DoubleBollinger.prototype.free;
|
|
6348
7036
|
|
|
6349
|
-
export class
|
|
7037
|
+
export class DoubleTopBottom {
|
|
6350
7038
|
__destroy_into_raw() {
|
|
6351
7039
|
const ptr = this.__wbg_ptr;
|
|
6352
7040
|
this.__wbg_ptr = 0;
|
|
6353
|
-
|
|
7041
|
+
DoubleTopBottomFinalization.unregister(this);
|
|
6354
7042
|
return ptr;
|
|
6355
7043
|
}
|
|
6356
7044
|
free() {
|
|
6357
7045
|
const ptr = this.__destroy_into_raw();
|
|
6358
|
-
wasm.
|
|
7046
|
+
wasm.__wbg_doubletopbottom_free(ptr, 0);
|
|
6359
7047
|
}
|
|
6360
7048
|
/**
|
|
6361
7049
|
* @param {Float64Array} open
|
|
@@ -6375,7 +7063,7 @@ export class DownsideGapThreeMethods {
|
|
|
6375
7063
|
const len2 = WASM_VECTOR_LEN;
|
|
6376
7064
|
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
6377
7065
|
const len3 = WASM_VECTOR_LEN;
|
|
6378
|
-
wasm.
|
|
7066
|
+
wasm.doubletopbottom_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
6379
7067
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
6380
7068
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
6381
7069
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -6391,17 +7079,17 @@ export class DownsideGapThreeMethods {
|
|
|
6391
7079
|
* @returns {boolean}
|
|
6392
7080
|
*/
|
|
6393
7081
|
isReady() {
|
|
6394
|
-
const ret = wasm.
|
|
7082
|
+
const ret = wasm.doubletopbottom_isReady(this.__wbg_ptr);
|
|
6395
7083
|
return ret !== 0;
|
|
6396
7084
|
}
|
|
6397
7085
|
constructor() {
|
|
6398
|
-
const ret = wasm.
|
|
7086
|
+
const ret = wasm.doubletopbottom_new();
|
|
6399
7087
|
this.__wbg_ptr = ret;
|
|
6400
|
-
|
|
7088
|
+
DoubleTopBottomFinalization.register(this, this.__wbg_ptr, this);
|
|
6401
7089
|
return this;
|
|
6402
7090
|
}
|
|
6403
7091
|
reset() {
|
|
6404
|
-
wasm.
|
|
7092
|
+
wasm.doubletopbottom_reset(this.__wbg_ptr);
|
|
6405
7093
|
}
|
|
6406
7094
|
/**
|
|
6407
7095
|
* @param {number} open
|
|
@@ -6413,7 +7101,7 @@ export class DownsideGapThreeMethods {
|
|
|
6413
7101
|
update(open, high, low, close) {
|
|
6414
7102
|
try {
|
|
6415
7103
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
6416
|
-
wasm.
|
|
7104
|
+
wasm.doubletopbottom_update(retptr, this.__wbg_ptr, open, high, low, close);
|
|
6417
7105
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
6418
7106
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
6419
7107
|
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
@@ -6430,22 +7118,22 @@ export class DownsideGapThreeMethods {
|
|
|
6430
7118
|
* @returns {number}
|
|
6431
7119
|
*/
|
|
6432
7120
|
warmupPeriod() {
|
|
6433
|
-
const ret = wasm.
|
|
7121
|
+
const ret = wasm.doubletopbottom_warmupPeriod(this.__wbg_ptr);
|
|
6434
7122
|
return ret >>> 0;
|
|
6435
7123
|
}
|
|
6436
7124
|
}
|
|
6437
|
-
if (Symbol.dispose)
|
|
7125
|
+
if (Symbol.dispose) DoubleTopBottom.prototype[Symbol.dispose] = DoubleTopBottom.prototype.free;
|
|
6438
7126
|
|
|
6439
|
-
export class
|
|
7127
|
+
export class DownsideGapThreeMethods {
|
|
6440
7128
|
__destroy_into_raw() {
|
|
6441
7129
|
const ptr = this.__wbg_ptr;
|
|
6442
7130
|
this.__wbg_ptr = 0;
|
|
6443
|
-
|
|
7131
|
+
DownsideGapThreeMethodsFinalization.unregister(this);
|
|
6444
7132
|
return ptr;
|
|
6445
7133
|
}
|
|
6446
7134
|
free() {
|
|
6447
7135
|
const ptr = this.__destroy_into_raw();
|
|
6448
|
-
wasm.
|
|
7136
|
+
wasm.__wbg_downsidegapthreemethods_free(ptr, 0);
|
|
6449
7137
|
}
|
|
6450
7138
|
/**
|
|
6451
7139
|
* @param {Float64Array} open
|
|
@@ -6465,7 +7153,7 @@ export class DragonflyDoji {
|
|
|
6465
7153
|
const len2 = WASM_VECTOR_LEN;
|
|
6466
7154
|
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
6467
7155
|
const len3 = WASM_VECTOR_LEN;
|
|
6468
|
-
wasm.
|
|
7156
|
+
wasm.downsidegapthreemethods_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
6469
7157
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
6470
7158
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
6471
7159
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -6481,17 +7169,17 @@ export class DragonflyDoji {
|
|
|
6481
7169
|
* @returns {boolean}
|
|
6482
7170
|
*/
|
|
6483
7171
|
isReady() {
|
|
6484
|
-
const ret = wasm.
|
|
7172
|
+
const ret = wasm.downsidegapthreemethods_isReady(this.__wbg_ptr);
|
|
6485
7173
|
return ret !== 0;
|
|
6486
7174
|
}
|
|
6487
7175
|
constructor() {
|
|
6488
|
-
const ret = wasm.
|
|
7176
|
+
const ret = wasm.downsidegapthreemethods_new();
|
|
6489
7177
|
this.__wbg_ptr = ret;
|
|
6490
|
-
|
|
7178
|
+
DownsideGapThreeMethodsFinalization.register(this, this.__wbg_ptr, this);
|
|
6491
7179
|
return this;
|
|
6492
7180
|
}
|
|
6493
7181
|
reset() {
|
|
6494
|
-
wasm.
|
|
7182
|
+
wasm.downsidegapthreemethods_reset(this.__wbg_ptr);
|
|
6495
7183
|
}
|
|
6496
7184
|
/**
|
|
6497
7185
|
* @param {number} open
|
|
@@ -6503,7 +7191,7 @@ export class DragonflyDoji {
|
|
|
6503
7191
|
update(open, high, low, close) {
|
|
6504
7192
|
try {
|
|
6505
7193
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
6506
|
-
wasm.
|
|
7194
|
+
wasm.downsidegapthreemethods_update(retptr, this.__wbg_ptr, open, high, low, close);
|
|
6507
7195
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
6508
7196
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
6509
7197
|
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
@@ -6520,27 +7208,117 @@ export class DragonflyDoji {
|
|
|
6520
7208
|
* @returns {number}
|
|
6521
7209
|
*/
|
|
6522
7210
|
warmupPeriod() {
|
|
6523
|
-
const ret = wasm.
|
|
7211
|
+
const ret = wasm.downsidegapthreemethods_warmupPeriod(this.__wbg_ptr);
|
|
6524
7212
|
return ret >>> 0;
|
|
6525
7213
|
}
|
|
6526
7214
|
}
|
|
6527
|
-
if (Symbol.dispose)
|
|
7215
|
+
if (Symbol.dispose) DownsideGapThreeMethods.prototype[Symbol.dispose] = DownsideGapThreeMethods.prototype.free;
|
|
6528
7216
|
|
|
6529
|
-
export class
|
|
7217
|
+
export class DragonflyDoji {
|
|
6530
7218
|
__destroy_into_raw() {
|
|
6531
7219
|
const ptr = this.__wbg_ptr;
|
|
6532
7220
|
this.__wbg_ptr = 0;
|
|
6533
|
-
|
|
7221
|
+
DragonflyDojiFinalization.unregister(this);
|
|
6534
7222
|
return ptr;
|
|
6535
7223
|
}
|
|
6536
7224
|
free() {
|
|
6537
7225
|
const ptr = this.__destroy_into_raw();
|
|
6538
|
-
wasm.
|
|
7226
|
+
wasm.__wbg_dragonflydoji_free(ptr, 0);
|
|
6539
7227
|
}
|
|
6540
7228
|
/**
|
|
6541
|
-
* @param {Float64Array}
|
|
6542
|
-
* @
|
|
6543
|
-
|
|
7229
|
+
* @param {Float64Array} open
|
|
7230
|
+
* @param {Float64Array} high
|
|
7231
|
+
* @param {Float64Array} low
|
|
7232
|
+
* @param {Float64Array} close
|
|
7233
|
+
* @returns {Float64Array}
|
|
7234
|
+
*/
|
|
7235
|
+
batch(open, high, low, close) {
|
|
7236
|
+
try {
|
|
7237
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
7238
|
+
const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
|
|
7239
|
+
const len0 = WASM_VECTOR_LEN;
|
|
7240
|
+
const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
7241
|
+
const len1 = WASM_VECTOR_LEN;
|
|
7242
|
+
const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
7243
|
+
const len2 = WASM_VECTOR_LEN;
|
|
7244
|
+
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
7245
|
+
const len3 = WASM_VECTOR_LEN;
|
|
7246
|
+
wasm.dragonflydoji_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
7247
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
7248
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
7249
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
7250
|
+
if (r2) {
|
|
7251
|
+
throw takeObject(r1);
|
|
7252
|
+
}
|
|
7253
|
+
return takeObject(r0);
|
|
7254
|
+
} finally {
|
|
7255
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
7256
|
+
}
|
|
7257
|
+
}
|
|
7258
|
+
/**
|
|
7259
|
+
* @returns {boolean}
|
|
7260
|
+
*/
|
|
7261
|
+
isReady() {
|
|
7262
|
+
const ret = wasm.dragonflydoji_isReady(this.__wbg_ptr);
|
|
7263
|
+
return ret !== 0;
|
|
7264
|
+
}
|
|
7265
|
+
constructor() {
|
|
7266
|
+
const ret = wasm.dragonflydoji_new();
|
|
7267
|
+
this.__wbg_ptr = ret;
|
|
7268
|
+
DragonflyDojiFinalization.register(this, this.__wbg_ptr, this);
|
|
7269
|
+
return this;
|
|
7270
|
+
}
|
|
7271
|
+
reset() {
|
|
7272
|
+
wasm.dragonflydoji_reset(this.__wbg_ptr);
|
|
7273
|
+
}
|
|
7274
|
+
/**
|
|
7275
|
+
* @param {number} open
|
|
7276
|
+
* @param {number} high
|
|
7277
|
+
* @param {number} low
|
|
7278
|
+
* @param {number} close
|
|
7279
|
+
* @returns {number | undefined}
|
|
7280
|
+
*/
|
|
7281
|
+
update(open, high, low, close) {
|
|
7282
|
+
try {
|
|
7283
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
7284
|
+
wasm.dragonflydoji_update(retptr, this.__wbg_ptr, open, high, low, close);
|
|
7285
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
7286
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
7287
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
7288
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
7289
|
+
if (r5) {
|
|
7290
|
+
throw takeObject(r4);
|
|
7291
|
+
}
|
|
7292
|
+
return r0 === 0 ? undefined : r2;
|
|
7293
|
+
} finally {
|
|
7294
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
7295
|
+
}
|
|
7296
|
+
}
|
|
7297
|
+
/**
|
|
7298
|
+
* @returns {number}
|
|
7299
|
+
*/
|
|
7300
|
+
warmupPeriod() {
|
|
7301
|
+
const ret = wasm.dragonflydoji_warmupPeriod(this.__wbg_ptr);
|
|
7302
|
+
return ret >>> 0;
|
|
7303
|
+
}
|
|
7304
|
+
}
|
|
7305
|
+
if (Symbol.dispose) DragonflyDoji.prototype[Symbol.dispose] = DragonflyDoji.prototype.free;
|
|
7306
|
+
|
|
7307
|
+
export class DrawdownDuration {
|
|
7308
|
+
__destroy_into_raw() {
|
|
7309
|
+
const ptr = this.__wbg_ptr;
|
|
7310
|
+
this.__wbg_ptr = 0;
|
|
7311
|
+
DrawdownDurationFinalization.unregister(this);
|
|
7312
|
+
return ptr;
|
|
7313
|
+
}
|
|
7314
|
+
free() {
|
|
7315
|
+
const ptr = this.__destroy_into_raw();
|
|
7316
|
+
wasm.__wbg_drawdownduration_free(ptr, 0);
|
|
7317
|
+
}
|
|
7318
|
+
/**
|
|
7319
|
+
* @param {Float64Array} prices
|
|
7320
|
+
* @returns {Float64Array}
|
|
7321
|
+
*/
|
|
6544
7322
|
batch(prices) {
|
|
6545
7323
|
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
6546
7324
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -7716,6 +8494,96 @@ export class FisherTransform {
|
|
|
7716
8494
|
}
|
|
7717
8495
|
if (Symbol.dispose) FisherTransform.prototype[Symbol.dispose] = FisherTransform.prototype.free;
|
|
7718
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
|
+
|
|
7719
8587
|
export class Footprint {
|
|
7720
8588
|
__destroy_into_raw() {
|
|
7721
8589
|
const ptr = this.__wbg_ptr;
|
|
@@ -8494,6 +9362,96 @@ export class GarmanKlassVolatility {
|
|
|
8494
9362
|
}
|
|
8495
9363
|
if (Symbol.dispose) GarmanKlassVolatility.prototype[Symbol.dispose] = GarmanKlassVolatility.prototype.free;
|
|
8496
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
|
+
|
|
8497
9455
|
export class GrangerCausality {
|
|
8498
9456
|
__destroy_into_raw() {
|
|
8499
9457
|
const ptr = this.__wbg_ptr;
|
|
@@ -9190,19 +10148,18 @@ export class Harami {
|
|
|
9190
10148
|
}
|
|
9191
10149
|
if (Symbol.dispose) Harami.prototype[Symbol.dispose] = Harami.prototype.free;
|
|
9192
10150
|
|
|
9193
|
-
export class
|
|
10151
|
+
export class HeadAndShoulders {
|
|
9194
10152
|
__destroy_into_raw() {
|
|
9195
10153
|
const ptr = this.__wbg_ptr;
|
|
9196
10154
|
this.__wbg_ptr = 0;
|
|
9197
|
-
|
|
10155
|
+
HeadAndShouldersFinalization.unregister(this);
|
|
9198
10156
|
return ptr;
|
|
9199
10157
|
}
|
|
9200
10158
|
free() {
|
|
9201
10159
|
const ptr = this.__destroy_into_raw();
|
|
9202
|
-
wasm.
|
|
10160
|
+
wasm.__wbg_headandshoulders_free(ptr, 0);
|
|
9203
10161
|
}
|
|
9204
10162
|
/**
|
|
9205
|
-
* Returns `[open0, high0, low0, close0, open1, ...]`, length `4 * n`.
|
|
9206
10163
|
* @param {Float64Array} open
|
|
9207
10164
|
* @param {Float64Array} high
|
|
9208
10165
|
* @param {Float64Array} low
|
|
@@ -9220,7 +10177,98 @@ export class HeikinAshi {
|
|
|
9220
10177
|
const len2 = WASM_VECTOR_LEN;
|
|
9221
10178
|
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
9222
10179
|
const len3 = WASM_VECTOR_LEN;
|
|
9223
|
-
wasm.
|
|
10180
|
+
wasm.headandshoulders_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
10181
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
10182
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
10183
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
10184
|
+
if (r2) {
|
|
10185
|
+
throw takeObject(r1);
|
|
10186
|
+
}
|
|
10187
|
+
return takeObject(r0);
|
|
10188
|
+
} finally {
|
|
10189
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
10190
|
+
}
|
|
10191
|
+
}
|
|
10192
|
+
/**
|
|
10193
|
+
* @returns {boolean}
|
|
10194
|
+
*/
|
|
10195
|
+
isReady() {
|
|
10196
|
+
const ret = wasm.headandshoulders_isReady(this.__wbg_ptr);
|
|
10197
|
+
return ret !== 0;
|
|
10198
|
+
}
|
|
10199
|
+
constructor() {
|
|
10200
|
+
const ret = wasm.headandshoulders_new();
|
|
10201
|
+
this.__wbg_ptr = ret;
|
|
10202
|
+
HeadAndShouldersFinalization.register(this, this.__wbg_ptr, this);
|
|
10203
|
+
return this;
|
|
10204
|
+
}
|
|
10205
|
+
reset() {
|
|
10206
|
+
wasm.headandshoulders_reset(this.__wbg_ptr);
|
|
10207
|
+
}
|
|
10208
|
+
/**
|
|
10209
|
+
* @param {number} open
|
|
10210
|
+
* @param {number} high
|
|
10211
|
+
* @param {number} low
|
|
10212
|
+
* @param {number} close
|
|
10213
|
+
* @returns {number | undefined}
|
|
10214
|
+
*/
|
|
10215
|
+
update(open, high, low, close) {
|
|
10216
|
+
try {
|
|
10217
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
10218
|
+
wasm.headandshoulders_update(retptr, this.__wbg_ptr, open, high, low, close);
|
|
10219
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
10220
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
10221
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
10222
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
10223
|
+
if (r5) {
|
|
10224
|
+
throw takeObject(r4);
|
|
10225
|
+
}
|
|
10226
|
+
return r0 === 0 ? undefined : r2;
|
|
10227
|
+
} finally {
|
|
10228
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
10229
|
+
}
|
|
10230
|
+
}
|
|
10231
|
+
/**
|
|
10232
|
+
* @returns {number}
|
|
10233
|
+
*/
|
|
10234
|
+
warmupPeriod() {
|
|
10235
|
+
const ret = wasm.headandshoulders_warmupPeriod(this.__wbg_ptr);
|
|
10236
|
+
return ret >>> 0;
|
|
10237
|
+
}
|
|
10238
|
+
}
|
|
10239
|
+
if (Symbol.dispose) HeadAndShoulders.prototype[Symbol.dispose] = HeadAndShoulders.prototype.free;
|
|
10240
|
+
|
|
10241
|
+
export class HeikinAshi {
|
|
10242
|
+
__destroy_into_raw() {
|
|
10243
|
+
const ptr = this.__wbg_ptr;
|
|
10244
|
+
this.__wbg_ptr = 0;
|
|
10245
|
+
HeikinAshiFinalization.unregister(this);
|
|
10246
|
+
return ptr;
|
|
10247
|
+
}
|
|
10248
|
+
free() {
|
|
10249
|
+
const ptr = this.__destroy_into_raw();
|
|
10250
|
+
wasm.__wbg_heikinashi_free(ptr, 0);
|
|
10251
|
+
}
|
|
10252
|
+
/**
|
|
10253
|
+
* Returns `[open0, high0, low0, close0, open1, ...]`, length `4 * n`.
|
|
10254
|
+
* @param {Float64Array} open
|
|
10255
|
+
* @param {Float64Array} high
|
|
10256
|
+
* @param {Float64Array} low
|
|
10257
|
+
* @param {Float64Array} close
|
|
10258
|
+
* @returns {Float64Array}
|
|
10259
|
+
*/
|
|
10260
|
+
batch(open, high, low, close) {
|
|
10261
|
+
try {
|
|
10262
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
10263
|
+
const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
|
|
10264
|
+
const len0 = WASM_VECTOR_LEN;
|
|
10265
|
+
const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
10266
|
+
const len1 = WASM_VECTOR_LEN;
|
|
10267
|
+
const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
10268
|
+
const len2 = WASM_VECTOR_LEN;
|
|
10269
|
+
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
10270
|
+
const len3 = WASM_VECTOR_LEN;
|
|
10271
|
+
wasm.heikinashi_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
9224
10272
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
9225
10273
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
9226
10274
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -10787,6 +11835,89 @@ export class InstantaneousTrendline {
|
|
|
10787
11835
|
}
|
|
10788
11836
|
if (Symbol.dispose) InstantaneousTrendline.prototype[Symbol.dispose] = InstantaneousTrendline.prototype.free;
|
|
10789
11837
|
|
|
11838
|
+
export class IntradayVolatilityProfile {
|
|
11839
|
+
__destroy_into_raw() {
|
|
11840
|
+
const ptr = this.__wbg_ptr;
|
|
11841
|
+
this.__wbg_ptr = 0;
|
|
11842
|
+
IntradayVolatilityProfileFinalization.unregister(this);
|
|
11843
|
+
return ptr;
|
|
11844
|
+
}
|
|
11845
|
+
free() {
|
|
11846
|
+
const ptr = this.__destroy_into_raw();
|
|
11847
|
+
wasm.__wbg_intradayvolatilityprofile_free(ptr, 0);
|
|
11848
|
+
}
|
|
11849
|
+
/**
|
|
11850
|
+
* @returns {boolean}
|
|
11851
|
+
*/
|
|
11852
|
+
isReady() {
|
|
11853
|
+
const ret = wasm.intradayvolatilityprofile_isReady(this.__wbg_ptr);
|
|
11854
|
+
return ret !== 0;
|
|
11855
|
+
}
|
|
11856
|
+
/**
|
|
11857
|
+
* @param {number} buckets
|
|
11858
|
+
* @param {number} utc_offset_minutes
|
|
11859
|
+
*/
|
|
11860
|
+
constructor(buckets, utc_offset_minutes) {
|
|
11861
|
+
try {
|
|
11862
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
11863
|
+
wasm.intradayvolatilityprofile_new(retptr, buckets, utc_offset_minutes);
|
|
11864
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
11865
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
11866
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
11867
|
+
if (r2) {
|
|
11868
|
+
throw takeObject(r1);
|
|
11869
|
+
}
|
|
11870
|
+
this.__wbg_ptr = r0;
|
|
11871
|
+
IntradayVolatilityProfileFinalization.register(this, this.__wbg_ptr, this);
|
|
11872
|
+
return this;
|
|
11873
|
+
} finally {
|
|
11874
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
11875
|
+
}
|
|
11876
|
+
}
|
|
11877
|
+
reset() {
|
|
11878
|
+
wasm.intradayvolatilityprofile_reset(this.__wbg_ptr);
|
|
11879
|
+
}
|
|
11880
|
+
/**
|
|
11881
|
+
* @param {number} open
|
|
11882
|
+
* @param {number} high
|
|
11883
|
+
* @param {number} low
|
|
11884
|
+
* @param {number} close
|
|
11885
|
+
* @param {number} volume
|
|
11886
|
+
* @param {bigint} timestamp
|
|
11887
|
+
* @returns {any}
|
|
11888
|
+
*/
|
|
11889
|
+
update(open, high, low, close, volume, timestamp) {
|
|
11890
|
+
try {
|
|
11891
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
11892
|
+
wasm.intradayvolatilityprofile_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
11893
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
11894
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
11895
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
11896
|
+
if (r2) {
|
|
11897
|
+
throw takeObject(r1);
|
|
11898
|
+
}
|
|
11899
|
+
return takeObject(r0);
|
|
11900
|
+
} finally {
|
|
11901
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
11902
|
+
}
|
|
11903
|
+
}
|
|
11904
|
+
/**
|
|
11905
|
+
* @returns {number}
|
|
11906
|
+
*/
|
|
11907
|
+
utcOffsetMinutes() {
|
|
11908
|
+
const ret = wasm.intradayvolatilityprofile_utcOffsetMinutes(this.__wbg_ptr);
|
|
11909
|
+
return ret;
|
|
11910
|
+
}
|
|
11911
|
+
/**
|
|
11912
|
+
* @returns {number}
|
|
11913
|
+
*/
|
|
11914
|
+
warmupPeriod() {
|
|
11915
|
+
const ret = wasm.intradayvolatilityprofile_warmupPeriod(this.__wbg_ptr);
|
|
11916
|
+
return ret >>> 0;
|
|
11917
|
+
}
|
|
11918
|
+
}
|
|
11919
|
+
if (Symbol.dispose) IntradayVolatilityProfile.prototype[Symbol.dispose] = IntradayVolatilityProfile.prototype.free;
|
|
11920
|
+
|
|
10790
11921
|
export class InverseFisherTransform {
|
|
10791
11922
|
__destroy_into_raw() {
|
|
10792
11923
|
const ptr = this.__wbg_ptr;
|
|
@@ -15996,6 +17127,142 @@ export class OuHalfLife {
|
|
|
15996
17127
|
}
|
|
15997
17128
|
if (Symbol.dispose) OuHalfLife.prototype[Symbol.dispose] = OuHalfLife.prototype.free;
|
|
15998
17129
|
|
|
17130
|
+
export class OvernightGap {
|
|
17131
|
+
__destroy_into_raw() {
|
|
17132
|
+
const ptr = this.__wbg_ptr;
|
|
17133
|
+
this.__wbg_ptr = 0;
|
|
17134
|
+
OvernightGapFinalization.unregister(this);
|
|
17135
|
+
return ptr;
|
|
17136
|
+
}
|
|
17137
|
+
free() {
|
|
17138
|
+
const ptr = this.__destroy_into_raw();
|
|
17139
|
+
wasm.__wbg_overnightgap_free(ptr, 0);
|
|
17140
|
+
}
|
|
17141
|
+
/**
|
|
17142
|
+
* @returns {boolean}
|
|
17143
|
+
*/
|
|
17144
|
+
isReady() {
|
|
17145
|
+
const ret = wasm.overnightgap_isReady(this.__wbg_ptr);
|
|
17146
|
+
return ret !== 0;
|
|
17147
|
+
}
|
|
17148
|
+
/**
|
|
17149
|
+
* @param {number} utc_offset_minutes
|
|
17150
|
+
*/
|
|
17151
|
+
constructor(utc_offset_minutes) {
|
|
17152
|
+
const ret = wasm.overnightgap_new(utc_offset_minutes);
|
|
17153
|
+
this.__wbg_ptr = ret;
|
|
17154
|
+
OvernightGapFinalization.register(this, this.__wbg_ptr, this);
|
|
17155
|
+
return this;
|
|
17156
|
+
}
|
|
17157
|
+
reset() {
|
|
17158
|
+
wasm.overnightgap_reset(this.__wbg_ptr);
|
|
17159
|
+
}
|
|
17160
|
+
/**
|
|
17161
|
+
* @param {number} open
|
|
17162
|
+
* @param {number} high
|
|
17163
|
+
* @param {number} low
|
|
17164
|
+
* @param {number} close
|
|
17165
|
+
* @param {number} volume
|
|
17166
|
+
* @param {bigint} timestamp
|
|
17167
|
+
* @returns {number | undefined}
|
|
17168
|
+
*/
|
|
17169
|
+
update(open, high, low, close, volume, timestamp) {
|
|
17170
|
+
try {
|
|
17171
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
17172
|
+
wasm.overnightgap_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
17173
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
17174
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
17175
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
17176
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
17177
|
+
if (r5) {
|
|
17178
|
+
throw takeObject(r4);
|
|
17179
|
+
}
|
|
17180
|
+
return r0 === 0 ? undefined : r2;
|
|
17181
|
+
} finally {
|
|
17182
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
17183
|
+
}
|
|
17184
|
+
}
|
|
17185
|
+
/**
|
|
17186
|
+
* @returns {number}
|
|
17187
|
+
*/
|
|
17188
|
+
utcOffsetMinutes() {
|
|
17189
|
+
const ret = wasm.overnightgap_utcOffsetMinutes(this.__wbg_ptr);
|
|
17190
|
+
return ret;
|
|
17191
|
+
}
|
|
17192
|
+
/**
|
|
17193
|
+
* @returns {number}
|
|
17194
|
+
*/
|
|
17195
|
+
warmupPeriod() {
|
|
17196
|
+
const ret = wasm.overnightgap_warmupPeriod(this.__wbg_ptr);
|
|
17197
|
+
return ret >>> 0;
|
|
17198
|
+
}
|
|
17199
|
+
}
|
|
17200
|
+
if (Symbol.dispose) OvernightGap.prototype[Symbol.dispose] = OvernightGap.prototype.free;
|
|
17201
|
+
|
|
17202
|
+
export class OvernightIntradayReturn {
|
|
17203
|
+
__destroy_into_raw() {
|
|
17204
|
+
const ptr = this.__wbg_ptr;
|
|
17205
|
+
this.__wbg_ptr = 0;
|
|
17206
|
+
OvernightIntradayReturnFinalization.unregister(this);
|
|
17207
|
+
return ptr;
|
|
17208
|
+
}
|
|
17209
|
+
free() {
|
|
17210
|
+
const ptr = this.__destroy_into_raw();
|
|
17211
|
+
wasm.__wbg_overnightintradayreturn_free(ptr, 0);
|
|
17212
|
+
}
|
|
17213
|
+
/**
|
|
17214
|
+
* @returns {boolean}
|
|
17215
|
+
*/
|
|
17216
|
+
isReady() {
|
|
17217
|
+
const ret = wasm.overnightintradayreturn_isReady(this.__wbg_ptr);
|
|
17218
|
+
return ret !== 0;
|
|
17219
|
+
}
|
|
17220
|
+
/**
|
|
17221
|
+
* @param {number} utc_offset_minutes
|
|
17222
|
+
*/
|
|
17223
|
+
constructor(utc_offset_minutes) {
|
|
17224
|
+
const ret = wasm.overnightintradayreturn_new(utc_offset_minutes);
|
|
17225
|
+
this.__wbg_ptr = ret;
|
|
17226
|
+
OvernightIntradayReturnFinalization.register(this, this.__wbg_ptr, this);
|
|
17227
|
+
return this;
|
|
17228
|
+
}
|
|
17229
|
+
reset() {
|
|
17230
|
+
wasm.overnightintradayreturn_reset(this.__wbg_ptr);
|
|
17231
|
+
}
|
|
17232
|
+
/**
|
|
17233
|
+
* @param {number} open
|
|
17234
|
+
* @param {number} high
|
|
17235
|
+
* @param {number} low
|
|
17236
|
+
* @param {number} close
|
|
17237
|
+
* @param {number} volume
|
|
17238
|
+
* @param {bigint} timestamp
|
|
17239
|
+
* @returns {any}
|
|
17240
|
+
*/
|
|
17241
|
+
update(open, high, low, close, volume, timestamp) {
|
|
17242
|
+
try {
|
|
17243
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
17244
|
+
wasm.overnightintradayreturn_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
17245
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
17246
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
17247
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
17248
|
+
if (r2) {
|
|
17249
|
+
throw takeObject(r1);
|
|
17250
|
+
}
|
|
17251
|
+
return takeObject(r0);
|
|
17252
|
+
} finally {
|
|
17253
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
17254
|
+
}
|
|
17255
|
+
}
|
|
17256
|
+
/**
|
|
17257
|
+
* @returns {number}
|
|
17258
|
+
*/
|
|
17259
|
+
warmupPeriod() {
|
|
17260
|
+
const ret = wasm.overnightintradayreturn_warmupPeriod(this.__wbg_ptr);
|
|
17261
|
+
return ret >>> 0;
|
|
17262
|
+
}
|
|
17263
|
+
}
|
|
17264
|
+
if (Symbol.dispose) OvernightIntradayReturn.prototype[Symbol.dispose] = OvernightIntradayReturn.prototype.free;
|
|
17265
|
+
|
|
15999
17266
|
export class PGO {
|
|
16000
17267
|
__destroy_into_raw() {
|
|
16001
17268
|
const ptr = this.__wbg_ptr;
|
|
@@ -18443,6 +19710,96 @@ export class RecoveryFactor {
|
|
|
18443
19710
|
}
|
|
18444
19711
|
if (Symbol.dispose) RecoveryFactor.prototype[Symbol.dispose] = RecoveryFactor.prototype.free;
|
|
18445
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
|
+
|
|
18446
19803
|
export class RelativeStrengthAB {
|
|
18447
19804
|
__destroy_into_raw() {
|
|
18448
19805
|
const ptr = this.__wbg_ptr;
|
|
@@ -19763,6 +21120,78 @@ export class STC {
|
|
|
19763
21120
|
}
|
|
19764
21121
|
if (Symbol.dispose) STC.prototype[Symbol.dispose] = STC.prototype.free;
|
|
19765
21122
|
|
|
21123
|
+
export class SeasonalZScore {
|
|
21124
|
+
__destroy_into_raw() {
|
|
21125
|
+
const ptr = this.__wbg_ptr;
|
|
21126
|
+
this.__wbg_ptr = 0;
|
|
21127
|
+
SeasonalZScoreFinalization.unregister(this);
|
|
21128
|
+
return ptr;
|
|
21129
|
+
}
|
|
21130
|
+
free() {
|
|
21131
|
+
const ptr = this.__destroy_into_raw();
|
|
21132
|
+
wasm.__wbg_seasonalzscore_free(ptr, 0);
|
|
21133
|
+
}
|
|
21134
|
+
/**
|
|
21135
|
+
* @returns {boolean}
|
|
21136
|
+
*/
|
|
21137
|
+
isReady() {
|
|
21138
|
+
const ret = wasm.seasonalzscore_isReady(this.__wbg_ptr);
|
|
21139
|
+
return ret !== 0;
|
|
21140
|
+
}
|
|
21141
|
+
/**
|
|
21142
|
+
* @param {number} utc_offset_minutes
|
|
21143
|
+
*/
|
|
21144
|
+
constructor(utc_offset_minutes) {
|
|
21145
|
+
const ret = wasm.seasonalzscore_new(utc_offset_minutes);
|
|
21146
|
+
this.__wbg_ptr = ret;
|
|
21147
|
+
SeasonalZScoreFinalization.register(this, this.__wbg_ptr, this);
|
|
21148
|
+
return this;
|
|
21149
|
+
}
|
|
21150
|
+
reset() {
|
|
21151
|
+
wasm.seasonalzscore_reset(this.__wbg_ptr);
|
|
21152
|
+
}
|
|
21153
|
+
/**
|
|
21154
|
+
* @param {number} open
|
|
21155
|
+
* @param {number} high
|
|
21156
|
+
* @param {number} low
|
|
21157
|
+
* @param {number} close
|
|
21158
|
+
* @param {number} volume
|
|
21159
|
+
* @param {bigint} timestamp
|
|
21160
|
+
* @returns {number | undefined}
|
|
21161
|
+
*/
|
|
21162
|
+
update(open, high, low, close, volume, timestamp) {
|
|
21163
|
+
try {
|
|
21164
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
21165
|
+
wasm.seasonalzscore_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
21166
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
21167
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
21168
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
21169
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
21170
|
+
if (r5) {
|
|
21171
|
+
throw takeObject(r4);
|
|
21172
|
+
}
|
|
21173
|
+
return r0 === 0 ? undefined : r2;
|
|
21174
|
+
} finally {
|
|
21175
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
21176
|
+
}
|
|
21177
|
+
}
|
|
21178
|
+
/**
|
|
21179
|
+
* @returns {number}
|
|
21180
|
+
*/
|
|
21181
|
+
utcOffsetMinutes() {
|
|
21182
|
+
const ret = wasm.seasonalzscore_utcOffsetMinutes(this.__wbg_ptr);
|
|
21183
|
+
return ret;
|
|
21184
|
+
}
|
|
21185
|
+
/**
|
|
21186
|
+
* @returns {number}
|
|
21187
|
+
*/
|
|
21188
|
+
warmupPeriod() {
|
|
21189
|
+
const ret = wasm.seasonalzscore_warmupPeriod(this.__wbg_ptr);
|
|
21190
|
+
return ret >>> 0;
|
|
21191
|
+
}
|
|
21192
|
+
}
|
|
21193
|
+
if (Symbol.dispose) SeasonalZScore.prototype[Symbol.dispose] = SeasonalZScore.prototype.free;
|
|
21194
|
+
|
|
19766
21195
|
export class SeparatingLines {
|
|
19767
21196
|
__destroy_into_raw() {
|
|
19768
21197
|
const ptr = this.__wbg_ptr;
|
|
@@ -19853,69 +21282,56 @@ export class SeparatingLines {
|
|
|
19853
21282
|
}
|
|
19854
21283
|
if (Symbol.dispose) SeparatingLines.prototype[Symbol.dispose] = SeparatingLines.prototype.free;
|
|
19855
21284
|
|
|
19856
|
-
export class
|
|
21285
|
+
export class SessionHighLow {
|
|
19857
21286
|
__destroy_into_raw() {
|
|
19858
21287
|
const ptr = this.__wbg_ptr;
|
|
19859
21288
|
this.__wbg_ptr = 0;
|
|
19860
|
-
|
|
21289
|
+
SessionHighLowFinalization.unregister(this);
|
|
19861
21290
|
return ptr;
|
|
19862
21291
|
}
|
|
19863
21292
|
free() {
|
|
19864
21293
|
const ptr = this.__destroy_into_raw();
|
|
19865
|
-
wasm.
|
|
19866
|
-
}
|
|
19867
|
-
/**
|
|
19868
|
-
* @param {Float64Array} prices
|
|
19869
|
-
* @returns {Float64Array}
|
|
19870
|
-
*/
|
|
19871
|
-
batch(prices) {
|
|
19872
|
-
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
19873
|
-
const len0 = WASM_VECTOR_LEN;
|
|
19874
|
-
const ret = wasm.sharperatio_batch(this.__wbg_ptr, ptr0, len0);
|
|
19875
|
-
return takeObject(ret);
|
|
21294
|
+
wasm.__wbg_sessionhighlow_free(ptr, 0);
|
|
19876
21295
|
}
|
|
19877
21296
|
/**
|
|
19878
21297
|
* @returns {boolean}
|
|
19879
21298
|
*/
|
|
19880
21299
|
isReady() {
|
|
19881
|
-
const ret = wasm.
|
|
21300
|
+
const ret = wasm.sessionhighlow_isReady(this.__wbg_ptr);
|
|
19882
21301
|
return ret !== 0;
|
|
19883
21302
|
}
|
|
19884
21303
|
/**
|
|
19885
|
-
* @param {number}
|
|
19886
|
-
* @param {number} risk_free
|
|
21304
|
+
* @param {number} utc_offset_minutes
|
|
19887
21305
|
*/
|
|
19888
|
-
constructor(
|
|
19889
|
-
|
|
19890
|
-
|
|
19891
|
-
|
|
19892
|
-
|
|
19893
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
19894
|
-
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
19895
|
-
if (r2) {
|
|
19896
|
-
throw takeObject(r1);
|
|
19897
|
-
}
|
|
19898
|
-
this.__wbg_ptr = r0;
|
|
19899
|
-
SharpeRatioFinalization.register(this, this.__wbg_ptr, this);
|
|
19900
|
-
return this;
|
|
19901
|
-
} finally {
|
|
19902
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
19903
|
-
}
|
|
21306
|
+
constructor(utc_offset_minutes) {
|
|
21307
|
+
const ret = wasm.sessionhighlow_new(utc_offset_minutes);
|
|
21308
|
+
this.__wbg_ptr = ret;
|
|
21309
|
+
SessionHighLowFinalization.register(this, this.__wbg_ptr, this);
|
|
21310
|
+
return this;
|
|
19904
21311
|
}
|
|
19905
21312
|
reset() {
|
|
19906
|
-
wasm.
|
|
21313
|
+
wasm.sessionhighlow_reset(this.__wbg_ptr);
|
|
19907
21314
|
}
|
|
19908
21315
|
/**
|
|
19909
|
-
* @param {number}
|
|
19910
|
-
* @
|
|
21316
|
+
* @param {number} open
|
|
21317
|
+
* @param {number} high
|
|
21318
|
+
* @param {number} low
|
|
21319
|
+
* @param {number} close
|
|
21320
|
+
* @param {number} volume
|
|
21321
|
+
* @param {bigint} timestamp
|
|
21322
|
+
* @returns {any}
|
|
19911
21323
|
*/
|
|
19912
|
-
update(
|
|
21324
|
+
update(open, high, low, close, volume, timestamp) {
|
|
19913
21325
|
try {
|
|
19914
21326
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
19915
|
-
wasm.
|
|
21327
|
+
wasm.sessionhighlow_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
19916
21328
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
19917
|
-
var
|
|
19918
|
-
|
|
21329
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
21330
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
21331
|
+
if (r2) {
|
|
21332
|
+
throw takeObject(r1);
|
|
21333
|
+
}
|
|
21334
|
+
return takeObject(r0);
|
|
19919
21335
|
} finally {
|
|
19920
21336
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
19921
21337
|
}
|
|
@@ -19924,42 +21340,55 @@ export class SharpeRatio {
|
|
|
19924
21340
|
* @returns {number}
|
|
19925
21341
|
*/
|
|
19926
21342
|
warmupPeriod() {
|
|
19927
|
-
const ret = wasm.
|
|
21343
|
+
const ret = wasm.sessionhighlow_warmupPeriod(this.__wbg_ptr);
|
|
19928
21344
|
return ret >>> 0;
|
|
19929
21345
|
}
|
|
19930
21346
|
}
|
|
19931
|
-
if (Symbol.dispose)
|
|
21347
|
+
if (Symbol.dispose) SessionHighLow.prototype[Symbol.dispose] = SessionHighLow.prototype.free;
|
|
19932
21348
|
|
|
19933
|
-
export class
|
|
21349
|
+
export class SessionRange {
|
|
19934
21350
|
__destroy_into_raw() {
|
|
19935
21351
|
const ptr = this.__wbg_ptr;
|
|
19936
21352
|
this.__wbg_ptr = 0;
|
|
19937
|
-
|
|
21353
|
+
SessionRangeFinalization.unregister(this);
|
|
19938
21354
|
return ptr;
|
|
19939
21355
|
}
|
|
19940
21356
|
free() {
|
|
19941
21357
|
const ptr = this.__destroy_into_raw();
|
|
19942
|
-
wasm.
|
|
21358
|
+
wasm.__wbg_sessionrange_free(ptr, 0);
|
|
19943
21359
|
}
|
|
19944
21360
|
/**
|
|
19945
|
-
* @
|
|
19946
|
-
* @param {Float64Array} high
|
|
19947
|
-
* @param {Float64Array} low
|
|
19948
|
-
* @param {Float64Array} close
|
|
19949
|
-
* @returns {Float64Array}
|
|
21361
|
+
* @returns {boolean}
|
|
19950
21362
|
*/
|
|
19951
|
-
|
|
21363
|
+
isReady() {
|
|
21364
|
+
const ret = wasm.sessionrange_isReady(this.__wbg_ptr);
|
|
21365
|
+
return ret !== 0;
|
|
21366
|
+
}
|
|
21367
|
+
/**
|
|
21368
|
+
* @param {number} utc_offset_minutes
|
|
21369
|
+
*/
|
|
21370
|
+
constructor(utc_offset_minutes) {
|
|
21371
|
+
const ret = wasm.sessionrange_new(utc_offset_minutes);
|
|
21372
|
+
this.__wbg_ptr = ret;
|
|
21373
|
+
SessionRangeFinalization.register(this, this.__wbg_ptr, this);
|
|
21374
|
+
return this;
|
|
21375
|
+
}
|
|
21376
|
+
reset() {
|
|
21377
|
+
wasm.sessionrange_reset(this.__wbg_ptr);
|
|
21378
|
+
}
|
|
21379
|
+
/**
|
|
21380
|
+
* @param {number} open
|
|
21381
|
+
* @param {number} high
|
|
21382
|
+
* @param {number} low
|
|
21383
|
+
* @param {number} close
|
|
21384
|
+
* @param {number} volume
|
|
21385
|
+
* @param {bigint} timestamp
|
|
21386
|
+
* @returns {any}
|
|
21387
|
+
*/
|
|
21388
|
+
update(open, high, low, close, volume, timestamp) {
|
|
19952
21389
|
try {
|
|
19953
21390
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
19954
|
-
|
|
19955
|
-
const len0 = WASM_VECTOR_LEN;
|
|
19956
|
-
const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
19957
|
-
const len1 = WASM_VECTOR_LEN;
|
|
19958
|
-
const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
19959
|
-
const len2 = WASM_VECTOR_LEN;
|
|
19960
|
-
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
19961
|
-
const len3 = WASM_VECTOR_LEN;
|
|
19962
|
-
wasm.shootingstar_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
21391
|
+
wasm.sessionrange_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
19963
21392
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
19964
21393
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
19965
21394
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -19971,33 +21400,59 @@ export class ShootingStar {
|
|
|
19971
21400
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
19972
21401
|
}
|
|
19973
21402
|
}
|
|
21403
|
+
/**
|
|
21404
|
+
* @returns {number}
|
|
21405
|
+
*/
|
|
21406
|
+
warmupPeriod() {
|
|
21407
|
+
const ret = wasm.sessionrange_warmupPeriod(this.__wbg_ptr);
|
|
21408
|
+
return ret >>> 0;
|
|
21409
|
+
}
|
|
21410
|
+
}
|
|
21411
|
+
if (Symbol.dispose) SessionRange.prototype[Symbol.dispose] = SessionRange.prototype.free;
|
|
21412
|
+
|
|
21413
|
+
export class SessionVwap {
|
|
21414
|
+
__destroy_into_raw() {
|
|
21415
|
+
const ptr = this.__wbg_ptr;
|
|
21416
|
+
this.__wbg_ptr = 0;
|
|
21417
|
+
SessionVwapFinalization.unregister(this);
|
|
21418
|
+
return ptr;
|
|
21419
|
+
}
|
|
21420
|
+
free() {
|
|
21421
|
+
const ptr = this.__destroy_into_raw();
|
|
21422
|
+
wasm.__wbg_sessionvwap_free(ptr, 0);
|
|
21423
|
+
}
|
|
19974
21424
|
/**
|
|
19975
21425
|
* @returns {boolean}
|
|
19976
21426
|
*/
|
|
19977
21427
|
isReady() {
|
|
19978
|
-
const ret = wasm.
|
|
21428
|
+
const ret = wasm.sessionvwap_isReady(this.__wbg_ptr);
|
|
19979
21429
|
return ret !== 0;
|
|
19980
21430
|
}
|
|
19981
|
-
|
|
19982
|
-
|
|
21431
|
+
/**
|
|
21432
|
+
* @param {number} utc_offset_minutes
|
|
21433
|
+
*/
|
|
21434
|
+
constructor(utc_offset_minutes) {
|
|
21435
|
+
const ret = wasm.sessionvwap_new(utc_offset_minutes);
|
|
19983
21436
|
this.__wbg_ptr = ret;
|
|
19984
|
-
|
|
21437
|
+
SessionVwapFinalization.register(this, this.__wbg_ptr, this);
|
|
19985
21438
|
return this;
|
|
19986
21439
|
}
|
|
19987
21440
|
reset() {
|
|
19988
|
-
wasm.
|
|
21441
|
+
wasm.sessionvwap_reset(this.__wbg_ptr);
|
|
19989
21442
|
}
|
|
19990
21443
|
/**
|
|
19991
21444
|
* @param {number} open
|
|
19992
21445
|
* @param {number} high
|
|
19993
21446
|
* @param {number} low
|
|
19994
21447
|
* @param {number} close
|
|
21448
|
+
* @param {number} volume
|
|
21449
|
+
* @param {bigint} timestamp
|
|
19995
21450
|
* @returns {number | undefined}
|
|
19996
21451
|
*/
|
|
19997
|
-
update(open, high, low, close) {
|
|
21452
|
+
update(open, high, low, close, volume, timestamp) {
|
|
19998
21453
|
try {
|
|
19999
21454
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
20000
|
-
wasm.
|
|
21455
|
+
wasm.sessionvwap_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
20001
21456
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
20002
21457
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
20003
21458
|
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
@@ -20013,9 +21468,273 @@ export class ShootingStar {
|
|
|
20013
21468
|
/**
|
|
20014
21469
|
* @returns {number}
|
|
20015
21470
|
*/
|
|
20016
|
-
|
|
20017
|
-
const ret = wasm.
|
|
20018
|
-
return ret
|
|
21471
|
+
utcOffsetMinutes() {
|
|
21472
|
+
const ret = wasm.sessionvwap_utcOffsetMinutes(this.__wbg_ptr);
|
|
21473
|
+
return ret;
|
|
21474
|
+
}
|
|
21475
|
+
/**
|
|
21476
|
+
* @returns {number}
|
|
21477
|
+
*/
|
|
21478
|
+
warmupPeriod() {
|
|
21479
|
+
const ret = wasm.sessionvwap_warmupPeriod(this.__wbg_ptr);
|
|
21480
|
+
return ret >>> 0;
|
|
21481
|
+
}
|
|
21482
|
+
}
|
|
21483
|
+
if (Symbol.dispose) SessionVwap.prototype[Symbol.dispose] = SessionVwap.prototype.free;
|
|
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
|
+
|
|
21575
|
+
export class SharpeRatio {
|
|
21576
|
+
__destroy_into_raw() {
|
|
21577
|
+
const ptr = this.__wbg_ptr;
|
|
21578
|
+
this.__wbg_ptr = 0;
|
|
21579
|
+
SharpeRatioFinalization.unregister(this);
|
|
21580
|
+
return ptr;
|
|
21581
|
+
}
|
|
21582
|
+
free() {
|
|
21583
|
+
const ptr = this.__destroy_into_raw();
|
|
21584
|
+
wasm.__wbg_sharperatio_free(ptr, 0);
|
|
21585
|
+
}
|
|
21586
|
+
/**
|
|
21587
|
+
* @param {Float64Array} prices
|
|
21588
|
+
* @returns {Float64Array}
|
|
21589
|
+
*/
|
|
21590
|
+
batch(prices) {
|
|
21591
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
21592
|
+
const len0 = WASM_VECTOR_LEN;
|
|
21593
|
+
const ret = wasm.sharperatio_batch(this.__wbg_ptr, ptr0, len0);
|
|
21594
|
+
return takeObject(ret);
|
|
21595
|
+
}
|
|
21596
|
+
/**
|
|
21597
|
+
* @returns {boolean}
|
|
21598
|
+
*/
|
|
21599
|
+
isReady() {
|
|
21600
|
+
const ret = wasm.sharperatio_isReady(this.__wbg_ptr);
|
|
21601
|
+
return ret !== 0;
|
|
21602
|
+
}
|
|
21603
|
+
/**
|
|
21604
|
+
* @param {number} period
|
|
21605
|
+
* @param {number} risk_free
|
|
21606
|
+
*/
|
|
21607
|
+
constructor(period, risk_free) {
|
|
21608
|
+
try {
|
|
21609
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
21610
|
+
wasm.sharperatio_new(retptr, period, risk_free);
|
|
21611
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
21612
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
21613
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
21614
|
+
if (r2) {
|
|
21615
|
+
throw takeObject(r1);
|
|
21616
|
+
}
|
|
21617
|
+
this.__wbg_ptr = r0;
|
|
21618
|
+
SharpeRatioFinalization.register(this, this.__wbg_ptr, this);
|
|
21619
|
+
return this;
|
|
21620
|
+
} finally {
|
|
21621
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
21622
|
+
}
|
|
21623
|
+
}
|
|
21624
|
+
reset() {
|
|
21625
|
+
wasm.sharperatio_reset(this.__wbg_ptr);
|
|
21626
|
+
}
|
|
21627
|
+
/**
|
|
21628
|
+
* @param {number} value
|
|
21629
|
+
* @returns {number | undefined}
|
|
21630
|
+
*/
|
|
21631
|
+
update(value) {
|
|
21632
|
+
try {
|
|
21633
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
21634
|
+
wasm.sharperatio_update(retptr, this.__wbg_ptr, value);
|
|
21635
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
21636
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
21637
|
+
return r0 === 0 ? undefined : r2;
|
|
21638
|
+
} finally {
|
|
21639
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
21640
|
+
}
|
|
21641
|
+
}
|
|
21642
|
+
/**
|
|
21643
|
+
* @returns {number}
|
|
21644
|
+
*/
|
|
21645
|
+
warmupPeriod() {
|
|
21646
|
+
const ret = wasm.sharperatio_warmupPeriod(this.__wbg_ptr);
|
|
21647
|
+
return ret >>> 0;
|
|
21648
|
+
}
|
|
21649
|
+
}
|
|
21650
|
+
if (Symbol.dispose) SharpeRatio.prototype[Symbol.dispose] = SharpeRatio.prototype.free;
|
|
21651
|
+
|
|
21652
|
+
export class ShootingStar {
|
|
21653
|
+
__destroy_into_raw() {
|
|
21654
|
+
const ptr = this.__wbg_ptr;
|
|
21655
|
+
this.__wbg_ptr = 0;
|
|
21656
|
+
ShootingStarFinalization.unregister(this);
|
|
21657
|
+
return ptr;
|
|
21658
|
+
}
|
|
21659
|
+
free() {
|
|
21660
|
+
const ptr = this.__destroy_into_raw();
|
|
21661
|
+
wasm.__wbg_shootingstar_free(ptr, 0);
|
|
21662
|
+
}
|
|
21663
|
+
/**
|
|
21664
|
+
* @param {Float64Array} open
|
|
21665
|
+
* @param {Float64Array} high
|
|
21666
|
+
* @param {Float64Array} low
|
|
21667
|
+
* @param {Float64Array} close
|
|
21668
|
+
* @returns {Float64Array}
|
|
21669
|
+
*/
|
|
21670
|
+
batch(open, high, low, close) {
|
|
21671
|
+
try {
|
|
21672
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
21673
|
+
const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
|
|
21674
|
+
const len0 = WASM_VECTOR_LEN;
|
|
21675
|
+
const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
21676
|
+
const len1 = WASM_VECTOR_LEN;
|
|
21677
|
+
const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
21678
|
+
const len2 = WASM_VECTOR_LEN;
|
|
21679
|
+
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
21680
|
+
const len3 = WASM_VECTOR_LEN;
|
|
21681
|
+
wasm.shootingstar_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
21682
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
21683
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
21684
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
21685
|
+
if (r2) {
|
|
21686
|
+
throw takeObject(r1);
|
|
21687
|
+
}
|
|
21688
|
+
return takeObject(r0);
|
|
21689
|
+
} finally {
|
|
21690
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
21691
|
+
}
|
|
21692
|
+
}
|
|
21693
|
+
/**
|
|
21694
|
+
* @returns {boolean}
|
|
21695
|
+
*/
|
|
21696
|
+
isReady() {
|
|
21697
|
+
const ret = wasm.shootingstar_isReady(this.__wbg_ptr);
|
|
21698
|
+
return ret !== 0;
|
|
21699
|
+
}
|
|
21700
|
+
constructor() {
|
|
21701
|
+
const ret = wasm.shootingstar_new();
|
|
21702
|
+
this.__wbg_ptr = ret;
|
|
21703
|
+
ShootingStarFinalization.register(this, this.__wbg_ptr, this);
|
|
21704
|
+
return this;
|
|
21705
|
+
}
|
|
21706
|
+
reset() {
|
|
21707
|
+
wasm.shootingstar_reset(this.__wbg_ptr);
|
|
21708
|
+
}
|
|
21709
|
+
/**
|
|
21710
|
+
* @param {number} open
|
|
21711
|
+
* @param {number} high
|
|
21712
|
+
* @param {number} low
|
|
21713
|
+
* @param {number} close
|
|
21714
|
+
* @returns {number | undefined}
|
|
21715
|
+
*/
|
|
21716
|
+
update(open, high, low, close) {
|
|
21717
|
+
try {
|
|
21718
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
21719
|
+
wasm.shootingstar_update(retptr, this.__wbg_ptr, open, high, low, close);
|
|
21720
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
21721
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
21722
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
21723
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
21724
|
+
if (r5) {
|
|
21725
|
+
throw takeObject(r4);
|
|
21726
|
+
}
|
|
21727
|
+
return r0 === 0 ? undefined : r2;
|
|
21728
|
+
} finally {
|
|
21729
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
21730
|
+
}
|
|
21731
|
+
}
|
|
21732
|
+
/**
|
|
21733
|
+
* @returns {number}
|
|
21734
|
+
*/
|
|
21735
|
+
warmupPeriod() {
|
|
21736
|
+
const ret = wasm.shootingstar_warmupPeriod(this.__wbg_ptr);
|
|
21737
|
+
return ret >>> 0;
|
|
20019
21738
|
}
|
|
20020
21739
|
}
|
|
20021
21740
|
if (Symbol.dispose) ShootingStar.prototype[Symbol.dispose] = ShootingStar.prototype.free;
|
|
@@ -23760,16 +25479,16 @@ export class TermStructureBasis {
|
|
|
23760
25479
|
}
|
|
23761
25480
|
if (Symbol.dispose) TermStructureBasis.prototype[Symbol.dispose] = TermStructureBasis.prototype.free;
|
|
23762
25481
|
|
|
23763
|
-
export class
|
|
25482
|
+
export class ThreeDrives {
|
|
23764
25483
|
__destroy_into_raw() {
|
|
23765
25484
|
const ptr = this.__wbg_ptr;
|
|
23766
25485
|
this.__wbg_ptr = 0;
|
|
23767
|
-
|
|
25486
|
+
ThreeDrivesFinalization.unregister(this);
|
|
23768
25487
|
return ptr;
|
|
23769
25488
|
}
|
|
23770
25489
|
free() {
|
|
23771
25490
|
const ptr = this.__destroy_into_raw();
|
|
23772
|
-
wasm.
|
|
25491
|
+
wasm.__wbg_threedrives_free(ptr, 0);
|
|
23773
25492
|
}
|
|
23774
25493
|
/**
|
|
23775
25494
|
* @param {Float64Array} open
|
|
@@ -23789,7 +25508,97 @@ export class ThreeInside {
|
|
|
23789
25508
|
const len2 = WASM_VECTOR_LEN;
|
|
23790
25509
|
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
23791
25510
|
const len3 = WASM_VECTOR_LEN;
|
|
23792
|
-
wasm.
|
|
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);
|
|
25550
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
25551
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
25552
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
25553
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
25554
|
+
if (r5) {
|
|
25555
|
+
throw takeObject(r4);
|
|
25556
|
+
}
|
|
25557
|
+
return r0 === 0 ? undefined : r2;
|
|
25558
|
+
} finally {
|
|
25559
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
25560
|
+
}
|
|
25561
|
+
}
|
|
25562
|
+
/**
|
|
25563
|
+
* @returns {number}
|
|
25564
|
+
*/
|
|
25565
|
+
warmupPeriod() {
|
|
25566
|
+
const ret = wasm.threedrives_warmupPeriod(this.__wbg_ptr);
|
|
25567
|
+
return ret >>> 0;
|
|
25568
|
+
}
|
|
25569
|
+
}
|
|
25570
|
+
if (Symbol.dispose) ThreeDrives.prototype[Symbol.dispose] = ThreeDrives.prototype.free;
|
|
25571
|
+
|
|
25572
|
+
export class ThreeInside {
|
|
25573
|
+
__destroy_into_raw() {
|
|
25574
|
+
const ptr = this.__wbg_ptr;
|
|
25575
|
+
this.__wbg_ptr = 0;
|
|
25576
|
+
ThreeInsideFinalization.unregister(this);
|
|
25577
|
+
return ptr;
|
|
25578
|
+
}
|
|
25579
|
+
free() {
|
|
25580
|
+
const ptr = this.__destroy_into_raw();
|
|
25581
|
+
wasm.__wbg_threeinside_free(ptr, 0);
|
|
25582
|
+
}
|
|
25583
|
+
/**
|
|
25584
|
+
* @param {Float64Array} open
|
|
25585
|
+
* @param {Float64Array} high
|
|
25586
|
+
* @param {Float64Array} low
|
|
25587
|
+
* @param {Float64Array} close
|
|
25588
|
+
* @returns {Float64Array}
|
|
25589
|
+
*/
|
|
25590
|
+
batch(open, high, low, close) {
|
|
25591
|
+
try {
|
|
25592
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
25593
|
+
const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
|
|
25594
|
+
const len0 = WASM_VECTOR_LEN;
|
|
25595
|
+
const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
25596
|
+
const len1 = WASM_VECTOR_LEN;
|
|
25597
|
+
const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
25598
|
+
const len2 = WASM_VECTOR_LEN;
|
|
25599
|
+
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
25600
|
+
const len3 = WASM_VECTOR_LEN;
|
|
25601
|
+
wasm.threeinside_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
23793
25602
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
23794
25603
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
23795
25604
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -24368,6 +26177,89 @@ export class TickIndex {
|
|
|
24368
26177
|
}
|
|
24369
26178
|
if (Symbol.dispose) TickIndex.prototype[Symbol.dispose] = TickIndex.prototype.free;
|
|
24370
26179
|
|
|
26180
|
+
export class TimeOfDayReturnProfile {
|
|
26181
|
+
__destroy_into_raw() {
|
|
26182
|
+
const ptr = this.__wbg_ptr;
|
|
26183
|
+
this.__wbg_ptr = 0;
|
|
26184
|
+
TimeOfDayReturnProfileFinalization.unregister(this);
|
|
26185
|
+
return ptr;
|
|
26186
|
+
}
|
|
26187
|
+
free() {
|
|
26188
|
+
const ptr = this.__destroy_into_raw();
|
|
26189
|
+
wasm.__wbg_timeofdayreturnprofile_free(ptr, 0);
|
|
26190
|
+
}
|
|
26191
|
+
/**
|
|
26192
|
+
* @returns {boolean}
|
|
26193
|
+
*/
|
|
26194
|
+
isReady() {
|
|
26195
|
+
const ret = wasm.timeofdayreturnprofile_isReady(this.__wbg_ptr);
|
|
26196
|
+
return ret !== 0;
|
|
26197
|
+
}
|
|
26198
|
+
/**
|
|
26199
|
+
* @param {number} buckets
|
|
26200
|
+
* @param {number} utc_offset_minutes
|
|
26201
|
+
*/
|
|
26202
|
+
constructor(buckets, utc_offset_minutes) {
|
|
26203
|
+
try {
|
|
26204
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
26205
|
+
wasm.timeofdayreturnprofile_new(retptr, buckets, utc_offset_minutes);
|
|
26206
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
26207
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
26208
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
26209
|
+
if (r2) {
|
|
26210
|
+
throw takeObject(r1);
|
|
26211
|
+
}
|
|
26212
|
+
this.__wbg_ptr = r0;
|
|
26213
|
+
TimeOfDayReturnProfileFinalization.register(this, this.__wbg_ptr, this);
|
|
26214
|
+
return this;
|
|
26215
|
+
} finally {
|
|
26216
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
26217
|
+
}
|
|
26218
|
+
}
|
|
26219
|
+
reset() {
|
|
26220
|
+
wasm.timeofdayreturnprofile_reset(this.__wbg_ptr);
|
|
26221
|
+
}
|
|
26222
|
+
/**
|
|
26223
|
+
* @param {number} open
|
|
26224
|
+
* @param {number} high
|
|
26225
|
+
* @param {number} low
|
|
26226
|
+
* @param {number} close
|
|
26227
|
+
* @param {number} volume
|
|
26228
|
+
* @param {bigint} timestamp
|
|
26229
|
+
* @returns {any}
|
|
26230
|
+
*/
|
|
26231
|
+
update(open, high, low, close, volume, timestamp) {
|
|
26232
|
+
try {
|
|
26233
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
26234
|
+
wasm.timeofdayreturnprofile_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
26235
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
26236
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
26237
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
26238
|
+
if (r2) {
|
|
26239
|
+
throw takeObject(r1);
|
|
26240
|
+
}
|
|
26241
|
+
return takeObject(r0);
|
|
26242
|
+
} finally {
|
|
26243
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
26244
|
+
}
|
|
26245
|
+
}
|
|
26246
|
+
/**
|
|
26247
|
+
* @returns {number}
|
|
26248
|
+
*/
|
|
26249
|
+
utcOffsetMinutes() {
|
|
26250
|
+
const ret = wasm.timeofdayreturnprofile_utcOffsetMinutes(this.__wbg_ptr);
|
|
26251
|
+
return ret;
|
|
26252
|
+
}
|
|
26253
|
+
/**
|
|
26254
|
+
* @returns {number}
|
|
26255
|
+
*/
|
|
26256
|
+
warmupPeriod() {
|
|
26257
|
+
const ret = wasm.timeofdayreturnprofile_warmupPeriod(this.__wbg_ptr);
|
|
26258
|
+
return ret >>> 0;
|
|
26259
|
+
}
|
|
26260
|
+
}
|
|
26261
|
+
if (Symbol.dispose) TimeOfDayReturnProfile.prototype[Symbol.dispose] = TimeOfDayReturnProfile.prototype.free;
|
|
26262
|
+
|
|
24371
26263
|
export class TpoProfile {
|
|
24372
26264
|
__destroy_into_raw() {
|
|
24373
26265
|
const ptr = this.__wbg_ptr;
|
|
@@ -24630,6 +26522,96 @@ export class TreynorRatio {
|
|
|
24630
26522
|
}
|
|
24631
26523
|
if (Symbol.dispose) TreynorRatio.prototype[Symbol.dispose] = TreynorRatio.prototype.free;
|
|
24632
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
|
+
|
|
24633
26615
|
export class Trin {
|
|
24634
26616
|
__destroy_into_raw() {
|
|
24635
26617
|
const ptr = this.__wbg_ptr;
|
|
@@ -24658,24 +26640,114 @@ export class Trin {
|
|
|
24658
26640
|
wasm.trin_reset(this.__wbg_ptr);
|
|
24659
26641
|
}
|
|
24660
26642
|
/**
|
|
24661
|
-
* @param {Float64Array} change
|
|
24662
|
-
* @param {Float64Array} volume
|
|
24663
|
-
* @param {Float64Array} new_high
|
|
24664
|
-
* @param {Float64Array} new_low
|
|
26643
|
+
* @param {Float64Array} change
|
|
26644
|
+
* @param {Float64Array} volume
|
|
26645
|
+
* @param {Float64Array} new_high
|
|
26646
|
+
* @param {Float64Array} new_low
|
|
26647
|
+
* @returns {number | undefined}
|
|
26648
|
+
*/
|
|
26649
|
+
update(change, volume, new_high, new_low) {
|
|
26650
|
+
try {
|
|
26651
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
26652
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
26653
|
+
const len0 = WASM_VECTOR_LEN;
|
|
26654
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
26655
|
+
const len1 = WASM_VECTOR_LEN;
|
|
26656
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
26657
|
+
const len2 = WASM_VECTOR_LEN;
|
|
26658
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
26659
|
+
const len3 = WASM_VECTOR_LEN;
|
|
26660
|
+
wasm.trin_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
26661
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
26662
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
26663
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
26664
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
26665
|
+
if (r5) {
|
|
26666
|
+
throw takeObject(r4);
|
|
26667
|
+
}
|
|
26668
|
+
return r0 === 0 ? undefined : r2;
|
|
26669
|
+
} finally {
|
|
26670
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
26671
|
+
}
|
|
26672
|
+
}
|
|
26673
|
+
/**
|
|
26674
|
+
* @returns {number}
|
|
26675
|
+
*/
|
|
26676
|
+
warmupPeriod() {
|
|
26677
|
+
const ret = wasm.trin_warmupPeriod(this.__wbg_ptr);
|
|
26678
|
+
return ret >>> 0;
|
|
26679
|
+
}
|
|
26680
|
+
}
|
|
26681
|
+
if (Symbol.dispose) Trin.prototype[Symbol.dispose] = Trin.prototype.free;
|
|
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
|
|
24665
26745
|
* @returns {number | undefined}
|
|
24666
26746
|
*/
|
|
24667
|
-
update(
|
|
26747
|
+
update(open, high, low, close) {
|
|
24668
26748
|
try {
|
|
24669
26749
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
24670
|
-
|
|
24671
|
-
const len0 = WASM_VECTOR_LEN;
|
|
24672
|
-
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
24673
|
-
const len1 = WASM_VECTOR_LEN;
|
|
24674
|
-
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
24675
|
-
const len2 = WASM_VECTOR_LEN;
|
|
24676
|
-
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
24677
|
-
const len3 = WASM_VECTOR_LEN;
|
|
24678
|
-
wasm.trin_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
26750
|
+
wasm.tripletopbottom_update(retptr, this.__wbg_ptr, open, high, low, close);
|
|
24679
26751
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
24680
26752
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
24681
26753
|
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
@@ -24692,11 +26764,11 @@ export class Trin {
|
|
|
24692
26764
|
* @returns {number}
|
|
24693
26765
|
*/
|
|
24694
26766
|
warmupPeriod() {
|
|
24695
|
-
const ret = wasm.
|
|
26767
|
+
const ret = wasm.tripletopbottom_warmupPeriod(this.__wbg_ptr);
|
|
24696
26768
|
return ret >>> 0;
|
|
24697
26769
|
}
|
|
24698
26770
|
}
|
|
24699
|
-
if (Symbol.dispose)
|
|
26771
|
+
if (Symbol.dispose) TripleTopBottom.prototype[Symbol.dispose] = TripleTopBottom.prototype.free;
|
|
24700
26772
|
|
|
24701
26773
|
export class TrueRange {
|
|
24702
26774
|
__destroy_into_raw() {
|
|
@@ -24872,6 +26944,84 @@ export class TtmSqueeze {
|
|
|
24872
26944
|
}
|
|
24873
26945
|
if (Symbol.dispose) TtmSqueeze.prototype[Symbol.dispose] = TtmSqueeze.prototype.free;
|
|
24874
26946
|
|
|
26947
|
+
export class TurnOfMonth {
|
|
26948
|
+
__destroy_into_raw() {
|
|
26949
|
+
const ptr = this.__wbg_ptr;
|
|
26950
|
+
this.__wbg_ptr = 0;
|
|
26951
|
+
TurnOfMonthFinalization.unregister(this);
|
|
26952
|
+
return ptr;
|
|
26953
|
+
}
|
|
26954
|
+
free() {
|
|
26955
|
+
const ptr = this.__destroy_into_raw();
|
|
26956
|
+
wasm.__wbg_turnofmonth_free(ptr, 0);
|
|
26957
|
+
}
|
|
26958
|
+
/**
|
|
26959
|
+
* @returns {boolean}
|
|
26960
|
+
*/
|
|
26961
|
+
isReady() {
|
|
26962
|
+
const ret = wasm.turnofmonth_isReady(this.__wbg_ptr);
|
|
26963
|
+
return ret !== 0;
|
|
26964
|
+
}
|
|
26965
|
+
/**
|
|
26966
|
+
* @param {number} n_first
|
|
26967
|
+
* @param {number} n_last
|
|
26968
|
+
* @param {number} utc_offset_minutes
|
|
26969
|
+
*/
|
|
26970
|
+
constructor(n_first, n_last, utc_offset_minutes) {
|
|
26971
|
+
try {
|
|
26972
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
26973
|
+
wasm.turnofmonth_new(retptr, n_first, n_last, utc_offset_minutes);
|
|
26974
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
26975
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
26976
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
26977
|
+
if (r2) {
|
|
26978
|
+
throw takeObject(r1);
|
|
26979
|
+
}
|
|
26980
|
+
this.__wbg_ptr = r0;
|
|
26981
|
+
TurnOfMonthFinalization.register(this, this.__wbg_ptr, this);
|
|
26982
|
+
return this;
|
|
26983
|
+
} finally {
|
|
26984
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
26985
|
+
}
|
|
26986
|
+
}
|
|
26987
|
+
reset() {
|
|
26988
|
+
wasm.turnofmonth_reset(this.__wbg_ptr);
|
|
26989
|
+
}
|
|
26990
|
+
/**
|
|
26991
|
+
* @param {number} open
|
|
26992
|
+
* @param {number} high
|
|
26993
|
+
* @param {number} low
|
|
26994
|
+
* @param {number} close
|
|
26995
|
+
* @param {number} volume
|
|
26996
|
+
* @param {bigint} timestamp
|
|
26997
|
+
* @returns {number | undefined}
|
|
26998
|
+
*/
|
|
26999
|
+
update(open, high, low, close, volume, timestamp) {
|
|
27000
|
+
try {
|
|
27001
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
27002
|
+
wasm.turnofmonth_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
27003
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
27004
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
27005
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
27006
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
27007
|
+
if (r5) {
|
|
27008
|
+
throw takeObject(r4);
|
|
27009
|
+
}
|
|
27010
|
+
return r0 === 0 ? undefined : r2;
|
|
27011
|
+
} finally {
|
|
27012
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
27013
|
+
}
|
|
27014
|
+
}
|
|
27015
|
+
/**
|
|
27016
|
+
* @returns {number}
|
|
27017
|
+
*/
|
|
27018
|
+
warmupPeriod() {
|
|
27019
|
+
const ret = wasm.turnofmonth_warmupPeriod(this.__wbg_ptr);
|
|
27020
|
+
return ret >>> 0;
|
|
27021
|
+
}
|
|
27022
|
+
}
|
|
27023
|
+
if (Symbol.dispose) TurnOfMonth.prototype[Symbol.dispose] = TurnOfMonth.prototype.free;
|
|
27024
|
+
|
|
24875
27025
|
export class Tweezer {
|
|
24876
27026
|
__destroy_into_raw() {
|
|
24877
27027
|
const ptr = this.__wbg_ptr;
|
|
@@ -26469,6 +28619,89 @@ export class VoltyStop {
|
|
|
26469
28619
|
}
|
|
26470
28620
|
if (Symbol.dispose) VoltyStop.prototype[Symbol.dispose] = VoltyStop.prototype.free;
|
|
26471
28621
|
|
|
28622
|
+
export class VolumeByTimeProfile {
|
|
28623
|
+
__destroy_into_raw() {
|
|
28624
|
+
const ptr = this.__wbg_ptr;
|
|
28625
|
+
this.__wbg_ptr = 0;
|
|
28626
|
+
VolumeByTimeProfileFinalization.unregister(this);
|
|
28627
|
+
return ptr;
|
|
28628
|
+
}
|
|
28629
|
+
free() {
|
|
28630
|
+
const ptr = this.__destroy_into_raw();
|
|
28631
|
+
wasm.__wbg_volumebytimeprofile_free(ptr, 0);
|
|
28632
|
+
}
|
|
28633
|
+
/**
|
|
28634
|
+
* @returns {boolean}
|
|
28635
|
+
*/
|
|
28636
|
+
isReady() {
|
|
28637
|
+
const ret = wasm.volumebytimeprofile_isReady(this.__wbg_ptr);
|
|
28638
|
+
return ret !== 0;
|
|
28639
|
+
}
|
|
28640
|
+
/**
|
|
28641
|
+
* @param {number} buckets
|
|
28642
|
+
* @param {number} utc_offset_minutes
|
|
28643
|
+
*/
|
|
28644
|
+
constructor(buckets, utc_offset_minutes) {
|
|
28645
|
+
try {
|
|
28646
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
28647
|
+
wasm.volumebytimeprofile_new(retptr, buckets, utc_offset_minutes);
|
|
28648
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
28649
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
28650
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
28651
|
+
if (r2) {
|
|
28652
|
+
throw takeObject(r1);
|
|
28653
|
+
}
|
|
28654
|
+
this.__wbg_ptr = r0;
|
|
28655
|
+
VolumeByTimeProfileFinalization.register(this, this.__wbg_ptr, this);
|
|
28656
|
+
return this;
|
|
28657
|
+
} finally {
|
|
28658
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
28659
|
+
}
|
|
28660
|
+
}
|
|
28661
|
+
reset() {
|
|
28662
|
+
wasm.volumebytimeprofile_reset(this.__wbg_ptr);
|
|
28663
|
+
}
|
|
28664
|
+
/**
|
|
28665
|
+
* @param {number} open
|
|
28666
|
+
* @param {number} high
|
|
28667
|
+
* @param {number} low
|
|
28668
|
+
* @param {number} close
|
|
28669
|
+
* @param {number} volume
|
|
28670
|
+
* @param {bigint} timestamp
|
|
28671
|
+
* @returns {any}
|
|
28672
|
+
*/
|
|
28673
|
+
update(open, high, low, close, volume, timestamp) {
|
|
28674
|
+
try {
|
|
28675
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
28676
|
+
wasm.volumebytimeprofile_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
28677
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
28678
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
28679
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
28680
|
+
if (r2) {
|
|
28681
|
+
throw takeObject(r1);
|
|
28682
|
+
}
|
|
28683
|
+
return takeObject(r0);
|
|
28684
|
+
} finally {
|
|
28685
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
28686
|
+
}
|
|
28687
|
+
}
|
|
28688
|
+
/**
|
|
28689
|
+
* @returns {number}
|
|
28690
|
+
*/
|
|
28691
|
+
utcOffsetMinutes() {
|
|
28692
|
+
const ret = wasm.volumebytimeprofile_utcOffsetMinutes(this.__wbg_ptr);
|
|
28693
|
+
return ret;
|
|
28694
|
+
}
|
|
28695
|
+
/**
|
|
28696
|
+
* @returns {number}
|
|
28697
|
+
*/
|
|
28698
|
+
warmupPeriod() {
|
|
28699
|
+
const ret = wasm.volumebytimeprofile_warmupPeriod(this.__wbg_ptr);
|
|
28700
|
+
return ret >>> 0;
|
|
28701
|
+
}
|
|
28702
|
+
}
|
|
28703
|
+
if (Symbol.dispose) VolumeByTimeProfile.prototype[Symbol.dispose] = VolumeByTimeProfile.prototype.free;
|
|
28704
|
+
|
|
26472
28705
|
export class VolumeOscillator {
|
|
26473
28706
|
__destroy_into_raw() {
|
|
26474
28707
|
const ptr = this.__wbg_ptr;
|
|
@@ -27094,6 +29327,96 @@ export class WaveTrend {
|
|
|
27094
29327
|
}
|
|
27095
29328
|
if (Symbol.dispose) WaveTrend.prototype[Symbol.dispose] = WaveTrend.prototype.free;
|
|
27096
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
|
+
|
|
27097
29420
|
export class WeightedClose {
|
|
27098
29421
|
__destroy_into_raw() {
|
|
27099
29422
|
const ptr = this.__wbg_ptr;
|
|
@@ -28125,6 +30448,9 @@ export function __wbindgen_object_drop_ref(arg0) {
|
|
|
28125
30448
|
const AbandonedBabyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28126
30449
|
? { register: () => {}, unregister: () => {} }
|
|
28127
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));
|
|
28128
30454
|
const AbsoluteBreadthIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28129
30455
|
? { register: () => {}, unregister: () => {} }
|
|
28130
30456
|
: new FinalizationRegistry(ptr => wasm.__wbg_absolutebreadthindex_free(ptr, 1));
|
|
@@ -28203,6 +30529,9 @@ const AtrTrailingStopFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
28203
30529
|
const AutocorrelationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28204
30530
|
? { register: () => {}, unregister: () => {} }
|
|
28205
30531
|
: new FinalizationRegistry(ptr => wasm.__wbg_autocorrelation_free(ptr, 1));
|
|
30532
|
+
const AverageDailyRangeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
30533
|
+
? { register: () => {}, unregister: () => {} }
|
|
30534
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_averagedailyrange_free(ptr, 1));
|
|
28206
30535
|
const AverageDrawdownFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28207
30536
|
? { register: () => {}, unregister: () => {} }
|
|
28208
30537
|
: new FinalizationRegistry(ptr => wasm.__wbg_averagedrawdown_free(ptr, 1));
|
|
@@ -28212,6 +30541,9 @@ const AVGPRICEFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28212
30541
|
const BalanceOfPowerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28213
30542
|
? { register: () => {}, unregister: () => {} }
|
|
28214
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));
|
|
28215
30547
|
const BollingerBandsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28216
30548
|
? { register: () => {}, unregister: () => {} }
|
|
28217
30549
|
: new FinalizationRegistry(ptr => wasm.__wbg_bollingerbands_free(ptr, 1));
|
|
@@ -28236,6 +30568,9 @@ const BreakawayFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28236
30568
|
const BullishPercentIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28237
30569
|
? { register: () => {}, unregister: () => {} }
|
|
28238
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));
|
|
28239
30574
|
const CalendarSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28240
30575
|
? { register: () => {}, unregister: () => {} }
|
|
28241
30576
|
: new FinalizationRegistry(ptr => wasm.__wbg_calendarspread_free(ptr, 1));
|
|
@@ -28302,15 +30637,27 @@ const CoppockFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28302
30637
|
const CounterattackFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28303
30638
|
? { register: () => {}, unregister: () => {} }
|
|
28304
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));
|
|
28305
30643
|
const CumulativeVolumeDeltaFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28306
30644
|
? { register: () => {}, unregister: () => {} }
|
|
28307
30645
|
: new FinalizationRegistry(ptr => wasm.__wbg_cumulativevolumedelta_free(ptr, 1));
|
|
28308
30646
|
const CumulativeVolumeIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28309
30647
|
? { register: () => {}, unregister: () => {} }
|
|
28310
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));
|
|
28311
30652
|
const CyberneticCycleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28312
30653
|
? { register: () => {}, unregister: () => {} }
|
|
28313
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));
|
|
30658
|
+
const DayOfWeekProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
30659
|
+
? { register: () => {}, unregister: () => {} }
|
|
30660
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_dayofweekprofile_free(ptr, 1));
|
|
28314
30661
|
const DecyclerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28315
30662
|
? { register: () => {}, unregister: () => {} }
|
|
28316
30663
|
: new FinalizationRegistry(ptr => wasm.__wbg_decycler_free(ptr, 1));
|
|
@@ -28350,6 +30697,9 @@ const DonchianStopFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28350
30697
|
const DoubleBollingerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28351
30698
|
? { register: () => {}, unregister: () => {} }
|
|
28352
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));
|
|
28353
30703
|
const DownsideGapThreeMethodsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28354
30704
|
? { register: () => {}, unregister: () => {} }
|
|
28355
30705
|
: new FinalizationRegistry(ptr => wasm.__wbg_downsidegapthreemethods_free(ptr, 1));
|
|
@@ -28404,6 +30754,9 @@ const FibonacciPivotsFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
28404
30754
|
const FisherTransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28405
30755
|
? { register: () => {}, unregister: () => {} }
|
|
28406
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));
|
|
28407
30760
|
const FootprintFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28408
30761
|
? { register: () => {}, unregister: () => {} }
|
|
28409
30762
|
: new FinalizationRegistry(ptr => wasm.__wbg_footprint_free(ptr, 1));
|
|
@@ -28437,6 +30790,9 @@ const GapSideBySideWhiteFinalization = (typeof FinalizationRegistry === 'undefin
|
|
|
28437
30790
|
const GarmanKlassVolatilityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28438
30791
|
? { register: () => {}, unregister: () => {} }
|
|
28439
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));
|
|
28440
30796
|
const GrangerCausalityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28441
30797
|
? { register: () => {}, unregister: () => {} }
|
|
28442
30798
|
: new FinalizationRegistry(ptr => wasm.__wbg_grangercausality_free(ptr, 1));
|
|
@@ -28452,6 +30808,9 @@ const HangingManFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28452
30808
|
const HaramiFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28453
30809
|
? { register: () => {}, unregister: () => {} }
|
|
28454
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));
|
|
28455
30814
|
const HeikinAshiFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28456
30815
|
? { register: () => {}, unregister: () => {} }
|
|
28457
30816
|
: new FinalizationRegistry(ptr => wasm.__wbg_heikinashi_free(ptr, 1));
|
|
@@ -28518,6 +30877,9 @@ const InitialBalanceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28518
30877
|
const InstantaneousTrendlineFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28519
30878
|
? { register: () => {}, unregister: () => {} }
|
|
28520
30879
|
: new FinalizationRegistry(ptr => wasm.__wbg_instantaneoustrendline_free(ptr, 1));
|
|
30880
|
+
const IntradayVolatilityProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
30881
|
+
? { register: () => {}, unregister: () => {} }
|
|
30882
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intradayvolatilityprofile_free(ptr, 1));
|
|
28521
30883
|
const InverseFisherTransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28522
30884
|
? { register: () => {}, unregister: () => {} }
|
|
28523
30885
|
: new FinalizationRegistry(ptr => wasm.__wbg_inversefishertransform_free(ptr, 1));
|
|
@@ -28716,6 +31078,12 @@ const OrderBookImbalanceTopNFinalization = (typeof FinalizationRegistry === 'und
|
|
|
28716
31078
|
const OuHalfLifeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28717
31079
|
? { register: () => {}, unregister: () => {} }
|
|
28718
31080
|
: new FinalizationRegistry(ptr => wasm.__wbg_ouhalflife_free(ptr, 1));
|
|
31081
|
+
const OvernightGapFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31082
|
+
? { register: () => {}, unregister: () => {} }
|
|
31083
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_overnightgap_free(ptr, 1));
|
|
31084
|
+
const OvernightIntradayReturnFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31085
|
+
? { register: () => {}, unregister: () => {} }
|
|
31086
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_overnightintradayreturn_free(ptr, 1));
|
|
28719
31087
|
const PainIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28720
31088
|
? { register: () => {}, unregister: () => {} }
|
|
28721
31089
|
: new FinalizationRegistry(ptr => wasm.__wbg_painindex_free(ptr, 1));
|
|
@@ -28782,6 +31150,9 @@ const RealizedSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28782
31150
|
const RecoveryFactorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28783
31151
|
? { register: () => {}, unregister: () => {} }
|
|
28784
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));
|
|
28785
31156
|
const RelativeStrengthABFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28786
31157
|
? { register: () => {}, unregister: () => {} }
|
|
28787
31158
|
: new FinalizationRegistry(ptr => wasm.__wbg_relativestrengthab_free(ptr, 1));
|
|
@@ -28839,9 +31210,24 @@ const RWIFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28839
31210
|
const SAREXTFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28840
31211
|
? { register: () => {}, unregister: () => {} }
|
|
28841
31212
|
: new FinalizationRegistry(ptr => wasm.__wbg_sarext_free(ptr, 1));
|
|
31213
|
+
const SeasonalZScoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31214
|
+
? { register: () => {}, unregister: () => {} }
|
|
31215
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_seasonalzscore_free(ptr, 1));
|
|
28842
31216
|
const SeparatingLinesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28843
31217
|
? { register: () => {}, unregister: () => {} }
|
|
28844
31218
|
: new FinalizationRegistry(ptr => wasm.__wbg_separatinglines_free(ptr, 1));
|
|
31219
|
+
const SessionHighLowFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31220
|
+
? { register: () => {}, unregister: () => {} }
|
|
31221
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sessionhighlow_free(ptr, 1));
|
|
31222
|
+
const SessionRangeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31223
|
+
? { register: () => {}, unregister: () => {} }
|
|
31224
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sessionrange_free(ptr, 1));
|
|
31225
|
+
const SessionVwapFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31226
|
+
? { register: () => {}, unregister: () => {} }
|
|
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));
|
|
28845
31231
|
const SharpeRatioFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28846
31232
|
? { register: () => {}, unregister: () => {} }
|
|
28847
31233
|
: new FinalizationRegistry(ptr => wasm.__wbg_sharperatio_free(ptr, 1));
|
|
@@ -28974,6 +31360,9 @@ const TEMAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28974
31360
|
const TermStructureBasisFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28975
31361
|
? { register: () => {}, unregister: () => {} }
|
|
28976
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));
|
|
28977
31366
|
const ThreeInsideFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28978
31367
|
? { register: () => {}, unregister: () => {} }
|
|
28979
31368
|
: new FinalizationRegistry(ptr => wasm.__wbg_threeinside_free(ptr, 1));
|
|
@@ -28998,6 +31387,9 @@ const TickIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28998
31387
|
const TIIFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28999
31388
|
? { register: () => {}, unregister: () => {} }
|
|
29000
31389
|
: new FinalizationRegistry(ptr => wasm.__wbg_tii_free(ptr, 1));
|
|
31390
|
+
const TimeOfDayReturnProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31391
|
+
? { register: () => {}, unregister: () => {} }
|
|
31392
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_timeofdayreturnprofile_free(ptr, 1));
|
|
29001
31393
|
const TpoProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29002
31394
|
? { register: () => {}, unregister: () => {} }
|
|
29003
31395
|
: new FinalizationRegistry(ptr => wasm.__wbg_tpoprofile_free(ptr, 1));
|
|
@@ -29007,12 +31399,18 @@ const TradeImbalanceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
29007
31399
|
const TreynorRatioFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29008
31400
|
? { register: () => {}, unregister: () => {} }
|
|
29009
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));
|
|
29010
31405
|
const TRIMAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29011
31406
|
? { register: () => {}, unregister: () => {} }
|
|
29012
31407
|
: new FinalizationRegistry(ptr => wasm.__wbg_trima_free(ptr, 1));
|
|
29013
31408
|
const TrinFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29014
31409
|
? { register: () => {}, unregister: () => {} }
|
|
29015
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));
|
|
29016
31414
|
const TRIXFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29017
31415
|
? { register: () => {}, unregister: () => {} }
|
|
29018
31416
|
: new FinalizationRegistry(ptr => wasm.__wbg_trix_free(ptr, 1));
|
|
@@ -29031,6 +31429,9 @@ const TSVFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
29031
31429
|
const TtmSqueezeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29032
31430
|
? { register: () => {}, unregister: () => {} }
|
|
29033
31431
|
: new FinalizationRegistry(ptr => wasm.__wbg_ttmsqueeze_free(ptr, 1));
|
|
31432
|
+
const TurnOfMonthFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31433
|
+
? { register: () => {}, unregister: () => {} }
|
|
31434
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_turnofmonth_free(ptr, 1));
|
|
29034
31435
|
const TweezerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29035
31436
|
? { register: () => {}, unregister: () => {} }
|
|
29036
31437
|
: new FinalizationRegistry(ptr => wasm.__wbg_tweezer_free(ptr, 1));
|
|
@@ -29079,6 +31480,9 @@ const VIDYAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
29079
31480
|
const VoltyStopFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29080
31481
|
? { register: () => {}, unregister: () => {} }
|
|
29081
31482
|
: new FinalizationRegistry(ptr => wasm.__wbg_voltystop_free(ptr, 1));
|
|
31483
|
+
const VolumeByTimeProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
31484
|
+
? { register: () => {}, unregister: () => {} }
|
|
31485
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_volumebytimeprofile_free(ptr, 1));
|
|
29082
31486
|
const VolumeOscillatorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29083
31487
|
? { register: () => {}, unregister: () => {} }
|
|
29084
31488
|
: new FinalizationRegistry(ptr => wasm.__wbg_volumeoscillator_free(ptr, 1));
|
|
@@ -29106,6 +31510,9 @@ const VZOFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
29106
31510
|
const WaveTrendFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29107
31511
|
? { register: () => {}, unregister: () => {} }
|
|
29108
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));
|
|
29109
31516
|
const WeightedCloseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29110
31517
|
? { register: () => {}, unregister: () => {} }
|
|
29111
31518
|
: new FinalizationRegistry(ptr => wasm.__wbg_weightedclose_free(ptr, 1));
|