wickra-wasm 0.4.7 → 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 +20 -12
- package/package.json +2 -2
- package/wickra_wasm.d.ts +267 -0
- package/wickra_wasm.js +1 -1
- package/wickra_wasm_bg.js +2046 -99
- package/wickra_wasm_bg.wasm +0 -0
package/wickra_wasm_bg.js
CHANGED
|
@@ -682,6 +682,74 @@ export class AbandonedBaby {
|
|
|
682
682
|
}
|
|
683
683
|
if (Symbol.dispose) AbandonedBaby.prototype[Symbol.dispose] = AbandonedBaby.prototype.free;
|
|
684
684
|
|
|
685
|
+
export class AbsoluteBreadthIndex {
|
|
686
|
+
__destroy_into_raw() {
|
|
687
|
+
const ptr = this.__wbg_ptr;
|
|
688
|
+
this.__wbg_ptr = 0;
|
|
689
|
+
AbsoluteBreadthIndexFinalization.unregister(this);
|
|
690
|
+
return ptr;
|
|
691
|
+
}
|
|
692
|
+
free() {
|
|
693
|
+
const ptr = this.__destroy_into_raw();
|
|
694
|
+
wasm.__wbg_absolutebreadthindex_free(ptr, 0);
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* @returns {boolean}
|
|
698
|
+
*/
|
|
699
|
+
isReady() {
|
|
700
|
+
const ret = wasm.absolutebreadthindex_isReady(this.__wbg_ptr);
|
|
701
|
+
return ret !== 0;
|
|
702
|
+
}
|
|
703
|
+
constructor() {
|
|
704
|
+
const ret = wasm.absolutebreadthindex_new();
|
|
705
|
+
this.__wbg_ptr = ret;
|
|
706
|
+
AbsoluteBreadthIndexFinalization.register(this, this.__wbg_ptr, this);
|
|
707
|
+
return this;
|
|
708
|
+
}
|
|
709
|
+
reset() {
|
|
710
|
+
wasm.absolutebreadthindex_reset(this.__wbg_ptr);
|
|
711
|
+
}
|
|
712
|
+
/**
|
|
713
|
+
* @param {Float64Array} change
|
|
714
|
+
* @param {Float64Array} volume
|
|
715
|
+
* @param {Float64Array} new_high
|
|
716
|
+
* @param {Float64Array} new_low
|
|
717
|
+
* @returns {number | undefined}
|
|
718
|
+
*/
|
|
719
|
+
update(change, volume, new_high, new_low) {
|
|
720
|
+
try {
|
|
721
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
722
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
723
|
+
const len0 = WASM_VECTOR_LEN;
|
|
724
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
725
|
+
const len1 = WASM_VECTOR_LEN;
|
|
726
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
727
|
+
const len2 = WASM_VECTOR_LEN;
|
|
728
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
729
|
+
const len3 = WASM_VECTOR_LEN;
|
|
730
|
+
wasm.absolutebreadthindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
731
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
732
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
733
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
734
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
735
|
+
if (r5) {
|
|
736
|
+
throw takeObject(r4);
|
|
737
|
+
}
|
|
738
|
+
return r0 === 0 ? undefined : r2;
|
|
739
|
+
} finally {
|
|
740
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
* @returns {number}
|
|
745
|
+
*/
|
|
746
|
+
warmupPeriod() {
|
|
747
|
+
const ret = wasm.absolutebreadthindex_warmupPeriod(this.__wbg_ptr);
|
|
748
|
+
return ret >>> 0;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
if (Symbol.dispose) AbsoluteBreadthIndex.prototype[Symbol.dispose] = AbsoluteBreadthIndex.prototype.free;
|
|
752
|
+
|
|
685
753
|
export class AccelerationBands {
|
|
686
754
|
__destroy_into_raw() {
|
|
687
755
|
const ptr = this.__wbg_ptr;
|
|
@@ -867,6 +935,74 @@ export class AcceleratorOscillator {
|
|
|
867
935
|
}
|
|
868
936
|
if (Symbol.dispose) AcceleratorOscillator.prototype[Symbol.dispose] = AcceleratorOscillator.prototype.free;
|
|
869
937
|
|
|
938
|
+
export class AdVolumeLine {
|
|
939
|
+
__destroy_into_raw() {
|
|
940
|
+
const ptr = this.__wbg_ptr;
|
|
941
|
+
this.__wbg_ptr = 0;
|
|
942
|
+
AdVolumeLineFinalization.unregister(this);
|
|
943
|
+
return ptr;
|
|
944
|
+
}
|
|
945
|
+
free() {
|
|
946
|
+
const ptr = this.__destroy_into_raw();
|
|
947
|
+
wasm.__wbg_advolumeline_free(ptr, 0);
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* @returns {boolean}
|
|
951
|
+
*/
|
|
952
|
+
isReady() {
|
|
953
|
+
const ret = wasm.advolumeline_isReady(this.__wbg_ptr);
|
|
954
|
+
return ret !== 0;
|
|
955
|
+
}
|
|
956
|
+
constructor() {
|
|
957
|
+
const ret = wasm.advolumeline_new();
|
|
958
|
+
this.__wbg_ptr = ret;
|
|
959
|
+
AdVolumeLineFinalization.register(this, this.__wbg_ptr, this);
|
|
960
|
+
return this;
|
|
961
|
+
}
|
|
962
|
+
reset() {
|
|
963
|
+
wasm.advolumeline_reset(this.__wbg_ptr);
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
* @param {Float64Array} change
|
|
967
|
+
* @param {Float64Array} volume
|
|
968
|
+
* @param {Float64Array} new_high
|
|
969
|
+
* @param {Float64Array} new_low
|
|
970
|
+
* @returns {number | undefined}
|
|
971
|
+
*/
|
|
972
|
+
update(change, volume, new_high, new_low) {
|
|
973
|
+
try {
|
|
974
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
975
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
976
|
+
const len0 = WASM_VECTOR_LEN;
|
|
977
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
978
|
+
const len1 = WASM_VECTOR_LEN;
|
|
979
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
980
|
+
const len2 = WASM_VECTOR_LEN;
|
|
981
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
982
|
+
const len3 = WASM_VECTOR_LEN;
|
|
983
|
+
wasm.advolumeline_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
984
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
985
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
986
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
987
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
988
|
+
if (r5) {
|
|
989
|
+
throw takeObject(r4);
|
|
990
|
+
}
|
|
991
|
+
return r0 === 0 ? undefined : r2;
|
|
992
|
+
} finally {
|
|
993
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
/**
|
|
997
|
+
* @returns {number}
|
|
998
|
+
*/
|
|
999
|
+
warmupPeriod() {
|
|
1000
|
+
const ret = wasm.advolumeline_warmupPeriod(this.__wbg_ptr);
|
|
1001
|
+
return ret >>> 0;
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
if (Symbol.dispose) AdVolumeLine.prototype[Symbol.dispose] = AdVolumeLine.prototype.free;
|
|
1005
|
+
|
|
870
1006
|
export class AdaptiveCycle {
|
|
871
1007
|
__destroy_into_raw() {
|
|
872
1008
|
const ptr = this.__wbg_ptr;
|
|
@@ -1087,6 +1223,74 @@ export class AdvanceDecline {
|
|
|
1087
1223
|
}
|
|
1088
1224
|
if (Symbol.dispose) AdvanceDecline.prototype[Symbol.dispose] = AdvanceDecline.prototype.free;
|
|
1089
1225
|
|
|
1226
|
+
export class AdvanceDeclineRatio {
|
|
1227
|
+
__destroy_into_raw() {
|
|
1228
|
+
const ptr = this.__wbg_ptr;
|
|
1229
|
+
this.__wbg_ptr = 0;
|
|
1230
|
+
AdvanceDeclineRatioFinalization.unregister(this);
|
|
1231
|
+
return ptr;
|
|
1232
|
+
}
|
|
1233
|
+
free() {
|
|
1234
|
+
const ptr = this.__destroy_into_raw();
|
|
1235
|
+
wasm.__wbg_advancedeclineratio_free(ptr, 0);
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* @returns {boolean}
|
|
1239
|
+
*/
|
|
1240
|
+
isReady() {
|
|
1241
|
+
const ret = wasm.advancedeclineratio_isReady(this.__wbg_ptr);
|
|
1242
|
+
return ret !== 0;
|
|
1243
|
+
}
|
|
1244
|
+
constructor() {
|
|
1245
|
+
const ret = wasm.advancedeclineratio_new();
|
|
1246
|
+
this.__wbg_ptr = ret;
|
|
1247
|
+
AdvanceDeclineRatioFinalization.register(this, this.__wbg_ptr, this);
|
|
1248
|
+
return this;
|
|
1249
|
+
}
|
|
1250
|
+
reset() {
|
|
1251
|
+
wasm.advancedeclineratio_reset(this.__wbg_ptr);
|
|
1252
|
+
}
|
|
1253
|
+
/**
|
|
1254
|
+
* @param {Float64Array} change
|
|
1255
|
+
* @param {Float64Array} volume
|
|
1256
|
+
* @param {Float64Array} new_high
|
|
1257
|
+
* @param {Float64Array} new_low
|
|
1258
|
+
* @returns {number | undefined}
|
|
1259
|
+
*/
|
|
1260
|
+
update(change, volume, new_high, new_low) {
|
|
1261
|
+
try {
|
|
1262
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
1263
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
1264
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1265
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
1266
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1267
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
1268
|
+
const len2 = WASM_VECTOR_LEN;
|
|
1269
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
1270
|
+
const len3 = WASM_VECTOR_LEN;
|
|
1271
|
+
wasm.advancedeclineratio_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
1272
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1273
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
1274
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
1275
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
1276
|
+
if (r5) {
|
|
1277
|
+
throw takeObject(r4);
|
|
1278
|
+
}
|
|
1279
|
+
return r0 === 0 ? undefined : r2;
|
|
1280
|
+
} finally {
|
|
1281
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
/**
|
|
1285
|
+
* @returns {number}
|
|
1286
|
+
*/
|
|
1287
|
+
warmupPeriod() {
|
|
1288
|
+
const ret = wasm.advancedeclineratio_warmupPeriod(this.__wbg_ptr);
|
|
1289
|
+
return ret >>> 0;
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
if (Symbol.dispose) AdvanceDeclineRatio.prototype[Symbol.dispose] = AdvanceDeclineRatio.prototype.free;
|
|
1293
|
+
|
|
1090
1294
|
export class Alligator {
|
|
1091
1295
|
__destroy_into_raw() {
|
|
1092
1296
|
const ptr = this.__wbg_ptr;
|
|
@@ -1865,6 +2069,83 @@ export class Autocorrelation {
|
|
|
1865
2069
|
}
|
|
1866
2070
|
if (Symbol.dispose) Autocorrelation.prototype[Symbol.dispose] = Autocorrelation.prototype.free;
|
|
1867
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
|
+
|
|
1868
2149
|
export class AverageDrawdown {
|
|
1869
2150
|
__destroy_into_raw() {
|
|
1870
2151
|
const ptr = this.__wbg_ptr;
|
|
@@ -2622,6 +2903,88 @@ export class BollingerBandwidth {
|
|
|
2622
2903
|
}
|
|
2623
2904
|
if (Symbol.dispose) BollingerBandwidth.prototype[Symbol.dispose] = BollingerBandwidth.prototype.free;
|
|
2624
2905
|
|
|
2906
|
+
export class BreadthThrust {
|
|
2907
|
+
__destroy_into_raw() {
|
|
2908
|
+
const ptr = this.__wbg_ptr;
|
|
2909
|
+
this.__wbg_ptr = 0;
|
|
2910
|
+
BreadthThrustFinalization.unregister(this);
|
|
2911
|
+
return ptr;
|
|
2912
|
+
}
|
|
2913
|
+
free() {
|
|
2914
|
+
const ptr = this.__destroy_into_raw();
|
|
2915
|
+
wasm.__wbg_breadththrust_free(ptr, 0);
|
|
2916
|
+
}
|
|
2917
|
+
/**
|
|
2918
|
+
* @returns {boolean}
|
|
2919
|
+
*/
|
|
2920
|
+
isReady() {
|
|
2921
|
+
const ret = wasm.breadththrust_isReady(this.__wbg_ptr);
|
|
2922
|
+
return ret !== 0;
|
|
2923
|
+
}
|
|
2924
|
+
/**
|
|
2925
|
+
* @param {number} period
|
|
2926
|
+
*/
|
|
2927
|
+
constructor(period) {
|
|
2928
|
+
try {
|
|
2929
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2930
|
+
wasm.breadththrust_new(retptr, period);
|
|
2931
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2932
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
2933
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
2934
|
+
if (r2) {
|
|
2935
|
+
throw takeObject(r1);
|
|
2936
|
+
}
|
|
2937
|
+
this.__wbg_ptr = r0;
|
|
2938
|
+
BreadthThrustFinalization.register(this, this.__wbg_ptr, this);
|
|
2939
|
+
return this;
|
|
2940
|
+
} finally {
|
|
2941
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
reset() {
|
|
2945
|
+
wasm.breadththrust_reset(this.__wbg_ptr);
|
|
2946
|
+
}
|
|
2947
|
+
/**
|
|
2948
|
+
* @param {Float64Array} change
|
|
2949
|
+
* @param {Float64Array} volume
|
|
2950
|
+
* @param {Float64Array} new_high
|
|
2951
|
+
* @param {Float64Array} new_low
|
|
2952
|
+
* @returns {number | undefined}
|
|
2953
|
+
*/
|
|
2954
|
+
update(change, volume, new_high, new_low) {
|
|
2955
|
+
try {
|
|
2956
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
2957
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
2958
|
+
const len0 = WASM_VECTOR_LEN;
|
|
2959
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
2960
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2961
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
2962
|
+
const len2 = WASM_VECTOR_LEN;
|
|
2963
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
2964
|
+
const len3 = WASM_VECTOR_LEN;
|
|
2965
|
+
wasm.breadththrust_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
2966
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2967
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
2968
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
2969
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
2970
|
+
if (r5) {
|
|
2971
|
+
throw takeObject(r4);
|
|
2972
|
+
}
|
|
2973
|
+
return r0 === 0 ? undefined : r2;
|
|
2974
|
+
} finally {
|
|
2975
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
/**
|
|
2979
|
+
* @returns {number}
|
|
2980
|
+
*/
|
|
2981
|
+
warmupPeriod() {
|
|
2982
|
+
const ret = wasm.breadththrust_warmupPeriod(this.__wbg_ptr);
|
|
2983
|
+
return ret >>> 0;
|
|
2984
|
+
}
|
|
2985
|
+
}
|
|
2986
|
+
if (Symbol.dispose) BreadthThrust.prototype[Symbol.dispose] = BreadthThrust.prototype.free;
|
|
2987
|
+
|
|
2625
2988
|
export class Breakaway {
|
|
2626
2989
|
__destroy_into_raw() {
|
|
2627
2990
|
const ptr = this.__wbg_ptr;
|
|
@@ -2712,6 +3075,77 @@ export class Breakaway {
|
|
|
2712
3075
|
}
|
|
2713
3076
|
if (Symbol.dispose) Breakaway.prototype[Symbol.dispose] = Breakaway.prototype.free;
|
|
2714
3077
|
|
|
3078
|
+
export class BullishPercentIndex {
|
|
3079
|
+
__destroy_into_raw() {
|
|
3080
|
+
const ptr = this.__wbg_ptr;
|
|
3081
|
+
this.__wbg_ptr = 0;
|
|
3082
|
+
BullishPercentIndexFinalization.unregister(this);
|
|
3083
|
+
return ptr;
|
|
3084
|
+
}
|
|
3085
|
+
free() {
|
|
3086
|
+
const ptr = this.__destroy_into_raw();
|
|
3087
|
+
wasm.__wbg_bullishpercentindex_free(ptr, 0);
|
|
3088
|
+
}
|
|
3089
|
+
/**
|
|
3090
|
+
* @returns {boolean}
|
|
3091
|
+
*/
|
|
3092
|
+
isReady() {
|
|
3093
|
+
const ret = wasm.bullishpercentindex_isReady(this.__wbg_ptr);
|
|
3094
|
+
return ret !== 0;
|
|
3095
|
+
}
|
|
3096
|
+
constructor() {
|
|
3097
|
+
const ret = wasm.bullishpercentindex_new();
|
|
3098
|
+
this.__wbg_ptr = ret;
|
|
3099
|
+
BullishPercentIndexFinalization.register(this, this.__wbg_ptr, this);
|
|
3100
|
+
return this;
|
|
3101
|
+
}
|
|
3102
|
+
reset() {
|
|
3103
|
+
wasm.bullishpercentindex_reset(this.__wbg_ptr);
|
|
3104
|
+
}
|
|
3105
|
+
/**
|
|
3106
|
+
* @param {Float64Array} change
|
|
3107
|
+
* @param {Float64Array} volume
|
|
3108
|
+
* @param {Float64Array} new_high
|
|
3109
|
+
* @param {Float64Array} new_low
|
|
3110
|
+
* @param {Float64Array} on_buy_signal
|
|
3111
|
+
* @returns {number | undefined}
|
|
3112
|
+
*/
|
|
3113
|
+
update(change, volume, new_high, new_low, on_buy_signal) {
|
|
3114
|
+
try {
|
|
3115
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
3116
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
3117
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3118
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
3119
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3120
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
3121
|
+
const len2 = WASM_VECTOR_LEN;
|
|
3122
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
3123
|
+
const len3 = WASM_VECTOR_LEN;
|
|
3124
|
+
const ptr4 = passArrayF64ToWasm0(on_buy_signal, wasm.__wbindgen_export3);
|
|
3125
|
+
const len4 = WASM_VECTOR_LEN;
|
|
3126
|
+
wasm.bullishpercentindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
3127
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3128
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
3129
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
3130
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
3131
|
+
if (r5) {
|
|
3132
|
+
throw takeObject(r4);
|
|
3133
|
+
}
|
|
3134
|
+
return r0 === 0 ? undefined : r2;
|
|
3135
|
+
} finally {
|
|
3136
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
3137
|
+
}
|
|
3138
|
+
}
|
|
3139
|
+
/**
|
|
3140
|
+
* @returns {number}
|
|
3141
|
+
*/
|
|
3142
|
+
warmupPeriod() {
|
|
3143
|
+
const ret = wasm.bullishpercentindex_warmupPeriod(this.__wbg_ptr);
|
|
3144
|
+
return ret >>> 0;
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
if (Symbol.dispose) BullishPercentIndex.prototype[Symbol.dispose] = BullishPercentIndex.prototype.free;
|
|
3148
|
+
|
|
2715
3149
|
export class CCI {
|
|
2716
3150
|
__destroy_into_raw() {
|
|
2717
3151
|
const ptr = this.__wbg_ptr;
|
|
@@ -4597,6 +5031,74 @@ export class CumulativeVolumeDelta {
|
|
|
4597
5031
|
}
|
|
4598
5032
|
if (Symbol.dispose) CumulativeVolumeDelta.prototype[Symbol.dispose] = CumulativeVolumeDelta.prototype.free;
|
|
4599
5033
|
|
|
5034
|
+
export class CumulativeVolumeIndex {
|
|
5035
|
+
__destroy_into_raw() {
|
|
5036
|
+
const ptr = this.__wbg_ptr;
|
|
5037
|
+
this.__wbg_ptr = 0;
|
|
5038
|
+
CumulativeVolumeIndexFinalization.unregister(this);
|
|
5039
|
+
return ptr;
|
|
5040
|
+
}
|
|
5041
|
+
free() {
|
|
5042
|
+
const ptr = this.__destroy_into_raw();
|
|
5043
|
+
wasm.__wbg_cumulativevolumeindex_free(ptr, 0);
|
|
5044
|
+
}
|
|
5045
|
+
/**
|
|
5046
|
+
* @returns {boolean}
|
|
5047
|
+
*/
|
|
5048
|
+
isReady() {
|
|
5049
|
+
const ret = wasm.cumulativevolumeindex_isReady(this.__wbg_ptr);
|
|
5050
|
+
return ret !== 0;
|
|
5051
|
+
}
|
|
5052
|
+
constructor() {
|
|
5053
|
+
const ret = wasm.cumulativevolumeindex_new();
|
|
5054
|
+
this.__wbg_ptr = ret;
|
|
5055
|
+
CumulativeVolumeIndexFinalization.register(this, this.__wbg_ptr, this);
|
|
5056
|
+
return this;
|
|
5057
|
+
}
|
|
5058
|
+
reset() {
|
|
5059
|
+
wasm.cumulativevolumeindex_reset(this.__wbg_ptr);
|
|
5060
|
+
}
|
|
5061
|
+
/**
|
|
5062
|
+
* @param {Float64Array} change
|
|
5063
|
+
* @param {Float64Array} volume
|
|
5064
|
+
* @param {Float64Array} new_high
|
|
5065
|
+
* @param {Float64Array} new_low
|
|
5066
|
+
* @returns {number | undefined}
|
|
5067
|
+
*/
|
|
5068
|
+
update(change, volume, new_high, new_low) {
|
|
5069
|
+
try {
|
|
5070
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
5071
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
5072
|
+
const len0 = WASM_VECTOR_LEN;
|
|
5073
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
5074
|
+
const len1 = WASM_VECTOR_LEN;
|
|
5075
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
5076
|
+
const len2 = WASM_VECTOR_LEN;
|
|
5077
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
5078
|
+
const len3 = WASM_VECTOR_LEN;
|
|
5079
|
+
wasm.cumulativevolumeindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
5080
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
5081
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
5082
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
5083
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
5084
|
+
if (r5) {
|
|
5085
|
+
throw takeObject(r4);
|
|
5086
|
+
}
|
|
5087
|
+
return r0 === 0 ? undefined : r2;
|
|
5088
|
+
} finally {
|
|
5089
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
5090
|
+
}
|
|
5091
|
+
}
|
|
5092
|
+
/**
|
|
5093
|
+
* @returns {number}
|
|
5094
|
+
*/
|
|
5095
|
+
warmupPeriod() {
|
|
5096
|
+
const ret = wasm.cumulativevolumeindex_warmupPeriod(this.__wbg_ptr);
|
|
5097
|
+
return ret >>> 0;
|
|
5098
|
+
}
|
|
5099
|
+
}
|
|
5100
|
+
if (Symbol.dispose) CumulativeVolumeIndex.prototype[Symbol.dispose] = CumulativeVolumeIndex.prototype.free;
|
|
5101
|
+
|
|
4600
5102
|
export class CyberneticCycle {
|
|
4601
5103
|
__destroy_into_raw() {
|
|
4602
5104
|
const ptr = this.__wbg_ptr;
|
|
@@ -4909,7 +5411,78 @@ export class DX {
|
|
|
4909
5411
|
}
|
|
4910
5412
|
}
|
|
4911
5413
|
}
|
|
4912
|
-
if (Symbol.dispose) DX.prototype[Symbol.dispose] = DX.prototype.free;
|
|
5414
|
+
if (Symbol.dispose) DX.prototype[Symbol.dispose] = DX.prototype.free;
|
|
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;
|
|
4913
5486
|
|
|
4914
5487
|
export class Decycler {
|
|
4915
5488
|
__destroy_into_raw() {
|
|
@@ -8943,6 +9516,88 @@ export class HiLoActivator {
|
|
|
8943
9516
|
}
|
|
8944
9517
|
if (Symbol.dispose) HiLoActivator.prototype[Symbol.dispose] = HiLoActivator.prototype.free;
|
|
8945
9518
|
|
|
9519
|
+
export class HighLowIndex {
|
|
9520
|
+
__destroy_into_raw() {
|
|
9521
|
+
const ptr = this.__wbg_ptr;
|
|
9522
|
+
this.__wbg_ptr = 0;
|
|
9523
|
+
HighLowIndexFinalization.unregister(this);
|
|
9524
|
+
return ptr;
|
|
9525
|
+
}
|
|
9526
|
+
free() {
|
|
9527
|
+
const ptr = this.__destroy_into_raw();
|
|
9528
|
+
wasm.__wbg_highlowindex_free(ptr, 0);
|
|
9529
|
+
}
|
|
9530
|
+
/**
|
|
9531
|
+
* @returns {boolean}
|
|
9532
|
+
*/
|
|
9533
|
+
isReady() {
|
|
9534
|
+
const ret = wasm.highlowindex_isReady(this.__wbg_ptr);
|
|
9535
|
+
return ret !== 0;
|
|
9536
|
+
}
|
|
9537
|
+
/**
|
|
9538
|
+
* @param {number} period
|
|
9539
|
+
*/
|
|
9540
|
+
constructor(period) {
|
|
9541
|
+
try {
|
|
9542
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
9543
|
+
wasm.highlowindex_new(retptr, period);
|
|
9544
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
9545
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
9546
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
9547
|
+
if (r2) {
|
|
9548
|
+
throw takeObject(r1);
|
|
9549
|
+
}
|
|
9550
|
+
this.__wbg_ptr = r0;
|
|
9551
|
+
HighLowIndexFinalization.register(this, this.__wbg_ptr, this);
|
|
9552
|
+
return this;
|
|
9553
|
+
} finally {
|
|
9554
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
9555
|
+
}
|
|
9556
|
+
}
|
|
9557
|
+
reset() {
|
|
9558
|
+
wasm.highlowindex_reset(this.__wbg_ptr);
|
|
9559
|
+
}
|
|
9560
|
+
/**
|
|
9561
|
+
* @param {Float64Array} change
|
|
9562
|
+
* @param {Float64Array} volume
|
|
9563
|
+
* @param {Float64Array} new_high
|
|
9564
|
+
* @param {Float64Array} new_low
|
|
9565
|
+
* @returns {number | undefined}
|
|
9566
|
+
*/
|
|
9567
|
+
update(change, volume, new_high, new_low) {
|
|
9568
|
+
try {
|
|
9569
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
9570
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
9571
|
+
const len0 = WASM_VECTOR_LEN;
|
|
9572
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
9573
|
+
const len1 = WASM_VECTOR_LEN;
|
|
9574
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
9575
|
+
const len2 = WASM_VECTOR_LEN;
|
|
9576
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
9577
|
+
const len3 = WASM_VECTOR_LEN;
|
|
9578
|
+
wasm.highlowindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
9579
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
9580
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
9581
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
9582
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
9583
|
+
if (r5) {
|
|
9584
|
+
throw takeObject(r4);
|
|
9585
|
+
}
|
|
9586
|
+
return r0 === 0 ? undefined : r2;
|
|
9587
|
+
} finally {
|
|
9588
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
9589
|
+
}
|
|
9590
|
+
}
|
|
9591
|
+
/**
|
|
9592
|
+
* @returns {number}
|
|
9593
|
+
*/
|
|
9594
|
+
warmupPeriod() {
|
|
9595
|
+
const ret = wasm.highlowindex_warmupPeriod(this.__wbg_ptr);
|
|
9596
|
+
return ret >>> 0;
|
|
9597
|
+
}
|
|
9598
|
+
}
|
|
9599
|
+
if (Symbol.dispose) HighLowIndex.prototype[Symbol.dispose] = HighLowIndex.prototype.free;
|
|
9600
|
+
|
|
8946
9601
|
export class HighWave {
|
|
8947
9602
|
__destroy_into_raw() {
|
|
8948
9603
|
const ptr = this.__wbg_ptr;
|
|
@@ -10280,6 +10935,89 @@ export class InstantaneousTrendline {
|
|
|
10280
10935
|
}
|
|
10281
10936
|
if (Symbol.dispose) InstantaneousTrendline.prototype[Symbol.dispose] = InstantaneousTrendline.prototype.free;
|
|
10282
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
|
+
|
|
10283
11021
|
export class InverseFisherTransform {
|
|
10284
11022
|
__destroy_into_raw() {
|
|
10285
11023
|
const ptr = this.__wbg_ptr;
|
|
@@ -13665,56 +14403,192 @@ export class MaxDrawdown {
|
|
|
13665
14403
|
* @returns {boolean}
|
|
13666
14404
|
*/
|
|
13667
14405
|
isReady() {
|
|
13668
|
-
const ret = wasm.maxdrawdown_isReady(this.__wbg_ptr);
|
|
14406
|
+
const ret = wasm.maxdrawdown_isReady(this.__wbg_ptr);
|
|
14407
|
+
return ret !== 0;
|
|
14408
|
+
}
|
|
14409
|
+
/**
|
|
14410
|
+
* @param {number} period
|
|
14411
|
+
*/
|
|
14412
|
+
constructor(period) {
|
|
14413
|
+
try {
|
|
14414
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
14415
|
+
wasm.maxdrawdown_new(retptr, period);
|
|
14416
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
14417
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
14418
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
14419
|
+
if (r2) {
|
|
14420
|
+
throw takeObject(r1);
|
|
14421
|
+
}
|
|
14422
|
+
this.__wbg_ptr = r0;
|
|
14423
|
+
MaxDrawdownFinalization.register(this, this.__wbg_ptr, this);
|
|
14424
|
+
return this;
|
|
14425
|
+
} finally {
|
|
14426
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
14427
|
+
}
|
|
14428
|
+
}
|
|
14429
|
+
reset() {
|
|
14430
|
+
wasm.maxdrawdown_reset(this.__wbg_ptr);
|
|
14431
|
+
}
|
|
14432
|
+
/**
|
|
14433
|
+
* @param {number} value
|
|
14434
|
+
* @returns {number | undefined}
|
|
14435
|
+
*/
|
|
14436
|
+
update(value) {
|
|
14437
|
+
try {
|
|
14438
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
14439
|
+
wasm.maxdrawdown_update(retptr, this.__wbg_ptr, value);
|
|
14440
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
14441
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
14442
|
+
return r0 === 0 ? undefined : r2;
|
|
14443
|
+
} finally {
|
|
14444
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
14445
|
+
}
|
|
14446
|
+
}
|
|
14447
|
+
/**
|
|
14448
|
+
* @returns {number}
|
|
14449
|
+
*/
|
|
14450
|
+
warmupPeriod() {
|
|
14451
|
+
const ret = wasm.maxdrawdown_warmupPeriod(this.__wbg_ptr);
|
|
14452
|
+
return ret >>> 0;
|
|
14453
|
+
}
|
|
14454
|
+
}
|
|
14455
|
+
if (Symbol.dispose) MaxDrawdown.prototype[Symbol.dispose] = MaxDrawdown.prototype.free;
|
|
14456
|
+
|
|
14457
|
+
export class McClellanOscillator {
|
|
14458
|
+
__destroy_into_raw() {
|
|
14459
|
+
const ptr = this.__wbg_ptr;
|
|
14460
|
+
this.__wbg_ptr = 0;
|
|
14461
|
+
McClellanOscillatorFinalization.unregister(this);
|
|
14462
|
+
return ptr;
|
|
14463
|
+
}
|
|
14464
|
+
free() {
|
|
14465
|
+
const ptr = this.__destroy_into_raw();
|
|
14466
|
+
wasm.__wbg_mcclellanoscillator_free(ptr, 0);
|
|
14467
|
+
}
|
|
14468
|
+
/**
|
|
14469
|
+
* @returns {boolean}
|
|
14470
|
+
*/
|
|
14471
|
+
isReady() {
|
|
14472
|
+
const ret = wasm.mcclellanoscillator_isReady(this.__wbg_ptr);
|
|
14473
|
+
return ret !== 0;
|
|
14474
|
+
}
|
|
14475
|
+
constructor() {
|
|
14476
|
+
const ret = wasm.mcclellanoscillator_new();
|
|
14477
|
+
this.__wbg_ptr = ret;
|
|
14478
|
+
McClellanOscillatorFinalization.register(this, this.__wbg_ptr, this);
|
|
14479
|
+
return this;
|
|
14480
|
+
}
|
|
14481
|
+
reset() {
|
|
14482
|
+
wasm.mcclellanoscillator_reset(this.__wbg_ptr);
|
|
14483
|
+
}
|
|
14484
|
+
/**
|
|
14485
|
+
* @param {Float64Array} change
|
|
14486
|
+
* @param {Float64Array} volume
|
|
14487
|
+
* @param {Float64Array} new_high
|
|
14488
|
+
* @param {Float64Array} new_low
|
|
14489
|
+
* @returns {number | undefined}
|
|
14490
|
+
*/
|
|
14491
|
+
update(change, volume, new_high, new_low) {
|
|
14492
|
+
try {
|
|
14493
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
14494
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
14495
|
+
const len0 = WASM_VECTOR_LEN;
|
|
14496
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
14497
|
+
const len1 = WASM_VECTOR_LEN;
|
|
14498
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
14499
|
+
const len2 = WASM_VECTOR_LEN;
|
|
14500
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
14501
|
+
const len3 = WASM_VECTOR_LEN;
|
|
14502
|
+
wasm.mcclellanoscillator_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
14503
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
14504
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
14505
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
14506
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
14507
|
+
if (r5) {
|
|
14508
|
+
throw takeObject(r4);
|
|
14509
|
+
}
|
|
14510
|
+
return r0 === 0 ? undefined : r2;
|
|
14511
|
+
} finally {
|
|
14512
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
14513
|
+
}
|
|
14514
|
+
}
|
|
14515
|
+
/**
|
|
14516
|
+
* @returns {number}
|
|
14517
|
+
*/
|
|
14518
|
+
warmupPeriod() {
|
|
14519
|
+
const ret = wasm.mcclellanoscillator_warmupPeriod(this.__wbg_ptr);
|
|
14520
|
+
return ret >>> 0;
|
|
14521
|
+
}
|
|
14522
|
+
}
|
|
14523
|
+
if (Symbol.dispose) McClellanOscillator.prototype[Symbol.dispose] = McClellanOscillator.prototype.free;
|
|
14524
|
+
|
|
14525
|
+
export class McClellanSummationIndex {
|
|
14526
|
+
__destroy_into_raw() {
|
|
14527
|
+
const ptr = this.__wbg_ptr;
|
|
14528
|
+
this.__wbg_ptr = 0;
|
|
14529
|
+
McClellanSummationIndexFinalization.unregister(this);
|
|
14530
|
+
return ptr;
|
|
14531
|
+
}
|
|
14532
|
+
free() {
|
|
14533
|
+
const ptr = this.__destroy_into_raw();
|
|
14534
|
+
wasm.__wbg_mcclellansummationindex_free(ptr, 0);
|
|
14535
|
+
}
|
|
14536
|
+
/**
|
|
14537
|
+
* @returns {boolean}
|
|
14538
|
+
*/
|
|
14539
|
+
isReady() {
|
|
14540
|
+
const ret = wasm.mcclellansummationindex_isReady(this.__wbg_ptr);
|
|
13669
14541
|
return ret !== 0;
|
|
13670
14542
|
}
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
13677
|
-
wasm.maxdrawdown_new(retptr, period);
|
|
13678
|
-
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
13679
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
13680
|
-
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
13681
|
-
if (r2) {
|
|
13682
|
-
throw takeObject(r1);
|
|
13683
|
-
}
|
|
13684
|
-
this.__wbg_ptr = r0;
|
|
13685
|
-
MaxDrawdownFinalization.register(this, this.__wbg_ptr, this);
|
|
13686
|
-
return this;
|
|
13687
|
-
} finally {
|
|
13688
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
13689
|
-
}
|
|
14543
|
+
constructor() {
|
|
14544
|
+
const ret = wasm.mcclellansummationindex_new();
|
|
14545
|
+
this.__wbg_ptr = ret;
|
|
14546
|
+
McClellanSummationIndexFinalization.register(this, this.__wbg_ptr, this);
|
|
14547
|
+
return this;
|
|
13690
14548
|
}
|
|
13691
14549
|
reset() {
|
|
13692
|
-
wasm.
|
|
14550
|
+
wasm.mcclellansummationindex_reset(this.__wbg_ptr);
|
|
13693
14551
|
}
|
|
13694
14552
|
/**
|
|
13695
|
-
* @param {
|
|
14553
|
+
* @param {Float64Array} change
|
|
14554
|
+
* @param {Float64Array} volume
|
|
14555
|
+
* @param {Float64Array} new_high
|
|
14556
|
+
* @param {Float64Array} new_low
|
|
13696
14557
|
* @returns {number | undefined}
|
|
13697
14558
|
*/
|
|
13698
|
-
update(
|
|
14559
|
+
update(change, volume, new_high, new_low) {
|
|
13699
14560
|
try {
|
|
13700
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-
|
|
13701
|
-
|
|
14561
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
14562
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
14563
|
+
const len0 = WASM_VECTOR_LEN;
|
|
14564
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
14565
|
+
const len1 = WASM_VECTOR_LEN;
|
|
14566
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
14567
|
+
const len2 = WASM_VECTOR_LEN;
|
|
14568
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
14569
|
+
const len3 = WASM_VECTOR_LEN;
|
|
14570
|
+
wasm.mcclellansummationindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
13702
14571
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
13703
14572
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
14573
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
14574
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
14575
|
+
if (r5) {
|
|
14576
|
+
throw takeObject(r4);
|
|
14577
|
+
}
|
|
13704
14578
|
return r0 === 0 ? undefined : r2;
|
|
13705
14579
|
} finally {
|
|
13706
|
-
wasm.__wbindgen_add_to_stack_pointer(
|
|
14580
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
13707
14581
|
}
|
|
13708
14582
|
}
|
|
13709
14583
|
/**
|
|
13710
14584
|
* @returns {number}
|
|
13711
14585
|
*/
|
|
13712
14586
|
warmupPeriod() {
|
|
13713
|
-
const ret = wasm.
|
|
14587
|
+
const ret = wasm.mcclellansummationindex_warmupPeriod(this.__wbg_ptr);
|
|
13714
14588
|
return ret >>> 0;
|
|
13715
14589
|
}
|
|
13716
14590
|
}
|
|
13717
|
-
if (Symbol.dispose)
|
|
14591
|
+
if (Symbol.dispose) McClellanSummationIndex.prototype[Symbol.dispose] = McClellanSummationIndex.prototype.free;
|
|
13718
14592
|
|
|
13719
14593
|
export class McGinleyDynamic {
|
|
13720
14594
|
__destroy_into_raw() {
|
|
@@ -14341,6 +15215,74 @@ export class NVI {
|
|
|
14341
15215
|
}
|
|
14342
15216
|
if (Symbol.dispose) NVI.prototype[Symbol.dispose] = NVI.prototype.free;
|
|
14343
15217
|
|
|
15218
|
+
export class NewHighsNewLows {
|
|
15219
|
+
__destroy_into_raw() {
|
|
15220
|
+
const ptr = this.__wbg_ptr;
|
|
15221
|
+
this.__wbg_ptr = 0;
|
|
15222
|
+
NewHighsNewLowsFinalization.unregister(this);
|
|
15223
|
+
return ptr;
|
|
15224
|
+
}
|
|
15225
|
+
free() {
|
|
15226
|
+
const ptr = this.__destroy_into_raw();
|
|
15227
|
+
wasm.__wbg_newhighsnewlows_free(ptr, 0);
|
|
15228
|
+
}
|
|
15229
|
+
/**
|
|
15230
|
+
* @returns {boolean}
|
|
15231
|
+
*/
|
|
15232
|
+
isReady() {
|
|
15233
|
+
const ret = wasm.newhighsnewlows_isReady(this.__wbg_ptr);
|
|
15234
|
+
return ret !== 0;
|
|
15235
|
+
}
|
|
15236
|
+
constructor() {
|
|
15237
|
+
const ret = wasm.newhighsnewlows_new();
|
|
15238
|
+
this.__wbg_ptr = ret;
|
|
15239
|
+
NewHighsNewLowsFinalization.register(this, this.__wbg_ptr, this);
|
|
15240
|
+
return this;
|
|
15241
|
+
}
|
|
15242
|
+
reset() {
|
|
15243
|
+
wasm.newhighsnewlows_reset(this.__wbg_ptr);
|
|
15244
|
+
}
|
|
15245
|
+
/**
|
|
15246
|
+
* @param {Float64Array} change
|
|
15247
|
+
* @param {Float64Array} volume
|
|
15248
|
+
* @param {Float64Array} new_high
|
|
15249
|
+
* @param {Float64Array} new_low
|
|
15250
|
+
* @returns {number | undefined}
|
|
15251
|
+
*/
|
|
15252
|
+
update(change, volume, new_high, new_low) {
|
|
15253
|
+
try {
|
|
15254
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
15255
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
15256
|
+
const len0 = WASM_VECTOR_LEN;
|
|
15257
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
15258
|
+
const len1 = WASM_VECTOR_LEN;
|
|
15259
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
15260
|
+
const len2 = WASM_VECTOR_LEN;
|
|
15261
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
15262
|
+
const len3 = WASM_VECTOR_LEN;
|
|
15263
|
+
wasm.newhighsnewlows_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
15264
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
15265
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
15266
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
15267
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
15268
|
+
if (r5) {
|
|
15269
|
+
throw takeObject(r4);
|
|
15270
|
+
}
|
|
15271
|
+
return r0 === 0 ? undefined : r2;
|
|
15272
|
+
} finally {
|
|
15273
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
15274
|
+
}
|
|
15275
|
+
}
|
|
15276
|
+
/**
|
|
15277
|
+
* @returns {number}
|
|
15278
|
+
*/
|
|
15279
|
+
warmupPeriod() {
|
|
15280
|
+
const ret = wasm.newhighsnewlows_warmupPeriod(this.__wbg_ptr);
|
|
15281
|
+
return ret >>> 0;
|
|
15282
|
+
}
|
|
15283
|
+
}
|
|
15284
|
+
if (Symbol.dispose) NewHighsNewLows.prototype[Symbol.dispose] = NewHighsNewLows.prototype.free;
|
|
15285
|
+
|
|
14344
15286
|
export class OBV {
|
|
14345
15287
|
__destroy_into_raw() {
|
|
14346
15288
|
const ptr = this.__wbg_ptr;
|
|
@@ -15285,6 +16227,142 @@ export class OuHalfLife {
|
|
|
15285
16227
|
}
|
|
15286
16228
|
if (Symbol.dispose) OuHalfLife.prototype[Symbol.dispose] = OuHalfLife.prototype.free;
|
|
15287
16229
|
|
|
16230
|
+
export class OvernightGap {
|
|
16231
|
+
__destroy_into_raw() {
|
|
16232
|
+
const ptr = this.__wbg_ptr;
|
|
16233
|
+
this.__wbg_ptr = 0;
|
|
16234
|
+
OvernightGapFinalization.unregister(this);
|
|
16235
|
+
return ptr;
|
|
16236
|
+
}
|
|
16237
|
+
free() {
|
|
16238
|
+
const ptr = this.__destroy_into_raw();
|
|
16239
|
+
wasm.__wbg_overnightgap_free(ptr, 0);
|
|
16240
|
+
}
|
|
16241
|
+
/**
|
|
16242
|
+
* @returns {boolean}
|
|
16243
|
+
*/
|
|
16244
|
+
isReady() {
|
|
16245
|
+
const ret = wasm.overnightgap_isReady(this.__wbg_ptr);
|
|
16246
|
+
return ret !== 0;
|
|
16247
|
+
}
|
|
16248
|
+
/**
|
|
16249
|
+
* @param {number} utc_offset_minutes
|
|
16250
|
+
*/
|
|
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;
|
|
16256
|
+
}
|
|
16257
|
+
reset() {
|
|
16258
|
+
wasm.overnightgap_reset(this.__wbg_ptr);
|
|
16259
|
+
}
|
|
16260
|
+
/**
|
|
16261
|
+
* @param {number} open
|
|
16262
|
+
* @param {number} high
|
|
16263
|
+
* @param {number} low
|
|
16264
|
+
* @param {number} close
|
|
16265
|
+
* @param {number} volume
|
|
16266
|
+
* @param {bigint} timestamp
|
|
16267
|
+
* @returns {number | undefined}
|
|
16268
|
+
*/
|
|
16269
|
+
update(open, high, low, close, volume, timestamp) {
|
|
16270
|
+
try {
|
|
16271
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
16272
|
+
wasm.overnightgap_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
16273
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16274
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
16275
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
16276
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
16277
|
+
if (r5) {
|
|
16278
|
+
throw takeObject(r4);
|
|
16279
|
+
}
|
|
16280
|
+
return r0 === 0 ? undefined : r2;
|
|
16281
|
+
} finally {
|
|
16282
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
16283
|
+
}
|
|
16284
|
+
}
|
|
16285
|
+
/**
|
|
16286
|
+
* @returns {number}
|
|
16287
|
+
*/
|
|
16288
|
+
utcOffsetMinutes() {
|
|
16289
|
+
const ret = wasm.overnightgap_utcOffsetMinutes(this.__wbg_ptr);
|
|
16290
|
+
return ret;
|
|
16291
|
+
}
|
|
16292
|
+
/**
|
|
16293
|
+
* @returns {number}
|
|
16294
|
+
*/
|
|
16295
|
+
warmupPeriod() {
|
|
16296
|
+
const ret = wasm.overnightgap_warmupPeriod(this.__wbg_ptr);
|
|
16297
|
+
return ret >>> 0;
|
|
16298
|
+
}
|
|
16299
|
+
}
|
|
16300
|
+
if (Symbol.dispose) OvernightGap.prototype[Symbol.dispose] = OvernightGap.prototype.free;
|
|
16301
|
+
|
|
16302
|
+
export class OvernightIntradayReturn {
|
|
16303
|
+
__destroy_into_raw() {
|
|
16304
|
+
const ptr = this.__wbg_ptr;
|
|
16305
|
+
this.__wbg_ptr = 0;
|
|
16306
|
+
OvernightIntradayReturnFinalization.unregister(this);
|
|
16307
|
+
return ptr;
|
|
16308
|
+
}
|
|
16309
|
+
free() {
|
|
16310
|
+
const ptr = this.__destroy_into_raw();
|
|
16311
|
+
wasm.__wbg_overnightintradayreturn_free(ptr, 0);
|
|
16312
|
+
}
|
|
16313
|
+
/**
|
|
16314
|
+
* @returns {boolean}
|
|
16315
|
+
*/
|
|
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
|
+
|
|
15288
16366
|
export class PGO {
|
|
15289
16367
|
__destroy_into_raw() {
|
|
15290
16368
|
const ptr = this.__wbg_ptr;
|
|
@@ -16309,33 +17387,104 @@ export class PearsonCorrelation {
|
|
|
16309
17387
|
}
|
|
16310
17388
|
}
|
|
16311
17389
|
reset() {
|
|
16312
|
-
wasm.pearsoncorrelation_reset(this.__wbg_ptr);
|
|
17390
|
+
wasm.pearsoncorrelation_reset(this.__wbg_ptr);
|
|
17391
|
+
}
|
|
17392
|
+
/**
|
|
17393
|
+
* @param {number} x
|
|
17394
|
+
* @param {number} y
|
|
17395
|
+
* @returns {number | undefined}
|
|
17396
|
+
*/
|
|
17397
|
+
update(x, y) {
|
|
17398
|
+
try {
|
|
17399
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
17400
|
+
wasm.pearsoncorrelation_update(retptr, this.__wbg_ptr, x, y);
|
|
17401
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
17402
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
17403
|
+
return r0 === 0 ? undefined : r2;
|
|
17404
|
+
} finally {
|
|
17405
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
17406
|
+
}
|
|
17407
|
+
}
|
|
17408
|
+
/**
|
|
17409
|
+
* @returns {number}
|
|
17410
|
+
*/
|
|
17411
|
+
warmupPeriod() {
|
|
17412
|
+
const ret = wasm.pearsoncorrelation_warmupPeriod(this.__wbg_ptr);
|
|
17413
|
+
return ret >>> 0;
|
|
17414
|
+
}
|
|
17415
|
+
}
|
|
17416
|
+
if (Symbol.dispose) PearsonCorrelation.prototype[Symbol.dispose] = PearsonCorrelation.prototype.free;
|
|
17417
|
+
|
|
17418
|
+
export class PercentAboveMa {
|
|
17419
|
+
__destroy_into_raw() {
|
|
17420
|
+
const ptr = this.__wbg_ptr;
|
|
17421
|
+
this.__wbg_ptr = 0;
|
|
17422
|
+
PercentAboveMaFinalization.unregister(this);
|
|
17423
|
+
return ptr;
|
|
17424
|
+
}
|
|
17425
|
+
free() {
|
|
17426
|
+
const ptr = this.__destroy_into_raw();
|
|
17427
|
+
wasm.__wbg_percentabovema_free(ptr, 0);
|
|
17428
|
+
}
|
|
17429
|
+
/**
|
|
17430
|
+
* @returns {boolean}
|
|
17431
|
+
*/
|
|
17432
|
+
isReady() {
|
|
17433
|
+
const ret = wasm.percentabovema_isReady(this.__wbg_ptr);
|
|
17434
|
+
return ret !== 0;
|
|
17435
|
+
}
|
|
17436
|
+
constructor() {
|
|
17437
|
+
const ret = wasm.percentabovema_new();
|
|
17438
|
+
this.__wbg_ptr = ret;
|
|
17439
|
+
PercentAboveMaFinalization.register(this, this.__wbg_ptr, this);
|
|
17440
|
+
return this;
|
|
17441
|
+
}
|
|
17442
|
+
reset() {
|
|
17443
|
+
wasm.percentabovema_reset(this.__wbg_ptr);
|
|
16313
17444
|
}
|
|
16314
17445
|
/**
|
|
16315
|
-
* @param {
|
|
16316
|
-
* @param {
|
|
17446
|
+
* @param {Float64Array} change
|
|
17447
|
+
* @param {Float64Array} volume
|
|
17448
|
+
* @param {Float64Array} new_high
|
|
17449
|
+
* @param {Float64Array} new_low
|
|
17450
|
+
* @param {Float64Array} above_ma
|
|
16317
17451
|
* @returns {number | undefined}
|
|
16318
17452
|
*/
|
|
16319
|
-
update(
|
|
17453
|
+
update(change, volume, new_high, new_low, above_ma) {
|
|
16320
17454
|
try {
|
|
16321
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-
|
|
16322
|
-
|
|
17455
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
17456
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
17457
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17458
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
17459
|
+
const len1 = WASM_VECTOR_LEN;
|
|
17460
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
17461
|
+
const len2 = WASM_VECTOR_LEN;
|
|
17462
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
17463
|
+
const len3 = WASM_VECTOR_LEN;
|
|
17464
|
+
const ptr4 = passArrayF64ToWasm0(above_ma, wasm.__wbindgen_export3);
|
|
17465
|
+
const len4 = WASM_VECTOR_LEN;
|
|
17466
|
+
wasm.percentabovema_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
16323
17467
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
16324
17468
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
17469
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
17470
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
17471
|
+
if (r5) {
|
|
17472
|
+
throw takeObject(r4);
|
|
17473
|
+
}
|
|
16325
17474
|
return r0 === 0 ? undefined : r2;
|
|
16326
17475
|
} finally {
|
|
16327
|
-
wasm.__wbindgen_add_to_stack_pointer(
|
|
17476
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
16328
17477
|
}
|
|
16329
17478
|
}
|
|
16330
17479
|
/**
|
|
16331
17480
|
* @returns {number}
|
|
16332
17481
|
*/
|
|
16333
17482
|
warmupPeriod() {
|
|
16334
|
-
const ret = wasm.
|
|
17483
|
+
const ret = wasm.percentabovema_warmupPeriod(this.__wbg_ptr);
|
|
16335
17484
|
return ret >>> 0;
|
|
16336
17485
|
}
|
|
16337
17486
|
}
|
|
16338
|
-
if (Symbol.dispose)
|
|
17487
|
+
if (Symbol.dispose) PercentAboveMa.prototype[Symbol.dispose] = PercentAboveMa.prototype.free;
|
|
16339
17488
|
|
|
16340
17489
|
export class PercentB {
|
|
16341
17490
|
__destroy_into_raw() {
|
|
@@ -18936,37 +20085,263 @@ export class STC {
|
|
|
18936
20085
|
* @param {number} schaff_period
|
|
18937
20086
|
* @param {number} factor
|
|
18938
20087
|
*/
|
|
18939
|
-
constructor(fast, slow, schaff_period, factor) {
|
|
20088
|
+
constructor(fast, slow, schaff_period, factor) {
|
|
20089
|
+
try {
|
|
20090
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
20091
|
+
wasm.stc_new(retptr, fast, slow, schaff_period, factor);
|
|
20092
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
20093
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
20094
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
20095
|
+
if (r2) {
|
|
20096
|
+
throw takeObject(r1);
|
|
20097
|
+
}
|
|
20098
|
+
this.__wbg_ptr = r0;
|
|
20099
|
+
STCFinalization.register(this, this.__wbg_ptr, this);
|
|
20100
|
+
return this;
|
|
20101
|
+
} finally {
|
|
20102
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
20103
|
+
}
|
|
20104
|
+
}
|
|
20105
|
+
reset() {
|
|
20106
|
+
wasm.stc_reset(this.__wbg_ptr);
|
|
20107
|
+
}
|
|
20108
|
+
/**
|
|
20109
|
+
* @param {number} value
|
|
20110
|
+
* @returns {number | undefined}
|
|
20111
|
+
*/
|
|
20112
|
+
update(value) {
|
|
20113
|
+
try {
|
|
20114
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
20115
|
+
wasm.stc_update(retptr, this.__wbg_ptr, value);
|
|
20116
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
20117
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
20118
|
+
return r0 === 0 ? undefined : r2;
|
|
20119
|
+
} finally {
|
|
20120
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
20121
|
+
}
|
|
20122
|
+
}
|
|
20123
|
+
/**
|
|
20124
|
+
* @returns {number}
|
|
20125
|
+
*/
|
|
20126
|
+
warmupPeriod() {
|
|
20127
|
+
const ret = wasm.stc_warmupPeriod(this.__wbg_ptr);
|
|
20128
|
+
return ret >>> 0;
|
|
20129
|
+
}
|
|
20130
|
+
}
|
|
20131
|
+
if (Symbol.dispose) STC.prototype[Symbol.dispose] = STC.prototype.free;
|
|
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
|
+
|
|
20205
|
+
export class SeparatingLines {
|
|
20206
|
+
__destroy_into_raw() {
|
|
20207
|
+
const ptr = this.__wbg_ptr;
|
|
20208
|
+
this.__wbg_ptr = 0;
|
|
20209
|
+
SeparatingLinesFinalization.unregister(this);
|
|
20210
|
+
return ptr;
|
|
20211
|
+
}
|
|
20212
|
+
free() {
|
|
20213
|
+
const ptr = this.__destroy_into_raw();
|
|
20214
|
+
wasm.__wbg_separatinglines_free(ptr, 0);
|
|
20215
|
+
}
|
|
20216
|
+
/**
|
|
20217
|
+
* @param {Float64Array} open
|
|
20218
|
+
* @param {Float64Array} high
|
|
20219
|
+
* @param {Float64Array} low
|
|
20220
|
+
* @param {Float64Array} close
|
|
20221
|
+
* @returns {Float64Array}
|
|
20222
|
+
*/
|
|
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) {
|
|
18940
20335
|
try {
|
|
18941
20336
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
18942
|
-
wasm.
|
|
20337
|
+
wasm.sessionhighlow_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
18943
20338
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
18944
20339
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
18945
20340
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
18946
20341
|
if (r2) {
|
|
18947
20342
|
throw takeObject(r1);
|
|
18948
20343
|
}
|
|
18949
|
-
|
|
18950
|
-
STCFinalization.register(this, this.__wbg_ptr, this);
|
|
18951
|
-
return this;
|
|
18952
|
-
} finally {
|
|
18953
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
18954
|
-
}
|
|
18955
|
-
}
|
|
18956
|
-
reset() {
|
|
18957
|
-
wasm.stc_reset(this.__wbg_ptr);
|
|
18958
|
-
}
|
|
18959
|
-
/**
|
|
18960
|
-
* @param {number} value
|
|
18961
|
-
* @returns {number | undefined}
|
|
18962
|
-
*/
|
|
18963
|
-
update(value) {
|
|
18964
|
-
try {
|
|
18965
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
18966
|
-
wasm.stc_update(retptr, this.__wbg_ptr, value);
|
|
18967
|
-
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
18968
|
-
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
18969
|
-
return r0 === 0 ? undefined : r2;
|
|
20344
|
+
return takeObject(r0);
|
|
18970
20345
|
} finally {
|
|
18971
20346
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
18972
20347
|
}
|
|
@@ -18975,42 +20350,55 @@ export class STC {
|
|
|
18975
20350
|
* @returns {number}
|
|
18976
20351
|
*/
|
|
18977
20352
|
warmupPeriod() {
|
|
18978
|
-
const ret = wasm.
|
|
20353
|
+
const ret = wasm.sessionhighlow_warmupPeriod(this.__wbg_ptr);
|
|
18979
20354
|
return ret >>> 0;
|
|
18980
20355
|
}
|
|
18981
20356
|
}
|
|
18982
|
-
if (Symbol.dispose)
|
|
20357
|
+
if (Symbol.dispose) SessionHighLow.prototype[Symbol.dispose] = SessionHighLow.prototype.free;
|
|
18983
20358
|
|
|
18984
|
-
export class
|
|
20359
|
+
export class SessionRange {
|
|
18985
20360
|
__destroy_into_raw() {
|
|
18986
20361
|
const ptr = this.__wbg_ptr;
|
|
18987
20362
|
this.__wbg_ptr = 0;
|
|
18988
|
-
|
|
20363
|
+
SessionRangeFinalization.unregister(this);
|
|
18989
20364
|
return ptr;
|
|
18990
20365
|
}
|
|
18991
20366
|
free() {
|
|
18992
20367
|
const ptr = this.__destroy_into_raw();
|
|
18993
|
-
wasm.
|
|
20368
|
+
wasm.__wbg_sessionrange_free(ptr, 0);
|
|
18994
20369
|
}
|
|
18995
20370
|
/**
|
|
18996
|
-
* @
|
|
18997
|
-
* @param {Float64Array} high
|
|
18998
|
-
* @param {Float64Array} low
|
|
18999
|
-
* @param {Float64Array} close
|
|
19000
|
-
* @returns {Float64Array}
|
|
20371
|
+
* @returns {boolean}
|
|
19001
20372
|
*/
|
|
19002
|
-
|
|
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) {
|
|
19003
20399
|
try {
|
|
19004
20400
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
19005
|
-
|
|
19006
|
-
const len0 = WASM_VECTOR_LEN;
|
|
19007
|
-
const ptr1 = passArrayF64ToWasm0(high, wasm.__wbindgen_export3);
|
|
19008
|
-
const len1 = WASM_VECTOR_LEN;
|
|
19009
|
-
const ptr2 = passArrayF64ToWasm0(low, wasm.__wbindgen_export3);
|
|
19010
|
-
const len2 = WASM_VECTOR_LEN;
|
|
19011
|
-
const ptr3 = passArrayF64ToWasm0(close, wasm.__wbindgen_export3);
|
|
19012
|
-
const len3 = WASM_VECTOR_LEN;
|
|
19013
|
-
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);
|
|
19014
20402
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
19015
20403
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
19016
20404
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -19022,33 +20410,59 @@ export class SeparatingLines {
|
|
|
19022
20410
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
19023
20411
|
}
|
|
19024
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
|
+
}
|
|
19025
20434
|
/**
|
|
19026
20435
|
* @returns {boolean}
|
|
19027
20436
|
*/
|
|
19028
20437
|
isReady() {
|
|
19029
|
-
const ret = wasm.
|
|
20438
|
+
const ret = wasm.sessionvwap_isReady(this.__wbg_ptr);
|
|
19030
20439
|
return ret !== 0;
|
|
19031
20440
|
}
|
|
19032
|
-
|
|
19033
|
-
|
|
20441
|
+
/**
|
|
20442
|
+
* @param {number} utc_offset_minutes
|
|
20443
|
+
*/
|
|
20444
|
+
constructor(utc_offset_minutes) {
|
|
20445
|
+
const ret = wasm.sessionvwap_new(utc_offset_minutes);
|
|
19034
20446
|
this.__wbg_ptr = ret;
|
|
19035
|
-
|
|
20447
|
+
SessionVwapFinalization.register(this, this.__wbg_ptr, this);
|
|
19036
20448
|
return this;
|
|
19037
20449
|
}
|
|
19038
20450
|
reset() {
|
|
19039
|
-
wasm.
|
|
20451
|
+
wasm.sessionvwap_reset(this.__wbg_ptr);
|
|
19040
20452
|
}
|
|
19041
20453
|
/**
|
|
19042
20454
|
* @param {number} open
|
|
19043
20455
|
* @param {number} high
|
|
19044
20456
|
* @param {number} low
|
|
19045
20457
|
* @param {number} close
|
|
20458
|
+
* @param {number} volume
|
|
20459
|
+
* @param {bigint} timestamp
|
|
19046
20460
|
* @returns {number | undefined}
|
|
19047
20461
|
*/
|
|
19048
|
-
update(open, high, low, close) {
|
|
20462
|
+
update(open, high, low, close, volume, timestamp) {
|
|
19049
20463
|
try {
|
|
19050
20464
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
19051
|
-
wasm.
|
|
20465
|
+
wasm.sessionvwap_update(retptr, this.__wbg_ptr, open, high, low, close, volume, timestamp);
|
|
19052
20466
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
19053
20467
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
19054
20468
|
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
@@ -19061,15 +20475,22 @@ export class SeparatingLines {
|
|
|
19061
20475
|
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
19062
20476
|
}
|
|
19063
20477
|
}
|
|
20478
|
+
/**
|
|
20479
|
+
* @returns {number}
|
|
20480
|
+
*/
|
|
20481
|
+
utcOffsetMinutes() {
|
|
20482
|
+
const ret = wasm.sessionvwap_utcOffsetMinutes(this.__wbg_ptr);
|
|
20483
|
+
return ret;
|
|
20484
|
+
}
|
|
19064
20485
|
/**
|
|
19065
20486
|
* @returns {number}
|
|
19066
20487
|
*/
|
|
19067
20488
|
warmupPeriod() {
|
|
19068
|
-
const ret = wasm.
|
|
20489
|
+
const ret = wasm.sessionvwap_warmupPeriod(this.__wbg_ptr);
|
|
19069
20490
|
return ret >>> 0;
|
|
19070
20491
|
}
|
|
19071
20492
|
}
|
|
19072
|
-
if (Symbol.dispose)
|
|
20493
|
+
if (Symbol.dispose) SessionVwap.prototype[Symbol.dispose] = SessionVwap.prototype.free;
|
|
19073
20494
|
|
|
19074
20495
|
export class SharpeRatio {
|
|
19075
20496
|
__destroy_into_raw() {
|
|
@@ -23518,6 +24939,157 @@ export class Thrusting {
|
|
|
23518
24939
|
}
|
|
23519
24940
|
if (Symbol.dispose) Thrusting.prototype[Symbol.dispose] = Thrusting.prototype.free;
|
|
23520
24941
|
|
|
24942
|
+
export class TickIndex {
|
|
24943
|
+
__destroy_into_raw() {
|
|
24944
|
+
const ptr = this.__wbg_ptr;
|
|
24945
|
+
this.__wbg_ptr = 0;
|
|
24946
|
+
TickIndexFinalization.unregister(this);
|
|
24947
|
+
return ptr;
|
|
24948
|
+
}
|
|
24949
|
+
free() {
|
|
24950
|
+
const ptr = this.__destroy_into_raw();
|
|
24951
|
+
wasm.__wbg_tickindex_free(ptr, 0);
|
|
24952
|
+
}
|
|
24953
|
+
/**
|
|
24954
|
+
* @returns {boolean}
|
|
24955
|
+
*/
|
|
24956
|
+
isReady() {
|
|
24957
|
+
const ret = wasm.tickindex_isReady(this.__wbg_ptr);
|
|
24958
|
+
return ret !== 0;
|
|
24959
|
+
}
|
|
24960
|
+
constructor() {
|
|
24961
|
+
const ret = wasm.tickindex_new();
|
|
24962
|
+
this.__wbg_ptr = ret;
|
|
24963
|
+
TickIndexFinalization.register(this, this.__wbg_ptr, this);
|
|
24964
|
+
return this;
|
|
24965
|
+
}
|
|
24966
|
+
reset() {
|
|
24967
|
+
wasm.tickindex_reset(this.__wbg_ptr);
|
|
24968
|
+
}
|
|
24969
|
+
/**
|
|
24970
|
+
* @param {Float64Array} change
|
|
24971
|
+
* @param {Float64Array} volume
|
|
24972
|
+
* @param {Float64Array} new_high
|
|
24973
|
+
* @param {Float64Array} new_low
|
|
24974
|
+
* @returns {number | undefined}
|
|
24975
|
+
*/
|
|
24976
|
+
update(change, volume, new_high, new_low) {
|
|
24977
|
+
try {
|
|
24978
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
24979
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
24980
|
+
const len0 = WASM_VECTOR_LEN;
|
|
24981
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
24982
|
+
const len1 = WASM_VECTOR_LEN;
|
|
24983
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
24984
|
+
const len2 = WASM_VECTOR_LEN;
|
|
24985
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
24986
|
+
const len3 = WASM_VECTOR_LEN;
|
|
24987
|
+
wasm.tickindex_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
24988
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
24989
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
24990
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
24991
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
24992
|
+
if (r5) {
|
|
24993
|
+
throw takeObject(r4);
|
|
24994
|
+
}
|
|
24995
|
+
return r0 === 0 ? undefined : r2;
|
|
24996
|
+
} finally {
|
|
24997
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
24998
|
+
}
|
|
24999
|
+
}
|
|
25000
|
+
/**
|
|
25001
|
+
* @returns {number}
|
|
25002
|
+
*/
|
|
25003
|
+
warmupPeriod() {
|
|
25004
|
+
const ret = wasm.tickindex_warmupPeriod(this.__wbg_ptr);
|
|
25005
|
+
return ret >>> 0;
|
|
25006
|
+
}
|
|
25007
|
+
}
|
|
25008
|
+
if (Symbol.dispose) TickIndex.prototype[Symbol.dispose] = TickIndex.prototype.free;
|
|
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
|
+
|
|
23521
25093
|
export class TpoProfile {
|
|
23522
25094
|
__destroy_into_raw() {
|
|
23523
25095
|
const ptr = this.__wbg_ptr;
|
|
@@ -23752,33 +25324,101 @@ export class TreynorRatio {
|
|
|
23752
25324
|
}
|
|
23753
25325
|
}
|
|
23754
25326
|
reset() {
|
|
23755
|
-
wasm.treynorratio_reset(this.__wbg_ptr);
|
|
25327
|
+
wasm.treynorratio_reset(this.__wbg_ptr);
|
|
25328
|
+
}
|
|
25329
|
+
/**
|
|
25330
|
+
* @param {number} asset
|
|
25331
|
+
* @param {number} benchmark
|
|
25332
|
+
* @returns {number | undefined}
|
|
25333
|
+
*/
|
|
25334
|
+
update(asset, benchmark) {
|
|
25335
|
+
try {
|
|
25336
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
25337
|
+
wasm.treynorratio_update(retptr, this.__wbg_ptr, asset, benchmark);
|
|
25338
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
25339
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
25340
|
+
return r0 === 0 ? undefined : r2;
|
|
25341
|
+
} finally {
|
|
25342
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
25343
|
+
}
|
|
25344
|
+
}
|
|
25345
|
+
/**
|
|
25346
|
+
* @returns {number}
|
|
25347
|
+
*/
|
|
25348
|
+
warmupPeriod() {
|
|
25349
|
+
const ret = wasm.treynorratio_warmupPeriod(this.__wbg_ptr);
|
|
25350
|
+
return ret >>> 0;
|
|
25351
|
+
}
|
|
25352
|
+
}
|
|
25353
|
+
if (Symbol.dispose) TreynorRatio.prototype[Symbol.dispose] = TreynorRatio.prototype.free;
|
|
25354
|
+
|
|
25355
|
+
export class Trin {
|
|
25356
|
+
__destroy_into_raw() {
|
|
25357
|
+
const ptr = this.__wbg_ptr;
|
|
25358
|
+
this.__wbg_ptr = 0;
|
|
25359
|
+
TrinFinalization.unregister(this);
|
|
25360
|
+
return ptr;
|
|
25361
|
+
}
|
|
25362
|
+
free() {
|
|
25363
|
+
const ptr = this.__destroy_into_raw();
|
|
25364
|
+
wasm.__wbg_trin_free(ptr, 0);
|
|
25365
|
+
}
|
|
25366
|
+
/**
|
|
25367
|
+
* @returns {boolean}
|
|
25368
|
+
*/
|
|
25369
|
+
isReady() {
|
|
25370
|
+
const ret = wasm.trin_isReady(this.__wbg_ptr);
|
|
25371
|
+
return ret !== 0;
|
|
25372
|
+
}
|
|
25373
|
+
constructor() {
|
|
25374
|
+
const ret = wasm.trin_new();
|
|
25375
|
+
this.__wbg_ptr = ret;
|
|
25376
|
+
TrinFinalization.register(this, this.__wbg_ptr, this);
|
|
25377
|
+
return this;
|
|
25378
|
+
}
|
|
25379
|
+
reset() {
|
|
25380
|
+
wasm.trin_reset(this.__wbg_ptr);
|
|
23756
25381
|
}
|
|
23757
25382
|
/**
|
|
23758
|
-
* @param {
|
|
23759
|
-
* @param {
|
|
25383
|
+
* @param {Float64Array} change
|
|
25384
|
+
* @param {Float64Array} volume
|
|
25385
|
+
* @param {Float64Array} new_high
|
|
25386
|
+
* @param {Float64Array} new_low
|
|
23760
25387
|
* @returns {number | undefined}
|
|
23761
25388
|
*/
|
|
23762
|
-
update(
|
|
25389
|
+
update(change, volume, new_high, new_low) {
|
|
23763
25390
|
try {
|
|
23764
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-
|
|
23765
|
-
|
|
25391
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
25392
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
25393
|
+
const len0 = WASM_VECTOR_LEN;
|
|
25394
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
25395
|
+
const len1 = WASM_VECTOR_LEN;
|
|
25396
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
25397
|
+
const len2 = WASM_VECTOR_LEN;
|
|
25398
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
25399
|
+
const len3 = WASM_VECTOR_LEN;
|
|
25400
|
+
wasm.trin_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
23766
25401
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
23767
25402
|
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
25403
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
25404
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
25405
|
+
if (r5) {
|
|
25406
|
+
throw takeObject(r4);
|
|
25407
|
+
}
|
|
23768
25408
|
return r0 === 0 ? undefined : r2;
|
|
23769
25409
|
} finally {
|
|
23770
|
-
wasm.__wbindgen_add_to_stack_pointer(
|
|
25410
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
23771
25411
|
}
|
|
23772
25412
|
}
|
|
23773
25413
|
/**
|
|
23774
25414
|
* @returns {number}
|
|
23775
25415
|
*/
|
|
23776
25416
|
warmupPeriod() {
|
|
23777
|
-
const ret = wasm.
|
|
25417
|
+
const ret = wasm.trin_warmupPeriod(this.__wbg_ptr);
|
|
23778
25418
|
return ret >>> 0;
|
|
23779
25419
|
}
|
|
23780
25420
|
}
|
|
23781
|
-
if (Symbol.dispose)
|
|
25421
|
+
if (Symbol.dispose) Trin.prototype[Symbol.dispose] = Trin.prototype.free;
|
|
23782
25422
|
|
|
23783
25423
|
export class TrueRange {
|
|
23784
25424
|
__destroy_into_raw() {
|
|
@@ -23954,6 +25594,84 @@ export class TtmSqueeze {
|
|
|
23954
25594
|
}
|
|
23955
25595
|
if (Symbol.dispose) TtmSqueeze.prototype[Symbol.dispose] = TtmSqueeze.prototype.free;
|
|
23956
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
|
+
|
|
23957
25675
|
export class Tweezer {
|
|
23958
25676
|
__destroy_into_raw() {
|
|
23959
25677
|
const ptr = this.__wbg_ptr;
|
|
@@ -24460,6 +26178,74 @@ export class UniqueThreeRiver {
|
|
|
24460
26178
|
}
|
|
24461
26179
|
if (Symbol.dispose) UniqueThreeRiver.prototype[Symbol.dispose] = UniqueThreeRiver.prototype.free;
|
|
24462
26180
|
|
|
26181
|
+
export class UpDownVolumeRatio {
|
|
26182
|
+
__destroy_into_raw() {
|
|
26183
|
+
const ptr = this.__wbg_ptr;
|
|
26184
|
+
this.__wbg_ptr = 0;
|
|
26185
|
+
UpDownVolumeRatioFinalization.unregister(this);
|
|
26186
|
+
return ptr;
|
|
26187
|
+
}
|
|
26188
|
+
free() {
|
|
26189
|
+
const ptr = this.__destroy_into_raw();
|
|
26190
|
+
wasm.__wbg_updownvolumeratio_free(ptr, 0);
|
|
26191
|
+
}
|
|
26192
|
+
/**
|
|
26193
|
+
* @returns {boolean}
|
|
26194
|
+
*/
|
|
26195
|
+
isReady() {
|
|
26196
|
+
const ret = wasm.updownvolumeratio_isReady(this.__wbg_ptr);
|
|
26197
|
+
return ret !== 0;
|
|
26198
|
+
}
|
|
26199
|
+
constructor() {
|
|
26200
|
+
const ret = wasm.updownvolumeratio_new();
|
|
26201
|
+
this.__wbg_ptr = ret;
|
|
26202
|
+
UpDownVolumeRatioFinalization.register(this, this.__wbg_ptr, this);
|
|
26203
|
+
return this;
|
|
26204
|
+
}
|
|
26205
|
+
reset() {
|
|
26206
|
+
wasm.updownvolumeratio_reset(this.__wbg_ptr);
|
|
26207
|
+
}
|
|
26208
|
+
/**
|
|
26209
|
+
* @param {Float64Array} change
|
|
26210
|
+
* @param {Float64Array} volume
|
|
26211
|
+
* @param {Float64Array} new_high
|
|
26212
|
+
* @param {Float64Array} new_low
|
|
26213
|
+
* @returns {number | undefined}
|
|
26214
|
+
*/
|
|
26215
|
+
update(change, volume, new_high, new_low) {
|
|
26216
|
+
try {
|
|
26217
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-32);
|
|
26218
|
+
const ptr0 = passArrayF64ToWasm0(change, wasm.__wbindgen_export3);
|
|
26219
|
+
const len0 = WASM_VECTOR_LEN;
|
|
26220
|
+
const ptr1 = passArrayF64ToWasm0(volume, wasm.__wbindgen_export3);
|
|
26221
|
+
const len1 = WASM_VECTOR_LEN;
|
|
26222
|
+
const ptr2 = passArrayF64ToWasm0(new_high, wasm.__wbindgen_export3);
|
|
26223
|
+
const len2 = WASM_VECTOR_LEN;
|
|
26224
|
+
const ptr3 = passArrayF64ToWasm0(new_low, wasm.__wbindgen_export3);
|
|
26225
|
+
const len3 = WASM_VECTOR_LEN;
|
|
26226
|
+
wasm.updownvolumeratio_update(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
26227
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
26228
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
26229
|
+
var r4 = getDataViewMemory0().getInt32(retptr + 4 * 4, true);
|
|
26230
|
+
var r5 = getDataViewMemory0().getInt32(retptr + 4 * 5, true);
|
|
26231
|
+
if (r5) {
|
|
26232
|
+
throw takeObject(r4);
|
|
26233
|
+
}
|
|
26234
|
+
return r0 === 0 ? undefined : r2;
|
|
26235
|
+
} finally {
|
|
26236
|
+
wasm.__wbindgen_add_to_stack_pointer(32);
|
|
26237
|
+
}
|
|
26238
|
+
}
|
|
26239
|
+
/**
|
|
26240
|
+
* @returns {number}
|
|
26241
|
+
*/
|
|
26242
|
+
warmupPeriod() {
|
|
26243
|
+
const ret = wasm.updownvolumeratio_warmupPeriod(this.__wbg_ptr);
|
|
26244
|
+
return ret >>> 0;
|
|
26245
|
+
}
|
|
26246
|
+
}
|
|
26247
|
+
if (Symbol.dispose) UpDownVolumeRatio.prototype[Symbol.dispose] = UpDownVolumeRatio.prototype.free;
|
|
26248
|
+
|
|
24463
26249
|
export class UpsideGapThreeMethods {
|
|
24464
26250
|
__destroy_into_raw() {
|
|
24465
26251
|
const ptr = this.__wbg_ptr;
|
|
@@ -25483,6 +27269,89 @@ export class VoltyStop {
|
|
|
25483
27269
|
}
|
|
25484
27270
|
if (Symbol.dispose) VoltyStop.prototype[Symbol.dispose] = VoltyStop.prototype.free;
|
|
25485
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
|
+
|
|
25486
27355
|
export class VolumeOscillator {
|
|
25487
27356
|
__destroy_into_raw() {
|
|
25488
27357
|
const ptr = this.__wbg_ptr;
|
|
@@ -27139,6 +29008,9 @@ export function __wbindgen_object_drop_ref(arg0) {
|
|
|
27139
29008
|
const AbandonedBabyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27140
29009
|
? { register: () => {}, unregister: () => {} }
|
|
27141
29010
|
: new FinalizationRegistry(ptr => wasm.__wbg_abandonedbaby_free(ptr, 1));
|
|
29011
|
+
const AbsoluteBreadthIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29012
|
+
? { register: () => {}, unregister: () => {} }
|
|
29013
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_absolutebreadthindex_free(ptr, 1));
|
|
27142
29014
|
const AccelerationBandsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27143
29015
|
? { register: () => {}, unregister: () => {} }
|
|
27144
29016
|
: new FinalizationRegistry(ptr => wasm.__wbg_accelerationbands_free(ptr, 1));
|
|
@@ -27148,6 +29020,9 @@ const AcceleratorOscillatorFinalization = (typeof FinalizationRegistry === 'unde
|
|
|
27148
29020
|
const WilliamsADFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27149
29021
|
? { register: () => {}, unregister: () => {} }
|
|
27150
29022
|
: new FinalizationRegistry(ptr => wasm.__wbg_williamsad_free(ptr, 1));
|
|
29023
|
+
const AdVolumeLineFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29024
|
+
? { register: () => {}, unregister: () => {} }
|
|
29025
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_advolumeline_free(ptr, 1));
|
|
27151
29026
|
const AdaptiveCycleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27152
29027
|
? { register: () => {}, unregister: () => {} }
|
|
27153
29028
|
: new FinalizationRegistry(ptr => wasm.__wbg_adaptivecycle_free(ptr, 1));
|
|
@@ -27160,6 +29035,9 @@ const AdvanceBlockFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
27160
29035
|
const AdvanceDeclineFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27161
29036
|
? { register: () => {}, unregister: () => {} }
|
|
27162
29037
|
: new FinalizationRegistry(ptr => wasm.__wbg_advancedecline_free(ptr, 1));
|
|
29038
|
+
const AdvanceDeclineRatioFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29039
|
+
? { register: () => {}, unregister: () => {} }
|
|
29040
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_advancedeclineratio_free(ptr, 1));
|
|
27163
29041
|
const ADXFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27164
29042
|
? { register: () => {}, unregister: () => {} }
|
|
27165
29043
|
: new FinalizationRegistry(ptr => wasm.__wbg_adx_free(ptr, 1));
|
|
@@ -27208,6 +29086,9 @@ const AtrTrailingStopFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
27208
29086
|
const AutocorrelationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27209
29087
|
? { register: () => {}, unregister: () => {} }
|
|
27210
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));
|
|
27211
29092
|
const AverageDrawdownFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27212
29093
|
? { register: () => {}, unregister: () => {} }
|
|
27213
29094
|
: new FinalizationRegistry(ptr => wasm.__wbg_averagedrawdown_free(ptr, 1));
|
|
@@ -27232,9 +29113,15 @@ const BetaNeutralSpreadFinalization = (typeof FinalizationRegistry === 'undefine
|
|
|
27232
29113
|
const BollingerBandwidthFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27233
29114
|
? { register: () => {}, unregister: () => {} }
|
|
27234
29115
|
: new FinalizationRegistry(ptr => wasm.__wbg_bollingerbandwidth_free(ptr, 1));
|
|
29116
|
+
const BreadthThrustFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29117
|
+
? { register: () => {}, unregister: () => {} }
|
|
29118
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_breadththrust_free(ptr, 1));
|
|
27235
29119
|
const BreakawayFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27236
29120
|
? { register: () => {}, unregister: () => {} }
|
|
27237
29121
|
: new FinalizationRegistry(ptr => wasm.__wbg_breakaway_free(ptr, 1));
|
|
29122
|
+
const BullishPercentIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29123
|
+
? { register: () => {}, unregister: () => {} }
|
|
29124
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_bullishpercentindex_free(ptr, 1));
|
|
27238
29125
|
const CalendarSpreadFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27239
29126
|
? { register: () => {}, unregister: () => {} }
|
|
27240
29127
|
: new FinalizationRegistry(ptr => wasm.__wbg_calendarspread_free(ptr, 1));
|
|
@@ -27304,9 +29191,15 @@ const CounterattackFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
27304
29191
|
const CumulativeVolumeDeltaFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27305
29192
|
? { register: () => {}, unregister: () => {} }
|
|
27306
29193
|
: new FinalizationRegistry(ptr => wasm.__wbg_cumulativevolumedelta_free(ptr, 1));
|
|
29194
|
+
const CumulativeVolumeIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29195
|
+
? { register: () => {}, unregister: () => {} }
|
|
29196
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cumulativevolumeindex_free(ptr, 1));
|
|
27307
29197
|
const CyberneticCycleFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27308
29198
|
? { register: () => {}, unregister: () => {} }
|
|
27309
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));
|
|
27310
29203
|
const DecyclerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27311
29204
|
? { register: () => {}, unregister: () => {} }
|
|
27312
29205
|
: new FinalizationRegistry(ptr => wasm.__wbg_decycler_free(ptr, 1));
|
|
@@ -27454,6 +29347,9 @@ const HeikinAshiFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
27454
29347
|
const HiLoActivatorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27455
29348
|
? { register: () => {}, unregister: () => {} }
|
|
27456
29349
|
: new FinalizationRegistry(ptr => wasm.__wbg_hiloactivator_free(ptr, 1));
|
|
29350
|
+
const HighLowIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29351
|
+
? { register: () => {}, unregister: () => {} }
|
|
29352
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_highlowindex_free(ptr, 1));
|
|
27457
29353
|
const HighWaveFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27458
29354
|
? { register: () => {}, unregister: () => {} }
|
|
27459
29355
|
: new FinalizationRegistry(ptr => wasm.__wbg_highwave_free(ptr, 1));
|
|
@@ -27511,6 +29407,9 @@ const InitialBalanceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
27511
29407
|
const InstantaneousTrendlineFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27512
29408
|
? { register: () => {}, unregister: () => {} }
|
|
27513
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));
|
|
27514
29413
|
const InverseFisherTransformFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27515
29414
|
? { register: () => {}, unregister: () => {} }
|
|
27516
29415
|
: new FinalizationRegistry(ptr => wasm.__wbg_inversefishertransform_free(ptr, 1));
|
|
@@ -27622,6 +29521,12 @@ const MatchingLowFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
27622
29521
|
const MaxDrawdownFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27623
29522
|
? { register: () => {}, unregister: () => {} }
|
|
27624
29523
|
: new FinalizationRegistry(ptr => wasm.__wbg_maxdrawdown_free(ptr, 1));
|
|
29524
|
+
const McClellanOscillatorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29525
|
+
? { register: () => {}, unregister: () => {} }
|
|
29526
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_mcclellanoscillator_free(ptr, 1));
|
|
29527
|
+
const McClellanSummationIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29528
|
+
? { register: () => {}, unregister: () => {} }
|
|
29529
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_mcclellansummationindex_free(ptr, 1));
|
|
27625
29530
|
const McGinleyDynamicFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27626
29531
|
? { register: () => {}, unregister: () => {} }
|
|
27627
29532
|
: new FinalizationRegistry(ptr => wasm.__wbg_mcginleydynamic_free(ptr, 1));
|
|
@@ -27661,6 +29566,9 @@ const MorningEveningStarFinalization = (typeof FinalizationRegistry === 'undefin
|
|
|
27661
29566
|
const NATRFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27662
29567
|
? { register: () => {}, unregister: () => {} }
|
|
27663
29568
|
: new FinalizationRegistry(ptr => wasm.__wbg_natr_free(ptr, 1));
|
|
29569
|
+
const NewHighsNewLowsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29570
|
+
? { register: () => {}, unregister: () => {} }
|
|
29571
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_newhighsnewlows_free(ptr, 1));
|
|
27664
29572
|
const NVIFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27665
29573
|
? { register: () => {}, unregister: () => {} }
|
|
27666
29574
|
: new FinalizationRegistry(ptr => wasm.__wbg_nvi_free(ptr, 1));
|
|
@@ -27700,6 +29608,12 @@ const OrderBookImbalanceTopNFinalization = (typeof FinalizationRegistry === 'und
|
|
|
27700
29608
|
const OuHalfLifeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27701
29609
|
? { register: () => {}, unregister: () => {} }
|
|
27702
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));
|
|
27703
29617
|
const PainIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27704
29618
|
? { register: () => {}, unregister: () => {} }
|
|
27705
29619
|
: new FinalizationRegistry(ptr => wasm.__wbg_painindex_free(ptr, 1));
|
|
@@ -27715,6 +29629,9 @@ const ParkinsonVolatilityFinalization = (typeof FinalizationRegistry === 'undefi
|
|
|
27715
29629
|
const PearsonCorrelationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27716
29630
|
? { register: () => {}, unregister: () => {} }
|
|
27717
29631
|
: new FinalizationRegistry(ptr => wasm.__wbg_pearsoncorrelation_free(ptr, 1));
|
|
29632
|
+
const PercentAboveMaFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29633
|
+
? { register: () => {}, unregister: () => {} }
|
|
29634
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_percentabovema_free(ptr, 1));
|
|
27718
29635
|
const PercentBFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27719
29636
|
? { register: () => {}, unregister: () => {} }
|
|
27720
29637
|
: new FinalizationRegistry(ptr => wasm.__wbg_percentb_free(ptr, 1));
|
|
@@ -27820,9 +29737,21 @@ const RWIFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
27820
29737
|
const SAREXTFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27821
29738
|
? { register: () => {}, unregister: () => {} }
|
|
27822
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));
|
|
27823
29743
|
const SeparatingLinesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27824
29744
|
? { register: () => {}, unregister: () => {} }
|
|
27825
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));
|
|
27826
29755
|
const SharpeRatioFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27827
29756
|
? { register: () => {}, unregister: () => {} }
|
|
27828
29757
|
: new FinalizationRegistry(ptr => wasm.__wbg_sharperatio_free(ptr, 1));
|
|
@@ -27973,9 +29902,15 @@ const ThreeStarsInSouthFinalization = (typeof FinalizationRegistry === 'undefine
|
|
|
27973
29902
|
const ThrustingFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27974
29903
|
? { register: () => {}, unregister: () => {} }
|
|
27975
29904
|
: new FinalizationRegistry(ptr => wasm.__wbg_thrusting_free(ptr, 1));
|
|
29905
|
+
const TickIndexFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29906
|
+
? { register: () => {}, unregister: () => {} }
|
|
29907
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_tickindex_free(ptr, 1));
|
|
27976
29908
|
const TIIFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27977
29909
|
? { register: () => {}, unregister: () => {} }
|
|
27978
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));
|
|
27979
29914
|
const TpoProfileFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27980
29915
|
? { register: () => {}, unregister: () => {} }
|
|
27981
29916
|
: new FinalizationRegistry(ptr => wasm.__wbg_tpoprofile_free(ptr, 1));
|
|
@@ -27988,6 +29923,9 @@ const TreynorRatioFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
27988
29923
|
const TRIMAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27989
29924
|
? { register: () => {}, unregister: () => {} }
|
|
27990
29925
|
: new FinalizationRegistry(ptr => wasm.__wbg_trima_free(ptr, 1));
|
|
29926
|
+
const TrinFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29927
|
+
? { register: () => {}, unregister: () => {} }
|
|
29928
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_trin_free(ptr, 1));
|
|
27991
29929
|
const TRIXFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
27992
29930
|
? { register: () => {}, unregister: () => {} }
|
|
27993
29931
|
: new FinalizationRegistry(ptr => wasm.__wbg_trix_free(ptr, 1));
|
|
@@ -28006,6 +29944,9 @@ const TSVFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28006
29944
|
const TtmSqueezeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28007
29945
|
? { register: () => {}, unregister: () => {} }
|
|
28008
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));
|
|
28009
29950
|
const TweezerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28010
29951
|
? { register: () => {}, unregister: () => {} }
|
|
28011
29952
|
: new FinalizationRegistry(ptr => wasm.__wbg_tweezer_free(ptr, 1));
|
|
@@ -28024,6 +29965,9 @@ const UltimateOscillatorFinalization = (typeof FinalizationRegistry === 'undefin
|
|
|
28024
29965
|
const UniqueThreeRiverFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28025
29966
|
? { register: () => {}, unregister: () => {} }
|
|
28026
29967
|
: new FinalizationRegistry(ptr => wasm.__wbg_uniquethreeriver_free(ptr, 1));
|
|
29968
|
+
const UpDownVolumeRatioFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
29969
|
+
? { register: () => {}, unregister: () => {} }
|
|
29970
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_updownvolumeratio_free(ptr, 1));
|
|
28027
29971
|
const UpsideGapThreeMethodsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28028
29972
|
? { register: () => {}, unregister: () => {} }
|
|
28029
29973
|
: new FinalizationRegistry(ptr => wasm.__wbg_upsidegapthreemethods_free(ptr, 1));
|
|
@@ -28051,6 +29995,9 @@ const VIDYAFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
28051
29995
|
const VoltyStopFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28052
29996
|
? { register: () => {}, unregister: () => {} }
|
|
28053
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));
|
|
28054
30001
|
const VolumeOscillatorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
28055
30002
|
? { register: () => {}, unregister: () => {} }
|
|
28056
30003
|
: new FinalizationRegistry(ptr => wasm.__wbg_volumeoscillator_free(ptr, 1));
|