@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 +2 -1
- package/scripts/init.mjs +8 -0
- package/src/logic/frame/dec_2025.frame.mjs +1 -1
- package/src/logic/frame/nov_2025.frame.mjs +1 -1
- package/src/logic/frame/oct_2025.frame.mjs +1 -1
- package/template/jsconfig.json.mustache +1 -0
- package/template/package.mustache +4 -4
- package/types/backtest-kit.d.ts +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backtest-kit/sidekick",
|
|
3
|
-
"version": "0.0.
|
|
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...');
|
|
@@ -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.
|
|
13
|
-
"@backtest-kit/signals": "^0.0.
|
|
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.
|
|
18
|
-
"backtest-kit": "^1.
|
|
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",
|