@cryptorobot.ai/client 0.0.16 → 0.0.18

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 (30) hide show
  1. package/lib/configuration.d.ts +17 -0
  2. package/lib/helpers/app.helper.d.ts +4 -0
  3. package/lib/helpers/logging.helper.d.ts +7 -6
  4. package/lib/helpers/queue.helper.d.ts +5 -0
  5. package/lib/helpers/telegram.helper.d.ts +7 -0
  6. package/lib/helpers/trader.helper.d.ts +2 -0
  7. package/lib/hooks/bootstrap-user-telegram.d.ts +2 -0
  8. package/lib/hooks/bootstrap-user-traders.d.ts +2 -0
  9. package/lib/hooks/init-data-folder.d.ts +2 -0
  10. package/lib/hooks/setup-aws-sdk.d.ts +2 -0
  11. package/lib/hooks/setup-cronjobs.d.ts +2 -0
  12. package/lib/hooks/setup-queues.d.ts +3 -0
  13. package/lib/hooks/setup-telegram-client.d.ts +3 -0
  14. package/lib/hooks/telegram-create-group.d.ts +2 -0
  15. package/lib/hooks/telegram-delete-group.d.ts +2 -0
  16. package/lib/hooks/telegram-update-group.d.ts +2 -0
  17. package/lib/hooks/tickers-fetch.d.ts +1 -1
  18. package/lib/hooks/traders/pods-process-worker.d.ts +1 -1
  19. package/lib/services/exchanges/balance/balance.schema.d.ts +12 -44
  20. package/lib/services/exchanges/download/download.schema.d.ts +16 -48
  21. package/lib/services/exchanges/exchanges.schema.d.ts +12 -44
  22. package/lib/services/exchanges/ticker/ticker.schema.d.ts +12 -44
  23. package/lib/services/messages/messages.schema.d.ts +24 -8
  24. package/lib/services/strategies/strategies.schema.d.ts +384 -104
  25. package/lib/services/traders/pods/api/api.schema.d.ts +1076 -268
  26. package/lib/services/traders/pods/pods.schema.d.ts +736 -208
  27. package/lib/services/traders/traders.schema.d.ts +340 -60
  28. package/lib/services/users/users.schema.d.ts +24 -8
  29. package/lib/telegram-get-credentials.d.ts +1 -0
  30. package/package.json +1 -1
@@ -108,7 +108,7 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
108
108
  traderId: import("@feathersjs/typebox").TAny;
109
109
  userId: import("@feathersjs/typebox").TString<string>;
110
110
  }>;
