@backtest-kit/cli 6.9.0 → 6.11.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
@@ -801,7 +801,8 @@ class WalkerMainService {
801
801
  }
802
802
  strategyMap.set(strategyName, entryPoint);
803
803
  }
804
- BacktestKit.Cache.clear();
804
+ BacktestKit.Cache.resetCounter();
805
+ BacktestKit.Interval.resetCounter();
805
806
  }
806
807
  await this.moduleConnectionService.loadModule("./walker.module");
807
808
  {
@@ -2518,9 +2519,6 @@ class SetupUtils {
2518
2519
  BacktestKit.NotificationLive.clear();
2519
2520
  BacktestKit.NotificationBacktest.clear();
2520
2521
  }
2521
- {
2522
- BacktestKit.Cache.clear();
2523
- }
2524
2522
  };
2525
2523
  }
2526
2524
  }
@@ -2574,7 +2572,7 @@ const main$b = async () => {
2574
2572
  if (MODES.some((mode) => values[mode])) {
2575
2573
  return;
2576
2574
  }
2577
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n`);
2575
+ process.stdout.write(`@backtest-kit/cli ${"6.11.0"}\n`);
2578
2576
  process.stdout.write("\n");
2579
2577
  process.stdout.write(`Run with --help to see available commands.\n`);
2580
2578
  process.stdout.write("\n");
@@ -3142,7 +3140,7 @@ const main$1 = async () => {
3142
3140
  if (!values.help) {
3143
3141
  return;
3144
3142
  }
3145
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n\n`);
3143
+ process.stdout.write(`@backtest-kit/cli ${"6.11.0"}\n\n`);
3146
3144
  process.stdout.write(HELP_TEXT);
3147
3145
  process.exit(0);
3148
3146
  };
@@ -3156,7 +3154,7 @@ const main = async () => {
3156
3154
  if (!values.version) {
3157
3155
  return;
3158
3156
  }
3159
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n`);
3157
+ process.stdout.write(`@backtest-kit/cli ${"6.11.0"}\n`);
3160
3158
  process.exit(0);
3161
3159
  };
3162
3160
  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';
@@ -776,7 +776,8 @@ class WalkerMainService {
776
776
  }
777
777
  strategyMap.set(strategyName, entryPoint);
778
778
  }
779
- Cache.clear();
779
+ Cache.resetCounter();
780
+ Interval.resetCounter();
780
781
  }
781
782
  await this.moduleConnectionService.loadModule("./walker.module");
782
783
  {
@@ -2489,9 +2490,6 @@ class SetupUtils {
2489
2490
  NotificationLive.clear();
2490
2491
  NotificationBacktest.clear();
2491
2492
  }
2492
- {
2493
- Cache.clear();
2494
- }
2495
2493
  };
2496
2494
  }
2497
2495
  }
@@ -2545,7 +2543,7 @@ const main$b = async () => {
2545
2543
  if (MODES.some((mode) => values[mode])) {
2546
2544
  return;
2547
2545
  }
2548
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n`);
2546
+ process.stdout.write(`@backtest-kit/cli ${"6.11.0"}\n`);
2549
2547
  process.stdout.write("\n");
2550
2548
  process.stdout.write(`Run with --help to see available commands.\n`);
2551
2549
  process.stdout.write("\n");
@@ -3113,7 +3111,7 @@ const main$1 = async () => {
3113
3111
  if (!values.help) {
3114
3112
  return;
3115
3113
  }
3116
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n\n`);
3114
+ process.stdout.write(`@backtest-kit/cli ${"6.11.0"}\n\n`);
3117
3115
  process.stdout.write(HELP_TEXT);
3118
3116
  process.exit(0);
3119
3117
  };
@@ -3127,7 +3125,7 @@ const main = async () => {
3127
3125
  if (!values.version) {
3128
3126
  return;
3129
3127
  }
3130
- process.stdout.write(`@backtest-kit/cli ${"6.9.0"}\n`);
3128
+ process.stdout.write(`@backtest-kit/cli ${"6.11.0"}\n`);
3131
3129
  process.exit(0);
3132
3130
  };
3133
3131
  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.11.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.11.0",
65
+ "@backtest-kit/graph": "6.11.0",
66
+ "@backtest-kit/ollama": "6.11.0",
67
+ "@backtest-kit/pinets": "6.11.0",
68
+ "@backtest-kit/signals": "6.11.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.11.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.11.0",
92
+ "@backtest-kit/graph": "^6.11.0",
93
+ "@backtest-kit/ollama": "^6.11.0",
94
+ "@backtest-kit/pinets": "^6.11.0",
95
+ "@backtest-kit/signals": "^6.11.0",
96
+ "backtest-kit": "^6.11.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.11.0",
16
+ "@backtest-kit/graph": "^6.11.0",
17
+ "@backtest-kit/pinets": "^6.11.0",
18
+ "@backtest-kit/ui": "^6.11.0",
19
+ "agent-swarm-kit": "^2.1.0",
20
+ "backtest-kit": "^6.11.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",