@tradejs/cli 3.1.20 → 3.1.21
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/cli.js +8 -4
- package/dist/scripts/replay.js +8 -4
- package/dist/scripts/replayRunner.js +8 -4
- package/package.json +7 -7
package/dist/cli.js
CHANGED
|
@@ -34330,6 +34330,10 @@ var init_historicalSignalsReplayPreparation = __esm({
|
|
|
34330
34330
|
sharedReplayKeyPrefixes.push(sharedIndicatorsReplayKey);
|
|
34331
34331
|
const strategiesForSymbol = await Promise.all(
|
|
34332
34332
|
strategies.filter((strategy) => strategyIncludesSymbol(strategy, symbol)).map(async (strategy) => {
|
|
34333
|
+
const replayStrategyConfig = buildReplayStrategyConfig({
|
|
34334
|
+
strategyConfig: strategy.strategyConfig,
|
|
34335
|
+
interval: interval4
|
|
34336
|
+
});
|
|
34333
34337
|
const runtimeLineage = await adapters.buildLineage({
|
|
34334
34338
|
projectRoot: projectRoot15,
|
|
34335
34339
|
strategyName: strategy.strategyName,
|
|
@@ -34369,10 +34373,10 @@ var init_historicalSignalsReplayPreparation = __esm({
|
|
|
34369
34373
|
universe: preparedRun.universe,
|
|
34370
34374
|
accountId: preparedRun.accountId,
|
|
34371
34375
|
deploymentId: preparedRun.deploymentId,
|
|
34372
|
-
|
|
34373
|
-
|
|
34374
|
-
|
|
34375
|
-
|
|
34376
|
+
runtimeConfigSnapshot: {
|
|
34377
|
+
userConfig: replayStrategyConfig
|
|
34378
|
+
},
|
|
34379
|
+
config: replayStrategyConfig,
|
|
34376
34380
|
symbol,
|
|
34377
34381
|
data: preparedData.prevData,
|
|
34378
34382
|
btcData: preparedData.btcPrevData,
|
package/dist/scripts/replay.js
CHANGED
|
@@ -5521,6 +5521,10 @@ var prepareHistoricalReplay = async (context, adapters) => {
|
|
|
5521
5521
|
sharedReplayKeyPrefixes.push(sharedIndicatorsReplayKey);
|
|
5522
5522
|
const strategiesForSymbol = await Promise.all(
|
|
5523
5523
|
strategies.filter((strategy) => strategyIncludesSymbol(strategy, symbol)).map(async (strategy) => {
|
|
5524
|
+
const replayStrategyConfig = buildReplayStrategyConfig({
|
|
5525
|
+
strategyConfig: strategy.strategyConfig,
|
|
5526
|
+
interval
|
|
5527
|
+
});
|
|
5524
5528
|
const runtimeLineage = await adapters.buildLineage({
|
|
5525
5529
|
projectRoot,
|
|
5526
5530
|
strategyName: strategy.strategyName,
|
|
@@ -5560,10 +5564,10 @@ var prepareHistoricalReplay = async (context, adapters) => {
|
|
|
5560
5564
|
universe: preparedRun.universe,
|
|
5561
5565
|
accountId: preparedRun.accountId,
|
|
5562
5566
|
deploymentId: preparedRun.deploymentId,
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
+
runtimeConfigSnapshot: {
|
|
5568
|
+
userConfig: replayStrategyConfig
|
|
5569
|
+
},
|
|
5570
|
+
config: replayStrategyConfig,
|
|
5567
5571
|
symbol,
|
|
5568
5572
|
data: preparedData.prevData,
|
|
5569
5573
|
btcData: preparedData.btcPrevData,
|
|
@@ -5524,6 +5524,10 @@ var prepareHistoricalReplay = async (context, adapters) => {
|
|
|
5524
5524
|
sharedReplayKeyPrefixes.push(sharedIndicatorsReplayKey);
|
|
5525
5525
|
const strategiesForSymbol = await Promise.all(
|
|
5526
5526
|
strategies.filter((strategy) => strategyIncludesSymbol(strategy, symbol)).map(async (strategy) => {
|
|
5527
|
+
const replayStrategyConfig = buildReplayStrategyConfig({
|
|
5528
|
+
strategyConfig: strategy.strategyConfig,
|
|
5529
|
+
interval
|
|
5530
|
+
});
|
|
5527
5531
|
const runtimeLineage = await adapters.buildLineage({
|
|
5528
5532
|
projectRoot,
|
|
5529
5533
|
strategyName: strategy.strategyName,
|
|
@@ -5563,10 +5567,10 @@ var prepareHistoricalReplay = async (context, adapters) => {
|
|
|
5563
5567
|
universe: preparedRun.universe,
|
|
5564
5568
|
accountId: preparedRun.accountId,
|
|
5565
5569
|
deploymentId: preparedRun.deploymentId,
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
+
runtimeConfigSnapshot: {
|
|
5571
|
+
userConfig: replayStrategyConfig
|
|
5572
|
+
},
|
|
5573
|
+
config: replayStrategyConfig,
|
|
5570
5574
|
symbol,
|
|
5571
5575
|
data: preparedData.prevData,
|
|
5572
5576
|
btcData: preparedData.btcPrevData,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tradejs/cli",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.21",
|
|
4
4
|
"description": "Official CLI for the TradeJS TypeScript framework: infra setup, backtests, signals, bots, and ML workflows.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tradejs",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"tradejs": "dist/cli.js"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@tradejs/connectors": "^3.1.
|
|
40
|
-
"@tradejs/core": "^3.1.
|
|
41
|
-
"@tradejs/indicators": "^3.1.
|
|
42
|
-
"@tradejs/infra": "^3.1.
|
|
43
|
-
"@tradejs/node": "^3.1.
|
|
39
|
+
"@tradejs/connectors": "^3.1.21",
|
|
40
|
+
"@tradejs/core": "^3.1.21",
|
|
41
|
+
"@tradejs/indicators": "^3.1.21",
|
|
42
|
+
"@tradejs/infra": "^3.1.21",
|
|
43
|
+
"@tradejs/node": "^3.1.21",
|
|
44
44
|
"@tradejs/strategy-kit": "3.0.3",
|
|
45
|
-
"@tradejs/types": "^3.1.
|
|
45
|
+
"@tradejs/types": "^3.1.21",
|
|
46
46
|
"args": "^5.0.3",
|
|
47
47
|
"bcryptjs": "^2.4.3",
|
|
48
48
|
"chalk": "4.1.2",
|