wickra-wasm 0.6.2 → 0.6.4
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 +7 -7
- package/package.json +1 -1
- package/wickra_wasm.d.ts +143 -0
- package/wickra_wasm.js +1 -1
- package/wickra_wasm_bg.js +1112 -0
- package/wickra_wasm_bg.wasm +0 -0
package/wickra_wasm_bg.js
CHANGED
|
@@ -3269,6 +3269,110 @@ export class BetaNeutralSpread {
|
|
|
3269
3269
|
}
|
|
3270
3270
|
if (Symbol.dispose) BetaNeutralSpread.prototype[Symbol.dispose] = BetaNeutralSpread.prototype.free;
|
|
3271
3271
|
|
|
3272
|
+
export class BetterVolume {
|
|
3273
|
+
__destroy_into_raw() {
|
|
3274
|
+
const ptr = this.__wbg_ptr;
|
|
3275
|
+
this.__wbg_ptr = 0;
|
|
3276
|
+
BetterVolumeFinalization.unregister(this);
|
|
3277
|
+
return ptr;
|
|
3278
|
+
}
|
|
3279
|
+
free() {
|
|
3280
|
+
const ptr = this.__destroy_into_raw();
|
|
3281
|
+
wasm.__wbg_bettervolume_free(ptr, 0);
|
|
3282
|
+
}
|
|
3283
|
+
/**
|
|
3284
|
+
* @param {Float64Array} high
|
|
3285
|
+
* @param {Float64Array} low
|
|
3286
|
+
* @param {Float64Array} close
|
|
3287
|
+
* @param {Float64Array} volume
|
|
3288
|
+
* @returns {Float64Array}
|
|
3289
|
+
*/
|
|
3290
|
+
batch(high, low, close, volume) {
|
|
3291
|
+
try {
|
|
3292
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3293
|
+
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
3294
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3295
|
+
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
3296
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3297
|
+
const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
3298
|
+
const len2 = WASM_VECTOR_LEN;
|
|
3299
|
+
const ptr3 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
3300
|
+
const len3 = WASM_VECTOR_LEN;
|
|
3301
|
+
wasm.bettervolume_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
3302
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3303
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3304
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
3305
|
+
if (r2) {
|
|
3306
|
+
throw takeObject(r1);
|
|
3307
|
+
}
|
|
3308
|
+
return takeObject(r0);
|
|
3309
|
+
} finally {
|
|
3310
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3311
|
+
}
|
|
3312
|
+
}
|
|
3313
|
+
/**
|
|
3314
|
+
* @returns {boolean}
|
|
3315
|
+
*/
|
|
3316
|
+
isReady() {
|
|
3317
|
+
const ret = wasm.bettervolume_isReady(this.__wbg_ptr);
|
|
3318
|
+
return ret !== 0;
|
|
3319
|
+
}
|
|
3320
|
+
/**
|
|
3321
|
+
* @param {number} period
|
|
3322
|
+
*/
|
|
3323
|
+
constructor(period) {
|
|
3324
|
+
try {
|
|
3325
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3326
|
+
wasm.bettervolume_new(retptr, period);
|
|
3327
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3328
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3329
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
3330
|
+
if (r2) {
|
|
3331
|
+
throw takeObject(r1);
|
|
3332
|
+
}
|
|
3333
|
+
this.__wbg_ptr = r0;
|
|
3334
|
+
BetterVolumeFinalization.register(this, this.__wbg_ptr, this);
|
|
3335
|
+
return this;
|
|
3336
|
+
} finally {
|
|
3337
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3338
|
+
}
|
|
3339
|
+
}
|
|
3340
|
+
reset() {
|
|
3341
|
+
wasm.bettervolume_reset(this.__wbg_ptr);
|
|
3342
|
+
}
|
|
3343
|
+
/**
|
|
3344
|
+
* @param {number} high
|
|
3345
|
+
* @param {number} low
|
|
3346
|
+
* @param {number} close
|
|
3347
|
+
* @param {number} volume
|
|
3348
|
+
* @returns {number | undefined}
|
|
3349
|
+
*/
|
|
3350
|
+
update(high, low, close, volume) {
|
|
3351
|
+
try {
|
|
3352
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
3353
|
+
wasm.bettervolume_update(retptr, this.__wbg_ptr, high, low, close, volume);
|
|
3354
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3355
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
3356
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
3357
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
3358
|
+
if (r5) {
|
|
3359
|
+
throw takeObject(r4);
|
|
3360
|
+
}
|
|
3361
|
+
return r0 === 0 ? undefined : r2;
|
|
3362
|
+
} finally {
|
|
3363
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
/**
|
|
3367
|
+
* @returns {number}
|
|
3368
|
+
*/
|
|
3369
|
+
warmupPeriod() {
|
|
3370
|
+
const ret = wasm.bettervolume_warmupPeriod(this.__wbg_ptr);
|
|
3371
|
+
return ret >>> 0;
|
|
3372
|
+
}
|
|
3373
|
+
}
|
|
3374
|
+
if (Symbol.dispose) BetterVolume.prototype[Symbol.dispose] = BetterVolume.prototype.free;
|
|
3375
|
+
|
|
3272
3376
|
export class BipowerVariation {
|
|
3273
3377
|
__destroy_into_raw() {
|
|
3274
3378
|
const ptr = this.__wbg_ptr;
|
|
@@ -14500,6 +14604,96 @@ export class InstantaneousTrendline {
|
|
|
14500
14604
|
}
|
|
14501
14605
|
if (Symbol.dispose) InstantaneousTrendline.prototype[Symbol.dispose] = InstantaneousTrendline.prototype.free;
|
|
14502
14606
|
|
|
14607
|
+
export class IntradayIntensity {
|
|
14608
|
+
__destroy_into_raw() {
|
|
14609
|
+
const ptr = this.__wbg_ptr;
|
|
14610
|
+
this.__wbg_ptr = 0;
|
|
14611
|
+
IntradayIntensityFinalization.unregister(this);
|
|
14612
|
+
return ptr;
|
|
14613
|
+
}
|
|
14614
|
+
free() {
|
|
14615
|
+
const ptr = this.__destroy_into_raw();
|
|
14616
|
+
wasm.__wbg_intradayintensity_free(ptr, 0);
|
|
14617
|
+
}
|
|
14618
|
+
/**
|
|
14619
|
+
* @param {Float64Array} high
|
|
14620
|
+
* @param {Float64Array} low
|
|
14621
|
+
* @param {Float64Array} close
|
|
14622
|
+
* @param {Float64Array} volume
|
|
14623
|
+
* @returns {Float64Array}
|
|
14624
|
+
*/
|
|
14625
|
+
batch(high, low, close, volume) {
|
|
14626
|
+
try {
|
|
14627
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
14628
|
+
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
14629
|
+
const len0 = WASM_VECTOR_LEN;
|
|
14630
|
+
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
14631
|
+
const len1 = WASM_VECTOR_LEN;
|
|
14632
|
+
const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
14633
|
+
const len2 = WASM_VECTOR_LEN;
|
|
14634
|
+
const ptr3 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
14635
|
+
const len3 = WASM_VECTOR_LEN;
|
|
14636
|
+
wasm.intradayintensity_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
14637
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
14638
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
14639
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
14640
|
+
if (r2) {
|
|
14641
|
+
throw takeObject(r1);
|
|
14642
|
+
}
|
|
14643
|
+
return takeObject(r0);
|
|
14644
|
+
} finally {
|
|
14645
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
14646
|
+
}
|
|
14647
|
+
}
|
|
14648
|
+
/**
|
|
14649
|
+
* @returns {boolean}
|
|
14650
|
+
*/
|
|
14651
|
+
isReady() {
|
|
14652
|
+
const ret = wasm.intradayintensity_isReady(this.__wbg_ptr);
|
|
14653
|
+
return ret !== 0;
|
|
14654
|
+
}
|
|
14655
|
+
constructor() {
|
|
14656
|
+
const ret = wasm.intradayintensity_new();
|
|
14657
|
+
this.__wbg_ptr = ret;
|
|
14658
|
+
IntradayIntensityFinalization.register(this, this.__wbg_ptr, this);
|
|
14659
|
+
return this;
|
|
14660
|
+
}
|
|
14661
|
+
reset() {
|
|
14662
|
+
wasm.intradayintensity_reset(this.__wbg_ptr);
|
|
14663
|
+
}
|
|
14664
|
+
/**
|
|
14665
|
+
* @param {number} high
|
|
14666
|
+
* @param {number} low
|
|
14667
|
+
* @param {number} close
|
|
14668
|
+
* @param {number} volume
|
|
14669
|
+
* @returns {number | undefined}
|
|
14670
|
+
*/
|
|
14671
|
+
update(high, low, close, volume) {
|
|
14672
|
+
try {
|
|
14673
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
14674
|
+
wasm.intradayintensity_update(retptr, this.__wbg_ptr, high, low, close, volume);
|
|
14675
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
14676
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
14677
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
14678
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
14679
|
+
if (r5) {
|
|
14680
|
+
throw takeObject(r4);
|
|
14681
|
+
}
|
|
14682
|
+
return r0 === 0 ? undefined : r2;
|
|
14683
|
+
} finally {
|
|
14684
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
14685
|
+
}
|
|
14686
|
+
}
|
|
14687
|
+
/**
|
|
14688
|
+
* @returns {number}
|
|
14689
|
+
*/
|
|
14690
|
+
warmupPeriod() {
|
|
14691
|
+
const ret = wasm.intradayintensity_warmupPeriod(this.__wbg_ptr);
|
|
14692
|
+
return ret >>> 0;
|
|
14693
|
+
}
|
|
14694
|
+
}
|
|
14695
|
+
if (Symbol.dispose) IntradayIntensity.prototype[Symbol.dispose] = IntradayIntensity.prototype.free;
|
|
14696
|
+
|
|
14503
14697
|
export class IntradayVolatilityProfile {
|
|
14504
14698
|
__destroy_into_raw() {
|
|
14505
14699
|
const ptr = this.__wbg_ptr;
|
|
@@ -14749,6 +14943,82 @@ export class InvertedHammer {
|
|
|
14749
14943
|
}
|
|
14750
14944
|
if (Symbol.dispose) InvertedHammer.prototype[Symbol.dispose] = InvertedHammer.prototype.free;
|
|
14751
14945
|
|
|
14946
|
+
export class JARQUEBERA {
|
|
14947
|
+
__destroy_into_raw() {
|
|
14948
|
+
const ptr = this.__wbg_ptr;
|
|
14949
|
+
this.__wbg_ptr = 0;
|
|
14950
|
+
JARQUEBERAFinalization.unregister(this);
|
|
14951
|
+
return ptr;
|
|
14952
|
+
}
|
|
14953
|
+
free() {
|
|
14954
|
+
const ptr = this.__destroy_into_raw();
|
|
14955
|
+
wasm.__wbg_jarquebera_free(ptr, 0);
|
|
14956
|
+
}
|
|
14957
|
+
/**
|
|
14958
|
+
* @param {Float64Array} prices
|
|
14959
|
+
* @returns {Float64Array}
|
|
14960
|
+
*/
|
|
14961
|
+
batch(prices) {
|
|
14962
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
14963
|
+
const len0 = WASM_VECTOR_LEN;
|
|
14964
|
+
const ret = wasm.jarquebera_batch(this.__wbg_ptr, ptr0, len0);
|
|
14965
|
+
return takeObject(ret);
|
|
14966
|
+
}
|
|
14967
|
+
/**
|
|
14968
|
+
* @returns {boolean}
|
|
14969
|
+
*/
|
|
14970
|
+
isReady() {
|
|
14971
|
+
const ret = wasm.jarquebera_isReady(this.__wbg_ptr);
|
|
14972
|
+
return ret !== 0;
|
|
14973
|
+
}
|
|
14974
|
+
/**
|
|
14975
|
+
* @param {number} period
|
|
14976
|
+
*/
|
|
14977
|
+
constructor(period) {
|
|
14978
|
+
try {
|
|
14979
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
14980
|
+
wasm.jarquebera_new(retptr, period);
|
|
14981
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
14982
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
14983
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
14984
|
+
if (r2) {
|
|
14985
|
+
throw takeObject(r1);
|
|
14986
|
+
}
|
|
14987
|
+
this.__wbg_ptr = r0;
|
|
14988
|
+
JARQUEBERAFinalization.register(this, this.__wbg_ptr, this);
|
|
14989
|
+
return this;
|
|
14990
|
+
} finally {
|
|
14991
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
14992
|
+
}
|
|
14993
|
+
}
|
|
14994
|
+
reset() {
|
|
14995
|
+
wasm.jarquebera_reset(this.__wbg_ptr);
|
|
14996
|
+
}
|
|
14997
|
+
/**
|
|
14998
|
+
* @param {number} value
|
|
14999
|
+
* @returns {number | undefined}
|
|
15000
|
+
*/
|
|
15001
|
+
update(value) {
|
|
15002
|
+
try {
|
|
15003
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
15004
|
+
wasm.jarquebera_update(retptr, this.__wbg_ptr, value);
|
|
15005
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
15006
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
15007
|
+
return r0 === 0 ? undefined : r2;
|
|
15008
|
+
} finally {
|
|
15009
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
15010
|
+
}
|
|
15011
|
+
}
|
|
15012
|
+
/**
|
|
15013
|
+
* @returns {number}
|
|
15014
|
+
*/
|
|
15015
|
+
warmupPeriod() {
|
|
15016
|
+
const ret = wasm.jarquebera_warmupPeriod(this.__wbg_ptr);
|
|
15017
|
+
return ret >>> 0;
|
|
15018
|
+
}
|
|
15019
|
+
}
|
|
15020
|
+
if (Symbol.dispose) JARQUEBERA.prototype[Symbol.dispose] = JARQUEBERA.prototype.free;
|
|
15021
|
+
|
|
14752
15022
|
export class JMA {
|
|
14753
15023
|
__destroy_into_raw() {
|
|
14754
15024
|
const ptr = this.__wbg_ptr;
|
|
@@ -15692,6 +15962,99 @@ export class Keltner {
|
|
|
15692
15962
|
}
|
|
15693
15963
|
if (Symbol.dispose) Keltner.prototype[Symbol.dispose] = Keltner.prototype.free;
|
|
15694
15964
|
|
|
15965
|
+
export class KendallTau {
|
|
15966
|
+
__destroy_into_raw() {
|
|
15967
|
+
const ptr = this.__wbg_ptr;
|
|
15968
|
+
this.__wbg_ptr = 0;
|
|
15969
|
+
KendallTauFinalization.unregister(this);
|
|
15970
|
+
return ptr;
|
|
15971
|
+
}
|
|
15972
|
+
free() {
|
|
15973
|
+
const ptr = this.__destroy_into_raw();
|
|
15974
|
+
wasm.__wbg_kendalltau_free(ptr, 0);
|
|
15975
|
+
}
|
|
15976
|
+
/**
|
|
15977
|
+
* Batch over two equally-sized arrays. Returns one `f64` per
|
|
15978
|
+
* input position (`NaN` during warmup).
|
|
15979
|
+
* @param {Float64Array} x
|
|
15980
|
+
* @param {Float64Array} y
|
|
15981
|
+
* @returns {Float64Array}
|
|
15982
|
+
*/
|
|
15983
|
+
batch(x, y) {
|
|
15984
|
+
try {
|
|
15985
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
15986
|
+
const ptr0 = passArrayF64ToWasm0(x, wasm.__wbindgen_export3);
|
|
15987
|
+
const len0 = WASM_VECTOR_LEN;
|
|
15988
|
+
const ptr1 = passArrayF64ToWasm0(y, wasm.__wbindgen_export3);
|
|
15989
|
+
const len1 = WASM_VECTOR_LEN;
|
|
15990
|
+
wasm.kendalltau_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
15991
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
15992
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
15993
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
15994
|
+
if (r2) {
|
|
15995
|
+
throw takeObject(r1);
|
|
15996
|
+
}
|
|
15997
|
+
return takeObject(r0);
|
|
15998
|
+
} finally {
|
|
15999
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
16000
|
+
}
|
|
16001
|
+
}
|
|
16002
|
+
/**
|
|
16003
|
+
* @returns {boolean}
|
|
16004
|
+
*/
|
|
16005
|
+
isReady() {
|
|
16006
|
+
const ret = wasm.kendalltau_isReady(this.__wbg_ptr);
|
|
16007
|
+
return ret !== 0;
|
|
16008
|
+
}
|
|
16009
|
+
/**
|
|
16010
|
+
* @param {number} period
|
|
16011
|
+
*/
|
|
16012
|
+
constructor(period) {
|
|
16013
|
+
try {
|
|
16014
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
16015
|
+
wasm.kendalltau_new(retptr, period);
|
|
16016
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16017
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
16018
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
16019
|
+
if (r2) {
|
|
16020
|
+
throw takeObject(r1);
|
|
16021
|
+
}
|
|
16022
|
+
this.__wbg_ptr = r0;
|
|
16023
|
+
KendallTauFinalization.register(this, this.__wbg_ptr, this);
|
|
16024
|
+
return this;
|
|
16025
|
+
} finally {
|
|
16026
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
16027
|
+
}
|
|
16028
|
+
}
|
|
16029
|
+
reset() {
|
|
16030
|
+
wasm.kendalltau_reset(this.__wbg_ptr);
|
|
16031
|
+
}
|
|
16032
|
+
/**
|
|
16033
|
+
* @param {number} x
|
|
16034
|
+
* @param {number} y
|
|
16035
|
+
* @returns {number | undefined}
|
|
16036
|
+
*/
|
|
16037
|
+
update(x, y) {
|
|
16038
|
+
try {
|
|
16039
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
16040
|
+
wasm.kendalltau_update(retptr, this.__wbg_ptr, x, y);
|
|
16041
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16042
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
16043
|
+
return r0 === 0 ? undefined : r2;
|
|
16044
|
+
} finally {
|
|
16045
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
16046
|
+
}
|
|
16047
|
+
}
|
|
16048
|
+
/**
|
|
16049
|
+
* @returns {number}
|
|
16050
|
+
*/
|
|
16051
|
+
warmupPeriod() {
|
|
16052
|
+
const ret = wasm.kendalltau_warmupPeriod(this.__wbg_ptr);
|
|
16053
|
+
return ret >>> 0;
|
|
16054
|
+
}
|
|
16055
|
+
}
|
|
16056
|
+
if (Symbol.dispose) KendallTau.prototype[Symbol.dispose] = KendallTau.prototype.free;
|
|
16057
|
+
|
|
15695
16058
|
export class Kicking {
|
|
15696
16059
|
__destroy_into_raw() {
|
|
15697
16060
|
const ptr = this.__wbg_ptr;
|
|
@@ -23300,6 +23663,82 @@ export class ROCR100 {
|
|
|
23300
23663
|
}
|
|
23301
23664
|
if (Symbol.dispose) ROCR100.prototype[Symbol.dispose] = ROCR100.prototype.free;
|
|
23302
23665
|
|
|
23666
|
+
export class ROLLINGMINMAX {
|
|
23667
|
+
__destroy_into_raw() {
|
|
23668
|
+
const ptr = this.__wbg_ptr;
|
|
23669
|
+
this.__wbg_ptr = 0;
|
|
23670
|
+
ROLLINGMINMAXFinalization.unregister(this);
|
|
23671
|
+
return ptr;
|
|
23672
|
+
}
|
|
23673
|
+
free() {
|
|
23674
|
+
const ptr = this.__destroy_into_raw();
|
|
23675
|
+
wasm.__wbg_rollingminmax_free(ptr, 0);
|
|
23676
|
+
}
|
|
23677
|
+
/**
|
|
23678
|
+
* @param {Float64Array} prices
|
|
23679
|
+
* @returns {Float64Array}
|
|
23680
|
+
*/
|
|
23681
|
+
batch(prices) {
|
|
23682
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
23683
|
+
const len0 = WASM_VECTOR_LEN;
|
|
23684
|
+
const ret = wasm.rollingminmax_batch(this.__wbg_ptr, ptr0, len0);
|
|
23685
|
+
return takeObject(ret);
|
|
23686
|
+
}
|
|
23687
|
+
/**
|
|
23688
|
+
* @returns {boolean}
|
|
23689
|
+
*/
|
|
23690
|
+
isReady() {
|
|
23691
|
+
const ret = wasm.rollingminmax_isReady(this.__wbg_ptr);
|
|
23692
|
+
return ret !== 0;
|
|
23693
|
+
}
|
|
23694
|
+
/**
|
|
23695
|
+
* @param {number} period
|
|
23696
|
+
*/
|
|
23697
|
+
constructor(period) {
|
|
23698
|
+
try {
|
|
23699
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
23700
|
+
wasm.rollingminmax_new(retptr, period);
|
|
23701
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
23702
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
23703
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
23704
|
+
if (r2) {
|
|
23705
|
+
throw takeObject(r1);
|
|
23706
|
+
}
|
|
23707
|
+
this.__wbg_ptr = r0;
|
|
23708
|
+
ROLLINGMINMAXFinalization.register(this, this.__wbg_ptr, this);
|
|
23709
|
+
return this;
|
|
23710
|
+
} finally {
|
|
23711
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
23712
|
+
}
|
|
23713
|
+
}
|
|
23714
|
+
reset() {
|
|
23715
|
+
wasm.rollingminmax_reset(this.__wbg_ptr);
|
|
23716
|
+
}
|
|
23717
|
+
/**
|
|
23718
|
+
* @param {number} value
|
|
23719
|
+
* @returns {number | undefined}
|
|
23720
|
+
*/
|
|
23721
|
+
update(value) {
|
|
23722
|
+
try {
|
|
23723
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
23724
|
+
wasm.rollingminmax_update(retptr, this.__wbg_ptr, value);
|
|
23725
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
23726
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
23727
|
+
return r0 === 0 ? undefined : r2;
|
|
23728
|
+
} finally {
|
|
23729
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
23730
|
+
}
|
|
23731
|
+
}
|
|
23732
|
+
/**
|
|
23733
|
+
* @returns {number}
|
|
23734
|
+
*/
|
|
23735
|
+
warmupPeriod() {
|
|
23736
|
+
const ret = wasm.rollingminmax_warmupPeriod(this.__wbg_ptr);
|
|
23737
|
+
return ret >>> 0;
|
|
23738
|
+
}
|
|
23739
|
+
}
|
|
23740
|
+
if (Symbol.dispose) ROLLINGMINMAX.prototype[Symbol.dispose] = ROLLINGMINMAX.prototype.free;
|
|
23741
|
+
|
|
23303
23742
|
export class RSI {
|
|
23304
23743
|
__destroy_into_raw() {
|
|
23305
23744
|
const ptr = this.__wbg_ptr;
|
|
@@ -25369,6 +25808,84 @@ export class RoofingFilter {
|
|
|
25369
25808
|
}
|
|
25370
25809
|
if (Symbol.dispose) RoofingFilter.prototype[Symbol.dispose] = RoofingFilter.prototype.free;
|
|
25371
25810
|
|
|
25811
|
+
export class SAMPLEENT {
|
|
25812
|
+
__destroy_into_raw() {
|
|
25813
|
+
const ptr = this.__wbg_ptr;
|
|
25814
|
+
this.__wbg_ptr = 0;
|
|
25815
|
+
SAMPLEENTFinalization.unregister(this);
|
|
25816
|
+
return ptr;
|
|
25817
|
+
}
|
|
25818
|
+
free() {
|
|
25819
|
+
const ptr = this.__destroy_into_raw();
|
|
25820
|
+
wasm.__wbg_sampleent_free(ptr, 0);
|
|
25821
|
+
}
|
|
25822
|
+
/**
|
|
25823
|
+
* @param {Float64Array} prices
|
|
25824
|
+
* @returns {Float64Array}
|
|
25825
|
+
*/
|
|
25826
|
+
batch(prices) {
|
|
25827
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
25828
|
+
const len0 = WASM_VECTOR_LEN;
|
|
25829
|
+
const ret = wasm.sampleent_batch(this.__wbg_ptr, ptr0, len0);
|
|
25830
|
+
return takeObject(ret);
|
|
25831
|
+
}
|
|
25832
|
+
/**
|
|
25833
|
+
* @returns {boolean}
|
|
25834
|
+
*/
|
|
25835
|
+
isReady() {
|
|
25836
|
+
const ret = wasm.sampleent_isReady(this.__wbg_ptr);
|
|
25837
|
+
return ret !== 0;
|
|
25838
|
+
}
|
|
25839
|
+
/**
|
|
25840
|
+
* @param {number} period
|
|
25841
|
+
* @param {number} m
|
|
25842
|
+
* @param {number} r_factor
|
|
25843
|
+
*/
|
|
25844
|
+
constructor(period, m, r_factor) {
|
|
25845
|
+
try {
|
|
25846
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
25847
|
+
wasm.sampleent_new(retptr, period, m, r_factor);
|
|
25848
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
25849
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
25850
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
25851
|
+
if (r2) {
|
|
25852
|
+
throw takeObject(r1);
|
|
25853
|
+
}
|
|
25854
|
+
this.__wbg_ptr = r0;
|
|
25855
|
+
SAMPLEENTFinalization.register(this, this.__wbg_ptr, this);
|
|
25856
|
+
return this;
|
|
25857
|
+
} finally {
|
|
25858
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
25859
|
+
}
|
|
25860
|
+
}
|
|
25861
|
+
reset() {
|
|
25862
|
+
wasm.sampleent_reset(this.__wbg_ptr);
|
|
25863
|
+
}
|
|
25864
|
+
/**
|
|
25865
|
+
* @param {number} value
|
|
25866
|
+
* @returns {number | undefined}
|
|
25867
|
+
*/
|
|
25868
|
+
update(value) {
|
|
25869
|
+
try {
|
|
25870
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
25871
|
+
wasm.sampleent_update(retptr, this.__wbg_ptr, value);
|
|
25872
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
25873
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
25874
|
+
return r0 === 0 ? undefined : r2;
|
|
25875
|
+
} finally {
|
|
25876
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
25877
|
+
}
|
|
25878
|
+
}
|
|
25879
|
+
/**
|
|
25880
|
+
* @returns {number}
|
|
25881
|
+
*/
|
|
25882
|
+
warmupPeriod() {
|
|
25883
|
+
const ret = wasm.sampleent_warmupPeriod(this.__wbg_ptr);
|
|
25884
|
+
return ret >>> 0;
|
|
25885
|
+
}
|
|
25886
|
+
}
|
|
25887
|
+
if (Symbol.dispose) SAMPLEENT.prototype[Symbol.dispose] = SAMPLEENT.prototype.free;
|
|
25888
|
+
|
|
25372
25889
|
export class SAREXT {
|
|
25373
25890
|
__destroy_into_raw() {
|
|
25374
25891
|
const ptr = this.__wbg_ptr;
|
|
@@ -25462,6 +25979,83 @@ export class SAREXT {
|
|
|
25462
25979
|
}
|
|
25463
25980
|
if (Symbol.dispose) SAREXT.prototype[Symbol.dispose] = SAREXT.prototype.free;
|
|
25464
25981
|
|
|
25982
|
+
export class SHANNONENT {
|
|
25983
|
+
__destroy_into_raw() {
|
|
25984
|
+
const ptr = this.__wbg_ptr;
|
|
25985
|
+
this.__wbg_ptr = 0;
|
|
25986
|
+
SHANNONENTFinalization.unregister(this);
|
|
25987
|
+
return ptr;
|
|
25988
|
+
}
|
|
25989
|
+
free() {
|
|
25990
|
+
const ptr = this.__destroy_into_raw();
|
|
25991
|
+
wasm.__wbg_shannonent_free(ptr, 0);
|
|
25992
|
+
}
|
|
25993
|
+
/**
|
|
25994
|
+
* @param {Float64Array} prices
|
|
25995
|
+
* @returns {Float64Array}
|
|
25996
|
+
*/
|
|
25997
|
+
batch(prices) {
|
|
25998
|
+
const ptr0 = passArrayF64ToWasm0(prices, wasm.__wbindgen_export3);
|
|
25999
|
+
const len0 = WASM_VECTOR_LEN;
|
|
26000
|
+
const ret = wasm.shannonent_batch(this.__wbg_ptr, ptr0, len0);
|
|
26001
|
+
return takeObject(ret);
|
|
26002
|
+
}
|
|
26003
|
+
/**
|
|
26004
|
+
* @returns {boolean}
|
|
26005
|
+
*/
|
|
26006
|
+
isReady() {
|
|
26007
|
+
const ret = wasm.shannonent_isReady(this.__wbg_ptr);
|
|
26008
|
+
return ret !== 0;
|
|
26009
|
+
}
|
|
26010
|
+
/**
|
|
26011
|
+
* @param {number} period
|
|
26012
|
+
* @param {number} bins
|
|
26013
|
+
*/
|
|
26014
|
+
constructor(period, bins) {
|
|
26015
|
+
try {
|
|
26016
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
26017
|
+
wasm.shannonent_new(retptr, period, bins);
|
|
26018
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
26019
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
26020
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
26021
|
+
if (r2) {
|
|
26022
|
+
throw takeObject(r1);
|
|
26023
|
+
}
|
|
26024
|
+
this.__wbg_ptr = r0;
|
|
26025
|
+
SHANNONENTFinalization.register(this, this.__wbg_ptr, this);
|
|
26026
|
+
return this;
|
|
26027
|
+
} finally {
|
|
26028
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
26029
|
+
}
|
|
26030
|
+
}
|
|
26031
|
+
reset() {
|
|
26032
|
+
wasm.shannonent_reset(this.__wbg_ptr);
|
|
26033
|
+
}
|
|
26034
|
+
/**
|
|
26035
|
+
* @param {number} value
|
|
26036
|
+
* @returns {number | undefined}
|
|
26037
|
+
*/
|
|
26038
|
+
update(value) {
|
|
26039
|
+
try {
|
|
26040
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
26041
|
+
wasm.shannonent_update(retptr, this.__wbg_ptr, value);
|
|
26042
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
26043
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
26044
|
+
return r0 === 0 ? undefined : r2;
|
|
26045
|
+
} finally {
|
|
26046
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
26047
|
+
}
|
|
26048
|
+
}
|
|
26049
|
+
/**
|
|
26050
|
+
* @returns {number}
|
|
26051
|
+
*/
|
|
26052
|
+
warmupPeriod() {
|
|
26053
|
+
const ret = wasm.shannonent_warmupPeriod(this.__wbg_ptr);
|
|
26054
|
+
return ret >>> 0;
|
|
26055
|
+
}
|
|
26056
|
+
}
|
|
26057
|
+
if (Symbol.dispose) SHANNONENT.prototype[Symbol.dispose] = SHANNONENT.prototype.free;
|
|
26058
|
+
|
|
25465
26059
|
export class SMA {
|
|
25466
26060
|
__destroy_into_raw() {
|
|
25467
26061
|
const ptr = this.__wbg_ptr;
|
|
@@ -31608,6 +32202,102 @@ export class TradeImbalance {
|
|
|
31608
32202
|
}
|
|
31609
32203
|
if (Symbol.dispose) TradeImbalance.prototype[Symbol.dispose] = TradeImbalance.prototype.free;
|
|
31610
32204
|
|
|
32205
|
+
export class TradeVolumeIndex {
|
|
32206
|
+
__destroy_into_raw() {
|
|
32207
|
+
const ptr = this.__wbg_ptr;
|
|
32208
|
+
this.__wbg_ptr = 0;
|
|
32209
|
+
TradeVolumeIndexFinalization.unregister(this);
|
|
32210
|
+
return ptr;
|
|
32211
|
+
}
|
|
32212
|
+
free() {
|
|
32213
|
+
const ptr = this.__destroy_into_raw();
|
|
32214
|
+
wasm.__wbg_tradevolumeindex_free(ptr, 0);
|
|
32215
|
+
}
|
|
32216
|
+
/**
|
|
32217
|
+
* @param {Float64Array} close
|
|
32218
|
+
* @param {Float64Array} volume
|
|
32219
|
+
* @returns {Float64Array}
|
|
32220
|
+
*/
|
|
32221
|
+
batch(close, volume) {
|
|
32222
|
+
try {
|
|
32223
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
32224
|
+
const ptr0 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
32225
|
+
const len0 = WASM_VECTOR_LEN;
|
|
32226
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
32227
|
+
const len1 = WASM_VECTOR_LEN;
|
|
32228
|
+
wasm.tradevolumeindex_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
32229
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
32230
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
32231
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
32232
|
+
if (r2) {
|
|
32233
|
+
throw takeObject(r1);
|
|
32234
|
+
}
|
|
32235
|
+
return takeObject(r0);
|
|
32236
|
+
} finally {
|
|
32237
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
32238
|
+
}
|
|
32239
|
+
}
|
|
32240
|
+
/**
|
|
32241
|
+
* @returns {boolean}
|
|
32242
|
+
*/
|
|
32243
|
+
isReady() {
|
|
32244
|
+
const ret = wasm.tradevolumeindex_isReady(this.__wbg_ptr);
|
|
32245
|
+
return ret !== 0;
|
|
32246
|
+
}
|
|
32247
|
+
/**
|
|
32248
|
+
* @param {number} min_tick
|
|
32249
|
+
*/
|
|
32250
|
+
constructor(min_tick) {
|
|
32251
|
+
try {
|
|
32252
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
32253
|
+
wasm.tradevolumeindex_new(retptr, min_tick);
|
|
32254
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
32255
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
32256
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
32257
|
+
if (r2) {
|
|
32258
|
+
throw takeObject(r1);
|
|
32259
|
+
}
|
|
32260
|
+
this.__wbg_ptr = r0;
|
|
32261
|
+
TradeVolumeIndexFinalization.register(this, this.__wbg_ptr, this);
|
|
32262
|
+
return this;
|
|
32263
|
+
} finally {
|
|
32264
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
32265
|
+
}
|
|
32266
|
+
}
|
|
32267
|
+
reset() {
|
|
32268
|
+
wasm.tradevolumeindex_reset(this.__wbg_ptr);
|
|
32269
|
+
}
|
|
32270
|
+
/**
|
|
32271
|
+
* @param {number} close
|
|
32272
|
+
* @param {number} volume
|
|
32273
|
+
* @returns {number | undefined}
|
|
32274
|
+
*/
|
|
32275
|
+
update(close, volume) {
|
|
32276
|
+
try {
|
|
32277
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
32278
|
+
wasm.tradevolumeindex_update(retptr, this.__wbg_ptr, close, volume);
|
|
32279
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
32280
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
32281
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
32282
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
32283
|
+
if (r5) {
|
|
32284
|
+
throw takeObject(r4);
|
|
32285
|
+
}
|
|
32286
|
+
return r0 === 0 ? undefined : r2;
|
|
32287
|
+
} finally {
|
|
32288
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
32289
|
+
}
|
|
32290
|
+
}
|
|
32291
|
+
/**
|
|
32292
|
+
* @returns {number}
|
|
32293
|
+
*/
|
|
32294
|
+
warmupPeriod() {
|
|
32295
|
+
const ret = wasm.tradevolumeindex_warmupPeriod(this.__wbg_ptr);
|
|
32296
|
+
return ret >>> 0;
|
|
32297
|
+
}
|
|
32298
|
+
}
|
|
32299
|
+
if (Symbol.dispose) TradeVolumeIndex.prototype[Symbol.dispose] = TradeVolumeIndex.prototype.free;
|
|
32300
|
+
|
|
31611
32301
|
export class TrendLabel {
|
|
31612
32302
|
__destroy_into_raw() {
|
|
31613
32303
|
const ptr = this.__wbg_ptr;
|
|
@@ -32442,6 +33132,110 @@ export class Tweezer {
|
|
|
32442
33132
|
}
|
|
32443
33133
|
if (Symbol.dispose) Tweezer.prototype[Symbol.dispose] = Tweezer.prototype.free;
|
|
32444
33134
|
|
|
33135
|
+
export class TwiggsMoneyFlow {
|
|
33136
|
+
__destroy_into_raw() {
|
|
33137
|
+
const ptr = this.__wbg_ptr;
|
|
33138
|
+
this.__wbg_ptr = 0;
|
|
33139
|
+
TwiggsMoneyFlowFinalization.unregister(this);
|
|
33140
|
+
return ptr;
|
|
33141
|
+
}
|
|
33142
|
+
free() {
|
|
33143
|
+
const ptr = this.__destroy_into_raw();
|
|
33144
|
+
wasm.__wbg_twiggsmoneyflow_free(ptr, 0);
|
|
33145
|
+
}
|
|
33146
|
+
/**
|
|
33147
|
+
* @param {Float64Array} high
|
|
33148
|
+
* @param {Float64Array} low
|
|
33149
|
+
* @param {Float64Array} close
|
|
33150
|
+
* @param {Float64Array} volume
|
|
33151
|
+
* @returns {Float64Array}
|
|
33152
|
+
*/
|
|
33153
|
+
batch(high, low, close, volume) {
|
|
33154
|
+
try {
|
|
33155
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
33156
|
+
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
33157
|
+
const len0 = WASM_VECTOR_LEN;
|
|
33158
|
+
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
33159
|
+
const len1 = WASM_VECTOR_LEN;
|
|
33160
|
+
const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
33161
|
+
const len2 = WASM_VECTOR_LEN;
|
|
33162
|
+
const ptr3 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
33163
|
+
const len3 = WASM_VECTOR_LEN;
|
|
33164
|
+
wasm.twiggsmoneyflow_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
33165
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33166
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
33167
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
33168
|
+
if (r2) {
|
|
33169
|
+
throw takeObject(r1);
|
|
33170
|
+
}
|
|
33171
|
+
return takeObject(r0);
|
|
33172
|
+
} finally {
|
|
33173
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
33174
|
+
}
|
|
33175
|
+
}
|
|
33176
|
+
/**
|
|
33177
|
+
* @returns {boolean}
|
|
33178
|
+
*/
|
|
33179
|
+
isReady() {
|
|
33180
|
+
const ret = wasm.twiggsmoneyflow_isReady(this.__wbg_ptr);
|
|
33181
|
+
return ret !== 0;
|
|
33182
|
+
}
|
|
33183
|
+
/**
|
|
33184
|
+
* @param {number} period
|
|
33185
|
+
*/
|
|
33186
|
+
constructor(period) {
|
|
33187
|
+
try {
|
|
33188
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
33189
|
+
wasm.twiggsmoneyflow_new(retptr, period);
|
|
33190
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33191
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
33192
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
33193
|
+
if (r2) {
|
|
33194
|
+
throw takeObject(r1);
|
|
33195
|
+
}
|
|
33196
|
+
this.__wbg_ptr = r0;
|
|
33197
|
+
TwiggsMoneyFlowFinalization.register(this, this.__wbg_ptr, this);
|
|
33198
|
+
return this;
|
|
33199
|
+
} finally {
|
|
33200
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
33201
|
+
}
|
|
33202
|
+
}
|
|
33203
|
+
reset() {
|
|
33204
|
+
wasm.twiggsmoneyflow_reset(this.__wbg_ptr);
|
|
33205
|
+
}
|
|
33206
|
+
/**
|
|
33207
|
+
* @param {number} high
|
|
33208
|
+
* @param {number} low
|
|
33209
|
+
* @param {number} close
|
|
33210
|
+
* @param {number} volume
|
|
33211
|
+
* @returns {number | undefined}
|
|
33212
|
+
*/
|
|
33213
|
+
update(high, low, close, volume) {
|
|
33214
|
+
try {
|
|
33215
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
33216
|
+
wasm.twiggsmoneyflow_update(retptr, this.__wbg_ptr, high, low, close, volume);
|
|
33217
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
33218
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
33219
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
33220
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
33221
|
+
if (r5) {
|
|
33222
|
+
throw takeObject(r4);
|
|
33223
|
+
}
|
|
33224
|
+
return r0 === 0 ? undefined : r2;
|
|
33225
|
+
} finally {
|
|
33226
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
33227
|
+
}
|
|
33228
|
+
}
|
|
33229
|
+
/**
|
|
33230
|
+
* @returns {number}
|
|
33231
|
+
*/
|
|
33232
|
+
warmupPeriod() {
|
|
33233
|
+
const ret = wasm.twiggsmoneyflow_warmupPeriod(this.__wbg_ptr);
|
|
33234
|
+
return ret >>> 0;
|
|
33235
|
+
}
|
|
33236
|
+
}
|
|
33237
|
+
if (Symbol.dispose) TwiggsMoneyFlow.prototype[Symbol.dispose] = TwiggsMoneyFlow.prototype.free;
|
|
33238
|
+
|
|
32445
33239
|
export class TwoCrows {
|
|
32446
33240
|
__destroy_into_raw() {
|
|
32447
33241
|
const ptr = this.__wbg_ptr;
|
|
@@ -34543,6 +35337,202 @@ export class VolumeProfile {
|
|
|
34543
35337
|
}
|
|
34544
35338
|
if (Symbol.dispose) VolumeProfile.prototype[Symbol.dispose] = VolumeProfile.prototype.free;
|
|
34545
35339
|
|
|
35340
|
+
export class VolumeRsi {
|
|
35341
|
+
__destroy_into_raw() {
|
|
35342
|
+
const ptr = this.__wbg_ptr;
|
|
35343
|
+
this.__wbg_ptr = 0;
|
|
35344
|
+
VolumeRsiFinalization.unregister(this);
|
|
35345
|
+
return ptr;
|
|
35346
|
+
}
|
|
35347
|
+
free() {
|
|
35348
|
+
const ptr = this.__destroy_into_raw();
|
|
35349
|
+
wasm.__wbg_volumersi_free(ptr, 0);
|
|
35350
|
+
}
|
|
35351
|
+
/**
|
|
35352
|
+
* @param {Float64Array} close
|
|
35353
|
+
* @param {Float64Array} volume
|
|
35354
|
+
* @returns {Float64Array}
|
|
35355
|
+
*/
|
|
35356
|
+
batch(close, volume) {
|
|
35357
|
+
try {
|
|
35358
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
35359
|
+
const ptr0 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
35360
|
+
const len0 = WASM_VECTOR_LEN;
|
|
35361
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
35362
|
+
const len1 = WASM_VECTOR_LEN;
|
|
35363
|
+
wasm.volumersi_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
35364
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
35365
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
35366
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
35367
|
+
if (r2) {
|
|
35368
|
+
throw takeObject(r1);
|
|
35369
|
+
}
|
|
35370
|
+
return takeObject(r0);
|
|
35371
|
+
} finally {
|
|
35372
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
35373
|
+
}
|
|
35374
|
+
}
|
|
35375
|
+
/**
|
|
35376
|
+
* @returns {boolean}
|
|
35377
|
+
*/
|
|
35378
|
+
isReady() {
|
|
35379
|
+
const ret = wasm.volumersi_isReady(this.__wbg_ptr);
|
|
35380
|
+
return ret !== 0;
|
|
35381
|
+
}
|
|
35382
|
+
/**
|
|
35383
|
+
* @param {number} period
|
|
35384
|
+
*/
|
|
35385
|
+
constructor(period) {
|
|
35386
|
+
try {
|
|
35387
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
35388
|
+
wasm.volumersi_new(retptr, period);
|
|
35389
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
35390
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
35391
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
35392
|
+
if (r2) {
|
|
35393
|
+
throw takeObject(r1);
|
|
35394
|
+
}
|
|
35395
|
+
this.__wbg_ptr = r0;
|
|
35396
|
+
VolumeRsiFinalization.register(this, this.__wbg_ptr, this);
|
|
35397
|
+
return this;
|
|
35398
|
+
} finally {
|
|
35399
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
35400
|
+
}
|
|
35401
|
+
}
|
|
35402
|
+
reset() {
|
|
35403
|
+
wasm.volumersi_reset(this.__wbg_ptr);
|
|
35404
|
+
}
|
|
35405
|
+
/**
|
|
35406
|
+
* @param {number} close
|
|
35407
|
+
* @param {number} volume
|
|
35408
|
+
* @returns {number | undefined}
|
|
35409
|
+
*/
|
|
35410
|
+
update(close, volume) {
|
|
35411
|
+
try {
|
|
35412
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
35413
|
+
wasm.volumersi_update(retptr, this.__wbg_ptr, close, volume);
|
|
35414
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
35415
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
35416
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
35417
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
35418
|
+
if (r5) {
|
|
35419
|
+
throw takeObject(r4);
|
|
35420
|
+
}
|
|
35421
|
+
return r0 === 0 ? undefined : r2;
|
|
35422
|
+
} finally {
|
|
35423
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
35424
|
+
}
|
|
35425
|
+
}
|
|
35426
|
+
/**
|
|
35427
|
+
* @returns {number}
|
|
35428
|
+
*/
|
|
35429
|
+
warmupPeriod() {
|
|
35430
|
+
const ret = wasm.volumersi_warmupPeriod(this.__wbg_ptr);
|
|
35431
|
+
return ret >>> 0;
|
|
35432
|
+
}
|
|
35433
|
+
}
|
|
35434
|
+
if (Symbol.dispose) VolumeRsi.prototype[Symbol.dispose] = VolumeRsi.prototype.free;
|
|
35435
|
+
|
|
35436
|
+
export class VolumeWeightedMacd {
|
|
35437
|
+
__destroy_into_raw() {
|
|
35438
|
+
const ptr = this.__wbg_ptr;
|
|
35439
|
+
this.__wbg_ptr = 0;
|
|
35440
|
+
VolumeWeightedMacdFinalization.unregister(this);
|
|
35441
|
+
return ptr;
|
|
35442
|
+
}
|
|
35443
|
+
free() {
|
|
35444
|
+
const ptr = this.__destroy_into_raw();
|
|
35445
|
+
wasm.__wbg_volumeweightedmacd_free(ptr, 0);
|
|
35446
|
+
}
|
|
35447
|
+
/**
|
|
35448
|
+
* Returns `[macd0, signal0, histogram0, macd1, ...]`, length `3 * n`.
|
|
35449
|
+
* Warmup is NaN.
|
|
35450
|
+
* @param {Float64Array} close
|
|
35451
|
+
* @param {Float64Array} volume
|
|
35452
|
+
* @returns {Float64Array}
|
|
35453
|
+
*/
|
|
35454
|
+
batch(close, volume) {
|
|
35455
|
+
try {
|
|
35456
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
35457
|
+
const ptr0 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
35458
|
+
const len0 = WASM_VECTOR_LEN;
|
|
35459
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
35460
|
+
const len1 = WASM_VECTOR_LEN;
|
|
35461
|
+
wasm.volumeweightedmacd_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
35462
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
35463
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
35464
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
35465
|
+
if (r2) {
|
|
35466
|
+
throw takeObject(r1);
|
|
35467
|
+
}
|
|
35468
|
+
return takeObject(r0);
|
|
35469
|
+
} finally {
|
|
35470
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
35471
|
+
}
|
|
35472
|
+
}
|
|
35473
|
+
/**
|
|
35474
|
+
* @returns {boolean}
|
|
35475
|
+
*/
|
|
35476
|
+
isReady() {
|
|
35477
|
+
const ret = wasm.volumeweightedmacd_isReady(this.__wbg_ptr);
|
|
35478
|
+
return ret !== 0;
|
|
35479
|
+
}
|
|
35480
|
+
/**
|
|
35481
|
+
* @param {number} fast
|
|
35482
|
+
* @param {number} slow
|
|
35483
|
+
* @param {number} signal
|
|
35484
|
+
*/
|
|
35485
|
+
constructor(fast, slow, signal) {
|
|
35486
|
+
try {
|
|
35487
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
35488
|
+
wasm.volumeweightedmacd_new(retptr, fast, slow, signal);
|
|
35489
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
35490
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
35491
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
35492
|
+
if (r2) {
|
|
35493
|
+
throw takeObject(r1);
|
|
35494
|
+
}
|
|
35495
|
+
this.__wbg_ptr = r0;
|
|
35496
|
+
VolumeWeightedMacdFinalization.register(this, this.__wbg_ptr, this);
|
|
35497
|
+
return this;
|
|
35498
|
+
} finally {
|
|
35499
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
35500
|
+
}
|
|
35501
|
+
}
|
|
35502
|
+
reset() {
|
|
35503
|
+
wasm.volumeweightedmacd_reset(this.__wbg_ptr);
|
|
35504
|
+
}
|
|
35505
|
+
/**
|
|
35506
|
+
* Returns `{ macd, signal, histogram }` once warm, else `null`.
|
|
35507
|
+
* @param {number} close
|
|
35508
|
+
* @param {number} volume
|
|
35509
|
+
* @returns {any}
|
|
35510
|
+
*/
|
|
35511
|
+
update(close, volume) {
|
|
35512
|
+
try {
|
|
35513
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
35514
|
+
wasm.volumeweightedmacd_update(retptr, this.__wbg_ptr, close, volume);
|
|
35515
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
35516
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
35517
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
35518
|
+
if (r2) {
|
|
35519
|
+
throw takeObject(r1);
|
|
35520
|
+
}
|
|
35521
|
+
return takeObject(r0);
|
|
35522
|
+
} finally {
|
|
35523
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
35524
|
+
}
|
|
35525
|
+
}
|
|
35526
|
+
/**
|
|
35527
|
+
* @returns {number}
|
|
35528
|
+
*/
|
|
35529
|
+
warmupPeriod() {
|
|
35530
|
+
const ret = wasm.volumeweightedmacd_warmupPeriod(this.__wbg_ptr);
|
|
35531
|
+
return ret >>> 0;
|
|
35532
|
+
}
|
|
35533
|
+
}
|
|
35534
|
+
if (Symbol.dispose) VolumeWeightedMacd.prototype[Symbol.dispose] = VolumeWeightedMacd.prototype.free;
|
|
35535
|
+
|
|
34546
35536
|
export class Vortex {
|
|
34547
35537
|
__destroy_into_raw() {
|
|
34548
35538
|
const ptr = this.__wbg_ptr;
|
|
@@ -34960,6 +35950,92 @@ export class WMA {
|
|
|
34960
35950
|
}
|
|
34961
35951
|
if (Symbol.dispose) WMA.prototype[Symbol.dispose] = WMA.prototype.free;
|
|
34962
35952
|
|
|
35953
|
+
export class Wad {
|
|
35954
|
+
__destroy_into_raw() {
|
|
35955
|
+
const ptr = this.__wbg_ptr;
|
|
35956
|
+
this.__wbg_ptr = 0;
|
|
35957
|
+
WadFinalization.unregister(this);
|
|
35958
|
+
return ptr;
|
|
35959
|
+
}
|
|
35960
|
+
free() {
|
|
35961
|
+
const ptr = this.__destroy_into_raw();
|
|
35962
|
+
wasm.__wbg_wad_free(ptr, 0);
|
|
35963
|
+
}
|
|
35964
|
+
/**
|
|
35965
|
+
* @param {Float64Array} high
|
|
35966
|
+
* @param {Float64Array} low
|
|
35967
|
+
* @param {Float64Array} close
|
|
35968
|
+
* @returns {Float64Array}
|
|
35969
|
+
*/
|
|
35970
|
+
batch(high, low, close) {
|
|
35971
|
+
try {
|
|
35972
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
35973
|
+
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
35974
|
+
const len0 = WASM_VECTOR_LEN;
|
|
35975
|
+
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
35976
|
+
const len1 = WASM_VECTOR_LEN;
|
|
35977
|
+
const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
35978
|
+
const len2 = WASM_VECTOR_LEN;
|
|
35979
|
+
wasm.wad_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
35980
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
35981
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
35982
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
35983
|
+
if (r2) {
|
|
35984
|
+
throw takeObject(r1);
|
|
35985
|
+
}
|
|
35986
|
+
return takeObject(r0);
|
|
35987
|
+
} finally {
|
|
35988
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
35989
|
+
}
|
|
35990
|
+
}
|
|
35991
|
+
/**
|
|
35992
|
+
* @returns {boolean}
|
|
35993
|
+
*/
|
|
35994
|
+
isReady() {
|
|
35995
|
+
const ret = wasm.wad_isReady(this.__wbg_ptr);
|
|
35996
|
+
return ret !== 0;
|
|
35997
|
+
}
|
|
35998
|
+
constructor() {
|
|
35999
|
+
const ret = wasm.wad_new();
|
|
36000
|
+
this.__wbg_ptr = ret;
|
|
36001
|
+
WadFinalization.register(this, this.__wbg_ptr, this);
|
|
36002
|
+
return this;
|
|
36003
|
+
}
|
|
36004
|
+
reset() {
|
|
36005
|
+
wasm.wad_reset(this.__wbg_ptr);
|
|
36006
|
+
}
|
|
36007
|
+
/**
|
|
36008
|
+
* @param {number} high
|
|
36009
|
+
* @param {number} low
|
|
36010
|
+
* @param {number} close
|
|
36011
|
+
* @returns {number | undefined}
|
|
36012
|
+
*/
|
|
36013
|
+
update(high, low, close) {
|
|
36014
|
+
try {
|
|
36015
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
36016
|
+
wasm.wad_update(retptr, this.__wbg_ptr, high, low, close);
|
|
36017
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
36018
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
36019
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
36020
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
36021
|
+
if (r5) {
|
|
36022
|
+
throw takeObject(r4);
|
|
36023
|
+
}
|
|
36024
|
+
return r0 === 0 ? undefined : r2;
|
|
36025
|
+
} finally {
|
|
36026
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
36027
|
+
}
|
|
36028
|
+
}
|
|
36029
|
+
/**
|
|
36030
|
+
* @returns {number}
|
|
36031
|
+
*/
|
|
36032
|
+
warmupPeriod() {
|
|
36033
|
+
const ret = wasm.wad_warmupPeriod(this.__wbg_ptr);
|
|
36034
|
+
return ret >>> 0;
|
|
36035
|
+
}
|
|
36036
|
+
}
|
|
36037
|
+
if (Symbol.dispose) Wad.prototype[Symbol.dispose] = Wad.prototype.free;
|
|
36038
|
+
|
|
34963
36039
|
export class WaveTrend {
|
|
34964
36040
|
static __wrap(ptr) {
|
|
34965
36041
|
const obj = Object.create(WaveTrend.prototype);
|
|
@@ -36464,6 +37540,9 @@ const BetaFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
36464
37540
|
const BetaNeutralSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36465
37541
|
? { register: () => {}, unregister: () => {} }
|
|
36466
37542
|
: new FinalizationRegistry(ptr => wasm.__wbg_betaneutralspread_free(ptr, 1));
|
|
37543
|
+
const BetterVolumeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37544
|
+
? { register: () => {}, unregister: () => {} }
|
|
37545
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_bettervolume_free(ptr, 1));
|
|
36467
37546
|
const BipowerVariationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36468
37547
|
? { register: () => {}, unregister: () => {} }
|
|
36469
37548
|
: new FinalizationRegistry(ptr => wasm.__wbg_bipowervariation_free(ptr, 1));
|
|
@@ -36872,6 +37951,9 @@ const InitialBalanceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
36872
37951
|
const InstantaneousTrendlineFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36873
37952
|
? { register: () => {}, unregister: () => {} }
|
|
36874
37953
|
: new FinalizationRegistry(ptr => wasm.__wbg_instantaneoustrendline_free(ptr, 1));
|
|
37954
|
+
const IntradayIntensityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37955
|
+
? { register: () => {}, unregister: () => {} }
|
|
37956
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intradayintensity_free(ptr, 1));
|
|
36875
37957
|
const IntradayVolatilityProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36876
37958
|
? { register: () => {}, unregister: () => {} }
|
|
36877
37959
|
: new FinalizationRegistry(ptr => wasm.__wbg_intradayvolatilityprofile_free(ptr, 1));
|
|
@@ -36881,6 +37963,9 @@ const InverseFisherTransformFinalization = (typeof FinalizationRegistry === 'und
|
|
|
36881
37963
|
const InvertedHammerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36882
37964
|
? { register: () => {}, unregister: () => {} }
|
|
36883
37965
|
: new FinalizationRegistry(ptr => wasm.__wbg_invertedhammer_free(ptr, 1));
|
|
37966
|
+
const JARQUEBERAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37967
|
+
? { register: () => {}, unregister: () => {} }
|
|
37968
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_jarquebera_free(ptr, 1));
|
|
36884
37969
|
const JMAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36885
37970
|
? { register: () => {}, unregister: () => {} }
|
|
36886
37971
|
: new FinalizationRegistry(ptr => wasm.__wbg_jma_free(ptr, 1));
|
|
@@ -36908,6 +37993,9 @@ const KellyCriterionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
36908
37993
|
const KeltnerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36909
37994
|
? { register: () => {}, unregister: () => {} }
|
|
36910
37995
|
: new FinalizationRegistry(ptr => wasm.__wbg_keltner_free(ptr, 1));
|
|
37996
|
+
const KendallTauFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37997
|
+
? { register: () => {}, unregister: () => {} }
|
|
37998
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_kendalltau_free(ptr, 1));
|
|
36911
37999
|
const KickingFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
36912
38000
|
? { register: () => {}, unregister: () => {} }
|
|
36913
38001
|
: new FinalizationRegistry(ptr => wasm.__wbg_kicking_free(ptr, 1));
|
|
@@ -37250,6 +38338,9 @@ const RollingCovarianceFinalization = (typeof FinalizationRegistry === 'undefine
|
|
|
37250
38338
|
const RollingIqrFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37251
38339
|
? { register: () => {}, unregister: () => {} }
|
|
37252
38340
|
: new FinalizationRegistry(ptr => wasm.__wbg_rollingiqr_free(ptr, 1));
|
|
38341
|
+
const ROLLINGMINMAXFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
38342
|
+
? { register: () => {}, unregister: () => {} }
|
|
38343
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_rollingminmax_free(ptr, 1));
|
|
37253
38344
|
const RollingPercentileRankFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37254
38345
|
? { register: () => {}, unregister: () => {} }
|
|
37255
38346
|
: new FinalizationRegistry(ptr => wasm.__wbg_rollingpercentilerank_free(ptr, 1));
|
|
@@ -37277,6 +38368,9 @@ const RVIVolatilityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
37277
38368
|
const RWIFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37278
38369
|
? { register: () => {}, unregister: () => {} }
|
|
37279
38370
|
: new FinalizationRegistry(ptr => wasm.__wbg_rwi_free(ptr, 1));
|
|
38371
|
+
const SAMPLEENTFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
38372
|
+
? { register: () => {}, unregister: () => {} }
|
|
38373
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sampleent_free(ptr, 1));
|
|
37280
38374
|
const SAREXTFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37281
38375
|
? { register: () => {}, unregister: () => {} }
|
|
37282
38376
|
: new FinalizationRegistry(ptr => wasm.__wbg_sarext_free(ptr, 1));
|
|
@@ -37295,6 +38389,9 @@ const SessionRangeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
37295
38389
|
const SessionVwapFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37296
38390
|
? { register: () => {}, unregister: () => {} }
|
|
37297
38391
|
: new FinalizationRegistry(ptr => wasm.__wbg_sessionvwap_free(ptr, 1));
|
|
38392
|
+
const SHANNONENTFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
38393
|
+
? { register: () => {}, unregister: () => {} }
|
|
38394
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_shannonent_free(ptr, 1));
|
|
37298
38395
|
const SharkFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37299
38396
|
? { register: () => {}, unregister: () => {} }
|
|
37300
38397
|
: new FinalizationRegistry(ptr => wasm.__wbg_shark_free(ptr, 1));
|
|
@@ -37478,6 +38575,9 @@ const TpoProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
37478
38575
|
const TradeImbalanceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37479
38576
|
? { register: () => {}, unregister: () => {} }
|
|
37480
38577
|
: new FinalizationRegistry(ptr => wasm.__wbg_tradeimbalance_free(ptr, 1));
|
|
38578
|
+
const TradeVolumeIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
38579
|
+
? { register: () => {}, unregister: () => {} }
|
|
38580
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tradevolumeindex_free(ptr, 1));
|
|
37481
38581
|
const TrendLabelFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37482
38582
|
? { register: () => {}, unregister: () => {} }
|
|
37483
38583
|
: new FinalizationRegistry(ptr => wasm.__wbg_trendlabel_free(ptr, 1));
|
|
@@ -37529,6 +38629,9 @@ const TurnOfMonthFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
37529
38629
|
const TweezerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37530
38630
|
? { register: () => {}, unregister: () => {} }
|
|
37531
38631
|
: new FinalizationRegistry(ptr => wasm.__wbg_tweezer_free(ptr, 1));
|
|
38632
|
+
const TwiggsMoneyFlowFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
38633
|
+
? { register: () => {}, unregister: () => {} }
|
|
38634
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_twiggsmoneyflow_free(ptr, 1));
|
|
37532
38635
|
const TwoCrowsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37533
38636
|
? { register: () => {}, unregister: () => {} }
|
|
37534
38637
|
: new FinalizationRegistry(ptr => wasm.__wbg_twocrows_free(ptr, 1));
|
|
@@ -37595,6 +38698,12 @@ const VolumePriceTrendFinalization = (typeof FinalizationRegistry === 'undefined
|
|
|
37595
38698
|
const VolumeProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37596
38699
|
? { register: () => {}, unregister: () => {} }
|
|
37597
38700
|
: new FinalizationRegistry(ptr => wasm.__wbg_volumeprofile_free(ptr, 1));
|
|
38701
|
+
const VolumeRsiFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
38702
|
+
? { register: () => {}, unregister: () => {} }
|
|
38703
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_volumersi_free(ptr, 1));
|
|
38704
|
+
const VolumeWeightedMacdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
38705
|
+
? { register: () => {}, unregister: () => {} }
|
|
38706
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_volumeweightedmacd_free(ptr, 1));
|
|
37598
38707
|
const VortexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37599
38708
|
? { register: () => {}, unregister: () => {} }
|
|
37600
38709
|
: new FinalizationRegistry(ptr => wasm.__wbg_vortex_free(ptr, 1));
|
|
@@ -37613,6 +38722,9 @@ const VWMAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
37613
38722
|
const VZOFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37614
38723
|
? { register: () => {}, unregister: () => {} }
|
|
37615
38724
|
: new FinalizationRegistry(ptr => wasm.__wbg_vzo_free(ptr, 1));
|
|
38725
|
+
const WadFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
38726
|
+
? { register: () => {}, unregister: () => {} }
|
|
38727
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wad_free(ptr, 1));
|
|
37616
38728
|
const WAVE_PMFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
37617
38729
|
? { register: () => {}, unregister: () => {} }
|
|
37618
38730
|
: new FinalizationRegistry(ptr => wasm.__wbg_wave_pm_free(ptr, 1));
|