@cryptorobot.ai/client 0.0.37 → 0.0.39

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.
Files changed (33) hide show
  1. package/lib/src/client.js +4 -1
  2. package/lib/src/services/exchanges/balance/balance.schema.d.ts +16 -16
  3. package/lib/src/services/exchanges/download/download.schema.d.ts +58 -17
  4. package/lib/src/services/exchanges/download/webhooks/webhooks.schema.d.ts +4 -4
  5. package/lib/src/services/exchanges/exchanges.schema.d.ts +100 -100
  6. package/lib/src/services/exchanges/ohlcv/ohlcv.class.d.ts +19 -0
  7. package/lib/src/services/exchanges/ohlcv/ohlcv.d.ts +11 -0
  8. package/lib/src/services/exchanges/ohlcv/ohlcv.schema.d.ts +507 -0
  9. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.d.ts +13 -0
  10. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +13 -0
  11. package/lib/src/services/exchanges/ticker/ticker.schema.d.ts +68 -68
  12. package/lib/src/services/messages/messages.schema.d.ts +64 -32
  13. package/lib/src/services/strategies/backtest/backtest.schema.d.ts +127 -60
  14. package/lib/src/services/strategies/backtest/results/results.schema.d.ts +8 -8
  15. package/lib/src/services/strategies/hyperopt/hyperopt.schema.d.ts +4 -4
  16. package/lib/src/services/strategies/indicators/indicators.schema.d.ts +4 -4
  17. package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +11 -0
  18. package/lib/src/services/strategies/indicators/talib/talib.d.ts +11 -0
  19. package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +443 -0
  20. package/lib/src/services/strategies/indicators/talib/talib.shared.d.ts +13 -0
  21. package/lib/src/services/strategies/indicators/talib/talib.shared.js +13 -0
  22. package/lib/src/services/strategies/strategies.schema.d.ts +28 -28
  23. package/lib/src/services/strategies/templates/templates.schema.d.ts +4 -4
  24. package/lib/src/services/traders/pods/api/api.schema.d.ts +380 -290
  25. package/lib/src/services/traders/pods/pods.schema.d.ts +310 -310
  26. package/lib/src/services/traders/traders.schema.d.ts +138 -138
  27. package/lib/src/services/users/users.class.d.ts +178 -3
  28. package/lib/src/services/users/users.schema.d.ts +123 -85
  29. package/lib/src/services/users/users.shared.d.ts +4 -3
  30. package/lib/src/services/users/users.shared.js +1 -1
  31. package/package.json +2 -35
  32. package/readme.md +2 -51
  33. package/README.md +0 -4
@@ -29,13 +29,13 @@ export declare const strategiesBacktestSchema: import("@feathersjs/typebox").TOb
29
29
  export type StrategiesBacktest = Static<typeof strategiesBacktestSchema>;
30
30
  export declare const strategiesBacktestValidator: import("@feathersjs/schema").Validator<any, any>;
31
31
  export declare const strategiesBacktestResolver: import("@feathersjs/schema").Resolver<{
32
- stoppedAt?: any;
33
32
  results?: any;
34
- took?: number | undefined;
33
+ stoppedAt?: any;
35
34
  overrides?: {
36
35
  dry_run_wallet?: number | undefined;
37
36
  max_open_trades?: number | undefined;
38
37
  } | undefined;
38
+ took?: number | undefined;
39
39
  startedAt?: any;
40
40
  attempts?: any;
41
41
  _id: string | {};
@@ -54,13 +54,13 @@ export declare const strategiesBacktestResolver: import("@feathersjs/schema").Re
54
54
  end: any;
55
55
  }, HookContext<StrategiesBacktestService<import("./backtest.class").StrategiesBacktestParams>>>;
