@tradejs/cli 3.1.15 → 3.1.16

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 CHANGED
@@ -33305,7 +33305,21 @@ var init_runner = __esm({
33305
33305
  await runtimeSignalEvaluations.flushSignals();
33306
33306
  await (0, import_cli12.makeScreenshots)(telegramSignals, interval5, config2.userName);
33307
33307
  }
33308
- await (0, import_cli12.sendToTG)(telegramSignals, interval5, config2.userName);
33308
+ await (0, import_cli12.sendToTG)(
33309
+ telegramSignals,
33310
+ interval5,
33311
+ config2.userName,
33312
+ new Map(
33313
+ runtimeStrategies.map(({ strategyName, strategyConfig }) => [
33314
+ strategyName,
33315
+ (0, import_strategies12.mapAiRuntimeFromConfig)({
33316
+ AI_ENABLED: strategyConfig.AI_ENABLED,
33317
+ AI_MODE: strategyConfig.AI_MODE,
33318
+ MIN_AI_QUALITY: strategyConfig.MIN_AI_QUALITY
33319
+ })
33320
+ ])
33321
+ )
33322
+ );
33309
33323
  await (0, import_cli12.sendRuntimeCloseNotificationsToTG)(
33310
33324
  runtimeCloseNotifications,
33311
33325
  config2.userName
@@ -5599,7 +5599,21 @@ var createSignalsRunner = (config2) => {
5599
5599
  await runtimeSignalEvaluations.flushSignals();
5600
5600
  await (0, import_cli2.makeScreenshots)(telegramSignals, interval2, config2.userName);
5601
5601
  }
5602
- await (0, import_cli2.sendToTG)(telegramSignals, interval2, config2.userName);
5602
+ await (0, import_cli2.sendToTG)(
5603
+ telegramSignals,
5604
+ interval2,
5605
+ config2.userName,
5606
+ new Map(
5607
+ runtimeStrategies.map(({ strategyName, strategyConfig }) => [
5608
+ strategyName,
5609
+ (0, import_strategies5.mapAiRuntimeFromConfig)({
5610
+ AI_ENABLED: strategyConfig.AI_ENABLED,
5611
+ AI_MODE: strategyConfig.AI_MODE,
5612
+ MIN_AI_QUALITY: strategyConfig.MIN_AI_QUALITY
5613
+ })
5614
+ ])
5615
+ )
5616
+ );
5603
5617
  await (0, import_cli2.sendRuntimeCloseNotificationsToTG)(
5604
5618
  runtimeCloseNotifications,
5605
5619
  config2.userName
@@ -5597,7 +5597,21 @@ var createSignalsRunner = (config2) => {
5597
5597
  await runtimeSignalEvaluations.flushSignals();
5598
5598
  await (0, import_cli2.makeScreenshots)(telegramSignals, interval2, config2.userName);
5599
5599
  }
5600
- await (0, import_cli2.sendToTG)(telegramSignals, interval2, config2.userName);
5600
+ await (0, import_cli2.sendToTG)(
5601
+ telegramSignals,
5602
+ interval2,
5603
+ config2.userName,
5604
+ new Map(
5605
+ runtimeStrategies.map(({ strategyName, strategyConfig }) => [
5606
+ strategyName,
5607
+ (0, import_strategies5.mapAiRuntimeFromConfig)({
5608
+ AI_ENABLED: strategyConfig.AI_ENABLED,
5609
+ AI_MODE: strategyConfig.AI_MODE,
5610
+ MIN_AI_QUALITY: strategyConfig.MIN_AI_QUALITY
5611
+ })
5612
+ ])
5613
+ )
5614
+ );
5601
5615
  await (0, import_cli2.sendRuntimeCloseNotificationsToTG)(
5602
5616
  runtimeCloseNotifications,
5603
5617
  config2.userName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tradejs/cli",
3
- "version": "3.1.15",
3
+ "version": "3.1.16",
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.15",
40
- "@tradejs/core": "^3.1.15",
41
- "@tradejs/indicators": "^3.1.15",
42
- "@tradejs/infra": "^3.1.15",
43
- "@tradejs/node": "^3.1.15",
39
+ "@tradejs/connectors": "^3.1.16",
40
+ "@tradejs/core": "^3.1.16",
41
+ "@tradejs/indicators": "^3.1.16",
42
+ "@tradejs/infra": "^3.1.16",
43
+ "@tradejs/node": "^3.1.16",
44
44
  "@tradejs/strategy-kit": "3.0.3",
45
- "@tradejs/types": "^3.1.15",
45
+ "@tradejs/types": "^3.1.16",
46
46
  "args": "^5.0.3",
47
47
  "bcryptjs": "^2.4.3",
48
48
  "chalk": "4.1.2",