@backtest-kit/cli 9.2.0 → 9.4.0
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/README.md +50 -6
- package/build/index.cjs +220 -152
- package/build/index.mjs +220 -152
- package/docker/package.json +6 -6
- package/package.json +13 -13
- package/template/project/package.mustache +5 -5
- package/types.d.ts +9 -2
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"type": "commonjs",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@backtest-kit/cli": "^9.
|
|
17
|
-
"@backtest-kit/graph": "^9.
|
|
18
|
-
"@backtest-kit/pinets": "^9.
|
|
19
|
-
"@backtest-kit/ui": "^9.
|
|
16
|
+
"@backtest-kit/cli": "^9.4.0",
|
|
17
|
+
"@backtest-kit/graph": "^9.4.0",
|
|
18
|
+
"@backtest-kit/pinets": "^9.4.0",
|
|
19
|
+
"@backtest-kit/ui": "^9.4.0",
|
|
20
20
|
"agent-swarm-kit": "^2.6.0",
|
|
21
|
-
"backtest-kit": "^9.
|
|
21
|
+
"backtest-kit": "^9.4.0",
|
|
22
22
|
"functools-kit": "^2.3.0",
|
|
23
23
|
"garch": "^1.2.3",
|
|
24
24
|
"get-moment-stamp": "^1.1.2",
|
package/types.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ declare class PaperMainService {
|
|
|
33
33
|
private frontendProviderService;
|
|
34
34
|
private telegramProviderService;
|
|
35
35
|
private moduleConnectionService;
|
|
36
|
+
private configConnectionService;
|
|
36
37
|
run: ((payload: {
|
|
37
38
|
entryPoint: string;
|
|
38
39
|
symbol: string;
|
|
@@ -58,6 +59,7 @@ declare class LiveMainService {
|
|
|
58
59
|
private frontendProviderService;
|
|
59
60
|
private telegramProviderService;
|
|
60
61
|
private moduleConnectionService;
|
|
62
|
+
private configConnectionService;
|
|
61
63
|
run: ((payload: {
|
|
62
64
|
entryPoint: string;
|
|
63
65
|
symbol: string;
|
|
@@ -85,6 +87,7 @@ declare class BacktestMainService {
|
|
|
85
87
|
private frontendProviderService;
|
|
86
88
|
private telegramProviderService;
|
|
87
89
|
private moduleConnectionService;
|
|
90
|
+
private configConnectionService;
|
|
88
91
|
run: ((payload: {
|
|
89
92
|
entryPoint: string;
|
|
90
93
|
symbol: string;
|
|
@@ -115,6 +118,7 @@ declare class WalkerMainService {
|
|
|
115
118
|
private symbolSchemaService;
|
|
116
119
|
private cacheLogicService;
|
|
117
120
|
private moduleConnectionService;
|
|
121
|
+
private configConnectionService;
|
|
118
122
|
run: ((payload: {
|
|
119
123
|
entryPoints: string[];
|
|
120
124
|
symbol: string;
|
|
@@ -245,7 +249,8 @@ declare class ConfigConnectionService {
|
|
|
245
249
|
readonly loggerService: LoggerService;
|
|
246
250
|
readonly resolveService: ResolveService;
|
|
247
251
|
readonly loaderService: LoaderService;
|
|
248
|
-
|
|
252
|
+
hasConfig: (fileName: string) => boolean;
|
|
253
|
+
loadConfig: ((fileName: string) => Promise<ModuleExports>) & functools_kit.IClearableMemoize<string> & functools_kit.IControlMemoize<string, Promise<ModuleExports>>;
|
|
249
254
|
}
|
|
250
255
|
|
|
251
256
|
declare class FrontendProviderService {
|
|
@@ -377,7 +382,8 @@ declare class ModuleConnectionService {
|
|
|
377
382
|
readonly loggerService: LoggerService;
|
|
378
383
|
readonly resolveService: ResolveService;
|
|
379
384
|
readonly loaderService: LoaderService;
|
|
380
|
-
|
|
385
|
+
hasModule: (fileName: string) => boolean;
|
|
386
|
+
loadModule: ((fileName: string) => Promise<boolean>) & functools_kit.IClearableMemoize<string> & functools_kit.IControlMemoize<string, Promise<boolean>>;
|
|
381
387
|
}
|
|
382
388
|
|
|
383
389
|
declare class ConfigService {
|
|
@@ -416,6 +422,7 @@ declare const cli: {
|
|
|
416
422
|
declare class SetupUtils {
|
|
417
423
|
enable: (() => void) & functools_kit.ISingleshotClearable<() => void>;
|
|
418
424
|
clear: () => void;
|
|
425
|
+
update: () => void;
|
|
419
426
|
}
|
|
420
427
|
declare const Setup: SetupUtils;
|
|
421
428
|
|