111
- webhookbuy: import("@feathersjs/typebox").TObject<{
111
+ webhookentry: import("@feathersjs/typebox").TObject<{
112
112
  event: import("@feathersjs/typebox").TString<string>;
113
113
  traderId: import("@feathersjs/typebox").TAny;
114
114
  userId: import("@feathersjs/typebox").TString<string>;
@@ -118,7 +118,7 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
118
118
  stake_currency: import("@feathersjs/typebox").TString<string>;
119
119
  fiat_currency: import("@feathersjs/typebox").TString<string>;
120
120
  }>;
121
- webhookbuycancel: import("@feathersjs/typebox").TObject<{
121
+ webhookentrycancel: import("@feathersjs/typebox").TObject<{
122
122
  event: import("@feathersjs/typebox").TString<string>;
123
123
  traderId: import("@feathersjs/typebox").TAny;
124
124
  userId: import("@feathersjs/typebox").TString<string>;
@@ -128,7 +128,7 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
128
128
  stake_currency: import("@feathersjs/typebox").TString<string>;
129
129
  fiat_currency: import("@feathersjs/typebox").TString<string>;
130
130
  }>;
131
- webhookbuyfill: import("@feathersjs/typebox").TObject<{
131
+ webhookentryfill: import("@feathersjs/typebox").TObject<{
132
132
  event: import("@feathersjs/typebox").TString<string>;
133
133
  userId: import("@feathersjs/typebox").TString<string>;
134
134
  traderId: import("@feathersjs/typebox").TAny;
@@ -140,7 +140,7 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
140
140
  stake_amount: import("@feathersjs/typebox").TString<string>;
141
141
  stake_currency: import("@feathersjs/typebox").TString<string>;
142
142
  }>;
143
- webhooksell: import("@feathersjs/typebox").TObject<{
143
+ webhookexit: import("@feathersjs/typebox").TObject<{
144
144
  event: import("@feathersjs/typebox").TString<string>;
145
145
  traderId: import("@feathersjs/typebox").TAny;
146
146
  userId: import("@feathersjs/typebox").TString<string>;
@@ -155,10 +155,10 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
155
155
  profit_ratio: import("@feathersjs/typebox").TString<string>;
156
156
  open_date: import("@feathersjs/typebox").TString<string>;
157
157
  close_date: import("@feathersjs/typebox").TString<string>;
158
- sell_reason: import("@feathersjs/typebox").TString<string>;
158
+ exit_reason: import("@feathersjs/typebox").TString<string>;
159
159
  order_type: import("@feathersjs/typebox").TString<string>;
160
160
  }>;
161
- webhooksellcancel: import("@feathersjs/typebox").TObject<{
161
+ webhookexitcancel: import("@feathersjs/typebox").TObject<{
162
162
  event: import("@feathersjs/typebox").TString<string>;
163
163
  traderId: import("@feathersjs/typebox").TAny;
164
164
  userId: import("@feathersjs/typebox").TString<string>;
@@ -168,7 +168,7 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
168
168
  stake_currency: import("@feathersjs/typebox").TString<string>;
169
169
  profit_ratio: import("@feathersjs/typebox").TString<string>;
170
170
  }>;
171
- webhooksellfill: import("@feathersjs/typebox").TObject<{
171
+ webhookexitfill: import("@feathersjs/typebox").TObject<{
172
172
  event: import("@feathersjs/typebox").TString<string>;
173
173
  traderId: import("@feathersjs/typebox").TAny;
174
174
  userId: import("@feathersjs/typebox").TString<string>;
@@ -202,6 +202,41 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
202
202
  username: import("@feathersjs/typebox").TString<string>;
203
203
  password: import("@feathersjs/typebox").TString<string>;
204
204
  }>;
205
+ telegram: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
206
+ enabled: import("@feathersjs/typebox").TBoolean;
207
+ token: import("@feathersjs/typebox").TString<string>;
208
+ chat_id: import("@feathersjs/typebox").TAny;
209
+ access_hash: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TNull]>>;
210
+ invite_link: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
211
+ allow_custom_messages: import("@feathersjs/typebox").TBoolean;
212
+ notification_settings: import("@feathersjs/typebox").TObject<{
213
+ status: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
214
+ warning: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
215
+ startup: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
216
+ entry: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
217
+ entry_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
218
+ entry_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
219
+ exit: import("@feathersjs/typebox").TObject<{
220
+ roi: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
221
+ emergency_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
222
+ force_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
223
+ exit_signal: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
224
+ trailing_stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
225
+ stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
226
+ stoploss_on_exchange: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
227
+ custom_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
228
+ partial_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
229
+ }>;
230
+ exit_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
231
+ exit_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
232
+ protection_trigger: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
233
+ protection_trigger_global: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
234
+ strategy_msg: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
235
+ show_candle: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"ohlc">]>;
236
+ }>;
237
+ reload: import("@feathersjs/typebox").TBoolean;
238
+ balance_dust_level: import("@feathersjs/typebox").TNumber;
239
+ }>>;
205
240
  pod: import("@feathersjs/typebox").TString<string>;
206
241
  host: import("@feathersjs/typebox").TString<string>;
207
242
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
@@ -222,17 +257,42 @@ export type Strategies = Static<typeof strategiesSchema>;
222
257
  export declare const strategiesValidator: import("@feathersjs/schema").Validator<any, any>;
223
258
  export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
224
259
  _id?: string | {} | undefined;
225
- createdAt?: any;
226
- updatedAt?: any;
227
- 'strategies/templates'?: {
228
- _id?: string | {} | undefined;
229
- values: any;
230
- name: string;
231
- createdAt: any;
232
- description: string;
233
- type: string;
234
- } | undefined;
235
260
  traders?: {
261
+ telegram?: {
262
+ access_hash?: string | null | undefined;
263
+ invite_link?: string | undefined;
264
+ enabled: boolean;
265
+ token: string;
266
+ chat_id: any;
267
+ allow_custom_messages: boolean;
268
+ notification_settings: {
269
+ status: "silent" | "on" | "off";
270
+ entry: "silent" | "on" | "off";
271
+ exit: {
272
+ roi: "silent" | "on" | "off";
273
+ emergency_exit: "silent" | "on" | "off";
274
+ force_exit: "silent" | "on" | "off";
275
+ exit_signal: "silent" | "on" | "off";
276
+ trailing_stop_loss: "silent" | "on" | "off";
277
+ stop_loss: "silent" | "on" | "off";
278
+ stoploss_on_exchange: "silent" | "on" | "off";
279
+ custom_exit: "silent" | "on" | "off";
280
+ partial_exit: "silent" | "on" | "off";
281
+ };
282
+ warning: "silent" | "on" | "off";
283
+ startup: "silent" | "on" | "off";
284
+ entry_fill: "silent" | "on" | "off";
285
+ entry_cancel: "silent" | "on" | "off";
286
+ exit_cancel: "silent" | "on" | "off";
287
+ exit_fill: "silent" | "on" | "off";
288
+ protection_trigger: "silent" | "on" | "off";
289
+ protection_trigger_global: "silent" | "on" | "off";
290
+ strategy_msg: "silent" | "on" | "off";
291
+ show_candle: "off" | "ohlc";
292
+ };
293
+ reload: boolean;
294
+ balance_dust_level: number;
295
+ } | undefined;
236
296
  dry_run_wallet?: number | undefined;
237
297
  max_open_trades?: number | undefined;
238
298
  plugins?: {
@@ -253,15 +313,15 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
253
313
  tradable_balance_ratio?: number | undefined;
254
314
  webhook?: {
255
315
  url: string;
256
- format: string;
257
316
  enabled: boolean;
317
+ format: string;
258
318
  webhookstatus: {
259
319
  traderId: any;
260
320
  event: string;
261
321
  status: string;
262
322
  userId: string;
263
323
  };
264
- webhookbuy: {
324
+ webhookentry: {
265
325
  limit: string;
266
326
  traderId: any;
267
327
  stake_amount: string;
@@ -271,7 +331,7 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
271
331
  pair: string;
272
332
  fiat_currency: string;
273
333
  };
274
- webhookbuycancel: {
334
+ webhookentrycancel: {
275
335
  limit: string;
276
336
  traderId: any;
277
337
  stake_amount: string;
@@ -281,7 +341,7 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
281
341
  pair: string;
282
342
  fiat_currency: string;
283
343
  };
284
- webhookbuyfill: {
344
+ webhookentryfill: {
285
345
  traderId: any;
286
346
  stake_amount: string;
287
347
  stake_currency: string;
@@ -293,7 +353,7 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
293
353
  amount: string;
294
354
  open_date: string;
295
355
  };
296
- webhooksell: {
356
+ webhookexit: {
297
357
  limit: string;
298
358
  traderId: any;
299
359
  stake_currency: string;
@@ -308,10 +368,10 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
308
368
  profit_amount: string;
309
369
  profit_ratio: string;
310
370
  close_date: string;
311
- sell_reason: string;
371
+ exit_reason: string;
312
372
  order_type: string;
313
373
  };
314
- webhooksellcancel: {
374
+ webhookexitcancel: {
315
375
  limit: string;
316
376
  traderId: any;
317
377
  stake_currency: string;
@@ -321,7 +381,7 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
321
381
  profit_amount: string;
322
382
  profit_ratio: string;
323
383
  };
324
- webhooksellfill: {
384
+ webhookexitfill: {
325
385
  traderId: any;
326
386
  event: string;
327
387
  userId: string;
@@ -380,6 +440,16 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
380
440
  };
381
441
  pod: string;
382
442
  }[] | undefined;
443
+ createdAt?: any;
444
+ updatedAt?: any;
445
+ 'strategies/templates'?: {
446
+ _id?: string | {} | undefined;
447
+ values: any;
448
+ name: string;
449
+ createdAt: any;
450
+ description: string;
451
+ type: string;
452
+ } | undefined;
383
453
  stoploss?: number | undefined;
384
454
  minimal_roi?: {
385
455
  minutes: number;
@@ -398,10 +468,10 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
398
468
  stoploss?: string | undefined;
399
469
  entry?: "Limit" | "Market" | undefined;
400
470
  exit?: "Limit" | "Market" | undefined;
471
+ stoploss_on_exchange?: boolean | undefined;
401
472
  emergencysell?: "Limit" | "Market" | undefined;
402
473
  forcebuy?: "Limit" | "Market" | undefined;
403
474
  forcesell?: "Limit" | "Market" | undefined;
404
- stoploss_on_exchange?: boolean | undefined;
405
475
  stoploss_on_exchange_interval?: number | undefined;
406
476
  stoploss_on_exchange_limit_ratio?: number | undefined;
407
477
  } | undefined;
@@ -439,17 +509,42 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
439
509
  }, HookContext<StrategiesService<import("./strategies.class").StrategiesParams>>>;
440
510
  export declare const strategiesExternalResolver: import("@feathersjs/schema").Resolver<{
441
511
  _id?: string | {} | undefined;
442
- createdAt?: any;
443
- updatedAt?: any;
444
- 'strategies/templates'?: {
445
- _id?: string | {} | undefined;
446
- values: any;
447
- name: string;
448
- createdAt: any;
449
- description: string;
450
- type: string;
451
- } | undefined;
452
512
  traders?: {
513
+ telegram?: {
514
+ access_hash?: string | null | undefined;
515
+ invite_link?: string | undefined;
516
+ enabled: boolean;
517
+ token: string;
518
+ chat_id: any;
519
+ allow_custom_messages: boolean;
520
+ notification_settings: {
521
+ status: "silent" | "on" | "off";
522
+ entry: "silent" | "on" | "off";
523
+ exit: {
524
+ roi: "silent" | "on" | "off";
525
+ emergency_exit: "silent" | "on" | "off";
526
+ force_exit: "silent" | "on" | "off";
527
+ exit_signal: "silent" | "on" | "off";
528
+ trailing_stop_loss: "silent" | "on" | "off";
529
+ stop_loss: "silent" | "on" | "off";
530
+ stoploss_on_exchange: "silent" | "on" | "off";
531
+ custom_exit: "silent" | "on" | "off";
532
+ partial_exit: "silent" | "on" | "off";
533
+ };
534
+ warning: "silent" | "on" | "off";
535
+ startup: "silent" | "on" | "off";
536
+ entry_fill: "silent" | "on" | "off";
537
+ entry_cancel: "silent" | "on" | "off";
538
+ exit_cancel: "silent" | "on" | "off";
539
+ exit_fill: "silent" | "on" | "off";
540
+ protection_trigger: "silent" | "on" | "off";
541
+ protection_trigger_global: "silent" | "on" | "off";
542
+ strategy_msg: "silent" | "on" | "off";
543
+ show_candle: "off" | "ohlc";
544
+ };
545
+ reload: boolean;
546
+ balance_dust_level: number;
547
+ } | undefined;
453
548
  dry_run_wallet?: number | undefined;
454
549
  max_open_trades?: number | undefined;
455
550
  plugins?: {
@@ -470,15 +565,15 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
470
565
  tradable_balance_ratio?: number | undefined;
471
566
  webhook?: {
472
567
  url: string;
473
- format: string;
474
568
  enabled: boolean;
569
+ format: string;
475
570
  webhookstatus: {
476
571
  traderId: any;
477
572
  event: string;
478
573
  status: string;
479
574
  userId: string;
480
575
  };
481
- webhookbuy: {
576
+ webhookentry: {
482
577
  limit: string;
483
578
  traderId: any;
484
579
  stake_amount: string;
@@ -488,7 +583,7 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
488
583
  pair: string;
489
584
  fiat_currency: string;
490
585
  };
491
- webhookbuycancel: {
586
+ webhookentrycancel: {
492
587
  limit: string;
493
588
  traderId: any;
494
589
  stake_amount: string;
@@ -498,7 +593,7 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
498
593
  pair: string;
499
594
  fiat_currency: string;
500
595
  };
501
- webhookbuyfill: {
596
+ webhookentryfill: {
502
597
  traderId: any;
503
598
  stake_amount: string;
504
599
  stake_currency: string;
@@ -510,7 +605,7 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
510
605
  amount: string;
511
606
  open_date: string;
512
607
  };
513
- webhooksell: {
608
+ webhookexit: {
514
609
  limit: string;
515
610
  traderId: any;
516
611
  stake_currency: string;
@@ -525,10 +620,10 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
525
620
  profit_amount: string;
526
621
  profit_ratio: string;
527
622
  close_date: string;
528
- sell_reason: string;
623
+ exit_reason: string;
529
624
  order_type: string;
530
625
  };
531
- webhooksellcancel: {
626
+ webhookexitcancel: {
532
627
  limit: string;
533
628
  traderId: any;
534
629
  stake_currency: string;
@@ -538,7 +633,7 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
538
633
  profit_amount: string;
539
634
  profit_ratio: string;
540
635
  };
541
- webhooksellfill: {
636
+ webhookexitfill: {
542
637
  traderId: any;
543
638
  event: string;
544
639
  userId: string;
@@ -597,6 +692,16 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
597
692
  };
598
693
  pod: string;
599
694
  }[] | undefined;
695
+ createdAt?: any;
696
+ updatedAt?: any;
697
+ 'strategies/templates'?: {
698
+ _id?: string | {} | undefined;
699
+ values: any;
700
+ name: string;
701
+ createdAt: any;
702
+ description: string;
703
+ type: string;
704
+ } | undefined;
600
705
  stoploss?: number | undefined;
601
706
  minimal_roi?: {
602
707
  minutes: number;
@@ -615,10 +720,10 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
615
720
  stoploss?: string | undefined;
616
721
  entry?: "Limit" | "Market" | undefined;
617
722
  exit?: "Limit" | "Market" | undefined;
723
+ stoploss_on_exchange?: boolean | undefined;
618
724
  emergencysell?: "Limit" | "Market" | undefined;
619
725
  forcebuy?: "Limit" | "Market" | undefined;
620
726
  forcesell?: "Limit" | "Market" | undefined;
621
- stoploss_on_exchange?: boolean | undefined;
622
727
  stoploss_on_exchange_interval?: number | undefined;
623
728
  stoploss_on_exchange_limit_ratio?: number | undefined;
624
729
  } | undefined;
@@ -761,7 +866,7 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
761
866
  traderId: import("@feathersjs/typebox").TAny;
762
867
  userId: import("@feathersjs/typebox").TString<string>;
763
868
  }>;
764
- webhookbuy: import("@feathersjs/typebox").TObject<{
869
+ webhookentry: import("@feathersjs/typebox").TObject<{
765
870
  event: import("@feathersjs/typebox").TString<string>;
766
871
  traderId: import("@feathersjs/typebox").TAny;
767
872
  userId: import("@feathersjs/typebox").TString<string>;
@@ -771,7 +876,7 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
771
876
  stake_currency: import("@feathersjs/typebox").TString<string>;
772
877
  fiat_currency: import("@feathersjs/typebox").TString<string>;
773
878
  }>;
774
- webhookbuycancel: import("@feathersjs/typebox").TObject<{
879
+ webhookentrycancel: import("@feathersjs/typebox").TObject<{
775
880
  event: import("@feathersjs/typebox").TString<string>;
776
881
  traderId: import("@feathersjs/typebox").TAny;
777
882
  userId: import("@feathersjs/typebox").TString<string>;
@@ -781,7 +886,7 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
781
886
  stake_currency: import("@feathersjs/typebox").TString<string>;
782
887
  fiat_currency: import("@feathersjs/typebox").TString<string>;
783
888
  }>;
784
- webhookbuyfill: import("@feathersjs/typebox").TObject<{
889
+ webhookentryfill: import("@feathersjs/typebox").TObject<{
785
890
  event: import("@feathersjs/typebox").TString<string>;
786
891
  userId: import("@feathersjs/typebox").TString<string>;
787
892
  traderId: import("@feathersjs/typebox").TAny;
@@ -793,7 +898,7 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
793
898
  stake_amount: import("@feathersjs/typebox").TString<string>;
794
899
  stake_currency: import("@feathersjs/typebox").TString<string>;
795
900
  }>;
796
- webhooksell: import("@feathersjs/typebox").TObject<{
901
+ webhookexit: import("@feathersjs/typebox").TObject<{
797
902
  event: import("@feathersjs/typebox").TString<string>;
798
903
  traderId: import("@feathersjs/typebox").TAny;
799
904
  userId: import("@feathersjs/typebox").TString<string>;
@@ -808,10 +913,10 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
808
913
  profit_ratio: import("@feathersjs/typebox").TString<string>;
809
914
  open_date: import("@feathersjs/typebox").TString<string>;
810
915
  close_date: import("@feathersjs/typebox").TString<string>;
811
- sell_reason: import("@feathersjs/typebox").TString<string>;
916
+ exit_reason: import("@feathersjs/typebox").TString<string>;
812
917
  order_type: import("@feathersjs/typebox").TString<string>;
813
918
  }>;
814
- webhooksellcancel: import("@feathersjs/typebox").TObject<{
919
+ webhookexitcancel: import("@feathersjs/typebox").TObject<{
815
920
  event: import("@feathersjs/typebox").TString<string>;
816
921
  traderId: import("@feathersjs/typebox").TAny;
817
922
  userId: import("@feathersjs/typebox").TString<string>;
@@ -821,7 +926,7 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
821
926
  stake_currency: import("@feathersjs/typebox").TString<string>;
822
927
  profit_ratio: import("@feathersjs/typebox").TString<string>;
823
928
  }>;
824
- webhooksellfill: import("@feathersjs/typebox").TObject<{
929
+ webhookexitfill: import("@feathersjs/typebox").TObject<{
825
930
  event: import("@feathersjs/typebox").TString<string>;
826
931
  traderId: import("@feathersjs/typebox").TAny;
827
932
  userId: import("@feathersjs/typebox").TString<string>;
@@ -855,6 +960,41 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
855
960
  username: import("@feathersjs/typebox").TString<string>;
856
961
  password: import("@feathersjs/typebox").TString<string>;
857
962
  }>;
963
+ telegram: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
964
+ enabled: import("@feathersjs/typebox").TBoolean;
965
+ token: import("@feathersjs/typebox").TString<string>;
966
+ chat_id: import("@feathersjs/typebox").TAny;
967
+ access_hash: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TNull]>>;
968
+ invite_link: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
969
+ allow_custom_messages: import("@feathersjs/typebox").TBoolean;
970
+ notification_settings: import("@feathersjs/typebox").TObject<{
971
+ status: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
972
+ warning: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
973
+ startup: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
974
+ entry: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
975
+ entry_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
976
+ entry_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
977
+ exit: import("@feathersjs/typebox").TObject<{
978
+ roi: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
979
+ emergency_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
980
+ force_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
981
+ exit_signal: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
982
+ trailing_stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
983
+ stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
984
+ stoploss_on_exchange: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
985
+ custom_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
986
+ partial_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
987
+ }>;
988
+ exit_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
989
+ exit_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
990
+ protection_trigger: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
991
+ protection_trigger_global: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
992
+ strategy_msg: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
993
+ show_candle: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"ohlc">]>;
994
+ }>;
995
+ reload: import("@feathersjs/typebox").TBoolean;
996
+ balance_dust_level: import("@feathersjs/typebox").TNumber;
997
+ }>>;
858
998
  pod: import("@feathersjs/typebox").TString<string>;
859
999
  host: import("@feathersjs/typebox").TString<string>;
860
1000
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
@@ -875,17 +1015,42 @@ export type StrategiesData = Static<typeof strategiesDataSchema>;
875
1015
  export declare const strategiesDataValidator: import("@feathersjs/schema").Validator<any, any>;
876
1016
  export declare const strategiesDataResolver: import("@feathersjs/schema").Resolver<{
877
1017
  _id?: string | {} | undefined;
878
- createdAt?: any;
879
- updatedAt?: any;
880
- 'strategies/templates'?: {
881
- _id?: string | {} | undefined;
882
- values: any;
883
- name: string;
884
- createdAt: any;
885
- description: string;
886
- type: string;
887
- } | undefined;
888
1018
  traders?: {
1019
+ telegram?: {
1020
+ access_hash?: string | null | undefined;
1021
+ invite_link?: string | undefined;
1022
+ enabled: boolean;
1023
+ token: string;
1024
+ chat_id: any;
1025
+ allow_custom_messages: boolean;
1026
+ notification_settings: {
1027
+ status: "silent" | "on" | "off";
1028
+ entry: "silent" | "on" | "off";
1029
+ exit: {
1030
+ roi: "silent" | "on" | "off";
1031
+ emergency_exit: "silent" | "on" | "off";
1032
+ force_exit: "silent" | "on" | "off";
1033
+ exit_signal: "silent" | "on" | "off";
1034
+ trailing_stop_loss: "silent" | "on" | "off";
1035
+ stop_loss: "silent" | "on" | "off";
1036
+ stoploss_on_exchange: "silent" | "on" | "off";
1037
+ custom_exit: "silent" | "on" | "off";
1038
+ partial_exit: "silent" | "on" | "off";
1039
+ };
1040
+ warning: "silent" | "on" | "off";
1041
+ startup: "silent" | "on" | "off";
1042
+ entry_fill: "silent" | "on" | "off";
1043
+ entry_cancel: "silent" | "on" | "off";
1044
+ exit_cancel: "silent" | "on" | "off";
1045
+ exit_fill: "silent" | "on" | "off";
1046
+ protection_trigger: "silent" | "on" | "off";
1047
+ protection_trigger_global: "silent" | "on" | "off";
1048
+ strategy_msg: "silent" | "on" | "off";
1049
+ show_candle: "off" | "ohlc";
1050
+ };
1051
+ reload: boolean;
1052
+ balance_dust_level: number;
1053
+ } | undefined;
889
1054
  dry_run_wallet?: number | undefined;
890
1055
  max_open_trades?: number | undefined;
891
1056
  plugins?: {
@@ -906,15 +1071,15 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
906
1071
  tradable_balance_ratio?: number | undefined;
907
1072
  webhook?: {
908
1073
  url: string;
909
- format: string;
910
1074
  enabled: boolean;
1075
+ format: string;
911
1076
  webhookstatus: {
912
1077
  traderId: any;
913
1078
  event: string;
914
1079
  status: string;
915
1080
  userId: string;
916
1081
  };
917
- webhookbuy: {
1082
+ webhookentry: {
918
1083
  limit: string;
919
1084
  traderId: any;
920
1085
  stake_amount: string;
@@ -924,7 +1089,7 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
924
1089
  pair: string;
925
1090
  fiat_currency: string;
926
1091
  };
927
- webhookbuycancel: {
1092
+ webhookentrycancel: {
928
1093
  limit: string;
929
1094
  traderId: any;
930
1095
  stake_amount: string;
@@ -934,7 +1099,7 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
934
1099
  pair: string;
935
1100
  fiat_currency: string;
936
1101
  };
937
- webhookbuyfill: {
1102
+ webhookentryfill: {
938
1103
  traderId: any;
939
1104
  stake_amount: string;
940
1105
  stake_currency: string;
@@ -946,7 +1111,7 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
946
1111
  amount: string;
947
1112
  open_date: string;
948
1113
  };
949
- webhooksell: {
1114
+ webhookexit: {
950
1115
  limit: string;
951
1116
  traderId: any;
952
1117
  stake_currency: string;
@@ -961,10 +1126,10 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
961
1126
  profit_amount: string;
962
1127
  profit_ratio: string;
963
1128
  close_date: string;
964
- sell_reason: string;
1129
+ exit_reason: string;
965
1130
  order_type: string;
966
1131
  };
967
- webhooksellcancel: {
1132
+ webhookexitcancel: {
968
1133
  limit: string;
969
1134
  traderId: any;
970
1135
  stake_currency: string;
@@ -974,7 +1139,7 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
974
1139
  profit_amount: string;
975
1140
  profit_ratio: string;
976
1141
  };
977
- webhooksellfill: {
1142
+ webhookexitfill: {
978
1143
  traderId: any;
979
1144
  event: string;
980
1145
  userId: string;
@@ -1033,6 +1198,16 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
1033
1198
  };
1034
1199
  pod: string;
1035
1200
  }[] | undefined;
1201
+ createdAt?: any;
1202
+ updatedAt?: any;
1203
+ 'strategies/templates'?: {
1204
+ _id?: string | {} | undefined;
1205
+ values: any;
1206
+ name: string;
1207
+ createdAt: any;
1208
+ description: string;
1209
+ type: string;
1210
+ } | undefined;
1036
1211
  stoploss?: number | undefined;
1037
1212
  minimal_roi?: {
1038
1213
  minutes: number;
@@ -1051,10 +1226,10 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
1051
1226
  stoploss?: string | undefined;
1052
1227
  entry?: "Limit" | "Market" | undefined;
1053
1228
  exit?: "Limit" | "Market" | undefined;
1229
+ stoploss_on_exchange?: boolean | undefined;
1054
1230
  emergencysell?: "Limit" | "Market" | undefined;
1055
1231
  forcebuy?: "Limit" | "Market" | undefined;
1056
1232
  forcesell?: "Limit" | "Market" | undefined;
1057
- stoploss_on_exchange?: boolean | undefined;
1058
1233
  stoploss_on_exchange_interval?: number | undefined;
1059
1234
  stoploss_on_exchange_limit_ratio?: number | undefined;
1060
1235
  } | undefined;
@@ -1197,7 +1372,7 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1197
1372
  traderId: import("@feathersjs/typebox").TAny;
1198
1373
  userId: import("@feathersjs/typebox").TString<string>;
1199
1374
  }>;
1200
- webhookbuy: import("@feathersjs/typebox").TObject<{
1375
+ webhookentry: import("@feathersjs/typebox").TObject<{
1201
1376
  event: import("@feathersjs/typebox").TString<string>;
1202
1377
  traderId: import("@feathersjs/typebox").TAny;
1203
1378
  userId: import("@feathersjs/typebox").TString<string>;
@@ -1207,7 +1382,7 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1207
1382
  stake_currency: import("@feathersjs/typebox").TString<string>;
1208
1383
  fiat_currency: import("@feathersjs/typebox").TString<string>;
1209
1384
  }>;
1210
- webhookbuycancel: import("@feathersjs/typebox").TObject<{
1385
+ webhookentrycancel: import("@feathersjs/typebox").TObject<{
1211
1386
  event: import("@feathersjs/typebox").TString<string>;
1212
1387
  traderId: import("@feathersjs/typebox").TAny;
1213
1388
  userId: import("@feathersjs/typebox").TString<string>;
@@ -1217,7 +1392,7 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1217
1392
  stake_currency: import("@feathersjs/typebox").TString<string>;
1218
1393
  fiat_currency: import("@feathersjs/typebox").TString<string>;
1219
1394
  }>;
1220
- webhookbuyfill: import("@feathersjs/typebox").TObject<{
1395
+ webhookentryfill: import("@feathersjs/typebox").TObject<{
1221
1396
  event: import("@feathersjs/typebox").TString<string>;
1222
1397
  userId: import("@feathersjs/typebox").TString<string>;
1223
1398
  traderId: import("@feathersjs/typebox").TAny;
@@ -1229,7 +1404,7 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1229
1404
  stake_amount: import("@feathersjs/typebox").TString<string>;
1230
1405
  stake_currency: import("@feathersjs/typebox").TString<string>;
1231
1406
  }>;
1232
- webhooksell: import("@feathersjs/typebox").TObject<{
1407
+ webhookexit: import("@feathersjs/typebox").TObject<{
1233
1408
  event: import("@feathersjs/typebox").TString<string>;
1234
1409
  traderId: import("@feathersjs/typebox").TAny;
1235
1410
  userId: import("@feathersjs/typebox").TString<string>;
@@ -1244,10 +1419,10 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1244
1419
  profit_ratio: import("@feathersjs/typebox").TString<string>;
1245
1420
  open_date: import("@feathersjs/typebox").TString<string>;
1246
1421
  close_date: import("@feathersjs/typebox").TString<string>;
1247
- sell_reason: import("@feathersjs/typebox").TString<string>;
1422
+ exit_reason: import("@feathersjs/typebox").TString<string>;
1248
1423
  order_type: import("@feathersjs/typebox").TString<string>;
1249
1424
  }>;
1250
- webhooksellcancel: import("@feathersjs/typebox").TObject<{
1425
+ webhookexitcancel: import("@feathersjs/typebox").TObject<{
1251
1426
  event: import("@feathersjs/typebox").TString<string>;
1252
1427
  traderId: import("@feathersjs/typebox").TAny;
1253
1428
  userId: import("@feathersjs/typebox").TString<string>;
@@ -1257,7 +1432,7 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1257
1432
  stake_currency: import("@feathersjs/typebox").TString<string>;
1258
1433
  profit_ratio: import("@feathersjs/typebox").TString<string>;
1259
1434
  }>;
1260
- webhooksellfill: import("@feathersjs/typebox").TObject<{
1435
+ webhookexitfill: import("@feathersjs/typebox").TObject<{
1261
1436
  event: import("@feathersjs/typebox").TString<string>;
1262
1437
  traderId: import("@feathersjs/typebox").TAny;
1263
1438
  userId: import("@feathersjs/typebox").TString<string>;
@@ -1291,6 +1466,41 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1291
1466
  username: import("@feathersjs/typebox").TString<string>;
1292
1467
  password: import("@feathersjs/typebox").TString<string>;
1293
1468
  }>;
1469
+ telegram: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
1470
+ enabled: import("@feathersjs/typebox").TBoolean;
1471
+ token: import("@feathersjs/typebox").TString<string>;
1472
+ chat_id: import("@feathersjs/typebox").TAny;
1473
+ access_hash: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TNull]>>;
1474
+ invite_link: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1475
+ allow_custom_messages: import("@feathersjs/typebox").TBoolean;
1476
+ notification_settings: import("@feathersjs/typebox").TObject<{
1477
+ status: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1478
+ warning: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1479
+ startup: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1480
+ entry: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1481
+ entry_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1482
+ entry_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1483
+ exit: import("@feathersjs/typebox").TObject<{
1484
+ roi: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1485
+ emergency_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1486
+ force_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1487
+ exit_signal: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1488
+ trailing_stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1489
+ stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1490
+ stoploss_on_exchange: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1491
+ custom_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1492
+ partial_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1493
+ }>;
1494
+ exit_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1495
+ exit_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1496
+ protection_trigger: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1497
+ protection_trigger_global: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1498
+ strategy_msg: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1499
+ show_candle: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"ohlc">]>;
1500
+ }>;
1501
+ reload: import("@feathersjs/typebox").TBoolean;
1502
+ balance_dust_level: import("@feathersjs/typebox").TNumber;
1503
+ }>>;
1294
1504
  pod: import("@feathersjs/typebox").TString<string>;
1295
1505
  host: import("@feathersjs/typebox").TString<string>;
1296
1506
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
@@ -1311,17 +1521,42 @@ export type StrategiesPatch = Static<typeof strategiesPatchSchema>;
1311
1521
  export declare const strategiesPatchValidator: import("@feathersjs/schema").Validator<any, any>;
1312
1522
  export declare const strategiesPatchResolver: import("@feathersjs/schema").Resolver<{
1313
1523
  _id?: string | {} | undefined;
1314
- createdAt?: any;
1315
- updatedAt?: any;
1316
- 'strategies/templates'?: {
1317
- _id?: string | {} | undefined;
1318
- values: any;
1319
- name: string;
1320
- createdAt: any;
1321
- description: string;
1322
- type: string;
1323
- } | undefined;
1324
1524
  traders?: {
1525
+ telegram?: {
1526
+ access_hash?: string | null | undefined;
1527
+ invite_link?: string | undefined;
1528
+ enabled: boolean;
1529
+ token: string;
1530
+ chat_id: any;
1531
+ allow_custom_messages: boolean;
1532
+ notification_settings: {
1533
+ status: "silent" | "on" | "off";
1534
+ entry: "silent" | "on" | "off";
1535
+ exit: {
1536
+ roi: "silent" | "on" | "off";
1537
+ emergency_exit: "silent" | "on" | "off";
1538
+ force_exit: "silent" | "on" | "off";
1539
+ exit_signal: "silent" | "on" | "off";
1540
+ trailing_stop_loss: "silent" | "on" | "off";
1541
+ stop_loss: "silent" | "on" | "off";
1542
+ stoploss_on_exchange: "silent" | "on" | "off";
1543
+ custom_exit: "silent" | "on" | "off";
1544
+ partial_exit: "silent" | "on" | "off";
1545
+ };
1546
+ warning: "silent" | "on" | "off";
1547
+ startup: "silent" | "on" | "off";
1548
+ entry_fill: "silent" | "on" | "off";
1549
+ entry_cancel: "silent" | "on" | "off";
1550
+ exit_cancel: "silent" | "on" | "off";
1551
+ exit_fill: "silent" | "on" | "off";
1552
+ protection_trigger: "silent" | "on" | "off";
1553
+ protection_trigger_global: "silent" | "on" | "off";
1554
+ strategy_msg: "silent" | "on" | "off";
1555
+ show_candle: "off" | "ohlc";
1556
+ };
1557
+ reload: boolean;
1558
+ balance_dust_level: number;
1559
+ } | undefined;
1325
1560
  dry_run_wallet?: number | undefined;
1326
1561
  max_open_trades?: number | undefined;
1327
1562
  plugins?: {
@@ -1342,15 +1577,15 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1342
1577
  tradable_balance_ratio?: number | undefined;
1343
1578
  webhook?: {
1344
1579
  url: string;
1345
- format: string;
1346
1580
  enabled: boolean;
1581
+ format: string;
1347
1582
  webhookstatus: {
1348
1583
  traderId: any;
1349
1584
  event: string;
1350
1585
  status: string;
1351
1586
  userId: string;
1352
1587
  };
1353
- webhookbuy: {
1588
+ webhookentry: {
1354
1589
  limit: string;
1355
1590
  traderId: any;
1356
1591
  stake_amount: string;
@@ -1360,7 +1595,7 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1360
1595
  pair: string;
1361
1596
  fiat_currency: string;
1362
1597
  };
1363
- webhookbuycancel: {
1598
+ webhookentrycancel: {
1364
1599
  limit: string;
1365
1600
  traderId: any;
1366
1601
  stake_amount: string;
@@ -1370,7 +1605,7 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1370
1605
  pair: string;
1371
1606
  fiat_currency: string;
1372
1607
  };
1373
- webhookbuyfill: {
1608
+ webhookentryfill: {
1374
1609
  traderId: any;
1375
1610
  stake_amount: string;
1376
1611
  stake_currency: string;
@@ -1382,7 +1617,7 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1382
1617
  amount: string;
1383
1618
  open_date: string;
1384
1619
  };
1385
- webhooksell: {
1620
+ webhookexit: {
1386
1621
  limit: string;
1387
1622
  traderId: any;
1388
1623
  stake_currency: string;
@@ -1397,10 +1632,10 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1397
1632
  profit_amount: string;
1398
1633
  profit_ratio: string;
1399
1634
  close_date: string;
1400
- sell_reason: string;
1635
+ exit_reason: string;
1401
1636
  order_type: string;
1402
1637
  };
1403
- webhooksellcancel: {
1638
+ webhookexitcancel: {
1404
1639
  limit: string;
1405
1640
  traderId: any;
1406
1641
  stake_currency: string;
@@ -1410,7 +1645,7 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1410
1645
  profit_amount: string;
1411
1646
  profit_ratio: string;
1412
1647
  };
1413
- webhooksellfill: {
1648
+ webhookexitfill: {
1414
1649
  traderId: any;
1415
1650
  event: string;
1416
1651
  userId: string;
@@ -1469,6 +1704,16 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1469
1704
  };
1470
1705
  pod: string;
1471
1706
  }[] | undefined;
1707
+ createdAt?: any;
1708
+ updatedAt?: any;
1709
+ 'strategies/templates'?: {
1710
+ _id?: string | {} | undefined;
1711
+ values: any;
1712
+ name: string;
1713
+ createdAt: any;
1714
+ description: string;
1715
+ type: string;
1716
+ } | undefined;
1472
1717
  stoploss?: number | undefined;
1473
1718
  minimal_roi?: {
1474
1719
  minutes: number;
@@ -1487,10 +1732,10 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1487
1732
  stoploss?: string | undefined;
1488
1733
  entry?: "Limit" | "Market" | undefined;
1489
1734
  exit?: "Limit" | "Market" | undefined;
1735
+ stoploss_on_exchange?: boolean | undefined;
1490
1736
  emergencysell?: "Limit" | "Market" | undefined;
1491
1737
  forcebuy?: "Limit" | "Market" | undefined;
1492
1738
  forcesell?: "Limit" | "Market" | undefined;
1493
- stoploss_on_exchange?: boolean | undefined;
1494
1739
  stoploss_on_exchange_interval?: number | undefined;
1495
1740
  stoploss_on_exchange_limit_ratio?: number | undefined;
1496
1741
  } | undefined;
@@ -1633,7 +1878,7 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
1633
1878
  traderId: import("@feathersjs/typebox").TAny;
1634
1879
  userId: import("@feathersjs/typebox").TString<string>;
1635
1880
  }>;
1636
- webhookbuy: import("@feathersjs/typebox").TObject<{
1881
+ webhookentry: import("@feathersjs/typebox").TObject<{
1637
1882
  event: import("@feathersjs/typebox").TString<string>;
1638
1883
  traderId: import("@feathersjs/typebox").TAny;
1639
1884
  userId: import("@feathersjs/typebox").TString<string>;
@@ -1643,7 +1888,7 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
1643
1888
  stake_currency: import("@feathersjs/typebox").TString<string>;
1644
1889
  fiat_currency: import("@feathersjs/typebox").TString<string>;
1645
1890
  }>;
1646
- webhookbuycancel: import("@feathersjs/typebox").TObject<{
1891
+ webhookentrycancel: import("@feathersjs/typebox").TObject<{
1647
1892
  event: import("@feathersjs/typebox").TString<string>;
1648
1893
  traderId: import("@feathersjs/typebox").TAny;
1649
1894
  userId: import("@feathersjs/typebox").TString<string>;
@@ -1653,7 +1898,7 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
1653
1898
  stake_currency: import("@feathersjs/typebox").TString<string>;
1654
1899
  fiat_currency: import("@feathersjs/typebox").TString<string>;
1655
1900
  }>;
1656
- webhookbuyfill: import("@feathersjs/typebox").TObject<{
1901
+ webhookentryfill: import("@feathersjs/typebox").TObject<{
1657
1902
  event: import("@feathersjs/typebox").TString<string>;
1658
1903
  userId: import("@feathersjs/typebox").TString<string>;
1659
1904
  traderId: import("@feathersjs/typebox").TAny;
@@ -1665,7 +1910,7 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
1665
1910
  stake_amount: import("@feathersjs/typebox").TString<string>;
1666
1911
  stake_currency: import("@feathersjs/typebox").TString<string>;
1667
1912
  }>;
1668
- webhooksell: import("@feathersjs/typebox").TObject<{
1913
+ webhookexit: import("@feathersjs/typebox").TObject<{
1669
1914
  event: import("@feathersjs/typebox").TString<string>;
1670
1915
  traderId: import("@feathersjs/typebox").TAny;
1671
1916
  userId: import("@feathersjs/typebox").TString<string>;
@@ -1680,10 +1925,10 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
1680
1925
  profit_ratio: import("@feathersjs/typebox").TString<string>;
1681
1926
  open_date: import("@feathersjs/typebox").TString<string>;
1682
1927
  close_date: import("@feathersjs/typebox").TString<string>;
1683
- sell_reason: import("@feathersjs/typebox").TString<string>;
1928
+ exit_reason: import("@feathersjs/typebox").TString<string>;
1684
1929
  order_type: import("@feathersjs/typebox").TString<string>;
1685
1930
  }>;
1686
- webhooksellcancel: import("@feathersjs/typebox").TObject<{
1931
+ webhookexitcancel: import("@feathersjs/typebox").TObject<{
1687
1932
  event: import("@feathersjs/typebox").TString<string>;
1688
1933
  traderId: import("@feathersjs/typebox").TAny;
1689
1934
  userId: import("@feathersjs/typebox").TString<string>;
@@ -1693,7 +1938,7 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
1693
1938
  stake_currency: import("@feathersjs/typebox").TString<string>;
1694
1939
  profit_ratio: import("@feathersjs/typebox").TString<string>;
1695
1940
  }>;
1696
- webhooksellfill: import("@feathersjs/typebox").TObject<{
1941
+ webhookexitfill: import("@feathersjs/typebox").TObject<{
1697
1942
  event: import("@feathersjs/typebox").TString<string>;
1698
1943
  traderId: import("@feathersjs/typebox").TAny;
1699
1944
  userId: import("@feathersjs/typebox").TString<string>;
@@ -1727,6 +1972,41 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
1727
1972
  username: import("@feathersjs/typebox").TString<string>;
1728
1973
  password: import("@feathersjs/typebox").TString<string>;
1729
1974
  }>;
1975
+ telegram: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
1976
+ enabled: import("@feathersjs/typebox").TBoolean;
1977
+ token: import("@feathersjs/typebox").TString<string>;
1978
+ chat_id: import("@feathersjs/typebox").TAny;
1979
+ access_hash: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TNull]>>;
1980
+ invite_link: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1981
+ allow_custom_messages: import("@feathersjs/typebox").TBoolean;
1982
+ notification_settings: import("@feathersjs/typebox").TObject<{
1983
+ status: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1984
+ warning: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1985
+ startup: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1986
+ entry: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1987
+ entry_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1988
+ entry_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1989
+ exit: import("@feathersjs/typebox").TObject<{
1990
+ roi: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1991
+ emergency_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1992
+ force_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1993
+ exit_signal: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1994
+ trailing_stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1995
+ stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1996
+ stoploss_on_exchange: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1997
+ custom_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1998
+ partial_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
1999
+ }>;
2000
+ exit_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
2001
+ exit_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
2002
+ protection_trigger: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
2003
+ protection_trigger_global: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
2004
+ strategy_msg: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
2005
+ show_candle: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"ohlc">]>;
2006
+ }>;
2007
+ reload: import("@feathersjs/typebox").TBoolean;
2008
+ balance_dust_level: import("@feathersjs/typebox").TNumber;
2009
+ }>>;
1730
2010
  pod: import("@feathersjs/typebox").TString<string>;
1731
2011
  host: import("@feathersjs/typebox").TString<string>;
1732
2012
  provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;