@cryptorobot.ai/client 0.0.26 → 0.0.28

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.
@@ -5,6 +5,21 @@ export declare class Handlebars {
5
5
  constructor(context: HookContext);
6
6
  register: () => void;
7
7
  templateExists: () => Promise<boolean | undefined>;
8
- readTemplate: () => Promise<unknown>;
8
+ /**
9
+ * Reads the template file and returns its content as a Promise.
10
+ *
11
+ * @returns {Promise<string>} A Promise that resolves with the content of the template file.
12
+ */
13
+ readTemplates: () => Promise<{
14
+ strategy: string;
15
+ hyperopt: string;
16
+ }>;
17
+ /**
18
+ * Compiles the template with the provided values.
19
+ *
20
+ * @param file - The template file to compile.
21
+ * @param values - The values to be used during compilation.
22
+ * @returns A promise that resolves with the compiled result.
23
+ */
9
24
  compileWithValues: (file: any, values: any) => Promise<unknown>;
10
25
  }
@@ -1,14 +1,21 @@
1
1
  import { HookContext } from '@feathersjs/feathers';
2
- export declare class Hyperopt {
2
+ export declare class HyperoptHelper {
3
3
  context: HookContext;
4
4
  client: any;
5
+ batch: any;
5
6
  iam: any;
6
7
  cloudformation: any;
7
8
  constructor(context: HookContext);
8
9
  prepareLocalEnvironment(): Promise<void>;
9
10
  jobDefinitionExists(name: string): Promise<boolean>;
10
- generate(context: HookContext): Promise<object>;
11
+ static generate(context: HookContext, provider: string): object;
12
+ static deploy(context: HookContext, deployment: any, provider: string): Promise<any>;
11
13
  updateJobStatus(message: any): Promise<void>;
12
14
  registerJobDefinition(definition: any): Promise<any>;
13
- submitJob(): Promise<void>;
15
+ submitJob(context: HookContext): Promise<void>;
16
+ static getName(createdAt: any): string;
17
+ static getTraderData(context: HookContext): string;
18
+ static promisifyStream(container: any): Promise<any>;
19
+ static getOptimalParamsFromDisk(context: HookContext): any;
20
+ static getBestHyperoptExecution(context: HookContext): Promise<any>;
14
21
  }
@@ -0,0 +1,13 @@
1
+ export declare class RulesHelper {
2
+ values: any;
3
+ conditionsEntry: any;
4
+ conditionsExit: any;
5
+ constructor(values: any);
6
+ getIndicatorById(indicators: any, id: string): any;
7
+ getValueByTypeFromRule(rule: any, position: string): any;
8
+ isLastItem(array: any, item: any): boolean;
9
+ processEntryWhen(): void;
10
+ processExitWhen(): void;
11
+ getConditionsEntry(): any;
12
+ getConditionsExit(): any;
13
+ }
@@ -0,0 +1,2 @@
1
+ import type { HookContext } from '../declarations';
2
+ export declare const hyperoptGenerateAndQueue: (context: HookContext) => Promise<void>;
@@ -0,0 +1,8 @@
1
+ import type { HookContext } from '../declarations';
2
+ /**
3
+ * Generates the exchange configuration for hyperopting.
4
+ *
5
+ * @param {HookContext} context - The hook context.
6
+ * @returns {Promise<void>} - A promise that resolves when the exchange configuration is generated.
7
+ */
8
+ export declare const hyperoptGenerateExchangeConfig: (context: HookContext) => Promise<void>;
@@ -1,2 +1,2 @@
1
1
  import type { HookContext } from '../declarations';
2
- export declare const awsPrepareBatchJob: (context: HookContext) => Promise<void>;
2
+ export declare const hyperoptGetResults: (context: HookContext) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { HookContext } from '@feathersjs/feathers';
2
+ export declare const hyperoptInDiskCloneStrategy: (context: HookContext) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { HookContext } from '../declarations';
2
+ export declare const hyperoptTrackUsage: (context: HookContext) => Promise<void>;
@@ -34,11 +34,15 @@ export declare const messagesSchema: import("@feathersjs/typebox").TObject<{
34
34
  theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
35
35
  layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
36
36
  }>>;
37
+ usage: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
38
+ hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
39
+ }>>;
37
40
  push: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
38
41
  web: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
