@backtest-kit/cli 6.1.3 → 6.1.4
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 +8 -7
- package/build/index.mjs +8 -7
- package/package.json +1 -1
- package/template/project/package.mustache +1 -1
package/build/index.cjs
CHANGED
|
@@ -2618,6 +2618,7 @@ const main$2 = async () => {
|
|
|
2618
2618
|
};
|
|
2619
2619
|
main$2();
|
|
2620
2620
|
|
|
2621
|
+
const ENTRY_PATH = "./node_modules/@backtest-kit/cli/build/index.mjs";
|
|
2621
2622
|
const HELP_TEXT = `
|
|
2622
2623
|
@backtest-kit/cli
|
|
2623
2624
|
|
|
@@ -2708,13 +2709,13 @@ Environment variables:
|
|
|
2708
2709
|
|
|
2709
2710
|
Examples:
|
|
2710
2711
|
|
|
2711
|
-
node
|
|
2712
|
-
node
|
|
2713
|
-
node
|
|
2714
|
-
node
|
|
2715
|
-
node
|
|
2716
|
-
node
|
|
2717
|
-
node
|
|
2712
|
+
node ${ENTRY_PATH} --backtest ./content/feb_2026.strategy.ts
|
|
2713
|
+
node ${ENTRY_PATH} --backtest --symbol BTCUSDT --noCache --ui ./content/feb_2026.strategy.ts
|
|
2714
|
+
node ${ENTRY_PATH} --paper --symbol ETHUSDT ./content/feb_2026.strategy.ts
|
|
2715
|
+
node ${ENTRY_PATH} --live --ui --telegram ./content/feb_2026.strategy.ts
|
|
2716
|
+
node ${ENTRY_PATH} --pine ./math/feb_2026.pine --timeframe 15m --limit 500 --jsonl
|
|
2717
|
+
node ${ENTRY_PATH} --dump --symbol BTCUSDT --timeframe 15m --limit 500 --jsonl
|
|
2718
|
+
node ${ENTRY_PATH} --init --output my-trading-bot
|
|
2718
2719
|
`.trimStart();
|
|
2719
2720
|
const main$1 = async () => {
|
|
2720
2721
|
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
|
@@ -2589,6 +2589,7 @@ const main$2 = async () => {
|
|
|
2589
2589
|
};
|
|
2590
2590
|
main$2();
|
|
2591
2591
|
|
|
2592
|
+
const ENTRY_PATH = "./node_modules/@backtest-kit/cli/build/index.mjs";
|
|
2592
2593
|
const HELP_TEXT = `
|
|
2593
2594
|
@backtest-kit/cli
|
|
2594
2595
|
|
|
@@ -2679,13 +2680,13 @@ Environment variables:
|
|
|
2679
2680
|
|
|
2680
2681
|
Examples:
|
|
2681
2682
|
|
|
2682
|
-
node
|
|
2683
|
-
node
|
|
2684
|
-
node
|
|
2685
|
-
node
|
|
2686
|
-
node
|
|
2687
|
-
node
|
|
2688
|
-
node
|
|
2683
|
+
node ${ENTRY_PATH} --backtest ./content/feb_2026.strategy.ts
|
|
2684
|
+
node ${ENTRY_PATH} --backtest --symbol BTCUSDT --noCache --ui ./content/feb_2026.strategy.ts
|
|
2685
|
+
node ${ENTRY_PATH} --paper --symbol ETHUSDT ./content/feb_2026.strategy.ts
|
|
2686
|
+
node ${ENTRY_PATH} --live --ui --telegram ./content/feb_2026.strategy.ts
|
|
2687
|
+
node ${ENTRY_PATH} --pine ./math/feb_2026.pine --timeframe 15m --limit 500 --jsonl
|
|
2688
|
+
node ${ENTRY_PATH} --dump --symbol BTCUSDT --timeframe 15m --limit 500 --jsonl
|
|
2689
|
+
node ${ENTRY_PATH} --init --output my-trading-bot
|
|
2689
2690
|
`.trimStart();
|
|
2690
2691
|
const main$1 = async () => {
|
|
2691
2692
|
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
|
+
"version": "6.1.4",
|
|
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",
|