@backtest-kit/cli 17.9.0 → 18.0.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 +4 -3
- package/build/index.mjs +4 -3
- package/config/notification.config.mjs +1 -1
- package/docker/package.json +6 -6
- package/package.json +13 -13
- package/template/project/package.mustache +5 -5
package/build/index.cjs
CHANGED
|
@@ -179,6 +179,7 @@ const notifyKill = functoolsKit.singleshot(() => {
|
|
|
179
179
|
console.log("Press Ctrl+C again to force quit.");
|
|
180
180
|
process.on("SIGINT", () => kill());
|
|
181
181
|
});
|
|
182
|
+
Object.assign(globalThis, { kill });
|
|
182
183
|
|
|
183
184
|
BacktestKit.setConfig({
|
|
184
185
|
CC_MAX_NOTIFICATIONS: 5000,
|
|
@@ -3694,7 +3695,7 @@ const main$j = async () => {
|
|
|
3694
3695
|
if (MODES.some((mode) => values[mode])) {
|
|
3695
3696
|
return;
|
|
3696
3697
|
}
|
|
3697
|
-
process.stdout.write(`@backtest-kit/cli ${"
|
|
3698
|
+
process.stdout.write(`@backtest-kit/cli ${"18.0.0"}\n`);
|
|
3698
3699
|
process.stdout.write("\n");
|
|
3699
3700
|
process.stdout.write(`Run with --help to see available commands.\n`);
|
|
3700
3701
|
process.stdout.write("\n");
|
|
@@ -5624,7 +5625,7 @@ const main$1 = async () => {
|
|
|
5624
5625
|
if (!values.help) {
|
|
5625
5626
|
return;
|
|
5626
5627
|
}
|
|
5627
|
-
process.stdout.write(`@backtest-kit/cli ${"
|
|
5628
|
+
process.stdout.write(`@backtest-kit/cli ${"18.0.0"}\n\n`);
|
|
5628
5629
|
process.stdout.write(HELP_TEXT);
|
|
5629
5630
|
process.exit(0);
|
|
5630
5631
|
};
|
|
@@ -5638,7 +5639,7 @@ const main = async () => {
|
|
|
5638
5639
|
if (!values.version) {
|
|
5639
5640
|
return;
|
|
5640
5641
|
}
|
|
5641
|
-
process.stdout.write(`@backtest-kit/cli ${"
|
|
5642
|
+
process.stdout.write(`@backtest-kit/cli ${"18.0.0"}\n`);
|
|
5642
5643
|
process.exit(0);
|
|
5643
5644
|
};
|
|
5644
5645
|
main();
|
package/build/index.mjs
CHANGED
|
@@ -154,6 +154,7 @@ const notifyKill = singleshot(() => {
|
|
|
154
154
|
console.log("Press Ctrl+C again to force quit.");
|
|
155
155
|
process.on("SIGINT", () => kill());
|
|
156
156
|
});
|
|
157
|
+
Object.assign(globalThis, { kill });
|
|
157
158
|
|
|
158
159
|
setConfig({
|
|
159
160
|
CC_MAX_NOTIFICATIONS: 5000,
|
|
@@ -3662,7 +3663,7 @@ const main$j = async () => {
|
|
|
3662
3663
|
if (MODES.some((mode) => values[mode])) {
|
|
3663
3664
|
return;
|
|
3664
3665
|
}
|
|
3665
|
-
process.stdout.write(`@backtest-kit/cli ${"
|
|
3666
|
+
process.stdout.write(`@backtest-kit/cli ${"18.0.0"}\n`);
|
|
3666
3667
|
process.stdout.write("\n");
|
|
3667
3668
|
process.stdout.write(`Run with --help to see available commands.\n`);
|
|
3668
3669
|
process.stdout.write("\n");
|
|
@@ -5592,7 +5593,7 @@ const main$1 = async () => {
|
|
|
5592
5593
|
if (!values.help) {
|
|
5593
5594
|
return;
|
|
5594
5595
|
}
|
|
5595
|
-
process.stdout.write(`@backtest-kit/cli ${"
|
|
5596
|
+
process.stdout.write(`@backtest-kit/cli ${"18.0.0"}\n\n`);
|
|
5596
5597
|
process.stdout.write(HELP_TEXT);
|
|
5597
5598
|
process.exit(0);
|
|
5598
5599
|
};
|
|
@@ -5606,7 +5607,7 @@ const main = async () => {
|
|
|
5606
5607
|
if (!values.version) {
|
|
5607
5608
|
return;
|
|
5608
5609
|
}
|
|
5609
|
-
process.stdout.write(`@backtest-kit/cli ${"
|
|
5610
|
+
process.stdout.write(`@backtest-kit/cli ${"18.0.0"}\n`);
|
|
5610
5611
|
process.exit(0);
|
|
5611
5612
|
};
|
|
5612
5613
|
main();
|
package/docker/package.json
CHANGED
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"@types/node": "25.6.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@backtest-kit/cli": "
|
|
19
|
-
"@backtest-kit/graph": "
|
|
20
|
-
"@backtest-kit/pinets": "
|
|
21
|
-
"@backtest-kit/signals": "
|
|
22
|
-
"@backtest-kit/ui": "
|
|
18
|
+
"@backtest-kit/cli": "18.0.0",
|
|
19
|
+
"@backtest-kit/graph": "18.0.0",
|
|
20
|
+
"@backtest-kit/pinets": "18.0.0",
|
|
21
|
+
"@backtest-kit/signals": "18.0.0",
|
|
22
|
+
"@backtest-kit/ui": "18.0.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": "6.0.0",
|
|
28
|
-
"backtest-kit": "
|
|
28
|
+
"backtest-kit": "18.0.0",
|
|
29
29
|
"dayjs": "1.11.20",
|
|
30
30
|
"functools-kit": "5.0.0",
|
|
31
31
|
"garch": "2.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backtest-kit/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.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": "
|
|
67
|
-
"@backtest-kit/ollama": "
|
|
68
|
-
"@backtest-kit/pinets": "
|
|
69
|
-
"@backtest-kit/signals": "
|
|
70
|
-
"@backtest-kit/ui": "
|
|
66
|
+
"@backtest-kit/graph": "18.0.0",
|
|
67
|
+
"@backtest-kit/ollama": "18.0.0",
|
|
68
|
+
"@backtest-kit/pinets": "18.0.0",
|
|
69
|
+
"@backtest-kit/signals": "18.0.0",
|
|
70
|
+
"@backtest-kit/ui": "18.0.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": "
|
|
78
|
+
"backtest-kit": "18.0.0",
|
|
79
79
|
"glob": "11.0.1",
|
|
80
80
|
"markdown-it": "14.1.1",
|
|
81
81
|
"rimraf": "6.0.1",
|
|
@@ -92,14 +92,14 @@
|
|
|
92
92
|
"peerDependencies": {
|
|
93
93
|
"@babel/plugin-transform-modules-umd": "^7.27.1",
|
|
94
94
|
"@babel/standalone": "^7.29.1",
|
|
95
|
-
"@backtest-kit/graph": "^
|
|
96
|
-
"@backtest-kit/ollama": "^
|
|
97
|
-
"@backtest-kit/pinets": "^
|
|
98
|
-
"@backtest-kit/signals": "^
|
|
99
|
-
"@backtest-kit/ui": "^
|
|
95
|
+
"@backtest-kit/graph": "^18.0.0",
|
|
96
|
+
"@backtest-kit/ollama": "^18.0.0",
|
|
97
|
+
"@backtest-kit/pinets": "^18.0.0",
|
|
98
|
+
"@backtest-kit/signals": "^18.0.0",
|
|
99
|
+
"@backtest-kit/ui": "^18.0.0",
|
|
100
100
|
"pinets": "^0.9.30",
|
|
101
101
|
"ccxt": "^4.5.39",
|
|
102
|
-
"backtest-kit": "^
|
|
102
|
+
"backtest-kit": "^18.0.0",
|
|
103
103
|
"markdown-it": "^14.1.1",
|
|
104
104
|
"typescript": "^5.0.0"
|
|
105
105
|
},
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"type": "commonjs",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@backtest-kit/cli": "^
|
|
17
|
-
"@backtest-kit/graph": "^
|
|
18
|
-
"@backtest-kit/pinets": "^
|
|
19
|
-
"@backtest-kit/ui": "^
|
|
16
|
+
"@backtest-kit/cli": "^18.0.0",
|
|
17
|
+
"@backtest-kit/graph": "^18.0.0",
|
|
18
|
+
"@backtest-kit/pinets": "^18.0.0",
|
|
19
|
+
"@backtest-kit/ui": "^18.0.0",
|
|
20
20
|
"agent-swarm-kit": "^6.0.0",
|
|
21
|
-
"backtest-kit": "^
|
|
21
|
+
"backtest-kit": "^18.0.0",
|
|
22
22
|
"functools-kit": "^5.0.0",
|
|
23
23
|
"garch": "^2.0.0",
|
|
24
24
|
"get-moment-stamp": "^3.0.0",
|