@backtest-kit/cli 12.8.0 → 13.2.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
@@ -359,6 +359,7 @@ class SetupUtils {
359
359
  BacktestKit.PersistRecentAdapter.clear();
360
360
  BacktestKit.PersistStateAdapter.clear();
361
361
  BacktestKit.PersistSessionAdapter.clear();
362
+ BacktestKit.PersistStrategyAdapter.clear();
362
363
  }
363
364
  {
364
365
  BacktestKit.Dump.clear();
@@ -3396,7 +3397,7 @@ const main$h = async () => {
3396
3397
  if (MODES.some((mode) => values[mode])) {
3397
3398
  return;
3398
3399
  }
3399
- process.stdout.write(`@backtest-kit/cli ${"12.8.0"}\n`);
3400
+ process.stdout.write(`@backtest-kit/cli ${"13.2.0"}\n`);
3400
3401
  process.stdout.write("\n");
3401
3402
  process.stdout.write(`Run with --help to see available commands.\n`);
3402
3403
  process.stdout.write("\n");
@@ -4702,7 +4703,7 @@ const main$1 = async () => {
4702
4703
  if (!values.help) {
4703
4704
  return;
4704
4705
  }
4705
- process.stdout.write(`@backtest-kit/cli ${"12.8.0"}\n\n`);
4706
+ process.stdout.write(`@backtest-kit/cli ${"13.2.0"}\n\n`);
4706
4707
  process.stdout.write(HELP_TEXT);
4707
4708
  process.exit(0);
4708
4709
  };
@@ -4716,7 +4717,7 @@ const main = async () => {
4716
4717
  if (!values.version) {
4717
4718
  return;
4718
4719
  }
4719
- process.stdout.write(`@backtest-kit/cli ${"12.8.0"}\n`);
4720
+ process.stdout.write(`@backtest-kit/cli ${"13.2.0"}\n`);
4720
4721
  process.exit(0);
4721
4722
  };
4722
4723
  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 { setConfig, emitters, Notification, Cron, Recent, Storage, Markdown, Report, Dump, State, Memory, MarkdownWriter, ReportWriter, PersistSignalAdapter, PersistRiskAdapter, PersistScheduleAdapter, PersistPartialAdapter, PersistBreakevenAdapter, PersistCandleAdapter, PersistStorageAdapter, PersistNotificationAdapter, PersistLogAdapter, PersistMeasureAdapter, PersistIntervalAdapter, PersistMemoryAdapter, PersistRecentAdapter, PersistStateAdapter, PersistSessionAdapter, Log, StorageLive, StorageBacktest, NotificationLive, NotificationBacktest, RecentLive, RecentBacktest, Broker, SessionLive, SessionBacktest, MemoryLive, MemoryBacktest, StateLive, StateBacktest, listExchangeSchema, addExchangeSchema, roundTicks, listFrameSchema, addFrameSchema, listenDoneLive, listenDoneBacktest, shutdown, listenSignal, listStrategySchema, overrideExchangeSchema, Backtest, System, Cache, Interval, alignToInterval, addWalkerSchema, overrideWalkerSchema, Walker, listenDoneWalker, Live, getCandles, checkCandles, warmCandles, listenRisk, listenStrategyCommit, listenSync, listenSignalNotify, Exchange } from 'backtest-kit';
3
+ import { setConfig, emitters, Notification, Cron, Recent, Storage, Markdown, Report, Dump, State, Memory, MarkdownWriter, ReportWriter, PersistSignalAdapter, PersistRiskAdapter, PersistScheduleAdapter, PersistPartialAdapter, PersistBreakevenAdapter, PersistCandleAdapter, PersistStorageAdapter, PersistNotificationAdapter, PersistLogAdapter, PersistMeasureAdapter, PersistIntervalAdapter, PersistMemoryAdapter, PersistRecentAdapter, PersistStateAdapter, PersistSessionAdapter, PersistStrategyAdapter, Log, StorageLive, StorageBacktest, NotificationLive, NotificationBacktest, RecentLive, RecentBacktest, Broker, SessionLive, SessionBacktest, MemoryLive, MemoryBacktest, StateLive, StateBacktest, listExchangeSchema, addExchangeSchema, roundTicks, listFrameSchema, addFrameSchema, listenDoneLive, listenDoneBacktest, shutdown, listenSignal, listStrategySchema, overrideExchangeSchema, Backtest, System, Cache, Interval, alignToInterval, addWalkerSchema, overrideWalkerSchema, Walker, listenDoneWalker, Live, getCandles, checkCandles, warmCandles, listenRisk, listenStrategyCommit, listenSync, listenSignalNotify, Exchange } from 'backtest-kit';
4
4
  import { singleshot, BehaviorSubject, Subject, getErrorMessage, errorData, str, compose, sleep, createAwaiter, execpool, queued, randomString, TIMEOUT_SYMBOL, typo, retry, trycatch, memoize, isObject } from 'functools-kit';
5
5
  import fs, { constants, realpathSync } from 'fs';
6
6
  import * as stackTrace from 'stack-trace';
@@ -334,6 +334,7 @@ class SetupUtils {
334
334
  PersistRecentAdapter.clear();
335
335
  PersistStateAdapter.clear();
336
336
  PersistSessionAdapter.clear();
337
+ PersistStrategyAdapter.clear();
337
338
  }
338
339
  {
339
340
  Dump.clear();
@@ -3367,7 +3368,7 @@ const main$h = async () => {
3367
3368
  if (MODES.some((mode) => values[mode])) {
3368
3369
  return;
3369
3370
  }
3370
- process.stdout.write(`@backtest-kit/cli ${"12.8.0"}\n`);
3371
+ process.stdout.write(`@backtest-kit/cli ${"13.2.0"}\n`);
3371
3372
  process.stdout.write("\n");
3372
3373
  process.stdout.write(`Run with --help to see available commands.\n`);
3373
3374
  process.stdout.write("\n");
@@ -4673,7 +4674,7 @@ const main$1 = async () => {
4673
4674
  if (!values.help) {
4674
4675
  return;
4675
4676
  }
4676
- process.stdout.write(`@backtest-kit/cli ${"12.8.0"}\n\n`);
4677
+ process.stdout.write(`@backtest-kit/cli ${"13.2.0"}\n\n`);
4677
4678
  process.stdout.write(HELP_TEXT);
4678
4679
  process.exit(0);
4679
4680
  };
@@ -4687,7 +4688,7 @@ const main = async () => {
4687
4688
  if (!values.version) {
4688
4689
  return;
4689
4690
  }
4690
- process.stdout.write(`@backtest-kit/cli ${"12.8.0"}\n`);
4691
+ process.stdout.write(`@backtest-kit/cli ${"13.2.0"}\n`);
4691
4692
  process.exit(0);
4692
4693
  };
4693
4694
  main();
@@ -15,17 +15,17 @@
15
15
  "@types/node": "25.6.0"
16
16
  },
17
17
  "dependencies": {
18
- "@backtest-kit/cli": "12.8.0",
19
- "@backtest-kit/graph": "12.8.0",
20
- "@backtest-kit/pinets": "12.8.0",
21
- "@backtest-kit/signals": "12.8.0",
22
- "@backtest-kit/ui": "12.8.0",
18
+ "@backtest-kit/cli": "13.2.0",
19
+ "@backtest-kit/graph": "13.2.0",
20
+ "@backtest-kit/pinets": "13.2.0",
21
+ "@backtest-kit/signals": "13.2.0",
22
+ "@backtest-kit/ui": "13.2.0",
23
23
  "@tavily/core": "0.7.2",
24
24
  "@tensorflow/tfjs": "4.22.0",
25
25
  "@tensorflow/tfjs-backend-wasm": "4.22.0",
26
26
  "@tensorflow/tfjs-core": "4.22.0",
27
27
  "agent-swarm-kit": "2.7.0",
28
- "backtest-kit": "12.8.0",
28
+ "backtest-kit": "13.2.0",
29
29
  "dayjs": "1.11.20",
30
30
  "functools-kit": "2.3.0",
31
31
  "garch": "1.2.3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backtest-kit/cli",
3
- "version": "12.8.0",
3
+ "version": "13.2.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",
@@ -63,11 +63,11 @@
63
63
  "devDependencies": {
64
64
  "@babel/plugin-transform-modules-umd": "7.27.1",
65
65
  "@babel/standalone": "7.29.1",
66
- "@backtest-kit/graph": "12.8.0",
67
- "@backtest-kit/ollama": "12.8.0",
68
- "@backtest-kit/pinets": "12.8.0",
69
- "@backtest-kit/signals": "12.8.0",
70
- "@backtest-kit/ui": "12.8.0",
66
+ "@backtest-kit/graph": "13.2.0",
67
+ "@backtest-kit/ollama": "13.2.0",
68
+ "@backtest-kit/pinets": "13.2.0",
69
+ "@backtest-kit/signals": "13.2.0",
70
+ "@backtest-kit/ui": "13.2.0",
71
71
  "@rollup/plugin-replace": "6.0.3",
72
72
  "@rollup/plugin-typescript": "11.1.6",
73
73
  "@types/image-size": "0.7.0",
@@ -75,7 +75,7 @@
75
75
  "@types/mustache": "4.2.6",
76
76
  "@types/node": "22.9.0",
77
77
  "@types/stack-trace": "0.0.33",
78
- "backtest-kit": "12.8.0",
78
+ "backtest-kit": "13.2.0",
79
79
  "glob": "11.0.1",
80
80
  "markdown-it": "14.1.1",
81
81
  "rimraf": "6.0.1",
@@ -90,12 +90,12 @@
90
90
  "peerDependencies": {
91
91
  "@babel/plugin-transform-modules-umd": "^7.27.1",
92
92
  "@babel/standalone": "^7.29.1",
93
- "@backtest-kit/graph": "^12.8.0",
94
- "@backtest-kit/ollama": "^12.8.0",
95
- "@backtest-kit/pinets": "^12.8.0",
96
- "@backtest-kit/signals": "^12.8.0",
97
- "@backtest-kit/ui": "^12.8.0",
98
- "backtest-kit": "^12.8.0",
93
+ "@backtest-kit/graph": "^13.2.0",
94
+ "@backtest-kit/ollama": "^13.2.0",
95
+ "@backtest-kit/pinets": "^13.2.0",
96
+ "@backtest-kit/signals": "^13.2.0",
97
+ "@backtest-kit/ui": "^13.2.0",
98
+ "backtest-kit": "^13.2.0",
99
99
  "markdown-it": "^14.1.1",
100
100
  "typescript": "^5.0.0"
101
101
  },
@@ -13,12 +13,12 @@
13
13
  "license": "ISC",
14
14
  "type": "commonjs",
15
15
  "dependencies": {
16
- "@backtest-kit/cli": "^12.8.0",
17
- "@backtest-kit/graph": "^12.8.0",
18
- "@backtest-kit/pinets": "^12.8.0",
19
- "@backtest-kit/ui": "^12.8.0",
16
+ "@backtest-kit/cli": "^13.2.0",
17
+ "@backtest-kit/graph": "^13.2.0",
18
+ "@backtest-kit/pinets": "^13.2.0",
19
+ "@backtest-kit/ui": "^13.2.0",
20
20
  "agent-swarm-kit": "^2.7.0",
21
- "backtest-kit": "^12.8.0",
21
+ "backtest-kit": "^13.2.0",
22
22
  "functools-kit": "^2.3.0",
23
23
  "garch": "^1.2.3",
24
24
  "get-moment-stamp": "^2.0.0",