39
42
  ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
40
43
  android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
41
44
  }>>;
45
+ $inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
42
46
  displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
43
47
  timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
44
48
  subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -96,6 +100,10 @@ export declare const messagesResolver: import("@feathersjs/schema").Resolver<{
96
100
  theme?: string | undefined;
97
101
  layout?: string | undefined;
98
102
  } | undefined;
103
+ usage?: {
104
+ hyperopt?: any;
105
+ } | undefined;
106
+ $inc?: any;
99
107
  displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
100
108
  timezone?: string | undefined;
101
109
  subscribe?: string | undefined;
@@ -161,6 +169,10 @@ export declare const messagesExternalResolver: import("@feathersjs/schema").Reso
161
169
  theme?: string | undefined;
162
170
  layout?: string | undefined;
163
171
  } | undefined;
172
+ usage?: {
173
+ hyperopt?: any;
174
+ } | undefined;
175
+ $inc?: any;
164
176
  displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
165
177
  timezone?: string | undefined;
166
178
  subscribe?: string | undefined;
@@ -231,11 +243,15 @@ export declare const messagesDataSchema: import("@feathersjs/typebox").TPick<imp
231
243
  theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
232
244
  layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
233
245
  }>>;
246
+ usage: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
247
+ hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
248
+ }>>;
234
249
  push: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
235
250
  web: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
236
251
  ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
237
252
  android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
238
253
  }>>;
254
+ $inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
239
255
  displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
240
256
  timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
241
257
  subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -293,6 +309,10 @@ export declare const messagesDataResolver: import("@feathersjs/schema").Resolver
293
309
  theme?: string | undefined;
294
310
  layout?: string | undefined;
295
311
  } | undefined;
312
+ usage?: {
313
+ hyperopt?: any;
314
+ } | undefined;
315
+ $inc?: any;
296
316
  displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
297
317
  timezone?: string | undefined;
298
318
  subscribe?: string | undefined;
@@ -363,11 +383,15 @@ export declare const messagesPatchSchema: import("@feathersjs/typebox").TPartial
363
383
  theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
364
384
  layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
365
385
  }>>;
386
+ usage: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
387
+ hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
388
+ }>>;
366
389
  push: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
367
390
  web: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
368
391
  ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
369
392
  android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
370
393
  }>>;
394
+ $inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
371
395
  displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
372
396
  timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
373
397
  subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -425,6 +449,10 @@ export declare const messagesPatchResolver: import("@feathersjs/schema").Resolve
425
449
  theme?: string | undefined;
426
450
  layout?: string | undefined;
427
451
  } | undefined;
452
+ usage?: {
453
+ hyperopt?: any;
454
+ } | undefined;
455
+ $inc?: any;
428
456
  displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
429
457
  timezone?: string | undefined;
430
458
  subscribe?: string | undefined;
@@ -495,11 +523,15 @@ export declare const messagesQueryProperties: import("@feathersjs/typebox").TPic
495
523
  theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
496
524
  layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
497
525
  }>>;
526
+ usage: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
527
+ hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
528
+ }>>;
498
529
  push: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
499
530
  web: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
500
531
  ios: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
501
532
  android: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
502
533
  }>>;
534
+ $inc: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
503
535
  displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
504
536
  timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
505
537
  subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
@@ -6,6 +6,7 @@ export declare const strategiesBacktestSchema: import("@feathersjs/typebox").TOb
6
6
  traderId: import("@feathersjs/typebox").TString<string>;
7
7
  exchangeId: import("@feathersjs/typebox").TString<string>;
8
8
  jobId: import("@feathersjs/typebox").TString<string>;
9
+ strategyId: import("@feathersjs/typebox").TAny;
9
10
  status: import("@feathersjs/typebox").TString<string>;
10
11
  overrides: import("@feathersjs/typebox").TObject<{
11
12
  max_open_trades: import("@feathersjs/typebox").TNumber;
@@ -41,6 +42,7 @@ export declare const strategiesBacktestResolver: import("@feathersjs/schema").Re
41
42
  eps: boolean;
42
43
  };
43
44
  exchangeId: string;
45
+ strategyId: any;
44
46
  status: string;
45
47
  traderId: string;
46
48
  jobId: string;
