@backtest-kit/cli 6.9.0 → 6.10.0

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/build/index.cjs CHANGED
@@ -802,6 +802,7 @@ class WalkerMainService {
802
802
  strategyMap.set(strategyName, entryPoint);
803
803
  }
804
804
  BacktestKit.Cache.clear();
805
+ BacktestKit.Interval.clear();
805
806
  }
806
807
  await this.moduleConnectionService.loadModule("./walker.module");
807
808
  {
@@ -2574,7 +2575,7 @@ const main$b = async () => {
2574
2575
  if (MODES.some((mode) => values[mode])) {
2575
2576
  return;
2576
2577
  }
2577
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n`);
2578
+ process.stdout.write(`@backtest-kit/cli ${"6.10.0"}\n`);
2578
2579
  process.stdout.write("\n");
2579
2580
  process.stdout.write(`Run with --help to see available commands.\n`);
2580
2581
  process.stdout.write("\n");
@@ -3142,7 +3143,7 @@ const main$1 = async () => {
3142
3143
  if (!values.help) {
3143
3144
  return;
3144
3145
  }
3145
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n\n`);
3146
+ process.stdout.write(`@backtest-kit/cli ${"6.10.0"}\n\n`);
3146
3147
  process.stdout.write(HELP_TEXT);
3147
3148
  process.exit(0);
3148
3149
  };
@@ -3156,7 +3157,7 @@ const main = async () => {
3156
3157
  if (!values.version) {
3157
3158
  return;
3158
3159
  }
3159
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n`);
3160
+ process.stdout.write(`@backtest-kit/cli ${"6.10.0"}\n`);
3160
3161
  process.exit(0);
3161
3162
  };
3162
3163
  main();
package/build/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import * as BacktestKit from 'backtest-kit';
3
- import { Log, listExchangeSchema, addExchangeSchema, roundTicks, listFrameSchema, addFrameSchema, listenDoneLive, listenDoneBacktest, shutdown, listenSignal, listStrategySchema, overrideExchangeSchema, Backtest, Cache, alignToInterval, addWalkerSchema, overrideWalkerSchema, Walker, listenDoneWalker, Live, getCandles, checkCandles, warmCandles, listenRisk, listenStrategyCommit, listenSync, Storage, Notification, Markdown, Report, Dump, Memory, StorageLive, StorageBacktest, NotificationLive, NotificationBacktest, PersistSignalAdapter, PersistRiskAdapter, PersistScheduleAdapter, PersistPartialAdapter, PersistBreakevenAdapter, PersistCandleAdapter, PersistStorageAdapter, PersistNotificationAdapter, PersistLogAdapter, PersistMeasureAdapter, PersistMemoryAdapter, setConfig, Exchange } from 'backtest-kit';
3
+ import { Log, listExchangeSchema, addExchangeSchema, roundTicks, listFrameSchema, addFrameSchema, listenDoneLive, listenDoneBacktest, shutdown, listenSignal, listStrategySchema, overrideExchangeSchema, Backtest, Cache, Interval, alignToInterval, addWalkerSchema, overrideWalkerSchema, Walker, listenDoneWalker, Live, getCandles, checkCandles, warmCandles, listenRisk, listenStrategyCommit, listenSync, Storage, Notification, Markdown, Report, Dump, Memory, StorageLive, StorageBacktest, NotificationLive, NotificationBacktest, PersistSignalAdapter, PersistRiskAdapter, PersistScheduleAdapter, PersistPartialAdapter, PersistBreakevenAdapter, PersistCandleAdapter, PersistStorageAdapter, PersistNotificationAdapter, PersistLogAdapter, PersistMeasureAdapter, PersistMemoryAdapter, setConfig, Exchange } from 'backtest-kit';
4
4
  import { getErrorMessage, errorData, singleshot, str, BehaviorSubject, compose, createAwaiter, execpool, queued, sleep, randomString, TIMEOUT_SYMBOL, typo, retry, trycatch, memoize } from 'functools-kit';
5
5
  import fs, { constants } from 'fs';
6
6
  import * as stackTrace from 'stack-trace';
@@ -777,6 +777,7 @@ class WalkerMainService {
777
777
  strategyMap.set(strategyName, entryPoint);
778
778
  }
779
779
  Cache.clear();
780
+ Interval.clear();
780
781
  }
781
782
  await this.moduleConnectionService.loadModule("./walker.module");
782
783
  {
@@ -2545,7 +2546,7 @@ const main$b = async () => {
2545
2546
  if (MODES.some((mode) => values[mode])) {
2546
2547
  return;
2547
2548
  }
2548
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n`);
2549
+ process.stdout.write(`@backtest-kit/cli ${"6.10.0"}\n`);
2549
2550
  process.stdout.write("\n");
2550
2551
  process.stdout.write(`Run with --help to see available commands.\n`);
2551
2552
  process.stdout.write("\n");
