@cryptorobot.ai/client 0.0.28 → 0.0.29
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.
|
@@ -18,4 +18,5 @@ export declare class HyperoptHelper {
|
|
|
18
18
|
static promisifyStream(container: any): Promise<any>;
|
|
19
19
|
static getOptimalParamsFromDisk(context: HookContext): any;
|
|
20
20
|
static getBestHyperoptExecution(context: HookContext): Promise<any>;
|
|
21
|
+
static updateProgressOfRunningExecutions(context: HookContext): object;
|
|
21
22
|
}
|
|
@@ -19,6 +19,7 @@ export declare const strategiesHyperoptSchema: import("@feathersjs/typebox").TOb
|
|
|
19
19
|
function: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ShortTradeDurHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"OnlyProfitHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"CalmarHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownRelativeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"ProfitDrawDownHyperOptLoss">]>;
|
|
20
20
|
start: import("@feathersjs/typebox").TAny;
|
|
21
21
|
end: import("@feathersjs/typebox").TAny;
|
|
22
|
+
progress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
22
23
|
createdAt: import("@feathersjs/typebox").TAny;
|
|
23
24
|
updatedAt: import("@feathersjs/typebox").TAny;
|
|
24
25
|
startedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -41,6 +42,7 @@ export declare const strategiesHyperoptResolver: import("@feathersjs/schema").Re
|
|
|
41
42
|
stoppedAt?: any;
|
|
42
43
|
took?: number | undefined;
|
|
43
44
|
attempts?: any;
|
|
45
|
+
progress?: any;
|
|
44
46
|
job?: {
|
|
45
47
|
jobName?: string | undefined;
|
|
46
48
|
} | undefined;
|
|
@@ -70,6 +72,7 @@ export declare const strategiesHyperoptExternalResolver: import("@feathersjs/sch
|
|
|
70
72
|
stoppedAt?: any;
|
|
71
73
|
took?: number | undefined;
|
|
72
74
|
attempts?: any;
|
|
75
|
+
progress?: any;
|
|
73
76
|
job?: {
|
|
74
77
|
jobName?: string | undefined;
|
|
75
78
|
} | undefined;
|
|
@@ -108,6 +111,7 @@ export declare const strategiesHyperoptDataSchema: import("@feathersjs/typebox")
|
|
|
108
111
|
function: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ShortTradeDurHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"OnlyProfitHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"CalmarHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownRelativeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"ProfitDrawDownHyperOptLoss">]>;
|
|
109
112
|
start: import("@feathersjs/typebox").TAny;
|
|
110
113
|
end: import("@feathersjs/typebox").TAny;
|
|
114
|
+
progress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
111
115
|
createdAt: import("@feathersjs/typebox").TAny;
|
|
112
116
|
updatedAt: import("@feathersjs/typebox").TAny;
|
|
113
117
|
startedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -130,6 +134,7 @@ export declare const strategiesHyperoptDataResolver: import("@feathersjs/schema"
|
|
|
130
134
|
stoppedAt?: any;
|
|
131
135
|
took?: number | undefined;
|
|
132
136
|
attempts?: any;
|
|
137
|
+
progress?: any;
|
|
133
138
|
job?: {
|
|
134
139
|
jobName?: string | undefined;
|
|
135
140
|
} | undefined;
|
|
@@ -168,6 +173,7 @@ export declare const strategiesHyperoptPatchSchema: import("@feathersjs/typebox"
|
|
|
168
173
|
function: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ShortTradeDurHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"OnlyProfitHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"CalmarHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownRelativeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"ProfitDrawDownHyperOptLoss">]>;
|
|
169
174
|
start: import("@feathersjs/typebox").TAny;
|
|
170
175
|
end: import("@feathersjs/typebox").TAny;
|
|
176
|
+
progress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
171
177
|
createdAt: import("@feathersjs/typebox").TAny;
|
|
172
178
|
updatedAt: import("@feathersjs/typebox").TAny;
|
|
173
179
|
startedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -190,6 +196,7 @@ export declare const strategiesHyperoptPatchResolver: import("@feathersjs/schema
|
|
|
190
196
|
stoppedAt?: any;
|
|
191
197
|
took?: number | undefined;
|
|
192
198
|
attempts?: any;
|
|
199
|
+
progress?: any;
|
|
193
200
|
job?: {
|
|
194
201
|
jobName?: string | undefined;
|
|
195
202
|
} | undefined;
|
|
@@ -228,6 +235,7 @@ export declare const strategiesHyperoptQueryProperties: import("@feathersjs/type
|
|
|
228
235
|
function: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ShortTradeDurHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"OnlyProfitHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"CalmarHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownRelativeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"ProfitDrawDownHyperOptLoss">]>;
|
|
229
236
|
start: import("@feathersjs/typebox").TAny;
|
|
230
237
|
end: import("@feathersjs/typebox").TAny;
|
|
238
|
+
progress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
231
239
|
createdAt: import("@feathersjs/typebox").TAny;
|
|
232
240
|
updatedAt: import("@feathersjs/typebox").TAny;
|
|
233
241
|
startedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
@@ -238,7 +246,7 @@ export declare const strategiesHyperoptQueryProperties: import("@feathersjs/type
|
|
|
238
246
|
job: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
239
247
|
jobName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
240
248
|
}>>;
|
|
241
|
-
}>, ["_id", "strategyId", "status", "createdAt", "jobId"]>;
|
|
249
|
+
}>, ["_id", "strategyId", "status", "createdAt", "jobId", "progress"]>;
|
|
242
250
|
export declare const strategiesHyperoptQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
243
251
|
$limit: import("@feathersjs/typebox").TNumber;
|
|
244
252
|
$skip: import("@feathersjs/typebox").TNumber;
|
|
@@ -248,8 +256,9 @@ export declare const strategiesHyperoptQuerySchema: import("@feathersjs/typebox"
|
|
|
248
256
|
strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
249
257
|
status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
250
258
|
jobId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
259
|
+
progress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
251
260
|
}>;
|
|
252
|
-
$select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "strategyId" | "status" | "jobId")[]>;
|
|
261
|
+
$select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "strategyId" | "status" | "jobId" | "progress")[]>;
|
|
253
262
|
$and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
254
263
|
_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<{
|
|
255
264
|
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
@@ -306,6 +315,17 @@ export declare const strategiesHyperoptQuerySchema: import("@feathersjs/typebox"
|
|
|
306
315
|
}>, import("@feathersjs/typebox").TObject<{
|
|
307
316
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
308
317
|
} | undefined>]>>]>>;
|
|
318
|
+
progress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
319
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
320
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
321
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
322
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
323
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
324
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
325
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
326
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
327
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
328
|
+
} | undefined>]>>]>>;
|
|
309
329
|
}>>, import("@feathersjs/typebox").TObject<{
|
|
310
330
|
$or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
311
331
|
_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<{
|
|
@@ -363,6 +383,17 @@ export declare const strategiesHyperoptQuerySchema: import("@feathersjs/typebox"
|
|
|
363
383
|
}>, import("@feathersjs/typebox").TObject<{
|
|
364
384
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
365
385
|
} | undefined>]>>]>>;
|
|
386
|
+
progress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
387
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
388
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
389
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
390
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
391
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
392
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
393
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
394
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
395
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
396
|
+
} | undefined>]>>]>>;
|
|
366
397
|
}>>>;
|
|
367
398
|
}>]>>;
|
|
368
399
|
$or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
@@ -421,6 +452,17 @@ export declare const strategiesHyperoptQuerySchema: import("@feathersjs/typebox"
|
|
|
421
452
|
}>, import("@feathersjs/typebox").TObject<{
|
|
422
453
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
423
454
|
} | undefined>]>>]>>;
|
|
455
|
+
progress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
456
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
457
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
458
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
459
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
460
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
461
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
462
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
463
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
464
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
465
|
+
} | undefined>]>>]>>;
|
|
424
466
|
}>>>;
|
|
425
467
|
}>>, import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
426
468
|
_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<{
|
|
@@ -478,6 +520,17 @@ export declare const strategiesHyperoptQuerySchema: import("@feathersjs/typebox"
|
|
|
478
520
|
}>, import("@feathersjs/typebox").TObject<{
|
|
479
521
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
480
522
|
} | undefined>]>>]>>;
|
|
523
|
+
progress: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
524
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
525
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
526
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
527
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
528
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
529
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
530
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
531
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
532
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
533
|
+
} | undefined>]>>]>>;
|
|
481
534
|
}>>]>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
482
535
|
export type StrategiesHyperoptQuery = Static<typeof strategiesHyperoptQuerySchema>;
|
|
483
536
|
export declare const strategiesHyperoptQueryValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
@@ -490,8 +543,9 @@ export declare const strategiesHyperoptQueryResolver: import("@feathersjs/schema
|
|
|
490
543
|
strategyId?: number | undefined;
|
|
491
544
|
status?: number | undefined;
|
|
492
545
|
jobId?: number | undefined;
|
|
546
|
+
progress?: number | undefined;
|
|
493
547
|
};
|
|
494
|
-
$select: ("_id" | "createdAt" | "strategyId" | "status" | "jobId")[];
|
|
548
|
+
$select: ("_id" | "createdAt" | "strategyId" | "status" | "jobId" | "progress")[];
|
|
495
549
|
$and: ({
|
|
496
550
|
_id?: string | {} | Partial<{
|
|
497
551
|
$gt: string | {};
|
|
@@ -530,6 +584,7 @@ export declare const strategiesHyperoptQueryResolver: import("@feathersjs/schema
|
|
|
530
584
|
$in: string | string[];
|
|
531
585
|
$nin: string | string[];
|
|
532
586
|
} & {}> | undefined;
|
|
587
|
+
progress?: any;
|
|
533
588
|
} | {
|
|
534
589
|
$or: {
|
|
535
590
|
_id?: string | {} | Partial<{
|
|
@@ -569,6 +624,7 @@ export declare const strategiesHyperoptQueryResolver: import("@feathersjs/schema
|
|
|
569
624
|
$in: string | string[];
|
|
570
625
|
$nin: string | string[];
|
|
571
626
|
} & {}> | undefined;
|
|
627
|
+
progress?: any;
|
|
572
628
|
}[];
|
|
573
629
|
})[];
|
|
574
630
|
$or: {
|
|
@@ -609,6 +665,7 @@ export declare const strategiesHyperoptQueryResolver: import("@feathersjs/schema
|
|
|
609
665
|
$in: string | string[];
|
|
610
666
|
$nin: string | string[];
|
|
611
667
|
} & {}> | undefined;
|
|
668
|
+
progress?: any;
|
|
612
669
|
}[];
|
|
613
670
|
}> & {
|
|
614
671
|
_id?: string | {} | Partial<{
|
|
@@ -648,4 +705,5 @@ export declare const strategiesHyperoptQueryResolver: import("@feathersjs/schema
|
|
|
648
705
|
$in: string | string[];
|
|
649
706
|
$nin: string | string[];
|
|
650
707
|
} & {}> | undefined;
|
|
708
|
+
progress?: any;
|
|
651
709
|
} & {}, HookContext<StrategiesHyperoptService<import("./hyperopt.class").StrategiesHyperoptParams>>>;
|