@@ -65,6 +67,7 @@ export declare const strategiesBacktestExternalResolver: import("@feathersjs/sch
65
67
  eps: boolean;
66
68
  };
67
69
  exchangeId: string;
70
+ strategyId: any;
68
71
  status: string;
69
72
  traderId: string;
70
73
  jobId: string;
@@ -80,6 +83,7 @@ export declare const strategiesBacktestDataSchema: import("@feathersjs/typebox")
80
83
  traderId: import("@feathersjs/typebox").TString<string>;
81
84
  exchangeId: import("@feathersjs/typebox").TString<string>;
82
85
  jobId: import("@feathersjs/typebox").TString<string>;
86
+ strategyId: import("@feathersjs/typebox").TAny;
83
87
  status: import("@feathersjs/typebox").TString<string>;
84
88
  overrides: import("@feathersjs/typebox").TObject<{
85
89
  max_open_trades: import("@feathersjs/typebox").TNumber;
@@ -115,6 +119,7 @@ export declare const strategiesBacktestDataResolver: import("@feathersjs/schema"
115
119
  eps: boolean;
116
120
  };
117
121
  exchangeId: string;
122
+ strategyId: any;
118
123
  status: string;
119
124
  traderId: string;
120
125
  jobId: string;
@@ -130,6 +135,7 @@ export declare const strategiesBacktestPatchSchema: import("@feathersjs/typebox"
130
135
  traderId: import("@feathersjs/typebox").TString<string>;
131
136
  exchangeId: import("@feathersjs/typebox").TString<string>;
132
137
  jobId: import("@feathersjs/typebox").TString<string>;
138
+ strategyId: import("@feathersjs/typebox").TAny;
133
139
  status: import("@feathersjs/typebox").TString<string>;
134
140
  overrides: import("@feathersjs/typebox").TObject<{
135
141
  max_open_trades: import("@feathersjs/typebox").TNumber;
@@ -165,6 +171,7 @@ export declare const strategiesBacktestPatchResolver: import("@feathersjs/schema
165
171
  eps: boolean;
166
172
  };
167
173
  exchangeId: string;
174
+ strategyId: any;
168
175
  status: string;
169
176
  traderId: string;
170
177
  jobId: string;
@@ -180,6 +187,7 @@ export declare const strategiesBacktestQueryProperties: import("@feathersjs/type
180
187
  traderId: import("@feathersjs/typebox").TString<string>;
181
188
  exchangeId: import("@feathersjs/typebox").TString<string>;
182
189
  jobId: import("@feathersjs/typebox").TString<string>;
190
+ strategyId: import("@feathersjs/typebox").TAny;
183
191
  status: import("@feathersjs/typebox").TString<string>;
184
192
  overrides: import("@feathersjs/typebox").TObject<{
185
193
  max_open_trades: import("@feathersjs/typebox").TNumber;
@@ -198,7 +206,7 @@ export declare const strategiesBacktestQueryProperties: import("@feathersjs/type
198
206
  took: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
199
207
  attempts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
200
208
  results: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
201
- }>, ["_id", "traderId", "exchangeId", "results", "createdAt", "stoppedAt", "jobId"]>;
209
+ }>, ["_id", "traderId", "exchangeId", "strategyId", "results", "createdAt", "stoppedAt", "status", "jobId"]>;
202
210
  export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
203
211
  $limit: import("@feathersjs/typebox").TNumber;
204
212
  $skip: import("@feathersjs/typebox").TNumber;
@@ -207,11 +215,13 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
207
215
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
208
216
  results: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
209
217
  exchangeId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
218
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
219
+ status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
210
220
  traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
211
221
  jobId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
212
222
  stoppedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
213
223
  }>;
214
- $select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "results" | "exchangeId" | "traderId" | "jobId" | "stoppedAt")[]>;
224
+ $select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "results" | "exchangeId" | "strategyId" | "status" | "traderId" | "jobId" | "stoppedAt")[]>;
215
225
  $and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
216
226
  _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
217
227
  $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
@@ -257,6 +267,28 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
257
267
  }>, import("@feathersjs/typebox").TObject<{
258
268
  [key: string]: import("@feathersjs/typebox").TSchema;
259
269
  } | undefined>]>>]>>;