56
56
  export declare const strategiesBacktestExternalResolver: import("@feathersjs/schema").Resolver<{
57
- stoppedAt?: any;
58
57
  results?: any;
59
- took?: number | undefined;
58
+ stoppedAt?: any;
60
59
  overrides?: {
61
60
  dry_run_wallet?: number | undefined;
62
61
  max_open_trades?: number | undefined;
63
62
  } | undefined;
63
+ took?: number | undefined;
64
64
  startedAt?: any;
65
65
  attempts?: any;
66
66
  _id: string | {};
@@ -106,13 +106,13 @@ export declare const strategiesBacktestDataSchema: import("@feathersjs/typebox")
106
106
  export type StrategiesBacktestData = Static<typeof strategiesBacktestDataSchema>;
107
107
  export declare const strategiesBacktestDataValidator: import("@feathersjs/schema").Validator<any, any>;
108
108
  export declare const strategiesBacktestDataResolver: import("@feathersjs/schema").Resolver<{
109
- stoppedAt?: any;
110
109
  results?: any;
111
- took?: number | undefined;
110
+ stoppedAt?: any;
112
111
  overrides?: {
113
112
  dry_run_wallet?: number | undefined;
114
113
  max_open_trades?: number | undefined;
115
114
  } | undefined;
115
+ took?: number | undefined;
116
116
  startedAt?: any;
117
117
  attempts?: any;
118
118
  _id: string | {};
@@ -158,13 +158,13 @@ export declare const strategiesBacktestPatchSchema: import("@feathersjs/typebox"
158
158
  export type StrategiesBacktestPatch = Static<typeof strategiesBacktestPatchSchema>;
159
159
  export declare const strategiesBacktestPatchValidator: import("@feathersjs/schema").Validator<any, any>;
160
160
  export declare const strategiesBacktestPatchResolver: import("@feathersjs/schema").Resolver<{
161
- stoppedAt?: any;
162
161
  results?: any;
163
- took?: number | undefined;
162
+ stoppedAt?: any;
164
163
  overrides?: {
165
164
  dry_run_wallet?: number | undefined;
166
165
  max_open_trades?: number | undefined;
167
166
  } | undefined;
167
+ took?: number | undefined;
168
168
  startedAt?: any;
169
169
  attempts?: any;
170
170
  _id: string | {};
@@ -213,15 +213,15 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
213
213
  $sort: import("@feathersjs/typebox").TObject<{
214
214
  _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
215
215
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
216
- stoppedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
217
216
  results: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
218
217
  exchangeId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
219
218
  strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
220
219
  status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
221
220
  traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
221
+ stoppedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
222
222
  jobId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
223
223
  }>;
224
- $select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "stoppedAt" | "results" | "exchangeId" | "strategyId" | "status" | "traderId" | "jobId")[]>;
224
+ $select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "results" | "exchangeId" | "strategyId" | "status" | "traderId" | "stoppedAt" | "jobId")[]>;
225
225
  $and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
226
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<{
227
227
  $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
@@ -245,17 +245,6 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
245
245
  }>, import("@feathersjs/typebox").TObject<{
246
246
  [key: string]: import("@feathersjs/typebox").TSchema;
247
247
  } | undefined>]>>]>>;
248
- stoppedAt: 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<{
249
- $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
250
- $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
251
- $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
252
- $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
253
- $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
254
- $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
255
- $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
256
- }>, import("@feathersjs/typebox").TObject<{
257
- [key: string]: import("@feathersjs/typebox").TSchema;
258
- } | undefined>]>>]>>;
259
248
  results: 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<{
260
249
  $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
261
250
  $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -311,6 +300,17 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
311
300
  }>, import("@feathersjs/typebox").TObject<{
312
301
  [key: string]: import("@feathersjs/typebox").TSchema;
313
302
  } | undefined>]>>]>>;
303
+ stoppedAt: 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<{
304
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
305
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
306
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
307
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
308
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
309
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
310
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
311
+ }>, import("@feathersjs/typebox").TObject<{
312
+ [key: string]: import("@feathersjs/typebox").TSchema;
313
+ } | undefined>]>>]>>;
314
314
  jobId: 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<{
315
315
  $gt: import("@feathersjs/typebox").TString<string>;
316
316
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -346,17 +346,6 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
346
346
  }>, import("@feathersjs/typebox").TObject<{
347
347
  [key: string]: import("@feathersjs/typebox").TSchema;
348
348
  } | undefined>]>>]>>;
