@backtest-kit/sidekick 0.0.8 → 0.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backtest-kit/sidekick",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
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",
@@ -37,6 +37,7 @@
37
37
  "src",
38
38
  "scripts",
39
39
  "template",
40
+ "types",
40
41
  "README.md"
41
42
  ],
42
43
  "repository": {
package/scripts/init.mjs CHANGED
@@ -110,6 +110,7 @@ async function main() {
110
110
 
111
111
  const projectPath = path.resolve(process.cwd(), projectName);
112
112
  const srcTemplatePath = path.resolve(__dirname, '..', 'src');
113
+ const typesTemplatePath = path.resolve(__dirname, '..', 'types');
113
114
  const templateDir = path.resolve(__dirname, '..', 'template');
114
115
 
115
116
  // Template data for Mustache
@@ -145,6 +146,13 @@ async function main() {
145
146
  log.success('Copied template files');
146
147
  }
147
148
 
149
+ // Copy types template files
150
+ {
151
+ log.info('Copying types files...');
152
+ await copyFiles(typesTemplatePath, path.join(projectPath, 'types'));
153
+ log.success('Copied types files');
154
+ }
155
+
148
156
  // Create package.json from template
149
157
  {
150
158
  log.info('Creating package.json...');
@@ -6,5 +6,5 @@ addFrame({
6
6
  interval: "1m",
7
7
  startDate: new Date("2025-12-01T00:00:00Z"),
8
8
  endDate: new Date("2025-12-31T23:59:59Z"),
9
- note: "Боковик без явного роста или падения",
9
+ note: "Sideways movement without clear growth or decline",
10
10
  });
@@ -6,5 +6,5 @@ addFrame({
6
6
  interval: "1m",
7
7
  startDate: new Date("2025-11-01T00:00:00Z"),
8
8
  endDate: new Date("2025-11-30T23:59:59Z"),
9
- note: "Боковик с общим трендом вниз и незначительными отскоками",
9
+ note: "Sideways movement with overall downtrend and minor bounces",
10
10
  });
@@ -6,5 +6,5 @@ addFrame({
6
6
  interval: "1m",
7
7
  startDate: new Date("2025-10-01T00:00:00Z"),
8
8
  endDate: new Date("2025-10-31T23:59:59Z"),
9
- note: "Резкое падение рынка с 9 по 11 число",
9
+ note: "Sharp market drop from the 9th to 11th",
10
10
  });
@@ -13,6 +13,7 @@
13
13
  },
14
14
  "include": [
15
15
  "src/**/*",
16
+ "types/**/*",
16
17
  "node_modules/functools-kit/types.d.ts",
17
18
  "node_modules/backtest-kit/types.d.ts",
18
19
  "node_modules/@backtest-kit/ollama/types.d.ts",
@@ -9,13 +9,13 @@
9
9
  "test": "echo \"Error: no test specified\" && exit 1"
10
10
  },
11
11
  "dependencies": {
12
- "@backtest-kit/ollama": "^0.0.5",
13
- "@backtest-kit/signals": "^0.0.6",
12
+ "@backtest-kit/ollama": "^0.0.7",
13
+ "@backtest-kit/signals": "^0.0.7",
14
14
  "@huggingface/inference": "^4.7.1",
15
15
  "@langchain/core": "^0.3.57",
16
16
  "@langchain/xai": "^0.0.2",
17
- "agent-swarm-kit": "^1.1.180",
18
- "backtest-kit": "^1.12.3",
17
+ "agent-swarm-kit": "^1.1.181",
18
+ "backtest-kit": "^1.13.2",
19
19
  "ccxt": "^4.4.41",
20
20
  "dotenv": "^16.4.7",
21
21
  "functools-kit": "^1.0.95",
@@ -0,0 +1,11 @@
1
+ import * as BacktestKit from "backtest-kit";
2
+
3
+ declare global {
4
+ namespace bt {
5
+ export * from "backtest-kit";
6
+ }
7
+
8
+ const bt: typeof BacktestKit;
9
+ }
10
+
11
+ export {};