@backtest-kit/cli 3.5.1 → 3.5.2
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 +1 -0
- package/build/index.mjs +2 -1
- package/package.json +13 -13
package/build/index.cjs
CHANGED
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 { Storage, Notification, Markdown, Report, StorageLive, StorageBacktest, NotificationLive, NotificationBacktest, setConfig, Log, listExchangeSchema, addExchangeSchema, roundTicks, listFrameSchema, addFrameSchema, listenDoneLive, listenDoneBacktest, listenSignal, listStrategySchema, overrideExchangeSchema, Backtest, Live, getCandles, checkCandles, warmCandles, listenRisk, listenStrategyCommit } from 'backtest-kit';
|
|
3
|
+
import { Storage, Notification, Markdown, Report, StorageLive, StorageBacktest, NotificationLive, NotificationBacktest, setConfig, Log, listExchangeSchema, addExchangeSchema, roundTicks, listFrameSchema, addFrameSchema, listenDoneLive, listenDoneBacktest, shutdown, listenSignal, listStrategySchema, overrideExchangeSchema, Backtest, Live, getCandles, checkCandles, warmCandles, listenRisk, listenStrategyCommit } from 'backtest-kit';
|
|
4
4
|
import { getErrorMessage, errorData, singleshot, str, BehaviorSubject, compose, execpool, queued, sleep, randomString, createAwaiter, TIMEOUT_SYMBOL, typo, retry, memoize, trycatch } from 'functools-kit';
|
|
5
5
|
import fs, { constants } from 'fs';
|
|
6
6
|
import * as stackTrace from 'stack-trace';
|
|
@@ -511,6 +511,7 @@ const notifyFinish = singleshot(() => {
|
|
|
511
511
|
disposeRef && disposeRef();
|
|
512
512
|
});
|
|
513
513
|
disposeRef = compose(() => unLive(), () => unBacktest());
|
|
514
|
+
shutdown();
|
|
514
515
|
});
|
|
515
516
|
|
|
516
517
|
const getEntry = (metaUrl) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backtest-kit/cli",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.2",
|
|
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",
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@babel/plugin-transform-modules-umd": "7.27.1",
|
|
62
62
|
"@babel/standalone": "7.29.1",
|
|
63
|
-
"@backtest-kit/ui": "3.5.
|
|
64
|
-
"@backtest-kit/graph": "3.5.
|
|
65
|
-
"@backtest-kit/ollama": "3.5.
|
|
66
|
-
"@backtest-kit/pinets": "3.5.
|
|
67
|
-
"@backtest-kit/signals": "3.5.
|
|
63
|
+
"@backtest-kit/ui": "3.5.2",
|
|
64
|
+
"@backtest-kit/graph": "3.5.2",
|
|
65
|
+
"@backtest-kit/ollama": "3.5.2",
|
|
66
|
+
"@backtest-kit/pinets": "3.5.2",
|
|
67
|
+
"@backtest-kit/signals": "3.5.2",
|
|
68
68
|
"@rollup/plugin-replace": "6.0.3",
|
|
69
69
|
"@rollup/plugin-typescript": "11.1.6",
|
|
70
70
|
"@types/image-size": "0.7.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@types/mustache": "4.2.6",
|
|
73
73
|
"@types/node": "22.9.0",
|
|
74
74
|
"@types/stack-trace": "0.0.33",
|
|
75
|
-
"backtest-kit": "3.5.
|
|
75
|
+
"backtest-kit": "3.5.2",
|
|
76
76
|
"glob": "11.0.1",
|
|
77
77
|
"markdown-it": "14.1.1",
|
|
78
78
|
"rimraf": "6.0.1",
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"@babel/plugin-transform-modules-umd": "^7.27.1",
|
|
89
89
|
"@babel/standalone": "^7.29.1",
|
|
90
|
-
"@backtest-kit/ui": "^3.5.
|
|
91
|
-
"@backtest-kit/graph": "^3.5.
|
|
92
|
-
"@backtest-kit/ollama": "^3.5.
|
|
93
|
-
"@backtest-kit/pinets": "^3.5.
|
|
94
|
-
"@backtest-kit/signals": "^3.5.
|
|
95
|
-
"backtest-kit": "^3.5.
|
|
90
|
+
"@backtest-kit/ui": "^3.5.2",
|
|
91
|
+
"@backtest-kit/graph": "^3.5.2",
|
|
92
|
+
"@backtest-kit/ollama": "^3.5.2",
|
|
93
|
+
"@backtest-kit/pinets": "^3.5.2",
|
|
94
|
+
"@backtest-kit/signals": "^3.5.2",
|
|
95
|
+
"backtest-kit": "^3.5.2",
|
|
96
96
|
"markdown-it": "^14.1.1",
|
|
97
97
|
"typescript": "^5.0.0"
|
|
98
98
|
},
|