@backtest-kit/cli 6.1.3 → 6.1.5

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
@@ -2216,6 +2216,12 @@ const cli = {
2216
2216
  init();
2217
2217
 
2218
2218
  const MODES = ["backtest", "paper", "live", "pine", "dump", "init", "help", "version"];
2219
+ const ENTRY_PATH$1 = "./node_modules/@backtest-kit/cli/build/index.mjs";
2220
+ const HELP_TEXT$1 = `
2221
+ Example:
2222
+
2223
+ node ${ENTRY_PATH$1} --help
2224
+ `.trimStart();
2219
2225
  const main$a = async () => {
2220
2226
  if (!getEntry((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href)))) {
2221
2227
  return;
@@ -2225,7 +2231,10 @@ const main$a = async () => {
2225
2231
  return;
2226
2232
  }
2227
2233
  process.stdout.write(`@backtest-kit/cli ${"6.1.1"}\n`);
2234
+ process.stdout.write("\n");
2228
2235
  process.stdout.write(`Run with --help to see available commands.\n`);
2236
+ process.stdout.write("\n");
2237
+ process.stdout.write(HELP_TEXT$1);
2229
2238
  process.exit(0);
2230
2239
  };
2231
2240
  main$a();
@@ -2618,6 +2627,7 @@ const main$2 = async () => {
2618
2627
  };
2619
2628
  main$2();
2620
2629
 
2630
+ const ENTRY_PATH = "./node_modules/@backtest-kit/cli/build/index.mjs";
2621
2631
  const HELP_TEXT = `
2622
2632
  @backtest-kit/cli
2623
2633
 
@@ -2708,13 +2718,13 @@ Environment variables:
2708
2718
 
2709
2719
  Examples:
2710
2720
 
2711
- node index.mjs --backtest ./content/feb_2026.strategy.ts
2712
- node index.mjs --backtest --symbol BTCUSDT --noCache --ui ./content/feb_2026.strategy.ts
2713
- node index.mjs --paper --symbol ETHUSDT ./content/feb_2026.strategy.ts
2714
- node index.mjs --live --ui --telegram ./content/feb_2026.strategy.ts
2715
- node index.mjs --pine ./math/feb_2026.pine --timeframe 15m --limit 500 --jsonl
2716
- node index.mjs --dump --symbol BTCUSDT --timeframe 15m --limit 500 --jsonl
2717
- node index.mjs --init --output my-trading-bot
2721
+ node ${ENTRY_PATH} --backtest ./content/feb_2026.strategy.ts
2722
+ node ${ENTRY_PATH} --backtest --symbol BTCUSDT --noCache --ui ./content/feb_2026.strategy.ts
2723
+ node ${ENTRY_PATH} --paper --symbol ETHUSDT ./content/feb_2026.strategy.ts
2724
+ node ${ENTRY_PATH} --live --ui --telegram ./content/feb_2026.strategy.ts
2725
+ node ${ENTRY_PATH} --pine ./math/feb_2026.pine --timeframe 15m --limit 500 --jsonl
2726
+ node ${ENTRY_PATH} --dump --symbol BTCUSDT --timeframe 15m --limit 500 --jsonl
2727
+ node ${ENTRY_PATH} --init --output my-trading-bot
2718
2728
  `.trimStart();
2719
2729
  const main$1 = async () => {
2720
2730
  if (!getEntry((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href)))) {
package/build/index.mjs CHANGED
@@ -2187,6 +2187,12 @@ const cli = {
2187
2187
  init();
2188
2188
 
2189
2189
  const MODES = ["backtest", "paper", "live", "pine", "dump", "init", "help", "version"];
2190
+ const ENTRY_PATH$1 = "./node_modules/@backtest-kit/cli/build/index.mjs";
2191
+ const HELP_TEXT$1 = `
2192
+ Example:
2193
+
2194
+ node ${ENTRY_PATH$1} --help
2195
+ `.trimStart();
2190
2196
  const main$a = async () => {
2191
2197
  if (!getEntry(import.meta.url)) {
2192
2198
  return;
@@ -2196,7 +2202,10 @@ const main$a = async () => {
2196
2202
  return;
2197
2203
  }
2198
2204
  process.stdout.write(`@backtest-kit/cli ${"6.1.1"}\n`);
2205
+ process.stdout.write("\n");
2199
2206
  process.stdout.write(`Run with --help to see available commands.\n`);
2207
+ process.stdout.write("\n");
2208
+ process.stdout.write(HELP_TEXT$1);
2200
2209
  process.exit(0);
2201
2210
  };
2202
2211
  main$a();
@@ -2589,6 +2598,7 @@ const main$2 = async () => {
2589
2598
  };
2590
2599
  main$2();
2591
2600
 
2601
+ const ENTRY_PATH = "./node_modules/@backtest-kit/cli/build/index.mjs";
2592
2602
  const HELP_TEXT = `
2593
2603
  @backtest-kit/cli
2594
2604
 
@@ -2679,13 +2689,13 @@ Environment variables:
2679
2689
 
2680
2690
  Examples:
2681
2691
 
2682
- node index.mjs --backtest ./content/feb_2026.strategy.ts
2683
- node index.mjs --backtest --symbol BTCUSDT --noCache --ui ./content/feb_2026.strategy.ts
2684
- node index.mjs --paper --symbol ETHUSDT ./content/feb_2026.strategy.ts
2685
- node index.mjs --live --ui --telegram ./content/feb_2026.strategy.ts
2686
- node index.mjs --pine ./math/feb_2026.pine --timeframe 15m --limit 500 --jsonl
2687
- node index.mjs --dump --symbol BTCUSDT --timeframe 15m --limit 500 --jsonl
2688
- node index.mjs --init --output my-trading-bot
2692
+ node ${ENTRY_PATH} --backtest ./content/feb_2026.strategy.ts
2693
+ node ${ENTRY_PATH} --backtest --symbol BTCUSDT --noCache --ui ./content/feb_2026.strategy.ts
2694
+ node ${ENTRY_PATH} --paper --symbol ETHUSDT ./content/feb_2026.strategy.ts
2695
+ node ${ENTRY_PATH} --live --ui --telegram ./content/feb_2026.strategy.ts
2696
+ node ${ENTRY_PATH} --pine ./math/feb_2026.pine --timeframe 15m --limit 500 --jsonl
2697
+ node ${ENTRY_PATH} --dump --symbol BTCUSDT --timeframe 15m --limit 500 --jsonl
2698
+ node ${ENTRY_PATH} --init --output my-trading-bot
2689
2699
  `.trimStart();
2690
2700
  const main$1 = async () => {
2691
2701
  if (!getEntry(import.meta.url)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backtest-kit/cli",
3
- "version": "6.1.3",
3
+ "version": "6.1.5",
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",
@@ -12,7 +12,7 @@
12
12
  "license": "ISC",
13
13
  "type": "commonjs",
14
14
  "dependencies": {
15
- "@backtest-kit/cli": "^6.1.3",
15
+ "@backtest-kit/cli": "^6.1.5",
16
16
  "@backtest-kit/graph": "^6.1.1",
17
17
  "@backtest-kit/pinets": "^6.1.1",
18
18
  "@backtest-kit/ui": "^6.1.1",