349
- stoppedAt: 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<{
350
- $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
351
- $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
352
- $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
353
- $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
354
- $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
355
- $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
356
- $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
357
- }>, import("@feathersjs/typebox").TObject<{
358
- [key: string]: import("@feathersjs/typebox").TSchema;
359
- } | undefined>]>>]>>;
360
349
  results: 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<{
361
350
  $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
362
351
  $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -412,6 +401,17 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
412
401
  }>, import("@feathersjs/typebox").TObject<{
413
402
  [key: string]: import("@feathersjs/typebox").TSchema;
414
403
  } | undefined>]>>]>>;
404
+ stoppedAt: 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<{
405
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
406
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
407
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
408
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
409
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
410
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
411
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
412
+ }>, import("@feathersjs/typebox").TObject<{
413
+ [key: string]: import("@feathersjs/typebox").TSchema;
414
+ } | undefined>]>>]>>;
415
415
  jobId: 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<{
416
416
  $gt: import("@feathersjs/typebox").TString<string>;
417
417
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -448,17 +448,6 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
448
448
  }>, import("@feathersjs/typebox").TObject<{
449
449
  [key: string]: import("@feathersjs/typebox").TSchema;
450
450
  } | undefined>]>>]>>;
451
- stoppedAt: 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<{
452
- $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
453
- $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
454
- $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
455
- $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
456
- $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
457
- $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
458
- $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
459
- }>, import("@feathersjs/typebox").TObject<{
460
- [key: string]: import("@feathersjs/typebox").TSchema;
461
- } | undefined>]>>]>>;
462
451
  results: 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<{
463
452
  $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
464
453
  $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -514,6 +503,17 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
514
503
  }>, import("@feathersjs/typebox").TObject<{
515
504
  [key: string]: import("@feathersjs/typebox").TSchema;
516
505
  } | undefined>]>>]>>;
506
+ stoppedAt: 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<{
507
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
508
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
509
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
510
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
511
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
512
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
513
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
514
+ }>, import("@feathersjs/typebox").TObject<{
515
+ [key: string]: import("@feathersjs/typebox").TSchema;
516
+ } | undefined>]>>]>>;
517
517
  jobId: 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<{
518
518
  $gt: import("@feathersjs/typebox").TString<string>;
519
519
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -549,17 +549,6 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
549
549
  }>, import("@feathersjs/typebox").TObject<{
550
550
  [key: string]: import("@feathersjs/typebox").TSchema;
551
551
  } | undefined>]>>]>>;
552
- stoppedAt: 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<{
553
- $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
554
- $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
555
- $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
556
- $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
557
- $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
558
- $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
559
- $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
560
- }>, import("@feathersjs/typebox").TObject<{
561
- [key: string]: import("@feathersjs/typebox").TSchema;
562
- } | undefined>]>>]>>;
563
552
  results: 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<{
564
553
  $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
565
554
  $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -615,6 +604,17 @@ export declare const strategiesBacktestQuerySchema: import("@feathersjs/typebox"
615
604
  }>, import("@feathersjs/typebox").TObject<{
616
605
  [key: string]: import("@feathersjs/typebox").TSchema;
617
606
  } | undefined>]>>]>>;