270
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
271
+ $gt: import("@feathersjs/typebox").TAny;
272
+ $gte: import("@feathersjs/typebox").TAny;
273
+ $lt: import("@feathersjs/typebox").TAny;
274
+ $lte: import("@feathersjs/typebox").TAny;
275
+ $ne: import("@feathersjs/typebox").TAny;
276
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
277
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
278
+ }>, import("@feathersjs/typebox").TObject<{
279
+ [key: string]: import("@feathersjs/typebox").TSchema;
280
+ } | undefined>]>>]>>;
281
+ status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
282
+ $gt: import("@feathersjs/typebox").TString<string>;
283
+ $gte: import("@feathersjs/typebox").TString<string>;
284
+ $lt: import("@feathersjs/typebox").TString<string>;
285
+ $lte: import("@feathersjs/typebox").TString<string>;
286
+ $ne: import("@feathersjs/typebox").TString<string>;
287
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
288
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
289
+ }>, import("@feathersjs/typebox").TObject<{
290
+ [key: string]: import("@feathersjs/typebox").TSchema;
291
+ } | undefined>]>>]>>;
260
292
  traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
261
293
  $gt: import("@feathersjs/typebox").TString<string>;
262
294
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -336,6 +368,28 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
336
368
  }>, import("@feathersjs/typebox").TObject<{
337
369
  [key: string]: import("@feathersjs/typebox").TSchema;
338
370
  } | undefined>]>>]>>;
371
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
372
+ $gt: import("@feathersjs/typebox").TAny;
373
+ $gte: import("@feathersjs/typebox").TAny;
374
+ $lt: import("@feathersjs/typebox").TAny;
375
+ $lte: import("@feathersjs/typebox").TAny;
376
+ $ne: import("@feathersjs/typebox").TAny;
377
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
378
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
379
+ }>, import("@feathersjs/typebox").TObject<{
380
+ [key: string]: import("@feathersjs/typebox").TSchema;
381
+ } | undefined>]>>]>>;
382
+ status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
383
+ $gt: import("@feathersjs/typebox").TString<string>;
384
+ $gte: import("@feathersjs/typebox").TString<string>;
385
+ $lt: import("@feathersjs/typebox").TString<string>;
386
+ $lte: import("@feathersjs/typebox").TString<string>;
387
+ $ne: import("@feathersjs/typebox").TString<string>;
388
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
389
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
390
+ }>, import("@feathersjs/typebox").TObject<{
391
+ [key: string]: import("@feathersjs/typebox").TSchema;
392
+ } | undefined>]>>]>>;
339
393
  traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
340
394
  $gt: import("@feathersjs/typebox").TString<string>;
341
395
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -416,6 +470,28 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
416
470
  }>, import("@feathersjs/typebox").TObject<{
417
471
  [key: string]: import("@feathersjs/typebox").TSchema;
418
472
  } | undefined>]>>]>>;
473
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
474
+ $gt: import("@feathersjs/typebox").TAny;
475
+ $gte: import("@feathersjs/typebox").TAny;
476
+ $lt: import("@feathersjs/typebox").TAny;
477
+ $lte: import("@feathersjs/typebox").TAny;
478
+ $ne: import("@feathersjs/typebox").TAny;
479
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
480
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
481
+ }>, import("@feathersjs/typebox").TObject<{
482
+ [key: string]: import("@feathersjs/typebox").TSchema;
483
+ } | undefined>]>>]>>;
484
+ status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
485
+ $gt: import("@feathersjs/typebox").TString<string>;
486
+ $gte: import("@feathersjs/typebox").TString<string>;
487
+ $lt: import("@feathersjs/typebox").TString<string>;
488
+ $lte: import("@feathersjs/typebox").TString<string>;
489
+ $ne: import("@feathersjs/typebox").TString<string>;
490
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
491
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
492
+ }>, import("@feathersjs/typebox").TObject<{
493
+ [key: string]: import("@feathersjs/typebox").TSchema;
494
+ } | undefined>]>>]>>;
419
495
  traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
420
496
  $gt: import("@feathersjs/typebox").TString<string>;
421
497
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -495,6 +571,28 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
495
571
  }>, import("@feathersjs/typebox").TObject<{
496
572
  [key: string]: import("@feathersjs/typebox").TSchema;
497
573
  } | undefined>]>>]>>;
