@backtest-kit/sidekick 3.0.0 → 3.0.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/content/scripts/cache/cache_candles.mjs +2 -2
- package/content/scripts/cache/validate_candles.mjs +2 -2
- package/package.json +1 -1
- package/src/classes/BacktestLowerStopOnBreakevenAction.mjs +0 -1
- package/src/classes/BacktestPartialProfitTakingAction.mjs +0 -1
- package/template/package.mustache +5 -7
|
@@ -17,7 +17,7 @@ const getExchange = singleshot(async () => {
|
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
addExchangeSchema({
|
|
20
|
-
exchangeName: "
|
|
20
|
+
exchangeName: "binance_exchange",
|
|
21
21
|
getCandles: async (symbol, interval, since, limit) => {
|
|
22
22
|
const exchange = await getExchange();
|
|
23
23
|
const candles = await exchange.fetchOHLCV(
|
|
@@ -40,7 +40,7 @@ addExchangeSchema({
|
|
|
40
40
|
const from = new Date("2024-02-01T00:00:00Z");
|
|
41
41
|
const to = new Date("2024-02-29T23:59:59Z");
|
|
42
42
|
const symbol = "BTCUSDT";
|
|
43
|
-
const exchangeName = "
|
|
43
|
+
const exchangeName = "binance_exchange";
|
|
44
44
|
|
|
45
45
|
await warmCandles({ exchangeName, from, to, interval: "1m", symbol });
|
|
46
46
|
await warmCandles({ exchangeName, from, to, interval: "15m", symbol });
|
|
@@ -16,7 +16,7 @@ const getExchange = singleshot(async () => {
|
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
addExchangeSchema({
|
|
19
|
-
exchangeName: "
|
|
19
|
+
exchangeName: "binance_exchange",
|
|
20
20
|
getCandles: async (symbol, interval, since, limit) => {
|
|
21
21
|
const exchange = await getExchange();
|
|
22
22
|
const candles = await exchange.fetchOHLCV(
|
|
@@ -39,7 +39,7 @@ addExchangeSchema({
|
|
|
39
39
|
const from = new Date("2024-02-01T00:00:00Z");
|
|
40
40
|
const to = new Date("2024-02-29T23:59:59Z");
|
|
41
41
|
const symbol = "BTCUSDT";
|
|
42
|
-
const exchangeName = "
|
|
42
|
+
const exchangeName = "binance_exchange";
|
|
43
43
|
|
|
44
44
|
await checkCandles({ exchangeName, from, to, interval: "1m", symbol });
|
|
45
45
|
await checkCandles({ exchangeName, from, to, interval: "15m", symbol });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backtest-kit/sidekick",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "The easiest way to create a new Backtest Kit trading bot project. Like create-react-app, but for algorithmic trading with LLM integration and technical analysis.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Petr Tripolsky",
|
|
@@ -5,19 +5,17 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Backtest Kit trading bot project",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"start": "node ./src/index.mjs --backtest"
|
|
9
|
-
"postinstall": "npm run postinstall:bun",
|
|
10
|
-
"postinstall:bun": "npm list -g bun || npm install -g bun"
|
|
8
|
+
"start": "node ./src/index.mjs --backtest"
|
|
11
9
|
},
|
|
12
10
|
"dependencies": {
|
|
13
|
-
"@backtest-kit/ollama": "^3.0.
|
|
14
|
-
"@backtest-kit/pinets": "^3.0.
|
|
15
|
-
"@backtest-kit/ui": "^3.0.
|
|
11
|
+
"@backtest-kit/ollama": "^3.0.7",
|
|
12
|
+
"@backtest-kit/pinets": "^3.0.13",
|
|
13
|
+
"@backtest-kit/ui": "^3.0.9",
|
|
16
14
|
"@huggingface/inference": "^4.7.1",
|
|
17
15
|
"@langchain/core": "^0.3.57",
|
|
18
16
|
"@langchain/xai": "^0.0.2",
|
|
19
17
|
"agent-swarm-kit": "^1.2.4",
|
|
20
|
-
"backtest-kit": "^3.0.
|
|
18
|
+
"backtest-kit": "^3.0.17",
|
|
21
19
|
"ccxt": "^4.4.41",
|
|
22
20
|
"dotenv": "^16.4.7",
|
|
23
21
|
"functools-kit": "^1.0.95",
|