607
+ stoppedAt: 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<{
608
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
609
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
610
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
611
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
612
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
613
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
614
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
615
+ }>, import("@feathersjs/typebox").TObject<{
616
+ [key: string]: import("@feathersjs/typebox").TSchema;
617
+ } | undefined>]>>]>>;
618
618
  jobId: 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<{
619
619
  $gt: import("@feathersjs/typebox").TString<string>;
620
620
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -635,15 +635,15 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
635
635
  $sort: {
636
636
  _id?: number | undefined;
637
637
  createdAt?: number | undefined;
638
- stoppedAt?: number | undefined;
639
638
  results?: number | undefined;
640
639
  exchangeId?: number | undefined;
641
640
  strategyId?: number | undefined;
642
641
  status?: number | undefined;
643
642
  traderId?: number | undefined;
643
+ stoppedAt?: number | undefined;
644
644
  jobId?: number | undefined;
645
645
  };
646
- $select: ("_id" | "createdAt" | "stoppedAt" | "results" | "exchangeId" | "strategyId" | "status" | "traderId" | "jobId")[];
646
+ $select: ("_id" | "createdAt" | "results" | "exchangeId" | "strategyId" | "status" | "traderId" | "stoppedAt" | "jobId")[];
647
647
  $and: ({
648
648
  _id?: string | {} | Partial<{
649
649
  $gt: string | {};
@@ -655,7 +655,6 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
655
655
  $nin: string | {} | (string | {})[];
656
656
  } & {}> | undefined;
657
657
  createdAt?: any;
658
- stoppedAt?: any;
659
658
  results?: any;
660
659
  exchangeId?: unknown;
661
660
  strategyId?: unknown;
@@ -669,6 +668,7 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
669
668
  $nin: string | string[];
670
669
  } & {}> | undefined;
671
670
  traderId?: unknown;
671
+ stoppedAt?: any;
672
672
  jobId?: string | Partial<{
673
673
  $gt: string;
674
674
  $gte: string;
@@ -690,7 +690,6 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
690
690
  $nin: string | {} | (string | {})[];
691
691
  } & {}> | undefined;
692
692
  createdAt?: any;
693
- stoppedAt?: any;
694
693
  results?: any;
695
694
  exchangeId?: unknown;
696
695
  strategyId?: unknown;
@@ -704,6 +703,7 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
704
703
  $nin: string | string[];
705
704
  } & {}> | undefined;
706
705
  traderId?: unknown;
706
+ stoppedAt?: any;
707
707
  jobId?: string | Partial<{
708
708
  $gt: string;
709
709
  $gte: string;
@@ -726,7 +726,6 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
726
726
  $nin: string | {} | (string | {})[];
727
727
  } & {}> | undefined;
728
728
  createdAt?: any;
729
- stoppedAt?: any;
730
729
  results?: any;
731
730
  exchangeId?: unknown;
732
731
  strategyId?: unknown;
@@ -740,6 +739,7 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
740
739
  $nin: string | string[];
741
740
  } & {}> | undefined;
742
741
  traderId?: unknown;
742
+ stoppedAt?: any;
743
743
  jobId?: string | Partial<{
744
744
  $gt: string;
745
745
  $gte: string;
@@ -761,7 +761,6 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
761
761
  $nin: string | {} | (string | {})[];
762
762
  } & {}> | undefined;
763
763
  createdAt?: any;
764
- stoppedAt?: any;
765
764
  results?: any;
766
765
  exchangeId?: unknown;
767
766
  strategyId?: unknown;
@@ -775,6 +774,7 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
775
774
  $nin: string | string[];
776
775
  } & {}> | undefined;
777
776
  traderId?: unknown;
777
+ stoppedAt?: any;
778
778
  jobId?: string | Partial<{
779
779
  $gt: string;
780
780
  $gte: string;
@@ -785,3 +785,70 @@ export declare const strategiesBacktestQueryResolver: import("@feathersjs/schema
785
785
  $nin: string | string[];
786
786
  } & {}> | undefined;
787
787
  } & {}, HookContext<StrategiesBacktestService<import("./backtest.class").StrategiesBacktestParams>>>;