574
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TAny, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
575
+ $gt: import("@feathersjs/typebox").TAny;
576
+ $gte: import("@feathersjs/typebox").TAny;
577
+ $lt: import("@feathersjs/typebox").TAny;
578
+ $lte: import("@feathersjs/typebox").TAny;
579
+ $ne: import("@feathersjs/typebox").TAny;
580
+ $in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
581
+ $nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
582
+ }>, import("@feathersjs/typebox").TObject<{
583
+ [key: string]: import("@feathersjs/typebox").TSchema;
584
+ } | undefined>]>>]>>;
585
+ status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
586
+ $gt: import("@feathersjs/typebox").TString<string>;
587
+ $gte: import("@feathersjs/typebox").TString<string>;
588
+ $lt: import("@feathersjs/typebox").TString<string>;
589
+ $lte: import("@feathersjs/typebox").TString<string>;
590
+ $ne: import("@feathersjs/typebox").TString<string>;
591
+ $in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
592
+ $nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
593
+ }>, import("@feathersjs/typebox").TObject<{
594
+ [key: string]: import("@feathersjs/typebox").TSchema;
595
+ } | undefined>]>>]>>;
498
596
  traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
499
597
  $gt: import("@feathersjs/typebox").TString<string>;
500
598
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -539,11 +637,13 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
539
637
  createdAt?: number | undefined;
540
638
  results?: number | undefined;
541
639
  exchangeId?: number | undefined;
640
+ strategyId?: number | undefined;
641
+ status?: number | undefined;
542
642
  traderId?: number | undefined;
543
643
  jobId?: number | undefined;
544
644
  stoppedAt?: number | undefined;
545
645
  };
546
- $select: ("_id" | "createdAt" | "results" | "exchangeId" | "traderId" | "jobId" | "stoppedAt")[];
646
+ $select: ("_id" | "createdAt" | "results" | "exchangeId" | "strategyId" | "status" | "traderId" | "jobId" | "stoppedAt")[];
547
647
  $and: ({
548
648
  _id?: string | {} | Partial<{
549
649
  $gt: string | {};
@@ -565,6 +665,16 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
565
665
  $in: string | string[];
566
666
  $nin: string | string[];
567
667
  } & {}> | undefined;
668
+ strategyId?: any;
669
+ status?: string | Partial<{
670
+ $gt: string;
671
+ $gte: string;
672
+ $lt: string;
673
+ $lte: string;
674
+ $ne: string;
675
+ $in: string | string[];
676
+ $nin: string | string[];
677
+ } & {}> | undefined;
568
678
  traderId?: string | Partial<{
569
679
  $gt: string;
570
680
  $gte: string;
@@ -606,6 +716,16 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
606
716
  $in: string | string[];
607
717
  $nin: string | string[];
608
718
  } & {}> | undefined;
719
+ strategyId?: any;
720
+ status?: string | Partial<{
721
+ $gt: string;
722
+ $gte: string;
723
+ $lt: string;
724
+ $lte: string;
725
+ $ne: string;
726
+ $in: string | string[];
727
+ $nin: string | string[];
728
+ } & {}> | undefined;
609
729
  traderId?: string | Partial<{
610
730
  $gt: string;
611
731
  $gte: string;
@@ -648,6 +768,16 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
648
768
  $in: string | string[];
649
769
  $nin: string | string[];
650
770
  } & {}> | undefined;
771
+ strategyId?: any;
772
+ status?: string | Partial<{
773
+ $gt: string;
774
+ $gte: string;
775
+ $lt: string;
776
+ $lte: string;
777
+ $ne: string;
778
+ $in: string | string[];
779
+ $nin: string | string[];
780
+ } & {}> | undefined;
651
781
  traderId?: string | Partial<{
652
782
  $gt: string;
653
783
  $gte: string;
@@ -689,6 +819,16 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
689
819
  $in: string | string[];
690
820
  $nin: string | string[];
691
821
  } & {}> | undefined;
822
+ strategyId?: any;
823
+ status?: string | Partial<{
824
+ $gt: string;
825
+ $gte: string;
826
+ $lt: string;
827
+ $lte: string;
828
+ $ne: string;
829
+ $in: string | string[];
830
+ $nin: string | string[];
831
+ } & {}> | undefined;
692
832
  traderId?: string | Partial<{
693
833
  $gt: string;
694
834
  $gte: string;