@tradejs/infra 3.1.14 → 3.1.15-beta.227
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/dist/ai.mjs +1 -1
- package/dist/{chunk-RQP5VSTH.mjs → chunk-HA65YQR4.mjs} +1 -1
- package/dist/coreResearch.mjs +1 -1
- package/dist/ml.js +1 -2
- package/dist/ml.mjs +1 -2
- package/package.json +2 -2
package/dist/ai.mjs
CHANGED
|
@@ -101,7 +101,7 @@ var listMlChunkFiles = async (params) => {
|
|
|
101
101
|
let entries = [];
|
|
102
102
|
try {
|
|
103
103
|
entries = await fs.readdir(outDir);
|
|
104
|
-
} catch
|
|
104
|
+
} catch {
|
|
105
105
|
return [];
|
|
106
106
|
}
|
|
107
107
|
return entries.filter((name) => name.startsWith(prefix) && name.endsWith(".jsonl")).map((name) => path.join(outDir, name)).sort();
|
package/dist/coreResearch.mjs
CHANGED
package/dist/ml.js
CHANGED
|
@@ -157,7 +157,7 @@ var listMlChunkFiles = async (params) => {
|
|
|
157
157
|
let entries = [];
|
|
158
158
|
try {
|
|
159
159
|
entries = await import_promises.default.readdir(outDir);
|
|
160
|
-
} catch
|
|
160
|
+
} catch {
|
|
161
161
|
return [];
|
|
162
162
|
}
|
|
163
163
|
return entries.filter((name) => name.startsWith(prefix) && name.endsWith(".jsonl")).map((name) => import_path.default.join(outDir, name)).sort();
|
|
@@ -487,7 +487,6 @@ var candleCoreSummary = (rawCandles) => {
|
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
489
|
const closes = candles.map((candle) => toFinite(candle.close, 0));
|
|
490
|
-
const opens = candles.map((candle) => toFinite(candle.open, 0));
|
|
491
490
|
const highs = candles.map((candle) => toFinite(candle.high, 0));
|
|
492
491
|
const lows = candles.map((candle) => toFinite(candle.low, 0));
|
|
493
492
|
const volumes = candles.map(
|
package/dist/ml.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
listMlChunkStrategies,
|
|
10
10
|
mergeJsonlFiles,
|
|
11
11
|
toFileToken
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HA65YQR4.mjs";
|
|
13
13
|
import {
|
|
14
14
|
logger
|
|
15
15
|
} from "./chunk-LNFUOXDW.mjs";
|
|
@@ -225,7 +225,6 @@ var candleCoreSummary = (rawCandles) => {
|
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
227
|
const closes = candles.map((candle) => toFinite(candle.close, 0));
|
|
228
|
-
const opens = candles.map((candle) => toFinite(candle.open, 0));
|
|
229
228
|
const highs = candles.map((candle) => toFinite(candle.high, 0));
|
|
230
229
|
const lows = candles.map((candle) => toFinite(candle.low, 0));
|
|
231
230
|
const volumes = candles.map(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tradejs/infra",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.15-beta.227",
|
|
4
4
|
"description": "MIT-licensed server infrastructure adapters for TradeJS: Redis, Timescale, ML, logging, and IO.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tradejs",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"dependencies": {
|
|
131
131
|
"@grpc/grpc-js": "^1.14.4",
|
|
132
132
|
"@grpc/proto-loader": "^0.8.1",
|
|
133
|
-
"@tradejs/types": "^3.1.
|
|
133
|
+
"@tradejs/types": "^3.1.15-beta.227",
|
|
134
134
|
"chalk": "4.1.2",
|
|
135
135
|
"date-fns": "^3.6.0",
|
|
136
136
|
"ioredis": "5.11.1",
|