@@ -3113,7 +3114,7 @@ const main$1 = async () => {
3113
3114
  if (!values.help) {
3114
3115
  return;
3115
3116
  }
3116
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n\n`);
3117
+ process.stdout.write(`@backtest-kit/cli ${"6.10.0"}\n\n`);
3117
3118
  process.stdout.write(HELP_TEXT);
3118
3119
  process.exit(0);
3119
3120
  };
@@ -3127,7 +3128,7 @@ const main = async () => {
3127
3128
  if (!values.version) {
3128
3129
  return;
3129
3130
  }
3130
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n`);
3131
+ process.stdout.write(`@backtest-kit/cli ${"6.10.0"}\n`);
3131
3132
  process.exit(0);
3132
3133
  };
3133
3134
  main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backtest-kit/cli",
3
- "version": "6.9.0",
3
+ "version": "6.10.0",
4
4
  "description": "Zero-boilerplate CLI runner for backtest-kit strategies. Run backtests, paper trading, and live bots with candle cache warming, web dashboard, and Telegram notifications — no setup code required.",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",
@@ -61,11 +61,11 @@
61
61
  "devDependencies": {
62
62
  "@babel/plugin-transform-modules-umd": "7.27.1",
63
63
  "@babel/standalone": "7.29.1",
64
- "@backtest-kit/ui": "6.9.0",
65
- "@backtest-kit/graph": "6.9.0",
66
- "@backtest-kit/ollama": "6.9.0",
67
- "@backtest-kit/pinets": "6.9.0",
68
- "@backtest-kit/signals": "6.9.0",
64
+ "@backtest-kit/ui": "6.10.0",
65
+ "@backtest-kit/graph": "6.10.0",
66
+ "@backtest-kit/ollama": "6.10.0",
67
+ "@backtest-kit/pinets": "6.10.0",
68
+ "@backtest-kit/signals": "6.10.0",
69
69
  "@rollup/plugin-replace": "6.0.3",
70
70
  "@rollup/plugin-typescript": "11.1.6",
71
71
  "@types/image-size": "0.7.0",
@@ -73,7 +73,7 @@
73
73
  "@types/mustache": "4.2.6",
74
74
  "@types/node": "22.9.0",
75
75
  "@types/stack-trace": "0.0.33",
76
- "backtest-kit": "6.9.0",
76
+ "backtest-kit": "6.10.0",
77
77
  "glob": "11.0.1",
78
78
  "markdown-it": "14.1.1",
79
79
  "rimraf": "6.0.1",
@@ -83,17 +83,17 @@
83
83
  "ts-morph": "27.0.2",
84
84
  "tslib": "2.7.0",
85
85
  "typedoc": "0.27.9",
86
- "worker-testbed": "1.0.12"
86
+ "worker-testbed": "2.0.0"
87
87
  },
88
88
  "peerDependencies": {
89
89
  "@babel/plugin-transform-modules-umd": "^7.27.1",
90
90
  "@babel/standalone": "^7.29.1",
91
- "@backtest-kit/ui": "^6.9.0",
92
- "@backtest-kit/graph": "^6.9.0",
93
- "@backtest-kit/ollama": "^6.9.0",
94
- "@backtest-kit/pinets": "^6.9.0",
95
- "@backtest-kit/signals": "^6.9.0",
96
- "backtest-kit": "^6.9.0",
91
+ "@backtest-kit/ui": "^6.10.0",
92
+ "@backtest-kit/graph": "^6.10.0",
93
+ "@backtest-kit/ollama": "^6.10.0",
94
+ "@backtest-kit/pinets": "^6.10.0",
95
+ "@backtest-kit/signals": "^6.10.0",
96
+ "backtest-kit": "^6.10.0",
97
97
  "markdown-it": "^14.1.1",
98
98
  "typescript": "^5.0.0"
99
99
  },
@@ -102,7 +102,7 @@
102
102
  "di-kit": "1.1.1",
103
103
  "di-scoped": "1.0.21",
104
104
  "dotenv": "17.3.1",
105
- "functools-kit": "1.1.1",
105
+ "functools-kit": "2.0.1",
106
106
  "get-moment-stamp": "1.1.2",
107
107
  "image-size": "1.1.1",
108
108
  "jsdom": "26.1.0",
@@ -12,13 +12,13 @@
12
12
  "license": "ISC",
13
13
  "type": "commonjs",
14
14
  "dependencies": {
15
- "@backtest-kit/cli": "^6.9.0",
16
- "@backtest-kit/graph": "^6.9.0",
17
- "@backtest-kit/pinets": "^6.9.0",
18
- "@backtest-kit/ui": "^6.9.0",
19
- "agent-swarm-kit": "^1.6.0",
20
- "backtest-kit": "^6.9.0",
21
- "functools-kit": "^1.1.1",
15
+ "@backtest-kit/cli": "^6.10.0",
16
+ "@backtest-kit/graph": "^6.10.0",
17
+ "@backtest-kit/pinets": "^6.10.0",
18
+ "@backtest-kit/ui": "^6.10.0",
19
+ "agent-swarm-kit": "^2.0.0",
20
+ "backtest-kit": "^6.10.0",
21
+ "functools-kit": "^2.0.1",
22
22
  "garch": "^1.2.3",
23
23
  "get-moment-stamp": "^1.1.2",
24
24
  "ollama": "^0.6.3",