@backtest-kit/cli 15.2.0 → 15.4.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/README.md CHANGED
@@ -762,7 +762,8 @@ Defaults (override per strategy):
762
762
  | `strategy_commit` | `true` | All committed actions (partial close, DCA, trailing, …) |
763
763
  | `partial_loss` | `false` | Partial loss level reached (before commit) |
764
764
  | `partial_profit` | `false` | Partial profit level reached (before commit) |
765
- | `signal_sync` | `false` | Live order fill / exit confirmations from exchange sync |
765
+ | `order_sync` | `false` | Live order fill / exit confirmations from exchange sync |
766
+ | `order_check` | `false` | Live order ping / pending confirmations from exchange sync |
766
767
 
767
768
  ```js
768
769
  // config/notification.config.ts
package/build/index.cjs CHANGED
@@ -61,6 +61,9 @@ BacktestKit.setConfig({
61
61
  CC_MAX_NOTIFICATIONS: 5000,
62
62
  CC_MAX_SIGNALS: 750,
63
63
  });
64
+ BacktestKit.setConfig({
65
+ CC_NOTIFICATION_ORDER_CHECK_TTL: 15 * 60 * 1000,
66
+ });
64
67
  BacktestKit.setConfig({
65
68
  CC_ENABLE_DCA_EVERYWHERE: true,
66
69
  CC_ENABLE_PPPL_EVERYWHERE: true,
@@ -3539,7 +3542,7 @@ const main$h = async () => {
3539
3542
  if (MODES.some((mode) => values[mode])) {
3540
3543
  return;
3541
3544
  }
3542
- process.stdout.write(`@backtest-kit/cli ${"15.2.0"}\n`);
3545
+ process.stdout.write(`@backtest-kit/cli ${"15.3.0"}\n`);
3543
3546
  process.stdout.write("\n");
3544
3547
  process.stdout.write(`Run with --help to see available commands.\n`);
3545
3548
  process.stdout.write("\n");
@@ -4849,7 +4852,7 @@ const main$1 = async () => {
4849
4852
  if (!values.help) {
4850
4853
  return;
4851
4854
  }
4852
- process.stdout.write(`@backtest-kit/cli ${"15.2.0"}\n\n`);
4855
+ process.stdout.write(`@backtest-kit/cli ${"15.3.0"}\n\n`);
4853
4856
  process.stdout.write(HELP_TEXT);
4854
4857
  process.exit(0);
4855
4858
  };
@@ -4863,7 +4866,7 @@ const main = async () => {
4863
4866
  if (!values.version) {
4864
4867
  return;
4865
4868
  }
4866
- process.stdout.write(`@backtest-kit/cli ${"15.2.0"}\n`);
4869
+ process.stdout.write(`@backtest-kit/cli ${"15.3.0"}\n`);
4867
4870
  process.exit(0);
4868
4871
  };
4869
4872
  main();
package/build/index.mjs CHANGED
@@ -36,6 +36,9 @@ setConfig({
36
36
  CC_MAX_NOTIFICATIONS: 5000,
37
37
  CC_MAX_SIGNALS: 750,
38
38
  });
39
+ setConfig({
40
+ CC_NOTIFICATION_ORDER_CHECK_TTL: 15 * 60 * 1000,
41
+ });
39
42
  setConfig({
40
43
  CC_ENABLE_DCA_EVERYWHERE: true,
41
44
  CC_ENABLE_PPPL_EVERYWHERE: true,
@@ -3507,7 +3510,7 @@ const main$h = async () => {
3507
3510
  if (MODES.some((mode) => values[mode])) {
3508
3511
  return;
3509
3512
  }
3510
- process.stdout.write(`@backtest-kit/cli ${"15.2.0"}\n`);
3513
+ process.stdout.write(`@backtest-kit/cli ${"15.3.0"}\n`);
3511
3514
  process.stdout.write("\n");
3512
3515
  process.stdout.write(`Run with --help to see available commands.\n`);
3513
3516
  process.stdout.write("\n");
@@ -4817,7 +4820,7 @@ const main$1 = async () => {
4817
4820
  if (!values.help) {
4818
4821
  return;
4819
4822
  }
4820
- process.stdout.write(`@backtest-kit/cli ${"15.2.0"}\n\n`);
4823
+ process.stdout.write(`@backtest-kit/cli ${"15.3.0"}\n\n`);
4821
4824
  process.stdout.write(HELP_TEXT);
4822
4825
  process.exit(0);
4823
4826
  };
@@ -4831,7 +4834,7 @@ const main = async () => {
4831
4834
  if (!values.version) {
4832
4835
  return;
4833
4836
  }
4834
- process.stdout.write(`@backtest-kit/cli ${"15.2.0"}\n`);
4837
+ process.stdout.write(`@backtest-kit/cli ${"15.3.0"}\n`);
4835
4838
  process.exit(0);
4836
4839
  };
4837
4840
  main();
@@ -8,6 +8,7 @@ export default {
8
8
  validation_error: true,
9
9
  partial_loss: false,
10
10
  partial_profit: false,
11
- signal_sync: false,
11
+ order_sync: false,
12
+ order_check: false,
12
13
  strategy_commit: true,
13
14
  };
@@ -15,17 +15,17 @@
15
15
  "@types/node": "25.6.0"
16
16
  },
17
17
  "dependencies": {
18
- "@backtest-kit/cli": "15.2.0",
19
- "@backtest-kit/graph": "15.2.0",
20
- "@backtest-kit/pinets": "15.2.0",
21
- "@backtest-kit/signals": "15.2.0",
22
- "@backtest-kit/ui": "15.2.0",
18
+ "@backtest-kit/cli": "15.4.0",
19
+ "@backtest-kit/graph": "15.4.0",
20
+ "@backtest-kit/pinets": "15.4.0",
21
+ "@backtest-kit/signals": "15.4.0",
22
+ "@backtest-kit/ui": "15.4.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": "5.1.0",
28
- "backtest-kit": "15.2.0",
28
+ "backtest-kit": "15.4.0",
29
29
  "dayjs": "1.11.20",
30
30
  "functools-kit": "4.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": "15.2.0",
3
+ "version": "15.4.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": "15.2.0",
67
- "@backtest-kit/ollama": "15.2.0",
68
- "@backtest-kit/pinets": "15.2.0",
69
- "@backtest-kit/signals": "15.2.0",
70
- "@backtest-kit/ui": "15.2.0",
66
+ "@backtest-kit/graph": "15.4.0",
67
+ "@backtest-kit/ollama": "15.4.0",
68
+ "@backtest-kit/pinets": "15.4.0",
69
+ "@backtest-kit/signals": "15.4.0",
70
+ "@backtest-kit/ui": "15.4.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": "15.2.0",
78
+ "backtest-kit": "15.4.0",
79
79
  "glob": "11.0.1",
80
80
  "markdown-it": "14.1.1",
81
81
  "rimraf": "6.0.1",
@@ -85,21 +85,21 @@
85
85
  "ts-morph": "27.0.2",
86
86
  "tslib": "2.7.0",
87
87
  "typedoc": "0.27.9",
88
- "pinets": "0.9.27",
88
+ "pinets": "0.9.28",
89
89
  "ccxt": "4.5.39",
90
90
  "worker-testbed": "3.0.0"
91
91
  },
92
92
  "peerDependencies": {
93
93
  "@babel/plugin-transform-modules-umd": "^7.27.1",
94
94
  "@babel/standalone": "^7.29.1",
95
- "@backtest-kit/graph": "^15.2.0",
96
- "@backtest-kit/ollama": "^15.2.0",
97
- "@backtest-kit/pinets": "^15.2.0",
98
- "@backtest-kit/signals": "^15.2.0",
99
- "@backtest-kit/ui": "^15.2.0",
100
- "pinets": "^0.9.27",
95
+ "@backtest-kit/graph": "^15.4.0",
96
+ "@backtest-kit/ollama": "^15.4.0",
97
+ "@backtest-kit/pinets": "^15.4.0",
98
+ "@backtest-kit/signals": "^15.4.0",
99
+ "@backtest-kit/ui": "^15.4.0",
100
+ "pinets": "^0.9.28",
101
101
  "ccxt": "^4.5.39",
102
- "backtest-kit": "^15.2.0",
102
+ "backtest-kit": "^15.4.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": "^15.2.0",
17
- "@backtest-kit/graph": "^15.2.0",
18
- "@backtest-kit/pinets": "^15.2.0",
19
- "@backtest-kit/ui": "^15.2.0",
16
+ "@backtest-kit/cli": "^15.4.0",
17
+ "@backtest-kit/graph": "^15.4.0",
18
+ "@backtest-kit/pinets": "^15.4.0",
19
+ "@backtest-kit/ui": "^15.4.0",
20
20
  "agent-swarm-kit": "^5.1.0",
21
- "backtest-kit": "^15.2.0",
21
+ "backtest-kit": "^15.4.0",
22
22
  "functools-kit": "^4.0.0",
23
23
  "garch": "^2.0.0",
24
24
  "get-moment-stamp": "^3.0.0",
package/types.d.ts CHANGED
@@ -327,7 +327,8 @@ interface NotificationConfig {
327
327
  validation_error: boolean;
328
328
  partial_loss: boolean;
329
329
  partial_profit: boolean;
330
- signal_sync: boolean;
330
+ order_sync: boolean;
331
+ order_check: boolean;
331
332
  strategy_commit: boolean;
332
333
  }
333
334
  interface TelegramConfig {