wickra-wasm 0.5.0 → 0.5.1
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 +5 -4
- package/package.json +1 -1
- package/wickra_wasm.d.ts +127 -0
- package/wickra_wasm.js +1 -1
- package/wickra_wasm_bg.js +1000 -81
- package/wickra_wasm_bg.wasm +0 -0
package/wickra_wasm_bg.js
CHANGED
|
@@ -2069,6 +2069,83 @@ export class Autocorrelation {
|
|
|
2069
2069
|
}
|
|
2070
2070
|
if (Symbol.dispose) Autocorrelation.prototype[Symbol.dispose] = Autocorrelation.prototype.free;
|
|
2071
2071
|
|
|
2072
|
+
export class AverageDailyRange {
|
|
2073
|
+
__destroy_into_raw() {
|
|
2074
|
+
const ptr = this.__wbg_ptr;
|
|
2075
|
+
this.__wbg_ptr = 0;
|
|
2076
|
+
AverageDailyRangeFinalization.unregister(this);
|
|
2077
|
+
return ptr;
|
|
2078
|
+
}
|
|
2079
|
+
free() {
|
|
2080
|
+
const ptr = this.__destroy_into_raw();
|
|
2081
|
+
wasm.__wbg_averagedailyrange_free(ptr, 0);
|
|
2082
|
+
}
|
|
2083
|
+
/**
|
|
2084
|
+
* @returns {boolean}
|
|
2085
|
+
*/
|
|
2086
|
+
isReady() {
|
|
2087
|
+
const ret = wasm.averagedailyrange_isReady(this.__wbg_ptr);
|
|
2088
|
+
return ret !== 0;
|
|
2089
|
+
}
|
|
2090
|
+
/**
|
|
2091
|
+
* @param {number} period
|
|
2092
|
+
* @param {number} utc_offset_minutes
|
|
2093
|
+
*/
|
|
2094
|
+
constructor(period, utc_offset_minutes) {
|
|
2095
|
+
try {
|
|
2096
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2097
|
+
wasm.averagedailyrange_new(retptr, period, utc_offset_minutes);
|
|
2098
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2099
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
2100
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
2101
|
+
if (r2) {
|
|
2102
|
+
throw takeObject(r1);
|
|
2103
|
+
}
|
|
2104
|
+
this.__wbg_ptr = r0;
|
|
2105
|
+
AverageDailyRangeFinalization.register(this, this.__wbg_ptr, this);
|
|
2106
|
+
return this;
|
|
2107
|
+
} finally {
|
|
2108
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
reset() {
|
|
2112
|
+
wasm.averagedailyrange_reset(this.__wbg_ptr);
|
|
2113
|
+
}
|
|
2114
|
+
/**
|
|
2115
|
+
* @param {number} open
|
|
2116
|
+
* @param {number} high
|
|
2117
|
+
* @param {number} low
|
|
2118
|
+
* @param {number} close
|
|
2119
|
+
* @param {number} volume
|
|
2120
|
+
* @param {bigint} timestamp
|
|
2121
|
+
* @returns {number | undefined}
|
|
2122
|
+
*/
|
|
2123
|
+
update(open, high, low, close, volume, timestamp) {
|
|
2124
|
+
try {
|
|
2125
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
2126
|
+
wasm.averagedailyrange_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
2127
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2128
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
2129
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
2130
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
2131
|
+
if (r5) {
|
|
2132
|
+
throw takeObject(r4);
|
|
2133
|
+
}
|
|
2134
|
+
return r0 === 0 ? undefined : r2;
|
|
2135
|
+
} finally {
|
|
2136
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2139
|
+
/**
|
|
2140
|
+
* @returns {number}
|
|
2141
|
+
*/
|
|
2142
|
+
warmupPeriod() {
|
|
2143
|
+
const ret = wasm.averagedailyrange_warmupPeriod(this.__wbg_ptr);
|
|
2144
|
+
return ret >>> 0;
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
if (Symbol.dispose) AverageDailyRange.prototype[Symbol.dispose] = AverageDailyRange.prototype.free;
|
|
2148
|
+
|
|
2072
2149
|
export class AverageDrawdown {
|
|
2073
2150
|
__destroy_into_raw() {
|
|
2074
2151
|
const ptr = this.__wbg_ptr;
|
|
@@ -5336,6 +5413,77 @@ export class DX {
|
|
|
5336
5413
|
}
|
|
5337
5414
|
if (Symbol.dispose) DX.prototype[Symbol.dispose] = DX.prototype.free;
|
|
5338
5415
|
|
|
5416
|
+
export class DayOfWeekProfile {
|
|
5417
|
+
__destroy_into_raw() {
|
|
5418
|
+
const ptr = this.__wbg_ptr;
|
|
5419
|
+
this.__wbg_ptr = 0;
|
|
5420
|
+
DayOfWeekProfileFinalization.unregister(this);
|
|
5421
|
+
return ptr;
|
|
5422
|
+
}
|
|
5423
|
+
free() {
|
|
5424
|
+
const ptr = this.__destroy_into_raw();
|
|
5425
|
+
wasm.__wbg_dayofweekprofile_free(ptr, 0);
|
|
5426
|
+
}
|
|
5427
|
+
/**
|
|
5428
|
+
* @returns {boolean}
|
|
5429
|
+
*/
|
|
5430
|
+
isReady() {
|
|
5431
|
+
const ret = wasm.dayofweekprofile_isReady(this.__wbg_ptr);
|
|
5432
|
+
return ret !== 0;
|
|
5433
|
+
}
|
|
5434
|
+
/**
|
|
5435
|
+
* @param {number} utc_offset_minutes
|
|
5436
|
+
*/
|
|
5437
|
+
constructor(utc_offset_minutes) {
|
|
5438
|
+
const ret = wasm.dayofweekprofile_new(utc_offset_minutes);
|
|
5439
|
+
this.__wbg_ptr = ret;
|
|
5440
|
+
DayOfWeekProfileFinalization.register(this, this.__wbg_ptr, this);
|
|
5441
|
+
return this;
|
|
5442
|
+
}
|
|
5443
|
+
reset() {
|
|
5444
|
+
wasm.dayofweekprofile_reset(this.__wbg_ptr);
|
|
5445
|
+
}
|
|
5446
|
+
/**
|
|
5447
|
+
* @param {number} open
|
|
5448
|
+
* @param {number} high
|
|
5449
|
+
* @param {number} low
|
|
5450
|
+
* @param {number} close
|
|
5451
|
+
* @param {number} volume
|
|
5452
|
+
* @param {bigint} timestamp
|
|
5453
|
+
* @returns {any}
|
|
5454
|
+
*/
|
|
5455
|
+
update(open, high, low, close, volume, timestamp) {
|
|
5456
|
+
try {
|
|
5457
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
5458
|
+
wasm.dayofweekprofile_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
5459
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
5460
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
5461
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
5462
|
+
if (r2) {
|
|
5463
|
+
throw takeObject(r1);
|
|
5464
|
+
}
|
|
5465
|
+
return takeObject(r0);
|
|
5466
|
+
} finally {
|
|
5467
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
5468
|
+
}
|
|
5469
|
+
}
|
|
5470
|
+
/**
|
|
5471
|
+
* @returns {number}
|
|
5472
|
+
*/
|
|
5473
|
+
utcOffsetMinutes() {
|
|
5474
|
+
const ret = wasm.dayofweekprofile_utcOffsetMinutes(this.__wbg_ptr);
|
|
5475
|
+
return ret;
|
|
5476
|
+
}
|
|
5477
|
+
/**
|
|
5478
|
+
* @returns {number}
|
|
5479
|
+
*/
|
|
5480
|
+
warmupPeriod() {
|
|
5481
|
+
const ret = wasm.dayofweekprofile_warmupPeriod(this.__wbg_ptr);
|
|
5482
|
+
return ret >>> 0;
|
|
5483
|
+
}
|
|
5484
|
+
}
|
|
5485
|
+
if (Symbol.dispose) DayOfWeekProfile.prototype[Symbol.dispose] = DayOfWeekProfile.prototype.free;
|
|
5486
|
+
|
|
5339
5487
|
export class Decycler {
|
|
5340
5488
|
__destroy_into_raw() {
|
|
5341
5489
|
const ptr = this.__wbg_ptr;
|
|
@@ -10787,6 +10935,89 @@ export class InstantaneousTrendline {
|
|
|
10787
10935
|
}
|
|
10788
10936
|
if (Symbol.dispose) InstantaneousTrendline.prototype[Symbol.dispose] = InstantaneousTrendline.prototype.free;
|
|
10789
10937
|
|
|
10938
|
+
export class IntradayVolatilityProfile {
|
|
10939
|
+
__destroy_into_raw() {
|
|
10940
|
+
const ptr = this.__wbg_ptr;
|
|
10941
|
+
this.__wbg_ptr = 0;
|
|
10942
|
+
IntradayVolatilityProfileFinalization.unregister(this);
|
|
10943
|
+
return ptr;
|
|
10944
|
+
}
|
|
10945
|
+
free() {
|
|
10946
|
+
const ptr = this.__destroy_into_raw();
|
|
10947
|
+
wasm.__wbg_intradayvolatilityprofile_free(ptr, 0);
|
|
10948
|
+
}
|
|
10949
|
+
/**
|
|
10950
|
+
* @returns {boolean}
|
|
10951
|
+
*/
|
|
10952
|
+
isReady() {
|
|
10953
|
+
const ret = wasm.intradayvolatilityprofile_isReady(this.__wbg_ptr);
|
|
10954
|
+
return ret !== 0;
|
|
10955
|
+
}
|
|
10956
|
+
/**
|
|
10957
|
+
* @param {number} buckets
|
|
10958
|
+
* @param {number} utc_offset_minutes
|
|
10959
|
+
*/
|
|
10960
|
+
constructor(buckets, utc_offset_minutes) {
|
|
10961
|
+
try {
|
|
10962
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
10963
|
+
wasm.intradayvolatilityprofile_new(retptr, buckets, utc_offset_minutes);
|
|
10964
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
10965
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
10966
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
10967
|
+
if (r2) {
|
|
10968
|
+
throw takeObject(r1);
|
|
10969
|
+
}
|
|
10970
|
+
this.__wbg_ptr = r0;
|
|
10971
|
+
IntradayVolatilityProfileFinalization.register(this, this.__wbg_ptr, this);
|
|
10972
|
+
return this;
|
|
10973
|
+
} finally {
|
|
10974
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
10975
|
+
}
|
|
10976
|
+
}
|
|
10977
|
+
reset() {
|
|
10978
|
+
wasm.intradayvolatilityprofile_reset(this.__wbg_ptr);
|
|
10979
|
+
}
|
|
10980
|
+
/**
|
|
10981
|
+
* @param {number} open
|
|
10982
|
+
* @param {number} high
|
|
10983
|
+
* @param {number} low
|
|
10984
|
+
* @param {number} close
|
|
10985
|
+
* @param {number} volume
|
|
10986
|
+
* @param {bigint} timestamp
|
|
10987
|
+
* @returns {any}
|
|
10988
|
+
*/
|
|
10989
|
+
update(open, high, low, close, volume, timestamp) {
|
|
10990
|
+
try {
|
|
10991
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
10992
|
+
wasm.intradayvolatilityprofile_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
10993
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
10994
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
10995
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
10996
|
+
if (r2) {
|
|
10997
|
+
throw takeObject(r1);
|
|
10998
|
+
}
|
|
10999
|
+
return takeObject(r0);
|
|
11000
|
+
} finally {
|
|
11001
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
11002
|
+
}
|
|
11003
|
+
}
|
|
11004
|
+
/**
|
|
11005
|
+
* @returns {number}
|
|
11006
|
+
*/
|
|
11007
|
+
utcOffsetMinutes() {
|
|
11008
|
+
const ret = wasm.intradayvolatilityprofile_utcOffsetMinutes(this.__wbg_ptr);
|
|
11009
|
+
return ret;
|
|
11010
|
+
}
|
|
11011
|
+
/**
|
|
11012
|
+
* @returns {number}
|
|
11013
|
+
*/
|
|
11014
|
+
warmupPeriod() {
|
|
11015
|
+
const ret = wasm.intradayvolatilityprofile_warmupPeriod(this.__wbg_ptr);
|
|
11016
|
+
return ret >>> 0;
|
|
11017
|
+
}
|
|
11018
|
+
}
|
|
11019
|
+
if (Symbol.dispose) IntradayVolatilityProfile.prototype[Symbol.dispose] = IntradayVolatilityProfile.prototype.free;
|
|
11020
|
+
|
|
10790
11021
|
export class InverseFisherTransform {
|
|
10791
11022
|
__destroy_into_raw() {
|
|
10792
11023
|
const ptr = this.__wbg_ptr;
|
|
@@ -15996,84 +16227,49 @@ export class OuHalfLife {
|
|
|
15996
16227
|
}
|
|
15997
16228
|
if (Symbol.dispose) OuHalfLife.prototype[Symbol.dispose] = OuHalfLife.prototype.free;
|
|
15998
16229
|
|
|
15999
|
-
export class
|
|
16230
|
+
export class OvernightGap {
|
|
16000
16231
|
__destroy_into_raw() {
|
|
16001
16232
|
const ptr = this.__wbg_ptr;
|
|
16002
16233
|
this.__wbg_ptr = 0;
|
|
16003
|
-
|
|
16234
|
+
OvernightGapFinalization.unregister(this);
|
|
16004
16235
|
return ptr;
|
|
16005
16236
|
}
|
|
16006
16237
|
free() {
|
|
16007
16238
|
const ptr = this.__destroy_into_raw();
|
|
16008
|
-
wasm.
|
|
16009
|
-
}
|
|
16010
|
-
/**
|
|
16011
|
-
* @param {Float64Array} high
|
|
16012
|
-
* @param {Float64Array} low
|
|
16013
|
-
* @param {Float64Array} close
|
|
16014
|
-
* @returns {Float64Array}
|
|
16015
|
-
*/
|
|
16016
|
-
batch(high, low, close) {
|
|
16017
|
-
try {
|
|
16018
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
16019
|
-
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
16020
|
-
const len0 = WASM_VECTOR_LEN;
|
|
16021
|
-
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
16022
|
-
const len1 = WASM_VECTOR_LEN;
|
|
16023
|
-
const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
16024
|
-
const len2 = WASM_VECTOR_LEN;
|
|
16025
|
-
wasm.pgo_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
16026
|
-
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16027
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
16028
|
-
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
16029
|
-
if (r2) {
|
|
16030
|
-
throw takeObject(r1);
|
|
16031
|
-
}
|
|
16032
|
-
return takeObject(r0);
|
|
16033
|
-
} finally {
|
|
16034
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
16035
|
-
}
|
|
16239
|
+
wasm.__wbg_overnightgap_free(ptr, 0);
|
|
16036
16240
|
}
|
|
16037
16241
|
/**
|
|
16038
16242
|
* @returns {boolean}
|
|
16039
16243
|
*/
|
|
16040
16244
|
isReady() {
|
|
16041
|
-
const ret = wasm.
|
|
16245
|
+
const ret = wasm.overnightgap_isReady(this.__wbg_ptr);
|
|
16042
16246
|
return ret !== 0;
|
|
16043
16247
|
}
|
|
16044
16248
|
/**
|
|
16045
|
-
* @param {number}
|
|
16249
|
+
* @param {number} utc_offset_minutes
|
|
16046
16250
|
*/
|
|
16047
|
-
constructor(
|
|
16048
|
-
|
|
16049
|
-
|
|
16050
|
-
|
|
16051
|
-
|
|
16052
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
16053
|
-
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
16054
|
-
if (r2) {
|
|
16055
|
-
throw takeObject(r1);
|
|
16056
|
-
}
|
|
16057
|
-
this.__wbg_ptr = r0;
|
|
16058
|
-
PGOFinalization.register(this, this.__wbg_ptr, this);
|
|
16059
|
-
return this;
|
|
16060
|
-
} finally {
|
|
16061
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
16062
|
-
}
|
|
16251
|
+
constructor(utc_offset_minutes) {
|
|
16252
|
+
const ret = wasm.overnightgap_new(utc_offset_minutes);
|
|
16253
|
+
this.__wbg_ptr = ret;
|
|
16254
|
+
OvernightGapFinalization.register(this, this.__wbg_ptr, this);
|
|
16255
|
+
return this;
|
|
16063
16256
|
}
|
|
16064
16257
|
reset() {
|
|
16065
|
-
wasm.
|
|
16258
|
+
wasm.overnightgap_reset(this.__wbg_ptr);
|
|
16066
16259
|
}
|
|
16067
16260
|
/**
|
|
16261
|
+
* @param {number} open
|
|
16068
16262
|
* @param {number} high
|
|
16069
16263
|
* @param {number} low
|
|
16070
16264
|
* @param {number} close
|
|
16265
|
+
* @param {number} volume
|
|
16266
|
+
* @param {bigint} timestamp
|
|
16071
16267
|
* @returns {number | undefined}
|
|
16072
16268
|
*/
|
|
16073
|
-
update(high, low, close) {
|
|
16269
|
+
update(open, high, low, close, volume, timestamp) {
|
|
16074
16270
|
try {
|
|
16075
16271
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
16076
|
-
wasm.
|
|
16272
|
+
wasm.overnightgap_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
16077
16273
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16078
16274
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
16079
16275
|
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
@@ -16086,35 +16282,206 @@ export class PGO {
|
|
|
16086
16282
|
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
16087
16283
|
}
|
|
16088
16284
|
}
|
|
16285
|
+
/**
|
|
16286
|
+
* @returns {number}
|
|
16287
|
+
*/
|
|
16288
|
+
utcOffsetMinutes() {
|
|
16289
|
+
const ret = wasm.overnightgap_utcOffsetMinutes(this.__wbg_ptr);
|
|
16290
|
+
return ret;
|
|
16291
|
+
}
|
|
16089
16292
|
/**
|
|
16090
16293
|
* @returns {number}
|
|
16091
16294
|
*/
|
|
16092
16295
|
warmupPeriod() {
|
|
16093
|
-
const ret = wasm.
|
|
16296
|
+
const ret = wasm.overnightgap_warmupPeriod(this.__wbg_ptr);
|
|
16094
16297
|
return ret >>> 0;
|
|
16095
16298
|
}
|
|
16096
16299
|
}
|
|
16097
|
-
if (Symbol.dispose)
|
|
16300
|
+
if (Symbol.dispose) OvernightGap.prototype[Symbol.dispose] = OvernightGap.prototype.free;
|
|
16098
16301
|
|
|
16099
|
-
export class
|
|
16302
|
+
export class OvernightIntradayReturn {
|
|
16100
16303
|
__destroy_into_raw() {
|
|
16101
16304
|
const ptr = this.__wbg_ptr;
|
|
16102
16305
|
this.__wbg_ptr = 0;
|
|
16103
|
-
|
|
16306
|
+
OvernightIntradayReturnFinalization.unregister(this);
|
|
16104
16307
|
return ptr;
|
|
16105
16308
|
}
|
|
16106
16309
|
free() {
|
|
16107
16310
|
const ptr = this.__destroy_into_raw();
|
|
16108
|
-
wasm.
|
|
16311
|
+
wasm.__wbg_overnightintradayreturn_free(ptr, 0);
|
|
16109
16312
|
}
|
|
16110
16313
|
/**
|
|
16111
|
-
* @
|
|
16112
|
-
* @param {Float64Array} low
|
|
16113
|
-
* @param {Float64Array} close
|
|
16114
|
-
* @returns {Float64Array}
|
|
16314
|
+
* @returns {boolean}
|
|
16115
16315
|
*/
|
|
16116
|
-
|
|
16117
|
-
|
|
16316
|
+
isReady() {
|
|
16317
|
+
const ret = wasm.overnightintradayreturn_isReady(this.__wbg_ptr);
|
|
16318
|
+
return ret !== 0;
|
|
16319
|
+
}
|
|
16320
|
+
/**
|
|
16321
|
+
* @param {number} utc_offset_minutes
|
|
16322
|
+
*/
|
|
16323
|
+
constructor(utc_offset_minutes) {
|
|
16324
|
+
const ret = wasm.overnightintradayreturn_new(utc_offset_minutes);
|
|
16325
|
+
this.__wbg_ptr = ret;
|
|
16326
|
+
OvernightIntradayReturnFinalization.register(this, this.__wbg_ptr, this);
|
|
16327
|
+
return this;
|
|
16328
|
+
}
|
|
16329
|
+
reset() {
|
|
16330
|
+
wasm.overnightintradayreturn_reset(this.__wbg_ptr);
|
|
16331
|
+
}
|
|
16332
|
+
/**
|
|
16333
|
+
* @param {number} open
|
|
16334
|
+
* @param {number} high
|
|
16335
|
+
* @param {number} low
|
|
16336
|
+
* @param {number} close
|
|
16337
|
+
* @param {number} volume
|
|
16338
|
+
* @param {bigint} timestamp
|
|
16339
|
+
* @returns {any}
|
|
16340
|
+
*/
|
|
16341
|
+
update(open, high, low, close, volume, timestamp) {
|
|
16342
|
+
try {
|
|
16343
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
16344
|
+
wasm.overnightintradayreturn_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
16345
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16346
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
16347
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
16348
|
+
if (r2) {
|
|
16349
|
+
throw takeObject(r1);
|
|
16350
|
+
}
|
|
16351
|
+
return takeObject(r0);
|
|
16352
|
+
} finally {
|
|
16353
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
16354
|
+
}
|
|
16355
|
+
}
|
|
16356
|
+
/**
|
|
16357
|
+
* @returns {number}
|
|
16358
|
+
*/
|
|
16359
|
+
warmupPeriod() {
|
|
16360
|
+
const ret = wasm.overnightintradayreturn_warmupPeriod(this.__wbg_ptr);
|
|
16361
|
+
return ret >>> 0;
|
|
16362
|
+
}
|
|
16363
|
+
}
|
|
16364
|
+
if (Symbol.dispose) OvernightIntradayReturn.prototype[Symbol.dispose] = OvernightIntradayReturn.prototype.free;
|
|
16365
|
+
|
|
16366
|
+
export class PGO {
|
|
16367
|
+
__destroy_into_raw() {
|
|
16368
|
+
const ptr = this.__wbg_ptr;
|
|
16369
|
+
this.__wbg_ptr = 0;
|
|
16370
|
+
PGOFinalization.unregister(this);
|
|
16371
|
+
return ptr;
|
|
16372
|
+
}
|
|
16373
|
+
free() {
|
|
16374
|
+
const ptr = this.__destroy_into_raw();
|
|
16375
|
+
wasm.__wbg_pgo_free(ptr, 0);
|
|
16376
|
+
}
|
|
16377
|
+
/**
|
|
16378
|
+
* @param {Float64Array} high
|
|
16379
|
+
* @param {Float64Array} low
|
|
16380
|
+
* @param {Float64Array} close
|
|
16381
|
+
* @returns {Float64Array}
|
|
16382
|
+
*/
|
|
16383
|
+
batch(high, low, close) {
|
|
16384
|
+
try {
|
|
16385
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
16386
|
+
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
16387
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16388
|
+
const ptr1 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
16389
|
+
const len1 = WASM_VECTOR_LEN;
|
|
16390
|
+
const ptr2 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
16391
|
+
const len2 = WASM_VECTOR_LEN;
|
|
16392
|
+
wasm.pgo_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
16393
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16394
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
16395
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
16396
|
+
if (r2) {
|
|
16397
|
+
throw takeObject(r1);
|
|
16398
|
+
}
|
|
16399
|
+
return takeObject(r0);
|
|
16400
|
+
} finally {
|
|
16401
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
16402
|
+
}
|
|
16403
|
+
}
|
|
16404
|
+
/**
|
|
16405
|
+
* @returns {boolean}
|
|
16406
|
+
*/
|
|
16407
|
+
isReady() {
|
|
16408
|
+
const ret = wasm.pgo_isReady(this.__wbg_ptr);
|
|
16409
|
+
return ret !== 0;
|
|
16410
|
+
}
|
|
16411
|
+
/**
|
|
16412
|
+
* @param {number} period
|
|
16413
|
+
*/
|
|
16414
|
+
constructor(period) {
|
|
16415
|
+
try {
|
|
16416
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
16417
|
+
wasm.pgo_new(retptr, period);
|
|
16418
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16419
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
16420
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
16421
|
+
if (r2) {
|
|
16422
|
+
throw takeObject(r1);
|
|
16423
|
+
}
|
|
16424
|
+
this.__wbg_ptr = r0;
|
|
16425
|
+
PGOFinalization.register(this, this.__wbg_ptr, this);
|
|
16426
|
+
return this;
|
|
16427
|
+
} finally {
|
|
16428
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
16429
|
+
}
|
|
16430
|
+
}
|
|
16431
|
+
reset() {
|
|
16432
|
+
wasm.pgo_reset(this.__wbg_ptr);
|
|
16433
|
+
}
|
|
16434
|
+
/**
|
|
16435
|
+
* @param {number} high
|
|
16436
|
+
* @param {number} low
|
|
16437
|
+
* @param {number} close
|
|
16438
|
+
* @returns {number | undefined}
|
|
16439
|
+
*/
|
|
16440
|
+
update(high, low, close) {
|
|
16441
|
+
try {
|
|
16442
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
16443
|
+
wasm.pgo_update(retptr, this.__wbg_ptr, high, low, close);
|
|
16444
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16445
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
16446
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
16447
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
16448
|
+
if (r5) {
|
|
16449
|
+
throw takeObject(r4);
|
|
16450
|
+
}
|
|
16451
|
+
return r0 === 0 ? undefined : r2;
|
|
16452
|
+
} finally {
|
|
16453
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
16454
|
+
}
|
|
16455
|
+
}
|
|
16456
|
+
/**
|
|
16457
|
+
* @returns {number}
|
|
16458
|
+
*/
|
|
16459
|
+
warmupPeriod() {
|
|
16460
|
+
const ret = wasm.pgo_warmupPeriod(this.__wbg_ptr);
|
|
16461
|
+
return ret >>> 0;
|
|
16462
|
+
}
|
|
16463
|
+
}
|
|
16464
|
+
if (Symbol.dispose) PGO.prototype[Symbol.dispose] = PGO.prototype.free;
|
|
16465
|
+
|
|
16466
|
+
export class PLUS_DI {
|
|
16467
|
+
__destroy_into_raw() {
|
|
16468
|
+
const ptr = this.__wbg_ptr;
|
|
16469
|
+
this.__wbg_ptr = 0;
|
|
16470
|
+
PLUS_DIFinalization.unregister(this);
|
|
16471
|
+
return ptr;
|
|
16472
|
+
}
|
|
16473
|
+
free() {
|
|
16474
|
+
const ptr = this.__destroy_into_raw();
|
|
16475
|
+
wasm.__wbg_plus_di_free(ptr, 0);
|
|
16476
|
+
}
|
|
16477
|
+
/**
|
|
16478
|
+
* @param {Float64Array} high
|
|
16479
|
+
* @param {Float64Array} low
|
|
16480
|
+
* @param {Float64Array} close
|
|
16481
|
+
* @returns {Float64Array}
|
|
16482
|
+
*/
|
|
16483
|
+
batch(high, low, close) {
|
|
16484
|
+
try {
|
|
16118
16485
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
16119
16486
|
const ptr0 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
16120
16487
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -19763,6 +20130,78 @@ export class STC {
|
|
|
19763
20130
|
}
|
|
19764
20131
|
if (Symbol.dispose) STC.prototype[Symbol.dispose] = STC.prototype.free;
|
|
19765
20132
|
|
|
20133
|
+
export class SeasonalZScore {
|
|
20134
|
+
__destroy_into_raw() {
|
|
20135
|
+
const ptr = this.__wbg_ptr;
|
|
20136
|
+
this.__wbg_ptr = 0;
|
|
20137
|
+
SeasonalZScoreFinalization.unregister(this);
|
|
20138
|
+
return ptr;
|
|
20139
|
+
}
|
|
20140
|
+
free() {
|
|
20141
|
+
const ptr = this.__destroy_into_raw();
|
|
20142
|
+
wasm.__wbg_seasonalzscore_free(ptr, 0);
|
|
20143
|
+
}
|
|
20144
|
+
/**
|
|
20145
|
+
* @returns {boolean}
|
|
20146
|
+
*/
|
|
20147
|
+
isReady() {
|
|
20148
|
+
const ret = wasm.seasonalzscore_isReady(this.__wbg_ptr);
|
|
20149
|
+
return ret !== 0;
|
|
20150
|
+
}
|
|
20151
|
+
/**
|
|
20152
|
+
* @param {number} utc_offset_minutes
|
|
20153
|
+
*/
|
|
20154
|
+
constructor(utc_offset_minutes) {
|
|
20155
|
+
const ret = wasm.seasonalzscore_new(utc_offset_minutes);
|
|
20156
|
+
this.__wbg_ptr = ret;
|
|
20157
|
+
SeasonalZScoreFinalization.register(this, this.__wbg_ptr, this);
|
|
20158
|
+
return this;
|
|
20159
|
+
}
|
|
20160
|
+
reset() {
|
|
20161
|
+
wasm.seasonalzscore_reset(this.__wbg_ptr);
|
|
20162
|
+
}
|
|
20163
|
+
/**
|
|
20164
|
+
* @param {number} open
|
|
20165
|
+
* @param {number} high
|
|
20166
|
+
* @param {number} low
|
|
20167
|
+
* @param {number} close
|
|
20168
|
+
* @param {number} volume
|
|
20169
|
+
* @param {bigint} timestamp
|
|
20170
|
+
* @returns {number | undefined}
|
|
20171
|
+
*/
|
|
20172
|
+
update(open, high, low, close, volume, timestamp) {
|
|
20173
|
+
try {
|
|
20174
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
20175
|
+
wasm.seasonalzscore_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
20176
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
20177
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
20178
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
20179
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
20180
|
+
if (r5) {
|
|
20181
|
+
throw takeObject(r4);
|
|
20182
|
+
}
|
|
20183
|
+
return r0 === 0 ? undefined : r2;
|
|
20184
|
+
} finally {
|
|
20185
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
20186
|
+
}
|
|
20187
|
+
}
|
|
20188
|
+
/**
|
|
20189
|
+
* @returns {number}
|
|
20190
|
+
*/
|
|
20191
|
+
utcOffsetMinutes() {
|
|
20192
|
+
const ret = wasm.seasonalzscore_utcOffsetMinutes(this.__wbg_ptr);
|
|
20193
|
+
return ret;
|
|
20194
|
+
}
|
|
20195
|
+
/**
|
|
20196
|
+
* @returns {number}
|
|
20197
|
+
*/
|
|
20198
|
+
warmupPeriod() {
|
|
20199
|
+
const ret = wasm.seasonalzscore_warmupPeriod(this.__wbg_ptr);
|
|
20200
|
+
return ret >>> 0;
|
|
20201
|
+
}
|
|
20202
|
+
}
|
|
20203
|
+
if (Symbol.dispose) SeasonalZScore.prototype[Symbol.dispose] = SeasonalZScore.prototype.free;
|
|
20204
|
+
|
|
19766
20205
|
export class SeparatingLines {
|
|
19767
20206
|
__destroy_into_raw() {
|
|
19768
20207
|
const ptr = this.__wbg_ptr;
|
|
@@ -19781,18 +20220,185 @@ export class SeparatingLines {
|
|
|
19781
20220
|
* @param {Float64Array} close
|
|
19782
20221
|
* @returns {Float64Array}
|
|
19783
20222
|
*/
|
|
19784
|
-
batch(open, high, low, close) {
|
|
20223
|
+
batch(open, high, low, close) {
|
|
20224
|
+
try {
|
|
20225
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
20226
|
+
const ptr0 = passArrayF64ToWasm0(open, wasm.__wbindgen_export3);
|
|
20227
|
+
const len0 = WASM_VECTOR_LEN;
|
|
20228
|
+
const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
20229
|
+
const len1 = WASM_VECTOR_LEN;
|
|
20230
|
+
const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
20231
|
+
const len2 = WASM_VECTOR_LEN;
|
|
20232
|
+
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
20233
|
+
const len3 = WASM_VECTOR_LEN;
|
|
20234
|
+
wasm.separatinglines_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
20235
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
20236
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
20237
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
20238
|
+
if (r2) {
|
|
20239
|
+
throw takeObject(r1);
|
|
20240
|
+
}
|
|
20241
|
+
return takeObject(r0);
|
|
20242
|
+
} finally {
|
|
20243
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
20244
|
+
}
|
|
20245
|
+
}
|
|
20246
|
+
/**
|
|
20247
|
+
* @returns {boolean}
|
|
20248
|
+
*/
|
|
20249
|
+
isReady() {
|
|
20250
|
+
const ret = wasm.separatinglines_isReady(this.__wbg_ptr);
|
|
20251
|
+
return ret !== 0;
|
|
20252
|
+
}
|
|
20253
|
+
constructor() {
|
|
20254
|
+
const ret = wasm.separatinglines_new();
|
|
20255
|
+
this.__wbg_ptr = ret;
|
|
20256
|
+
SeparatingLinesFinalization.register(this, this.__wbg_ptr, this);
|
|
20257
|
+
return this;
|
|
20258
|
+
}
|
|
20259
|
+
reset() {
|
|
20260
|
+
wasm.separatinglines_reset(this.__wbg_ptr);
|
|
20261
|
+
}
|
|
20262
|
+
/**
|
|
20263
|
+
* @param {number} open
|
|
20264
|
+
* @param {number} high
|
|
20265
|
+
* @param {number} low
|
|
20266
|
+
* @param {number} close
|
|
20267
|
+
* @returns {number | undefined}
|
|
20268
|
+
*/
|
|
20269
|
+
update(open, high, low, close) {
|
|
20270
|
+
try {
|
|
20271
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
20272
|
+
wasm.separatinglines_update(retptr, this.__wbg_ptr, open, high, low, close);
|
|
20273
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
20274
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
20275
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
20276
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
20277
|
+
if (r5) {
|
|
20278
|
+
throw takeObject(r4);
|
|
20279
|
+
}
|
|
20280
|
+
return r0 === 0 ? undefined : r2;
|
|
20281
|
+
} finally {
|
|
20282
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
20283
|
+
}
|
|
20284
|
+
}
|
|
20285
|
+
/**
|
|
20286
|
+
* @returns {number}
|
|
20287
|
+
*/
|
|
20288
|
+
warmupPeriod() {
|
|
20289
|
+
const ret = wasm.separatinglines_warmupPeriod(this.__wbg_ptr);
|
|
20290
|
+
return ret >>> 0;
|
|
20291
|
+
}
|
|
20292
|
+
}
|
|
20293
|
+
if (Symbol.dispose) SeparatingLines.prototype[Symbol.dispose] = SeparatingLines.prototype.free;
|
|
20294
|
+
|
|
20295
|
+
export class SessionHighLow {
|
|
20296
|
+
__destroy_into_raw() {
|
|
20297
|
+
const ptr = this.__wbg_ptr;
|
|
20298
|
+
this.__wbg_ptr = 0;
|
|
20299
|
+
SessionHighLowFinalization.unregister(this);
|
|
20300
|
+
return ptr;
|
|
20301
|
+
}
|
|
20302
|
+
free() {
|
|
20303
|
+
const ptr = this.__destroy_into_raw();
|
|
20304
|
+
wasm.__wbg_sessionhighlow_free(ptr, 0);
|
|
20305
|
+
}
|
|
20306
|
+
/**
|
|
20307
|
+
* @returns {boolean}
|
|
20308
|
+
*/
|
|
20309
|
+
isReady() {
|
|
20310
|
+
const ret = wasm.sessionhighlow_isReady(this.__wbg_ptr);
|
|
20311
|
+
return ret !== 0;
|
|
20312
|
+
}
|
|
20313
|
+
/**
|
|
20314
|
+
* @param {number} utc_offset_minutes
|
|
20315
|
+
*/
|
|
20316
|
+
constructor(utc_offset_minutes) {
|
|
20317
|
+
const ret = wasm.sessionhighlow_new(utc_offset_minutes);
|
|
20318
|
+
this.__wbg_ptr = ret;
|
|
20319
|
+
SessionHighLowFinalization.register(this, this.__wbg_ptr, this);
|
|
20320
|
+
return this;
|
|
20321
|
+
}
|
|
20322
|
+
reset() {
|
|
20323
|
+
wasm.sessionhighlow_reset(this.__wbg_ptr);
|
|
20324
|
+
}
|
|
20325
|
+
/**
|
|
20326
|
+
* @param {number} open
|
|
20327
|
+
* @param {number} high
|
|
20328
|
+
* @param {number} low
|
|
20329
|
+
* @param {number} close
|
|
20330
|
+
* @param {number} volume
|
|
20331
|
+
* @param {bigint} timestamp
|
|
20332
|
+
* @returns {any}
|
|
20333
|
+
*/
|
|
20334
|
+
update(open, high, low, close, volume, timestamp) {
|
|
20335
|
+
try {
|
|
20336
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
20337
|
+
wasm.sessionhighlow_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
20338
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
20339
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
20340
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
20341
|
+
if (r2) {
|
|
20342
|
+
throw takeObject(r1);
|
|
20343
|
+
}
|
|
20344
|
+
return takeObject(r0);
|
|
20345
|
+
} finally {
|
|
20346
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
20347
|
+
}
|
|
20348
|
+
}
|
|
20349
|
+
/**
|
|
20350
|
+
* @returns {number}
|
|
20351
|
+
*/
|
|
20352
|
+
warmupPeriod() {
|
|
20353
|
+
const ret = wasm.sessionhighlow_warmupPeriod(this.__wbg_ptr);
|
|
20354
|
+
return ret >>> 0;
|
|
20355
|
+
}
|
|
20356
|
+
}
|
|
20357
|
+
if (Symbol.dispose) SessionHighLow.prototype[Symbol.dispose] = SessionHighLow.prototype.free;
|
|
20358
|
+
|
|
20359
|
+
export class SessionRange {
|
|
20360
|
+
__destroy_into_raw() {
|
|
20361
|
+
const ptr = this.__wbg_ptr;
|
|
20362
|
+
this.__wbg_ptr = 0;
|
|
20363
|
+
SessionRangeFinalization.unregister(this);
|
|
20364
|
+
return ptr;
|
|
20365
|
+
}
|
|
20366
|
+
free() {
|
|
20367
|
+
const ptr = this.__destroy_into_raw();
|
|
20368
|
+
wasm.__wbg_sessionrange_free(ptr, 0);
|
|
20369
|
+
}
|
|
20370
|
+
/**
|
|
20371
|
+
* @returns {boolean}
|
|
20372
|
+
*/
|
|
20373
|
+
isReady() {
|
|
20374
|
+
const ret = wasm.sessionrange_isReady(this.__wbg_ptr);
|
|
20375
|
+
return ret !== 0;
|
|
20376
|
+
}
|
|
20377
|
+
/**
|
|
20378
|
+
* @param {number} utc_offset_minutes
|
|
20379
|
+
*/
|
|
20380
|
+
constructor(utc_offset_minutes) {
|
|
20381
|
+
const ret = wasm.sessionrange_new(utc_offset_minutes);
|
|
20382
|
+
this.__wbg_ptr = ret;
|
|
20383
|
+
SessionRangeFinalization.register(this, this.__wbg_ptr, this);
|
|
20384
|
+
return this;
|
|
20385
|
+
}
|
|
20386
|
+
reset() {
|
|
20387
|
+
wasm.sessionrange_reset(this.__wbg_ptr);
|
|
20388
|
+
}
|
|
20389
|
+
/**
|
|
20390
|
+
* @param {number} open
|
|
20391
|
+
* @param {number} high
|
|
20392
|
+
* @param {number} low
|
|
20393
|
+
* @param {number} close
|
|
20394
|
+
* @param {number} volume
|
|
20395
|
+
* @param {bigint} timestamp
|
|
20396
|
+
* @returns {any}
|
|
20397
|
+
*/
|
|
20398
|
+
update(open, high, low, close, volume, timestamp) {
|
|
19785
20399
|
try {
|
|
19786
20400
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
19787
|
-
|
|
19788
|
-
const len0 = WASM_VECTOR_LEN;
|
|
19789
|
-
const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
19790
|
-
const len1 = WASM_VECTOR_LEN;
|
|
19791
|
-
const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
19792
|
-
const len2 = WASM_VECTOR_LEN;
|
|
19793
|
-
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
19794
|
-
const len3 = WASM_VECTOR_LEN;
|
|
19795
|
-
wasm.separatinglines_batch(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
20401
|
+
wasm.sessionrange_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
19796
20402
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
19797
20403
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
19798
20404
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -19804,33 +20410,59 @@ export class SeparatingLines {
|
|
|
19804
20410
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
19805
20411
|
}
|
|
19806
20412
|
}
|
|
20413
|
+
/**
|
|
20414
|
+
* @returns {number}
|
|
20415
|
+
*/
|
|
20416
|
+
warmupPeriod() {
|
|
20417
|
+
const ret = wasm.sessionrange_warmupPeriod(this.__wbg_ptr);
|
|
20418
|
+
return ret >>> 0;
|
|
20419
|
+
}
|
|
20420
|
+
}
|
|
20421
|
+
if (Symbol.dispose) SessionRange.prototype[Symbol.dispose] = SessionRange.prototype.free;
|
|
20422
|
+
|
|
20423
|
+
export class SessionVwap {
|
|
20424
|
+
__destroy_into_raw() {
|
|
20425
|
+
const ptr = this.__wbg_ptr;
|
|
20426
|
+
this.__wbg_ptr = 0;
|
|
20427
|
+
SessionVwapFinalization.unregister(this);
|
|
20428
|
+
return ptr;
|
|
20429
|
+
}
|
|
20430
|
+
free() {
|
|
20431
|
+
const ptr = this.__destroy_into_raw();
|
|
20432
|
+
wasm.__wbg_sessionvwap_free(ptr, 0);
|
|
20433
|
+
}
|
|
19807
20434
|
/**
|
|
19808
20435
|
* @returns {boolean}
|
|
19809
20436
|
*/
|
|
19810
20437
|
isReady() {
|
|
19811
|
-
const ret = wasm.
|
|
20438
|
+
const ret = wasm.sessionvwap_isReady(this.__wbg_ptr);
|
|
19812
20439
|
return ret !== 0;
|
|
19813
20440
|
}
|
|
19814
|
-
|
|
19815
|
-
|
|
20441
|
+
/**
|
|
20442
|
+
* @param {number} utc_offset_minutes
|
|
20443
|
+
*/
|
|
20444
|
+
constructor(utc_offset_minutes) {
|
|
20445
|
+
const ret = wasm.sessionvwap_new(utc_offset_minutes);
|
|
19816
20446
|
this.__wbg_ptr = ret;
|
|
19817
|
-
|
|
20447
|
+
SessionVwapFinalization.register(this, this.__wbg_ptr, this);
|
|
19818
20448
|
return this;
|
|
19819
20449
|
}
|
|
19820
20450
|
reset() {
|
|
19821
|
-
wasm.
|
|
20451
|
+
wasm.sessionvwap_reset(this.__wbg_ptr);
|
|
19822
20452
|
}
|
|
19823
20453
|
/**
|
|
19824
20454
|
* @param {number} open
|
|
19825
20455
|
* @param {number} high
|
|
19826
20456
|
* @param {number} low
|
|
19827
20457
|
* @param {number} close
|
|
20458
|
+
* @param {number} volume
|
|
20459
|
+
* @param {bigint} timestamp
|
|
19828
20460
|
* @returns {number | undefined}
|
|
19829
20461
|
*/
|
|
19830
|
-
update(open, high, low, close) {
|
|
20462
|
+
update(open, high, low, close, volume, timestamp) {
|
|
19831
20463
|
try {
|
|
19832
20464
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
19833
|
-
wasm.
|
|
20465
|
+
wasm.sessionvwap_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
19834
20466
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
19835
20467
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
19836
20468
|
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
@@ -19843,15 +20475,22 @@ export class SeparatingLines {
|
|
|
19843
20475
|
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
19844
20476
|
}
|
|
19845
20477
|
}
|
|
20478
|
+
/**
|
|
20479
|
+
* @returns {number}
|
|
20480
|
+
*/
|
|
20481
|
+
utcOffsetMinutes() {
|
|
20482
|
+
const ret = wasm.sessionvwap_utcOffsetMinutes(this.__wbg_ptr);
|
|
20483
|
+
return ret;
|
|
20484
|
+
}
|
|
19846
20485
|
/**
|
|
19847
20486
|
* @returns {number}
|
|
19848
20487
|
*/
|
|
19849
20488
|
warmupPeriod() {
|
|
19850
|
-
const ret = wasm.
|
|
20489
|
+
const ret = wasm.sessionvwap_warmupPeriod(this.__wbg_ptr);
|
|
19851
20490
|
return ret >>> 0;
|
|
19852
20491
|
}
|
|
19853
20492
|
}
|
|
19854
|
-
if (Symbol.dispose)
|
|
20493
|
+
if (Symbol.dispose) SessionVwap.prototype[Symbol.dispose] = SessionVwap.prototype.free;
|
|
19855
20494
|
|
|
19856
20495
|
export class SharpeRatio {
|
|
19857
20496
|
__destroy_into_raw() {
|
|
@@ -24368,6 +25007,89 @@ export class TickIndex {
|
|
|
24368
25007
|
}
|
|
24369
25008
|
if (Symbol.dispose) TickIndex.prototype[Symbol.dispose] = TickIndex.prototype.free;
|
|
24370
25009
|
|
|
25010
|
+
export class TimeOfDayReturnProfile {
|
|
25011
|
+
__destroy_into_raw() {
|
|
25012
|
+
const ptr = this.__wbg_ptr;
|
|
25013
|
+
this.__wbg_ptr = 0;
|
|
25014
|
+
TimeOfDayReturnProfileFinalization.unregister(this);
|
|
25015
|
+
return ptr;
|
|
25016
|
+
}
|
|
25017
|
+
free() {
|
|
25018
|
+
const ptr = this.__destroy_into_raw();
|
|
25019
|
+
wasm.__wbg_timeofdayreturnprofile_free(ptr, 0);
|
|
25020
|
+
}
|
|
25021
|
+
/**
|
|
25022
|
+
* @returns {boolean}
|
|
25023
|
+
*/
|
|
25024
|
+
isReady() {
|
|
25025
|
+
const ret = wasm.timeofdayreturnprofile_isReady(this.__wbg_ptr);
|
|
25026
|
+
return ret !== 0;
|
|
25027
|
+
}
|
|
25028
|
+
/**
|
|
25029
|
+
* @param {number} buckets
|
|
25030
|
+
* @param {number} utc_offset_minutes
|
|
25031
|
+
*/
|
|
25032
|
+
constructor(buckets, utc_offset_minutes) {
|
|
25033
|
+
try {
|
|
25034
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
25035
|
+
wasm.timeofdayreturnprofile_new(retptr, buckets, utc_offset_minutes);
|
|
25036
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
25037
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
25038
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
25039
|
+
if (r2) {
|
|
25040
|
+
throw takeObject(r1);
|
|
25041
|
+
}
|
|
25042
|
+
this.__wbg_ptr = r0;
|
|
25043
|
+
TimeOfDayReturnProfileFinalization.register(this, this.__wbg_ptr, this);
|
|
25044
|
+
return this;
|
|
25045
|
+
} finally {
|
|
25046
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
25047
|
+
}
|
|
25048
|
+
}
|
|
25049
|
+
reset() {
|
|
25050
|
+
wasm.timeofdayreturnprofile_reset(this.__wbg_ptr);
|
|
25051
|
+
}
|
|
25052
|
+
/**
|
|
25053
|
+
* @param {number} open
|
|
25054
|
+
* @param {number} high
|
|
25055
|
+
* @param {number} low
|
|
25056
|
+
* @param {number} close
|
|
25057
|
+
* @param {number} volume
|
|
25058
|
+
* @param {bigint} timestamp
|
|
25059
|
+
* @returns {any}
|
|
25060
|
+
*/
|
|
25061
|
+
update(open, high, low, close, volume, timestamp) {
|
|
25062
|
+
try {
|
|
25063
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
25064
|
+
wasm.timeofdayreturnprofile_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
25065
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
25066
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
25067
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
25068
|
+
if (r2) {
|
|
25069
|
+
throw takeObject(r1);
|
|
25070
|
+
}
|
|
25071
|
+
return takeObject(r0);
|
|
25072
|
+
} finally {
|
|
25073
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
25074
|
+
}
|
|
25075
|
+
}
|
|
25076
|
+
/**
|
|
25077
|
+
* @returns {number}
|
|
25078
|
+
*/
|
|
25079
|
+
utcOffsetMinutes() {
|
|
25080
|
+
const ret = wasm.timeofdayreturnprofile_utcOffsetMinutes(this.__wbg_ptr);
|
|
25081
|
+
return ret;
|
|
25082
|
+
}
|
|
25083
|
+
/**
|
|
25084
|
+
* @returns {number}
|
|
25085
|
+
*/
|
|
25086
|
+
warmupPeriod() {
|
|
25087
|
+
const ret = wasm.timeofdayreturnprofile_warmupPeriod(this.__wbg_ptr);
|
|
25088
|
+
return ret >>> 0;
|
|
25089
|
+
}
|
|
25090
|
+
}
|
|
25091
|
+
if (Symbol.dispose) TimeOfDayReturnProfile.prototype[Symbol.dispose] = TimeOfDayReturnProfile.prototype.free;
|
|
25092
|
+
|
|
24371
25093
|
export class TpoProfile {
|
|
24372
25094
|
__destroy_into_raw() {
|
|
24373
25095
|
const ptr = this.__wbg_ptr;
|
|
@@ -24872,6 +25594,84 @@ export class TtmSqueeze {
|
|
|
24872
25594
|
}
|
|
24873
25595
|
if (Symbol.dispose) TtmSqueeze.prototype[Symbol.dispose] = TtmSqueeze.prototype.free;
|
|
24874
25596
|
|
|
25597
|
+
export class TurnOfMonth {
|
|
25598
|
+
__destroy_into_raw() {
|
|
25599
|
+
const ptr = this.__wbg_ptr;
|
|
25600
|
+
this.__wbg_ptr = 0;
|
|
25601
|
+
TurnOfMonthFinalization.unregister(this);
|
|
25602
|
+
return ptr;
|
|
25603
|
+
}
|
|
25604
|
+
free() {
|
|
25605
|
+
const ptr = this.__destroy_into_raw();
|
|
25606
|
+
wasm.__wbg_turnofmonth_free(ptr, 0);
|
|
25607
|
+
}
|
|
25608
|
+
/**
|
|
25609
|
+
* @returns {boolean}
|
|
25610
|
+
*/
|
|
25611
|
+
isReady() {
|
|
25612
|
+
const ret = wasm.turnofmonth_isReady(this.__wbg_ptr);
|
|
25613
|
+
return ret !== 0;
|
|
25614
|
+
}
|
|
25615
|
+
/**
|
|
25616
|
+
* @param {number} n_first
|
|
25617
|
+
* @param {number} n_last
|
|
25618
|
+
* @param {number} utc_offset_minutes
|
|
25619
|
+
*/
|
|
25620
|
+
constructor(n_first, n_last, utc_offset_minutes) {
|
|
25621
|
+
try {
|
|
25622
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
25623
|
+
wasm.turnofmonth_new(retptr, n_first, n_last, utc_offset_minutes);
|
|
25624
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
25625
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
25626
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
25627
|
+
if (r2) {
|
|
25628
|
+
throw takeObject(r1);
|
|
25629
|
+
}
|
|
25630
|
+
this.__wbg_ptr = r0;
|
|
25631
|
+
TurnOfMonthFinalization.register(this, this.__wbg_ptr, this);
|
|
25632
|
+
return this;
|
|
25633
|
+
} finally {
|
|
25634
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
25635
|
+
}
|
|
25636
|
+
}
|
|
25637
|
+
reset() {
|
|
25638
|
+
wasm.turnofmonth_reset(this.__wbg_ptr);
|
|
25639
|
+
}
|
|
25640
|
+
/**
|
|
25641
|
+
* @param {number} open
|
|
25642
|
+
* @param {number} high
|
|
25643
|
+
* @param {number} low
|
|
25644
|
+
* @param {number} close
|
|
25645
|
+
* @param {number} volume
|
|
25646
|
+
* @param {bigint} timestamp
|
|
25647
|
+
* @returns {number | undefined}
|
|
25648
|
+
*/
|
|
25649
|
+
update(open, high, low, close, volume, timestamp) {
|
|
25650
|
+
try {
|
|
25651
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
25652
|
+
wasm.turnofmonth_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
25653
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
25654
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
25655
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
25656
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
25657
|
+
if (r5) {
|
|
25658
|
+
throw takeObject(r4);
|
|
25659
|
+
}
|
|
25660
|
+
return r0 === 0 ? undefined : r2;
|
|
25661
|
+
} finally {
|
|
25662
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
25663
|
+
}
|
|
25664
|
+
}
|
|
25665
|
+
/**
|
|
25666
|
+
* @returns {number}
|
|
25667
|
+
*/
|
|
25668
|
+
warmupPeriod() {
|
|
25669
|
+
const ret = wasm.turnofmonth_warmupPeriod(this.__wbg_ptr);
|
|
25670
|
+
return ret >>> 0;
|
|
25671
|
+
}
|
|
25672
|
+
}
|
|
25673
|
+
if (Symbol.dispose) TurnOfMonth.prototype[Symbol.dispose] = TurnOfMonth.prototype.free;
|
|
25674
|
+
|
|
24875
25675
|
export class Tweezer {
|
|
24876
25676
|
__destroy_into_raw() {
|
|
24877
25677
|
const ptr = this.__wbg_ptr;
|
|
@@ -26469,6 +27269,89 @@ export class VoltyStop {
|
|
|
26469
27269
|
}
|
|
26470
27270
|
if (Symbol.dispose) VoltyStop.prototype[Symbol.dispose] = VoltyStop.prototype.free;
|
|
26471
27271
|
|
|
27272
|
+
export class VolumeByTimeProfile {
|
|
27273
|
+
__destroy_into_raw() {
|
|
27274
|
+
const ptr = this.__wbg_ptr;
|
|
27275
|
+
this.__wbg_ptr = 0;
|
|
27276
|
+
VolumeByTimeProfileFinalization.unregister(this);
|
|
27277
|
+
return ptr;
|
|
27278
|
+
}
|
|
27279
|
+
free() {
|
|
27280
|
+
const ptr = this.__destroy_into_raw();
|
|
27281
|
+
wasm.__wbg_volumebytimeprofile_free(ptr, 0);
|
|
27282
|
+
}
|
|
27283
|
+
/**
|
|
27284
|
+
* @returns {boolean}
|
|
27285
|
+
*/
|
|
27286
|
+
isReady() {
|
|
27287
|
+
const ret = wasm.volumebytimeprofile_isReady(this.__wbg_ptr);
|
|
27288
|
+
return ret !== 0;
|
|
27289
|
+
}
|
|
27290
|
+
/**
|
|
27291
|
+
* @param {number} buckets
|
|
27292
|
+
* @param {number} utc_offset_minutes
|
|
27293
|
+
*/
|
|
27294
|
+
constructor(buckets, utc_offset_minutes) {
|
|
27295
|
+
try {
|
|
27296
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
27297
|
+
wasm.volumebytimeprofile_new(retptr, buckets, utc_offset_minutes);
|
|
27298
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
27299
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
27300
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
27301
|
+
if (r2) {
|
|
27302
|
+
throw takeObject(r1);
|
|
27303
|
+
}
|
|
27304
|
+
this.__wbg_ptr = r0;
|
|
27305
|
+
VolumeByTimeProfileFinalization.register(this, this.__wbg_ptr, this);
|
|
27306
|
+
return this;
|
|
27307
|
+
} finally {
|
|
27308
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
27309
|
+
}
|
|
27310
|
+
}
|
|
27311
|
+
reset() {
|
|
27312
|
+
wasm.volumebytimeprofile_reset(this.__wbg_ptr);
|
|
27313
|
+
}
|
|
27314
|
+
/**
|
|
27315
|
+
* @param {number} open
|
|
27316
|
+
* @param {number} high
|
|
27317
|
+
* @param {number} low
|
|
27318
|
+
* @param {number} close
|
|
27319
|
+
* @param {number} volume
|
|
27320
|
+
* @param {bigint} timestamp
|
|
27321
|
+
* @returns {any}
|
|
27322
|
+
*/
|
|
27323
|
+
update(open, high, low, close, volume, timestamp) {
|
|
27324
|
+
try {
|
|
27325
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
27326
|
+
wasm.volumebytimeprofile_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
27327
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
27328
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
27329
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
27330
|
+
if (r2) {
|
|
27331
|
+
throw takeObject(r1);
|
|
27332
|
+
}
|
|
27333
|
+
return takeObject(r0);
|
|
27334
|
+
} finally {
|
|
27335
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
27336
|
+
}
|
|
27337
|
+
}
|
|
27338
|
+
/**
|
|
27339
|
+
* @returns {number}
|
|
27340
|
+
*/
|
|
27341
|
+
utcOffsetMinutes() {
|
|
27342
|
+
const ret = wasm.volumebytimeprofile_utcOffsetMinutes(this.__wbg_ptr);
|
|
27343
|
+
return ret;
|
|
27344
|
+
}
|
|
27345
|
+
/**
|
|
27346
|
+
* @returns {number}
|
|
27347
|
+
*/
|
|
27348
|
+
warmupPeriod() {
|
|
27349
|
+
const ret = wasm.volumebytimeprofile_warmupPeriod(this.__wbg_ptr);
|
|
27350
|
+
return ret >>> 0;
|
|
27351
|
+
}
|
|
27352
|
+
}
|
|
27353
|
+
if (Symbol.dispose) VolumeByTimeProfile.prototype[Symbol.dispose] = VolumeByTimeProfile.prototype.free;
|
|
27354
|
+
|
|
26472
27355
|
export class VolumeOscillator {
|
|
26473
27356
|
__destroy_into_raw() {
|
|
26474
27357
|
const ptr = this.__wbg_ptr;
|
|
@@ -28203,6 +29086,9 @@ const AtrTrailingStopFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
28203
29086
|
const AutocorrelationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28204
29087
|
? { register: () => {}, unregister: () => {} }
|
|
28205
29088
|
: new FinalizationRegistry(ptr => wasm.__wbg_autocorrelation_free(ptr, 1));
|
|
29089
|
+
const AverageDailyRangeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29090
|
+
? { register: () => {}, unregister: () => {} }
|
|
29091
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_averagedailyrange_free(ptr, 1));
|
|
28206
29092
|
const AverageDrawdownFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28207
29093
|
? { register: () => {}, unregister: () => {} }
|
|
28208
29094
|
: new FinalizationRegistry(ptr => wasm.__wbg_averagedrawdown_free(ptr, 1));
|
|
@@ -28311,6 +29197,9 @@ const CumulativeVolumeIndexFinalization = (typeof FinalizationRegistry === 'unde
|
|
|
28311
29197
|
const CyberneticCycleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28312
29198
|
? { register: () => {}, unregister: () => {} }
|
|
28313
29199
|
: new FinalizationRegistry(ptr => wasm.__wbg_cyberneticcycle_free(ptr, 1));
|
|
29200
|
+
const DayOfWeekProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29201
|
+
? { register: () => {}, unregister: () => {} }
|
|
29202
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_dayofweekprofile_free(ptr, 1));
|
|
28314
29203
|
const DecyclerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28315
29204
|
? { register: () => {}, unregister: () => {} }
|
|
28316
29205
|
: new FinalizationRegistry(ptr => wasm.__wbg_decycler_free(ptr, 1));
|
|
@@ -28518,6 +29407,9 @@ const InitialBalanceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28518
29407
|
const InstantaneousTrendlineFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28519
29408
|
? { register: () => {}, unregister: () => {} }
|
|
28520
29409
|
: new FinalizationRegistry(ptr => wasm.__wbg_instantaneoustrendline_free(ptr, 1));
|
|
29410
|
+
const IntradayVolatilityProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29411
|
+
? { register: () => {}, unregister: () => {} }
|
|
29412
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intradayvolatilityprofile_free(ptr, 1));
|
|
28521
29413
|
const InverseFisherTransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28522
29414
|
? { register: () => {}, unregister: () => {} }
|
|
28523
29415
|
: new FinalizationRegistry(ptr => wasm.__wbg_inversefishertransform_free(ptr, 1));
|
|
@@ -28716,6 +29608,12 @@ const OrderBookImbalanceTopNFinalization = (typeof FinalizationRegistry === 'und
|
|
|
28716
29608
|
const OuHalfLifeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28717
29609
|
? { register: () => {}, unregister: () => {} }
|
|
28718
29610
|
: new FinalizationRegistry(ptr => wasm.__wbg_ouhalflife_free(ptr, 1));
|
|
29611
|
+
const OvernightGapFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29612
|
+
? { register: () => {}, unregister: () => {} }
|
|
29613
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_overnightgap_free(ptr, 1));
|
|
29614
|
+
const OvernightIntradayReturnFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29615
|
+
? { register: () => {}, unregister: () => {} }
|
|
29616
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_overnightintradayreturn_free(ptr, 1));
|
|
28719
29617
|
const PainIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28720
29618
|
? { register: () => {}, unregister: () => {} }
|
|
28721
29619
|
: new FinalizationRegistry(ptr => wasm.__wbg_painindex_free(ptr, 1));
|
|
@@ -28839,9 +29737,21 @@ const RWIFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28839
29737
|
const SAREXTFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28840
29738
|
? { register: () => {}, unregister: () => {} }
|
|
28841
29739
|
: new FinalizationRegistry(ptr => wasm.__wbg_sarext_free(ptr, 1));
|
|
29740
|
+
const SeasonalZScoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29741
|
+
? { register: () => {}, unregister: () => {} }
|
|
29742
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_seasonalzscore_free(ptr, 1));
|
|
28842
29743
|
const SeparatingLinesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28843
29744
|
? { register: () => {}, unregister: () => {} }
|
|
28844
29745
|
: new FinalizationRegistry(ptr => wasm.__wbg_separatinglines_free(ptr, 1));
|
|
29746
|
+
const SessionHighLowFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29747
|
+
? { register: () => {}, unregister: () => {} }
|
|
29748
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sessionhighlow_free(ptr, 1));
|
|
29749
|
+
const SessionRangeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29750
|
+
? { register: () => {}, unregister: () => {} }
|
|
29751
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sessionrange_free(ptr, 1));
|
|
29752
|
+
const SessionVwapFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29753
|
+
? { register: () => {}, unregister: () => {} }
|
|
29754
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sessionvwap_free(ptr, 1));
|
|
28845
29755
|
const SharpeRatioFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28846
29756
|
? { register: () => {}, unregister: () => {} }
|
|
28847
29757
|
: new FinalizationRegistry(ptr => wasm.__wbg_sharperatio_free(ptr, 1));
|
|
@@ -28998,6 +29908,9 @@ const TickIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28998
29908
|
const TIIFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28999
29909
|
? { register: () => {}, unregister: () => {} }
|
|
29000
29910
|
: new FinalizationRegistry(ptr => wasm.__wbg_tii_free(ptr, 1));
|
|
29911
|
+
const TimeOfDayReturnProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29912
|
+
? { register: () => {}, unregister: () => {} }
|
|
29913
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_timeofdayreturnprofile_free(ptr, 1));
|
|
29001
29914
|
const TpoProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29002
29915
|
? { register: () => {}, unregister: () => {} }
|
|
29003
29916
|
: new FinalizationRegistry(ptr => wasm.__wbg_tpoprofile_free(ptr, 1));
|
|
@@ -29031,6 +29944,9 @@ const TSVFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
29031
29944
|
const TtmSqueezeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29032
29945
|
? { register: () => {}, unregister: () => {} }
|
|
29033
29946
|
: new FinalizationRegistry(ptr => wasm.__wbg_ttmsqueeze_free(ptr, 1));
|
|
29947
|
+
const TurnOfMonthFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29948
|
+
? { register: () => {}, unregister: () => {} }
|
|
29949
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_turnofmonth_free(ptr, 1));
|
|
29034
29950
|
const TweezerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29035
29951
|
? { register: () => {}, unregister: () => {} }
|
|
29036
29952
|
: new FinalizationRegistry(ptr => wasm.__wbg_tweezer_free(ptr, 1));
|
|
@@ -29079,6 +29995,9 @@ const VIDYAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
29079
29995
|
const VoltyStopFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29080
29996
|
? { register: () => {}, unregister: () => {} }
|
|
29081
29997
|
: new FinalizationRegistry(ptr => wasm.__wbg_voltystop_free(ptr, 1));
|
|
29998
|
+
const VolumeByTimeProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29999
|
+
? { register: () => {}, unregister: () => {} }
|
|
30000
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_volumebytimeprofile_free(ptr, 1));
|
|
29082
30001
|
const VolumeOscillatorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29083
30002
|
? { register: () => {}, unregister: () => {} }
|
|
29084
30003
|
: new FinalizationRegistry(ptr => wasm.__wbg_volumeoscillator_free(ptr, 1));
|