788
+ export interface AwsLogsConfig {
789
+ Type: 'awslogs';
790
+ Config: {
791
+ 'awslogs-region': string;
792
+ 'awslogs-group': string;
793
+ 'awslogs-create-group': 'true' | 'false';
794
+ };
795
+ }
796
+ export interface DockerMount {
797
+ Name: string;
798
+ Source: string;
799
+ Target: string;
800
+ Type: 'bind' | 'volume' | string;
801
+ }
802
+ export interface DockerHostConfig {
803
+ Binds: string[];
804
+ Memory: number;
805
+ NanoCpus: number;
806
+ ExtraHosts: string[];
807
+ LogConfig?: AwsLogsConfig;
808
+ }
809
+ export interface DockerDeployment {
810
+ provider: 'docker';
811
+ Image: string;
812
+ name: string;
813
+ Cmd: string[];
814
+ RestartPolicy: {
815
+ Name: 'on-failure' | 'no' | 'always';
816
+ };
817
+ HostConfig: DockerHostConfig;
818
+ Env: string[];
819
+ Mounts: DockerMount[];
820
+ }
821
+ export interface EfsVolumeConfiguration {
822
+ fileSystemId: string;
823
+ rootDirectory: string;
824
+ transitEncryption?: 'ENABLED' | 'DISABLED';
825
+ }
826
+ export interface BatchVolume {
827
+ name: string;
828
+ efsVolumeConfiguration: EfsVolumeConfiguration;
829
+ }
830
+ export interface BatchMountPoint {
831
+ sourceVolume: string;
832
+ containerPath: string;
833
+ }
834
+ export interface BatchContainerProps {
835
+ user?: string;
836
+ image: string;
837
+ vcpus: number;
838
+ memory: number;
839
+ privileged?: boolean;
840
+ command: string[];
841
+ volumes: BatchVolume[];
842
+ mountPoints: BatchMountPoint[];
843
+ }
844
+ export interface BatchRetryStrategy {
845
+ attempts: number;
846
+ }
847
+ export interface BatchJobDefinition {
848
+ provider: 'batch';
849
+ type: 'container';
850
+ jobDefinitionName: string;
851
+ containerProperties: BatchContainerProps;
852
+ retryStrategy?: BatchRetryStrategy;
853
+ }
854
+ export type BacktestDeployment = DockerDeployment | BatchJobDefinition;
@@ -138,6 +138,8 @@ export declare const strategiesBacktestResultsResolver: import("@feathersjs/sche
138
138
  dry_run_wallet: number;
139
139
  max_open_trades: number;
140
140
  traderId: string;
141
+ timeframe: string;
142
+ timerange: string;
141
143
  trades: unknown[];
142
144
  locks: unknown[];
143
145
  profit_total: number;
@@ -170,9 +172,7 @@ export declare const strategiesBacktestResultsResolver: import("@feathersjs/sche
170
172
  timedout_entry_orders: number;
171
173
  timedout_exit_orders: number;
172
174
  max_open_trades_setting: number;
173
- timeframe: string;
174
175
  timeframe_detail: string;
175
- timerange: string;
176
176
  enable_protections: boolean;
177
177
  strategy_name: string;
178
178
  trailing_stop: boolean;
@@ -256,6 +256,8 @@ export declare const strategiesBacktestResultsExternalResolver: import("@feather
256
256
  dry_run_wallet: number;
257
257
  max_open_trades: number;
258
258
  traderId: string;
259
+ timeframe: string;
260
+ timerange: string;
259
261
  trades: unknown[];
260
262
  locks: unknown[];
261
263
  profit_total: number;
@@ -288,9 +290,7 @@ export declare const strategiesBacktestResultsExternalResolver: import("@feather
288
290
  timedout_entry_orders: number;
289
291
  timedout_exit_orders: number;
290
292
  max_open_trades_setting: number;
291
- timeframe: string;
292
293
  timeframe_detail: string;
293
- timerange: string;
294
294
  enable_protections: boolean;
295
295
  strategy_name: string;
296
296
  trailing_stop: boolean;
@@ -494,6 +494,8 @@ export declare const strategiesBacktestResultsDataResolver: import("@feathersjs/
494
494
  dry_run_wallet: number;
495
495
  max_open_trades: number;
496
496
  traderId: string;
497
+ timeframe: string;
498
+ timerange: string;
497
499
  trades: unknown[];
498
500
  locks: unknown[];
499
501
  profit_total: number;
@@ -526,9 +528,7 @@ export declare const strategiesBacktestResultsDataResolver: import("@feathersjs/
526
528
  timedout_entry_orders: number;
527
529
  timedout_exit_orders: number;
528
530
  max_open_trades_setting: number;
529
- timeframe: string;
530
531
  timeframe_detail: string;
531
- timerange: string;
532
532
  enable_protections: boolean;
533
533
  strategy_name: string;
534
534
  trailing_stop: boolean;
@@ -732,6 +732,8 @@ export declare const strategiesBacktestResultsPatchResolver: import("@feathersjs
732
732
  dry_run_wallet: number;
733
733
  max_open_trades: number;
734
734
  traderId: string;
735
+ timeframe: string;
736
+ timerange: string;
735
737
  trades: unknown[];
736
738
  locks: unknown[];
737
739
  profit_total: number;
@@ -764,9 +766,7 @@ export declare const strategiesBacktestResultsPatchResolver: import("@feathersjs
764
766
  timedout_entry_orders: number;
765
767
  timedout_exit_orders: number;
766
768
  max_open_trades_setting: number;
767
- timeframe: string;
768
769
  timeframe_detail: string;
769
- timerange: string;
770
770
  enable_protections: boolean;
771
771
  strategy_name: string;
772
772
  trailing_stop: boolean;
@@ -35,11 +35,11 @@ export declare const strategiesHyperoptSchema: import("@feathersjs/typebox").TOb
35
35
  export type StrategiesHyperopt = Static<typeof strategiesHyperoptSchema>;
36
36
  export declare const strategiesHyperoptValidator: import("@feathersjs/schema").Validator<any, any>;
37
37
  export declare const strategiesHyperoptResolver: import("@feathersjs/schema").Resolver<{
38
- stoppedAt?: any;
39
38
  results?: any;
40
39
  exchangeId?: string | {} | undefined;
41
40
  status?: string | undefined;
42
41
  traderId?: string | {} | undefined;
42
+ stoppedAt?: any;
43
43
  took?: number | undefined;
44
44
  jobId?: string | undefined;
45
45
  startedAt?: any;
@@ -66,11 +66,11 @@ export declare const strategiesHyperoptResolver: import("@feathersjs/schema").Re
66
66
  epochs: number;
67
67
  }, HookContext<StrategiesHyperoptService<import("./hyperopt.class").StrategiesHyperoptParams>>>;
68
68
  export declare const strategiesHyperoptExternalResolver: import("@feathersjs/schema").Resolver<{
69
- stoppedAt?: any;
70
69
  results?: any;
71
70
  exchangeId?: string | {} | undefined;
72
71
  status?: string | undefined;
73
72
  traderId?: string | {} | undefined;
73
+ stoppedAt?: any;
74
74
  took?: number | undefined;
75
75
  jobId?: string | undefined;
76
76
  startedAt?: any;
@@ -130,11 +130,11 @@ export declare const strategiesHyperoptDataSchema: import("@feathersjs/typebox")
130
130
  export type StrategiesHyperoptData = Static<typeof strategiesHyperoptDataSchema>;
131
131
  export declare const strategiesHyperoptDataValidator: import("@feathersjs/schema").Validator<any, any>;
132
132
  export declare const strategiesHyperoptDataResolver: import("@feathersjs/schema").Resolver<{
133
- stoppedAt?: any;
134
133
  results?: any;
135
134
  exchangeId?: string | {} | undefined;
136
135
  status?: string | undefined;
137
136
  traderId?: string | {} | undefined;
137
+ stoppedAt?: any;
138
138
  took?: number | undefined;
139
139
  jobId?: string | undefined;
140
140
  startedAt?: any;
@@ -194,11 +194,11 @@ export declare const strategiesHyperoptPatchSchema: import("@feathersjs/typebox"
194
194
  export type StrategiesHyperoptPatch = Static<typeof strategiesHyperoptPatchSchema>;
195
195
  export declare const strategiesHyperoptPatchValidator: import("@feathersjs/schema").Validator<any, any>;
196
196
  export declare const strategiesHyperoptPatchResolver: import("@feathersjs/schema").Resolver<{
197
- stoppedAt?: any;
198
197
  results?: any;
199
198
  exchangeId?: string | {} | undefined;
200
199
  status?: string | undefined;
201
200
  traderId?: string | {} | undefined;
201
+ stoppedAt?: any;
202
202
  took?: number | undefined;
203
203
  jobId?: string | undefined;
204
204
  startedAt?: any;
@@ -23,7 +23,6 @@ export declare const strategiesIndicatorsValidator: import("@feathersjs/schema")
23
23
  export declare const strategiesIndicatorsResolver: import("@feathersjs/schema").Resolver<{
24
24
  object?: string | undefined;
25
25
  name?: string | undefined;
26
- _id?: string | {} | undefined;
27
26
  hyperopt?: {
28
27
  default: number;
29
28
  max: number;
@@ -32,6 +31,7 @@ export declare const strategiesIndicatorsResolver: import("@feathersjs/schema").
32
31
  field: string;
33
32
  space: string;
34
33
  }[] | undefined;
34
+ _id?: string | {} | undefined;
35
35
  createdAt?: any;
36
36
  description?: string | undefined;
37
37
  options?: any;
@@ -40,7 +40,6 @@ export declare const strategiesIndicatorsResolver: import("@feathersjs/schema").
40
40
  export declare const strategiesIndicatorsExternalResolver: import("@feathersjs/schema").Resolver<{
41
41
  object?: string | undefined;
42
42
  name?: string | undefined;
43
- _id?: string | {} | undefined;
44
43
  hyperopt?: {
45
44
  default: number;
46
45
  max: number;
@@ -49,6 +48,7 @@ export declare const strategiesIndicatorsExternalResolver: import("@feathersjs/s
49
48
  field: string;
50
49
  space: string;
51
50
  }[] | undefined;
51
+ _id?: string | {} | undefined;
52
52
  createdAt?: any;
53
53
  description?: string | undefined;
54
54
  options?: any;
@@ -76,7 +76,6 @@ export declare const strategiesIndicatorsDataValidator: import("@feathersjs/sche
76
76
  export declare const strategiesIndicatorsDataResolver: import("@feathersjs/schema").Resolver<{
77
77
  object?: string | undefined;
78
78
  name?: string | undefined;
79
- _id?: string | {} | undefined;
80
79
  hyperopt?: {
81
80
  default: number;
82
81
  max: number;
@@ -85,6 +84,7 @@ export declare const strategiesIndicatorsDataResolver: import("@feathersjs/schem
85
84
  field: string;
86
85
  space: string;
87
86
  }[] | undefined;
87
+ _id?: string | {} | undefined;
88
88
  createdAt?: any;
89
89
  description?: string | undefined;
90
90
  options?: any;
@@ -112,7 +112,6 @@ export declare const strategiesIndicatorsPatchValidator: import("@feathersjs/sch
112
112
  export declare const strategiesIndicatorsPatchResolver: import("@feathersjs/schema").Resolver<{
113
113
  object?: string | undefined;
114
114
  name?: string | undefined;
115
- _id?: string | {} | undefined;
116
115
  hyperopt?: {
117
116
  default: number;
118
117
  max: number;
@@ -121,6 +120,7 @@ export declare const strategiesIndicatorsPatchResolver: import("@feathersjs/sche
121
120
  field: string;
122
121
  space: string;
123
122
  }[] | undefined;
123
+ _id?: string | {} | undefined;
124
124
  createdAt?: any;
125
125
  description?: string | undefined;
126
126
  options?: any;
@@ -0,0 +1,11 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
3
+ import { MongoDBService } from '@feathersjs/mongodb';
4
+ import type { Application } from '../../../../declarations';
5
+ import type { StrategiesIndicatorsTalib, StrategiesIndicatorsTalibData, StrategiesIndicatorsTalibPatch, StrategiesIndicatorsTalibQuery } from './talib.schema';
6
+ export type { StrategiesIndicatorsTalib, StrategiesIndicatorsTalibData, StrategiesIndicatorsTalibPatch, StrategiesIndicatorsTalibQuery };
7
+ export interface StrategiesIndicatorsTalibParams extends MongoDBAdapterParams<StrategiesIndicatorsTalibQuery> {
8
+ }
9
+ export declare class StrategiesIndicatorsTalibService<ServiceParams extends Params = StrategiesIndicatorsTalibParams> extends MongoDBService<StrategiesIndicatorsTalib, StrategiesIndicatorsTalibData, StrategiesIndicatorsTalibParams, StrategiesIndicatorsTalibPatch> {
10
+ }
11
+ export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
@@ -0,0 +1,11 @@
1
+ import type { Application } from '../../../../declarations';
2
+ import { StrategiesIndicatorsTalibService } from './talib.class';
3
+ import { strategiesIndicatorsTalibPath } from './talib.shared';
4
+ export * from './talib.class';
5
+ export * from './talib.schema';
6
+ export declare const strategiesIndicatorsTalib: (app: Application) => void;
7
+ declare module '../../../../declarations' {
8
+ interface ServiceTypes {
9
+ [strategiesIndicatorsTalibPath]: StrategiesIndicatorsTalibService;
10
+ }
11
+ }