@cryptorobot.ai/client 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/configuration.d.ts +9 -0
- package/lib/helpers/logging.helper.d.ts +6 -6
- package/lib/helpers/queue.helper.d.ts +5 -0
- package/lib/helpers/telegram.helper.d.ts +7 -0
- package/lib/helpers/trader.helper.d.ts +2 -0
- package/lib/hooks/bootstrap-user-exchanges.d.ts +2 -0
- package/lib/hooks/bootstrap-user-strategies.d.ts +2 -0
- package/lib/hooks/bootstrap-user-telegram.d.ts +2 -0
- package/lib/hooks/bootstrap-user-traders.d.ts +2 -0
- package/lib/hooks/setup-cronjobs.d.ts +2 -0
- package/lib/hooks/setup-queues.d.ts +3 -0
- package/lib/hooks/setup-telegram-client.d.ts +3 -0
- package/lib/hooks/telegram-create-group.d.ts +2 -0
- package/lib/hooks/telegram-delete-group.d.ts +2 -0
- package/lib/hooks/telegram-update-group.d.ts +2 -0
- package/lib/hooks/tickers-fetch.d.ts +1 -1
- package/lib/hooks/traders/pods-process-worker.d.ts +1 -1
- package/lib/services/exchanges/balance/balance.schema.d.ts +4 -12
- package/lib/services/exchanges/download/download.schema.d.ts +8 -16
- package/lib/services/exchanges/exchanges.schema.d.ts +57 -15
- package/lib/services/exchanges/ticker/ticker.schema.d.ts +4 -12
- package/lib/services/messages/messages.schema.d.ts +101 -3
- package/lib/services/strategies/strategies.schema.d.ts +360 -80
- package/lib/services/traders/pods/api/api.schema.d.ts +1044 -212
- package/lib/services/traders/pods/pods.schema.d.ts +704 -152
- package/lib/services/traders/traders.schema.d.ts +340 -60
- package/lib/services/users/users.schema.d.ts +16 -0
- package/lib/telegram-get-credentials.d.ts +1 -0
- package/package.json +1 -1
|
@@ -49,7 +49,7 @@ export declare const tradersSchema: import("@feathersjs/typebox").TObject<{
|
|
|
49
49
|
traderId: import("@feathersjs/typebox").TAny;
|
|
50
50
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
51
51
|
}>;
|
|
52
|
-
|
|
52
|
+
webhookentry: import("@feathersjs/typebox").TObject<{
|
|
53
53
|
event: import("@feathersjs/typebox").TString<string>;
|
|
54
54
|
traderId: import("@feathersjs/typebox").TAny;
|
|
55
55
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -59,7 +59,7 @@ export declare const tradersSchema: import("@feathersjs/typebox").TObject<{
|
|
|
59
59
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
60
60
|
fiat_currency: import("@feathersjs/typebox").TString<string>;
|
|
61
61
|
}>;
|
|
62
|
-
|
|
62
|
+
webhookentrycancel: import("@feathersjs/typebox").TObject<{
|
|
63
63
|
event: import("@feathersjs/typebox").TString<string>;
|
|
64
64
|
traderId: import("@feathersjs/typebox").TAny;
|
|
65
65
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -69,7 +69,7 @@ export declare const tradersSchema: import("@feathersjs/typebox").TObject<{
|
|
|
69
69
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
70
70
|
fiat_currency: import("@feathersjs/typebox").TString<string>;
|
|
71
71
|
}>;
|
|
72
|
-
|
|
72
|
+
webhookentryfill: import("@feathersjs/typebox").TObject<{
|
|
73
73
|
event: import("@feathersjs/typebox").TString<string>;
|
|
74
74
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
75
75
|
traderId: import("@feathersjs/typebox").TAny;
|
|
@@ -81,7 +81,7 @@ export declare const tradersSchema: import("@feathersjs/typebox").TObject<{
|
|
|
81
81
|
stake_amount: import("@feathersjs/typebox").TString<string>;
|
|
82
82
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
83
83
|
}>;
|
|
84
|
-
|
|
84
|
+
webhookexit: import("@feathersjs/typebox").TObject<{
|
|
85
85
|
event: import("@feathersjs/typebox").TString<string>;
|
|
86
86
|
traderId: import("@feathersjs/typebox").TAny;
|
|
87
87
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -96,10 +96,10 @@ export declare const tradersSchema: import("@feathersjs/typebox").TObject<{
|
|
|
96
96
|
profit_ratio: import("@feathersjs/typebox").TString<string>;
|
|
97
97
|
open_date: import("@feathersjs/typebox").TString<string>;
|
|
98
98
|
close_date: import("@feathersjs/typebox").TString<string>;
|
|
99
|
-
|
|
99
|
+
exit_reason: import("@feathersjs/typebox").TString<string>;
|
|
100
100
|
order_type: import("@feathersjs/typebox").TString<string>;
|
|
101
101
|
}>;
|
|
102
|
-
|
|
102
|
+
webhookexitcancel: import("@feathersjs/typebox").TObject<{
|
|
103
103
|
event: import("@feathersjs/typebox").TString<string>;
|
|
104
104
|
traderId: import("@feathersjs/typebox").TAny;
|
|
105
105
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -109,7 +109,7 @@ export declare const tradersSchema: import("@feathersjs/typebox").TObject<{
|
|
|
109
109
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
110
110
|
profit_ratio: import("@feathersjs/typebox").TString<string>;
|
|
111
111
|
}>;
|
|
112
|
-
|
|
112
|
+
webhookexitfill: import("@feathersjs/typebox").TObject<{
|
|
113
113
|
event: import("@feathersjs/typebox").TString<string>;
|
|
114
114
|
traderId: import("@feathersjs/typebox").TAny;
|
|
115
115
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -143,6 +143,41 @@ export declare const tradersSchema: import("@feathersjs/typebox").TObject<{
|
|
|
143
143
|
username: import("@feathersjs/typebox").TString<string>;
|
|
144
144
|
password: import("@feathersjs/typebox").TString<string>;
|
|
145
145
|
}>;
|
|
146
|
+
telegram: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
147
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
148
|
+
token: import("@feathersjs/typebox").TString<string>;
|
|
149
|
+
chat_id: import("@feathersjs/typebox").TAny;
|
|
150
|
+
access_hash: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TNull]>>;
|
|
151
|
+
invite_link: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
152
|
+
allow_custom_messages: import("@feathersjs/typebox").TBoolean;
|
|
153
|
+
notification_settings: import("@feathersjs/typebox").TObject<{
|
|
154
|
+
status: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
155
|
+
warning: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
156
|
+
startup: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
157
|
+
entry: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
158
|
+
entry_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
159
|
+
entry_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
160
|
+
exit: import("@feathersjs/typebox").TObject<{
|
|
161
|
+
roi: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
162
|
+
emergency_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
163
|
+
force_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
164
|
+
exit_signal: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
165
|
+
trailing_stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
166
|
+
stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
167
|
+
stoploss_on_exchange: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
168
|
+
custom_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
169
|
+
partial_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
170
|
+
}>;
|
|
171
|
+
exit_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
172
|
+
exit_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
173
|
+
protection_trigger: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
174
|
+
protection_trigger_global: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
175
|
+
strategy_msg: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
176
|
+
show_candle: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"ohlc">]>;
|
|
177
|
+
}>;
|
|
178
|
+
reload: import("@feathersjs/typebox").TBoolean;
|
|
179
|
+
balance_dust_level: import("@feathersjs/typebox").TNumber;
|
|
180
|
+
}>>;
|
|
146
181
|
pod: import("@feathersjs/typebox").TString<string>;
|
|
147
182
|
host: import("@feathersjs/typebox").TString<string>;
|
|
148
183
|
provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
|
|
@@ -152,6 +187,41 @@ export declare const tradersSchema: import("@feathersjs/typebox").TObject<{
|
|
|
152
187
|
export type Traders = Static<typeof tradersSchema>;
|
|
153
188
|
export declare const tradersValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
154
189
|
export declare const tradersResolver: import("@feathersjs/schema").Resolver<{
|
|
190
|
+
telegram?: {
|
|
191
|
+
access_hash?: string | null | undefined;
|
|
192
|
+
invite_link?: string | undefined;
|
|
193
|
+
enabled: boolean;
|
|
194
|
+
token: string;
|
|
195
|
+
chat_id: any;
|
|
196
|
+
allow_custom_messages: boolean;
|
|
197
|
+
notification_settings: {
|
|
198
|
+
status: "silent" | "on" | "off";
|
|
199
|
+
entry: "silent" | "on" | "off";
|
|
200
|
+
exit: {
|
|
201
|
+
roi: "silent" | "on" | "off";
|
|
202
|
+
emergency_exit: "silent" | "on" | "off";
|
|
203
|
+
force_exit: "silent" | "on" | "off";
|
|
204
|
+
exit_signal: "silent" | "on" | "off";
|
|
205
|
+
trailing_stop_loss: "silent" | "on" | "off";
|
|
206
|
+
stop_loss: "silent" | "on" | "off";
|
|
207
|
+
stoploss_on_exchange: "silent" | "on" | "off";
|
|
208
|
+
custom_exit: "silent" | "on" | "off";
|
|
209
|
+
partial_exit: "silent" | "on" | "off";
|
|
210
|
+
};
|
|
211
|
+
warning: "silent" | "on" | "off";
|
|
212
|
+
startup: "silent" | "on" | "off";
|
|
213
|
+
entry_fill: "silent" | "on" | "off";
|
|
214
|
+
entry_cancel: "silent" | "on" | "off";
|
|
215
|
+
exit_cancel: "silent" | "on" | "off";
|
|
216
|
+
exit_fill: "silent" | "on" | "off";
|
|
217
|
+
protection_trigger: "silent" | "on" | "off";
|
|
218
|
+
protection_trigger_global: "silent" | "on" | "off";
|
|
219
|
+
strategy_msg: "silent" | "on" | "off";
|
|
220
|
+
show_candle: "off" | "ohlc";
|
|
221
|
+
};
|
|
222
|
+
reload: boolean;
|
|
223
|
+
balance_dust_level: number;
|
|
224
|
+
} | undefined;
|
|
155
225
|
dry_run_wallet?: number | undefined;
|
|
156
226
|
max_open_trades?: number | undefined;
|
|
157
227
|
plugins?: {
|
|
@@ -172,15 +242,15 @@ export declare const tradersResolver: import("@feathersjs/schema").Resolver<{
|
|
|
172
242
|
tradable_balance_ratio?: number | undefined;
|
|
173
243
|
webhook?: {
|
|
174
244
|
url: string;
|
|
175
|
-
format: string;
|
|
176
245
|
enabled: boolean;
|
|
246
|
+
format: string;
|
|
177
247
|
webhookstatus: {
|
|
178
248
|
traderId: any;
|
|
179
249
|
event: string;
|
|
180
250
|
status: string;
|
|
181
251
|
userId: string;
|
|
182
252
|
};
|
|
183
|
-
|
|
253
|
+
webhookentry: {
|
|
184
254
|
limit: string;
|
|
185
255
|
traderId: any;
|
|
186
256
|
stake_amount: string;
|
|
@@ -190,7 +260,7 @@ export declare const tradersResolver: import("@feathersjs/schema").Resolver<{
|
|
|
190
260
|
pair: string;
|
|
191
261
|
fiat_currency: string;
|
|
192
262
|
};
|
|
193
|
-
|
|
263
|
+
webhookentrycancel: {
|
|
194
264
|
limit: string;
|
|
195
265
|
traderId: any;
|
|
196
266
|
stake_amount: string;
|
|
@@ -200,7 +270,7 @@ export declare const tradersResolver: import("@feathersjs/schema").Resolver<{
|
|
|
200
270
|
pair: string;
|
|
201
271
|
fiat_currency: string;
|
|
202
272
|
};
|
|
203
|
-
|
|
273
|
+
webhookentryfill: {
|
|
204
274
|
traderId: any;
|
|
205
275
|
stake_amount: string;
|
|
206
276
|
stake_currency: string;
|
|
@@ -212,7 +282,7 @@ export declare const tradersResolver: import("@feathersjs/schema").Resolver<{
|
|
|
212
282
|
amount: string;
|
|
213
283
|
open_date: string;
|
|
214
284
|
};
|
|
215
|
-
|
|
285
|
+
webhookexit: {
|
|
216
286
|
limit: string;
|
|
217
287
|
traderId: any;
|
|
218
288
|
stake_currency: string;
|
|
@@ -227,10 +297,10 @@ export declare const tradersResolver: import("@feathersjs/schema").Resolver<{
|
|
|
227
297
|
profit_amount: string;
|
|
228
298
|
profit_ratio: string;
|
|
229
299
|
close_date: string;
|
|
230
|
-
|
|
300
|
+
exit_reason: string;
|
|
231
301
|
order_type: string;
|
|
232
302
|
};
|
|
233
|
-
|
|
303
|
+
webhookexitcancel: {
|
|
234
304
|
limit: string;
|
|
235
305
|
traderId: any;
|
|
236
306
|
stake_currency: string;
|
|
@@ -240,7 +310,7 @@ export declare const tradersResolver: import("@feathersjs/schema").Resolver<{
|
|
|
240
310
|
profit_amount: string;
|
|
241
311
|
profit_ratio: string;
|
|
242
312
|
};
|
|
243
|
-
|
|
313
|
+
webhookexitfill: {
|
|
244
314
|
traderId: any;
|
|
245
315
|
event: string;
|
|
246
316
|
userId: string;
|
|
@@ -300,6 +370,41 @@ export declare const tradersResolver: import("@feathersjs/schema").Resolver<{
|
|
|
300
370
|
pod: string;
|
|
301
371
|
}, HookContext<TradersService<import("./traders.class").TradersParams>>>;
|
|
302
372
|
export declare const tradersExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
373
|
+
telegram?: {
|
|
374
|
+
access_hash?: string | null | undefined;
|
|
375
|
+
invite_link?: string | undefined;
|
|
376
|
+
enabled: boolean;
|
|
377
|
+
token: string;
|
|
378
|
+
chat_id: any;
|
|
379
|
+
allow_custom_messages: boolean;
|
|
380
|
+
notification_settings: {
|
|
381
|
+
status: "silent" | "on" | "off";
|
|
382
|
+
entry: "silent" | "on" | "off";
|
|
383
|
+
exit: {
|
|
384
|
+
roi: "silent" | "on" | "off";
|
|
385
|
+
emergency_exit: "silent" | "on" | "off";
|
|
386
|
+
force_exit: "silent" | "on" | "off";
|
|
387
|
+
exit_signal: "silent" | "on" | "off";
|
|
388
|
+
trailing_stop_loss: "silent" | "on" | "off";
|
|
389
|
+
stop_loss: "silent" | "on" | "off";
|
|
390
|
+
stoploss_on_exchange: "silent" | "on" | "off";
|
|
391
|
+
custom_exit: "silent" | "on" | "off";
|
|
392
|
+
partial_exit: "silent" | "on" | "off";
|
|
393
|
+
};
|
|
394
|
+
warning: "silent" | "on" | "off";
|
|
395
|
+
startup: "silent" | "on" | "off";
|
|
396
|
+
entry_fill: "silent" | "on" | "off";
|
|
397
|
+
entry_cancel: "silent" | "on" | "off";
|
|
398
|
+
exit_cancel: "silent" | "on" | "off";
|
|
399
|
+
exit_fill: "silent" | "on" | "off";
|
|
400
|
+
protection_trigger: "silent" | "on" | "off";
|
|
401
|
+
protection_trigger_global: "silent" | "on" | "off";
|
|
402
|
+
strategy_msg: "silent" | "on" | "off";
|
|
403
|
+
show_candle: "off" | "ohlc";
|
|
404
|
+
};
|
|
405
|
+
reload: boolean;
|
|
406
|
+
balance_dust_level: number;
|
|
407
|
+
} | undefined;
|
|
303
408
|
dry_run_wallet?: number | undefined;
|
|
304
409
|
max_open_trades?: number | undefined;
|
|
305
410
|
plugins?: {
|
|
@@ -320,15 +425,15 @@ export declare const tradersExternalResolver: import("@feathersjs/schema").Resol
|
|
|
320
425
|
tradable_balance_ratio?: number | undefined;
|
|
321
426
|
webhook?: {
|
|
322
427
|
url: string;
|
|
323
|
-
format: string;
|
|
324
428
|
enabled: boolean;
|
|
429
|
+
format: string;
|
|
325
430
|
webhookstatus: {
|
|
326
431
|
traderId: any;
|
|
327
432
|
event: string;
|
|
328
433
|
status: string;
|
|
329
434
|
userId: string;
|
|
330
435
|
};
|
|
331
|
-
|
|
436
|
+
webhookentry: {
|
|
332
437
|
limit: string;
|
|
333
438
|
traderId: any;
|
|
334
439
|
stake_amount: string;
|
|
@@ -338,7 +443,7 @@ export declare const tradersExternalResolver: import("@feathersjs/schema").Resol
|
|
|
338
443
|
pair: string;
|
|
339
444
|
fiat_currency: string;
|
|
340
445
|
};
|
|
341
|
-
|
|
446
|
+
webhookentrycancel: {
|
|
342
447
|
limit: string;
|
|
343
448
|
traderId: any;
|
|
344
449
|
stake_amount: string;
|
|
@@ -348,7 +453,7 @@ export declare const tradersExternalResolver: import("@feathersjs/schema").Resol
|
|
|
348
453
|
pair: string;
|
|
349
454
|
fiat_currency: string;
|
|
350
455
|
};
|
|
351
|
-
|
|
456
|
+
webhookentryfill: {
|
|
352
457
|
traderId: any;
|
|
353
458
|
stake_amount: string;
|
|
354
459
|
stake_currency: string;
|
|
@@ -360,7 +465,7 @@ export declare const tradersExternalResolver: import("@feathersjs/schema").Resol
|
|
|
360
465
|
amount: string;
|
|
361
466
|
open_date: string;
|
|
362
467
|
};
|
|
363
|
-
|
|
468
|
+
webhookexit: {
|
|
364
469
|
limit: string;
|
|
365
470
|
traderId: any;
|
|
366
471
|
stake_currency: string;
|
|
@@ -375,10 +480,10 @@ export declare const tradersExternalResolver: import("@feathersjs/schema").Resol
|
|
|
375
480
|
profit_amount: string;
|
|
376
481
|
profit_ratio: string;
|
|
377
482
|
close_date: string;
|
|
378
|
-
|
|
483
|
+
exit_reason: string;
|
|
379
484
|
order_type: string;
|
|
380
485
|
};
|
|
381
|
-
|
|
486
|
+
webhookexitcancel: {
|
|
382
487
|
limit: string;
|
|
383
488
|
traderId: any;
|
|
384
489
|
stake_currency: string;
|
|
@@ -388,7 +493,7 @@ export declare const tradersExternalResolver: import("@feathersjs/schema").Resol
|
|
|
388
493
|
profit_amount: string;
|
|
389
494
|
profit_ratio: string;
|
|
390
495
|
};
|
|
391
|
-
|
|
496
|
+
webhookexitfill: {
|
|
392
497
|
traderId: any;
|
|
393
498
|
event: string;
|
|
394
499
|
userId: string;
|
|
@@ -495,7 +600,7 @@ export declare const tradersDataSchema: import("@feathersjs/typebox").TPick<impo
|
|
|
495
600
|
traderId: import("@feathersjs/typebox").TAny;
|
|
496
601
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
497
602
|
}>;
|
|
498
|
-
|
|
603
|
+
webhookentry: import("@feathersjs/typebox").TObject<{
|
|
499
604
|
event: import("@feathersjs/typebox").TString<string>;
|
|
500
605
|
traderId: import("@feathersjs/typebox").TAny;
|
|
501
606
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -505,7 +610,7 @@ export declare const tradersDataSchema: import("@feathersjs/typebox").TPick<impo
|
|
|
505
610
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
506
611
|
fiat_currency: import("@feathersjs/typebox").TString<string>;
|
|
507
612
|
}>;
|
|
508
|
-
|
|
613
|
+
webhookentrycancel: import("@feathersjs/typebox").TObject<{
|
|
509
614
|
event: import("@feathersjs/typebox").TString<string>;
|
|
510
615
|
traderId: import("@feathersjs/typebox").TAny;
|
|
511
616
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -515,7 +620,7 @@ export declare const tradersDataSchema: import("@feathersjs/typebox").TPick<impo
|
|
|
515
620
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
516
621
|
fiat_currency: import("@feathersjs/typebox").TString<string>;
|
|
517
622
|
}>;
|
|
518
|
-
|
|
623
|
+
webhookentryfill: import("@feathersjs/typebox").TObject<{
|
|
519
624
|
event: import("@feathersjs/typebox").TString<string>;
|
|
520
625
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
521
626
|
traderId: import("@feathersjs/typebox").TAny;
|
|
@@ -527,7 +632,7 @@ export declare const tradersDataSchema: import("@feathersjs/typebox").TPick<impo
|
|
|
527
632
|
stake_amount: import("@feathersjs/typebox").TString<string>;
|
|
528
633
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
529
634
|
}>;
|
|
530
|
-
|
|
635
|
+
webhookexit: import("@feathersjs/typebox").TObject<{
|
|
531
636
|
event: import("@feathersjs/typebox").TString<string>;
|
|
532
637
|
traderId: import("@feathersjs/typebox").TAny;
|
|
533
638
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -542,10 +647,10 @@ export declare const tradersDataSchema: import("@feathersjs/typebox").TPick<impo
|
|
|
542
647
|
profit_ratio: import("@feathersjs/typebox").TString<string>;
|
|
543
648
|
open_date: import("@feathersjs/typebox").TString<string>;
|
|
544
649
|
close_date: import("@feathersjs/typebox").TString<string>;
|
|
545
|
-
|
|
650
|
+
exit_reason: import("@feathersjs/typebox").TString<string>;
|
|
546
651
|
order_type: import("@feathersjs/typebox").TString<string>;
|
|
547
652
|
}>;
|
|
548
|
-
|
|
653
|
+
webhookexitcancel: import("@feathersjs/typebox").TObject<{
|
|
549
654
|
event: import("@feathersjs/typebox").TString<string>;
|
|
550
655
|
traderId: import("@feathersjs/typebox").TAny;
|
|
551
656
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -555,7 +660,7 @@ export declare const tradersDataSchema: import("@feathersjs/typebox").TPick<impo
|
|
|
555
660
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
556
661
|
profit_ratio: import("@feathersjs/typebox").TString<string>;
|
|
557
662
|
}>;
|
|
558
|
-
|
|
663
|
+
webhookexitfill: import("@feathersjs/typebox").TObject<{
|
|
559
664
|
event: import("@feathersjs/typebox").TString<string>;
|
|
560
665
|
traderId: import("@feathersjs/typebox").TAny;
|
|
561
666
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -589,6 +694,41 @@ export declare const tradersDataSchema: import("@feathersjs/typebox").TPick<impo
|
|
|
589
694
|
username: import("@feathersjs/typebox").TString<string>;
|
|
590
695
|
password: import("@feathersjs/typebox").TString<string>;
|
|
591
696
|
}>;
|
|
697
|
+
telegram: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
698
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
699
|
+
token: import("@feathersjs/typebox").TString<string>;
|
|
700
|
+
chat_id: import("@feathersjs/typebox").TAny;
|
|
701
|
+
access_hash: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TNull]>>;
|
|
702
|
+
invite_link: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
703
|
+
allow_custom_messages: import("@feathersjs/typebox").TBoolean;
|
|
704
|
+
notification_settings: import("@feathersjs/typebox").TObject<{
|
|
705
|
+
status: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
706
|
+
warning: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
707
|
+
startup: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
708
|
+
entry: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
709
|
+
entry_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
710
|
+
entry_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
711
|
+
exit: import("@feathersjs/typebox").TObject<{
|
|
712
|
+
roi: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
713
|
+
emergency_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
714
|
+
force_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
715
|
+
exit_signal: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
716
|
+
trailing_stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
717
|
+
stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
718
|
+
stoploss_on_exchange: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
719
|
+
custom_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
720
|
+
partial_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
721
|
+
}>;
|
|
722
|
+
exit_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
723
|
+
exit_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
724
|
+
protection_trigger: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
725
|
+
protection_trigger_global: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
726
|
+
strategy_msg: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
727
|
+
show_candle: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"ohlc">]>;
|
|
728
|
+
}>;
|
|
729
|
+
reload: import("@feathersjs/typebox").TBoolean;
|
|
730
|
+
balance_dust_level: import("@feathersjs/typebox").TNumber;
|
|
731
|
+
}>>;
|
|
592
732
|
pod: import("@feathersjs/typebox").TString<string>;
|
|
593
733
|
host: import("@feathersjs/typebox").TString<string>;
|
|
594
734
|
provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
|
|
@@ -598,6 +738,41 @@ export declare const tradersDataSchema: import("@feathersjs/typebox").TPick<impo
|
|
|
598
738
|
export type TradersData = Static<typeof tradersDataSchema>;
|
|
599
739
|
export declare const tradersDataValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
600
740
|
export declare const tradersDataResolver: import("@feathersjs/schema").Resolver<{
|
|
741
|
+
telegram?: {
|
|
742
|
+
access_hash?: string | null | undefined;
|
|
743
|
+
invite_link?: string | undefined;
|
|
744
|
+
enabled: boolean;
|
|
745
|
+
token: string;
|
|
746
|
+
chat_id: any;
|
|
747
|
+
allow_custom_messages: boolean;
|
|
748
|
+
notification_settings: {
|
|
749
|
+
status: "silent" | "on" | "off";
|
|
750
|
+
entry: "silent" | "on" | "off";
|
|
751
|
+
exit: {
|
|
752
|
+
roi: "silent" | "on" | "off";
|
|
753
|
+
emergency_exit: "silent" | "on" | "off";
|
|
754
|
+
force_exit: "silent" | "on" | "off";
|
|
755
|
+
exit_signal: "silent" | "on" | "off";
|
|
756
|
+
trailing_stop_loss: "silent" | "on" | "off";
|
|
757
|
+
stop_loss: "silent" | "on" | "off";
|
|
758
|
+
stoploss_on_exchange: "silent" | "on" | "off";
|
|
759
|
+
custom_exit: "silent" | "on" | "off";
|
|
760
|
+
partial_exit: "silent" | "on" | "off";
|
|
761
|
+
};
|
|
762
|
+
warning: "silent" | "on" | "off";
|
|
763
|
+
startup: "silent" | "on" | "off";
|
|
764
|
+
entry_fill: "silent" | "on" | "off";
|
|
765
|
+
entry_cancel: "silent" | "on" | "off";
|
|
766
|
+
exit_cancel: "silent" | "on" | "off";
|
|
767
|
+
exit_fill: "silent" | "on" | "off";
|
|
768
|
+
protection_trigger: "silent" | "on" | "off";
|
|
769
|
+
protection_trigger_global: "silent" | "on" | "off";
|
|
770
|
+
strategy_msg: "silent" | "on" | "off";
|
|
771
|
+
show_candle: "off" | "ohlc";
|
|
772
|
+
};
|
|
773
|
+
reload: boolean;
|
|
774
|
+
balance_dust_level: number;
|
|
775
|
+
} | undefined;
|
|
601
776
|
dry_run_wallet?: number | undefined;
|
|
602
777
|
max_open_trades?: number | undefined;
|
|
603
778
|
plugins?: {
|
|
@@ -618,15 +793,15 @@ export declare const tradersDataResolver: import("@feathersjs/schema").Resolver<
|
|
|
618
793
|
tradable_balance_ratio?: number | undefined;
|
|
619
794
|
webhook?: {
|
|
620
795
|
url: string;
|
|
621
|
-
format: string;
|
|
622
796
|
enabled: boolean;
|
|
797
|
+
format: string;
|
|
623
798
|
webhookstatus: {
|
|
624
799
|
traderId: any;
|
|
625
800
|
event: string;
|
|
626
801
|
status: string;
|
|
627
802
|
userId: string;
|
|
628
803
|
};
|
|
629
|
-
|
|
804
|
+
webhookentry: {
|
|
630
805
|
limit: string;
|
|
631
806
|
traderId: any;
|
|
632
807
|
stake_amount: string;
|
|
@@ -636,7 +811,7 @@ export declare const tradersDataResolver: import("@feathersjs/schema").Resolver<
|
|
|
636
811
|
pair: string;
|
|
637
812
|
fiat_currency: string;
|
|
638
813
|
};
|
|
639
|
-
|
|
814
|
+
webhookentrycancel: {
|
|
640
815
|
limit: string;
|
|
641
816
|
traderId: any;
|
|
642
817
|
stake_amount: string;
|
|
@@ -646,7 +821,7 @@ export declare const tradersDataResolver: import("@feathersjs/schema").Resolver<
|
|
|
646
821
|
pair: string;
|
|
647
822
|
fiat_currency: string;
|
|
648
823
|
};
|
|
649
|
-
|
|
824
|
+
webhookentryfill: {
|
|
650
825
|
traderId: any;
|
|
651
826
|
stake_amount: string;
|
|
652
827
|
stake_currency: string;
|
|
@@ -658,7 +833,7 @@ export declare const tradersDataResolver: import("@feathersjs/schema").Resolver<
|
|
|
658
833
|
amount: string;
|
|
659
834
|
open_date: string;
|
|
660
835
|
};
|
|
661
|
-
|
|
836
|
+
webhookexit: {
|
|
662
837
|
limit: string;
|
|
663
838
|
traderId: any;
|
|
664
839
|
stake_currency: string;
|
|
@@ -673,10 +848,10 @@ export declare const tradersDataResolver: import("@feathersjs/schema").Resolver<
|
|
|
673
848
|
profit_amount: string;
|
|
674
849
|
profit_ratio: string;
|
|
675
850
|
close_date: string;
|
|
676
|
-
|
|
851
|
+
exit_reason: string;
|
|
677
852
|
order_type: string;
|
|
678
853
|
};
|
|
679
|
-
|
|
854
|
+
webhookexitcancel: {
|
|
680
855
|
limit: string;
|
|
681
856
|
traderId: any;
|
|
682
857
|
stake_currency: string;
|
|
@@ -686,7 +861,7 @@ export declare const tradersDataResolver: import("@feathersjs/schema").Resolver<
|
|
|
686
861
|
profit_amount: string;
|
|
687
862
|
profit_ratio: string;
|
|
688
863
|
};
|
|
689
|
-
|
|
864
|
+
webhookexitfill: {
|
|
690
865
|
traderId: any;
|
|
691
866
|
event: string;
|
|
692
867
|
userId: string;
|
|
@@ -793,7 +968,7 @@ export declare const tradersPatchSchema: import("@feathersjs/typebox").TPartial<
|
|
|
793
968
|
traderId: import("@feathersjs/typebox").TAny;
|
|
794
969
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
795
970
|
}>;
|
|
796
|
-
|
|
971
|
+
webhookentry: import("@feathersjs/typebox").TObject<{
|
|
797
972
|
event: import("@feathersjs/typebox").TString<string>;
|
|
798
973
|
traderId: import("@feathersjs/typebox").TAny;
|
|
799
974
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -803,7 +978,7 @@ export declare const tradersPatchSchema: import("@feathersjs/typebox").TPartial<
|
|
|
803
978
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
804
979
|
fiat_currency: import("@feathersjs/typebox").TString<string>;
|
|
805
980
|
}>;
|
|
806
|
-
|
|
981
|
+
webhookentrycancel: import("@feathersjs/typebox").TObject<{
|
|
807
982
|
event: import("@feathersjs/typebox").TString<string>;
|
|
808
983
|
traderId: import("@feathersjs/typebox").TAny;
|
|
809
984
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -813,7 +988,7 @@ export declare const tradersPatchSchema: import("@feathersjs/typebox").TPartial<
|
|
|
813
988
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
814
989
|
fiat_currency: import("@feathersjs/typebox").TString<string>;
|
|
815
990
|
}>;
|
|
816
|
-
|
|
991
|
+
webhookentryfill: import("@feathersjs/typebox").TObject<{
|
|
817
992
|
event: import("@feathersjs/typebox").TString<string>;
|
|
818
993
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
819
994
|
traderId: import("@feathersjs/typebox").TAny;
|
|
@@ -825,7 +1000,7 @@ export declare const tradersPatchSchema: import("@feathersjs/typebox").TPartial<
|
|
|
825
1000
|
stake_amount: import("@feathersjs/typebox").TString<string>;
|
|
826
1001
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
827
1002
|
}>;
|
|
828
|
-
|
|
1003
|
+
webhookexit: import("@feathersjs/typebox").TObject<{
|
|
829
1004
|
event: import("@feathersjs/typebox").TString<string>;
|
|
830
1005
|
traderId: import("@feathersjs/typebox").TAny;
|
|
831
1006
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -840,10 +1015,10 @@ export declare const tradersPatchSchema: import("@feathersjs/typebox").TPartial<
|
|
|
840
1015
|
profit_ratio: import("@feathersjs/typebox").TString<string>;
|
|
841
1016
|
open_date: import("@feathersjs/typebox").TString<string>;
|
|
842
1017
|
close_date: import("@feathersjs/typebox").TString<string>;
|
|
843
|
-
|
|
1018
|
+
exit_reason: import("@feathersjs/typebox").TString<string>;
|
|
844
1019
|
order_type: import("@feathersjs/typebox").TString<string>;
|
|
845
1020
|
}>;
|
|
846
|
-
|
|
1021
|
+
webhookexitcancel: import("@feathersjs/typebox").TObject<{
|
|
847
1022
|
event: import("@feathersjs/typebox").TString<string>;
|
|
848
1023
|
traderId: import("@feathersjs/typebox").TAny;
|
|
849
1024
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -853,7 +1028,7 @@ export declare const tradersPatchSchema: import("@feathersjs/typebox").TPartial<
|
|
|
853
1028
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
854
1029
|
profit_ratio: import("@feathersjs/typebox").TString<string>;
|
|
855
1030
|
}>;
|
|
856
|
-
|
|
1031
|
+
webhookexitfill: import("@feathersjs/typebox").TObject<{
|
|
857
1032
|
event: import("@feathersjs/typebox").TString<string>;
|
|
858
1033
|
traderId: import("@feathersjs/typebox").TAny;
|
|
859
1034
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -887,6 +1062,41 @@ export declare const tradersPatchSchema: import("@feathersjs/typebox").TPartial<
|
|
|
887
1062
|
username: import("@feathersjs/typebox").TString<string>;
|
|
888
1063
|
password: import("@feathersjs/typebox").TString<string>;
|
|
889
1064
|
}>;
|
|
1065
|
+
telegram: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
1066
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
1067
|
+
token: import("@feathersjs/typebox").TString<string>;
|
|
1068
|
+
chat_id: import("@feathersjs/typebox").TAny;
|
|
1069
|
+
access_hash: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TNull]>>;
|
|
1070
|
+
invite_link: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
1071
|
+
allow_custom_messages: import("@feathersjs/typebox").TBoolean;
|
|
1072
|
+
notification_settings: import("@feathersjs/typebox").TObject<{
|
|
1073
|
+
status: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1074
|
+
warning: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1075
|
+
startup: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1076
|
+
entry: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1077
|
+
entry_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1078
|
+
entry_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1079
|
+
exit: import("@feathersjs/typebox").TObject<{
|
|
1080
|
+
roi: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1081
|
+
emergency_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1082
|
+
force_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1083
|
+
exit_signal: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1084
|
+
trailing_stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1085
|
+
stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1086
|
+
stoploss_on_exchange: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1087
|
+
custom_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1088
|
+
partial_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1089
|
+
}>;
|
|
1090
|
+
exit_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1091
|
+
exit_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1092
|
+
protection_trigger: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1093
|
+
protection_trigger_global: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1094
|
+
strategy_msg: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1095
|
+
show_candle: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"ohlc">]>;
|
|
1096
|
+
}>;
|
|
1097
|
+
reload: import("@feathersjs/typebox").TBoolean;
|
|
1098
|
+
balance_dust_level: import("@feathersjs/typebox").TNumber;
|
|
1099
|
+
}>>;
|
|
890
1100
|
pod: import("@feathersjs/typebox").TString<string>;
|
|
891
1101
|
host: import("@feathersjs/typebox").TString<string>;
|
|
892
1102
|
provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
|
|
@@ -896,6 +1106,41 @@ export declare const tradersPatchSchema: import("@feathersjs/typebox").TPartial<
|
|
|
896
1106
|
export type TradersPatch = Static<typeof tradersPatchSchema>;
|
|
897
1107
|
export declare const tradersPatchValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
898
1108
|
export declare const tradersPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
1109
|
+
telegram?: {
|
|
1110
|
+
access_hash?: string | null | undefined;
|
|
1111
|
+
invite_link?: string | undefined;
|
|
1112
|
+
enabled: boolean;
|
|
1113
|
+
token: string;
|
|
1114
|
+
chat_id: any;
|
|
1115
|
+
allow_custom_messages: boolean;
|
|
1116
|
+
notification_settings: {
|
|
1117
|
+
status: "silent" | "on" | "off";
|
|
1118
|
+
entry: "silent" | "on" | "off";
|
|
1119
|
+
exit: {
|
|
1120
|
+
roi: "silent" | "on" | "off";
|
|
1121
|
+
emergency_exit: "silent" | "on" | "off";
|
|
1122
|
+
force_exit: "silent" | "on" | "off";
|
|
1123
|
+
exit_signal: "silent" | "on" | "off";
|
|
1124
|
+
trailing_stop_loss: "silent" | "on" | "off";
|
|
1125
|
+
stop_loss: "silent" | "on" | "off";
|
|
1126
|
+
stoploss_on_exchange: "silent" | "on" | "off";
|
|
1127
|
+
custom_exit: "silent" | "on" | "off";
|
|
1128
|
+
partial_exit: "silent" | "on" | "off";
|
|
1129
|
+
};
|
|
1130
|
+
warning: "silent" | "on" | "off";
|
|
1131
|
+
startup: "silent" | "on" | "off";
|
|
1132
|
+
entry_fill: "silent" | "on" | "off";
|
|
1133
|
+
entry_cancel: "silent" | "on" | "off";
|
|
1134
|
+
exit_cancel: "silent" | "on" | "off";
|
|
1135
|
+
exit_fill: "silent" | "on" | "off";
|
|
1136
|
+
protection_trigger: "silent" | "on" | "off";
|
|
1137
|
+
protection_trigger_global: "silent" | "on" | "off";
|
|
1138
|
+
strategy_msg: "silent" | "on" | "off";
|
|
1139
|
+
show_candle: "off" | "ohlc";
|
|
1140
|
+
};
|
|
1141
|
+
reload: boolean;
|
|
1142
|
+
balance_dust_level: number;
|
|
1143
|
+
} | undefined;
|
|
899
1144
|
dry_run_wallet?: number | undefined;
|
|
900
1145
|
max_open_trades?: number | undefined;
|
|
901
1146
|
plugins?: {
|
|
@@ -916,15 +1161,15 @@ export declare const tradersPatchResolver: import("@feathersjs/schema").Resolver
|
|
|
916
1161
|
tradable_balance_ratio?: number | undefined;
|
|
917
1162
|
webhook?: {
|
|
918
1163
|
url: string;
|
|
919
|
-
format: string;
|
|
920
1164
|
enabled: boolean;
|
|
1165
|
+
format: string;
|
|
921
1166
|
webhookstatus: {
|
|
922
1167
|
traderId: any;
|
|
923
1168
|
event: string;
|
|
924
1169
|
status: string;
|
|
925
1170
|
userId: string;
|
|
926
1171
|
};
|
|
927
|
-
|
|
1172
|
+
webhookentry: {
|
|
928
1173
|
limit: string;
|
|
929
1174
|
traderId: any;
|
|
930
1175
|
stake_amount: string;
|
|
@@ -934,7 +1179,7 @@ export declare const tradersPatchResolver: import("@feathersjs/schema").Resolver
|
|
|
934
1179
|
pair: string;
|
|
935
1180
|
fiat_currency: string;
|
|
936
1181
|
};
|
|
937
|
-
|
|
1182
|
+
webhookentrycancel: {
|
|
938
1183
|
limit: string;
|
|
939
1184
|
traderId: any;
|
|
940
1185
|
stake_amount: string;
|
|
@@ -944,7 +1189,7 @@ export declare const tradersPatchResolver: import("@feathersjs/schema").Resolver
|
|
|
944
1189
|
pair: string;
|
|
945
1190
|
fiat_currency: string;
|
|
946
1191
|
};
|
|
947
|
-
|
|
1192
|
+
webhookentryfill: {
|
|
948
1193
|
traderId: any;
|
|
949
1194
|
stake_amount: string;
|
|
950
1195
|
stake_currency: string;
|
|
@@ -956,7 +1201,7 @@ export declare const tradersPatchResolver: import("@feathersjs/schema").Resolver
|
|
|
956
1201
|
amount: string;
|
|
957
1202
|
open_date: string;
|
|
958
1203
|
};
|
|
959
|
-
|
|
1204
|
+
webhookexit: {
|
|
960
1205
|
limit: string;
|
|
961
1206
|
traderId: any;
|
|
962
1207
|
stake_currency: string;
|
|
@@ -971,10 +1216,10 @@ export declare const tradersPatchResolver: import("@feathersjs/schema").Resolver
|
|
|
971
1216
|
profit_amount: string;
|
|
972
1217
|
profit_ratio: string;
|
|
973
1218
|
close_date: string;
|
|
974
|
-
|
|
1219
|
+
exit_reason: string;
|
|
975
1220
|
order_type: string;
|
|
976
1221
|
};
|
|
977
|
-
|
|
1222
|
+
webhookexitcancel: {
|
|
978
1223
|
limit: string;
|
|
979
1224
|
traderId: any;
|
|
980
1225
|
stake_currency: string;
|
|
@@ -984,7 +1229,7 @@ export declare const tradersPatchResolver: import("@feathersjs/schema").Resolver
|
|
|
984
1229
|
profit_amount: string;
|
|
985
1230
|
profit_ratio: string;
|
|
986
1231
|
};
|
|
987
|
-
|
|
1232
|
+
webhookexitfill: {
|
|
988
1233
|
traderId: any;
|
|
989
1234
|
event: string;
|
|
990
1235
|
userId: string;
|
|
@@ -1091,7 +1336,7 @@ export declare const tradersQueryProperties: import("@feathersjs/typebox").TPick
|
|
|
1091
1336
|
traderId: import("@feathersjs/typebox").TAny;
|
|
1092
1337
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
1093
1338
|
}>;
|
|
1094
|
-
|
|
1339
|
+
webhookentry: import("@feathersjs/typebox").TObject<{
|
|
1095
1340
|
event: import("@feathersjs/typebox").TString<string>;
|
|
1096
1341
|
traderId: import("@feathersjs/typebox").TAny;
|
|
1097
1342
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -1101,7 +1346,7 @@ export declare const tradersQueryProperties: import("@feathersjs/typebox").TPick
|
|
|
1101
1346
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
1102
1347
|
fiat_currency: import("@feathersjs/typebox").TString<string>;
|
|
1103
1348
|
}>;
|
|
1104
|
-
|
|
1349
|
+
webhookentrycancel: import("@feathersjs/typebox").TObject<{
|
|
1105
1350
|
event: import("@feathersjs/typebox").TString<string>;
|
|
1106
1351
|
traderId: import("@feathersjs/typebox").TAny;
|
|
1107
1352
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -1111,7 +1356,7 @@ export declare const tradersQueryProperties: import("@feathersjs/typebox").TPick
|
|
|
1111
1356
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
1112
1357
|
fiat_currency: import("@feathersjs/typebox").TString<string>;
|
|
1113
1358
|
}>;
|
|
1114
|
-
|
|
1359
|
+
webhookentryfill: import("@feathersjs/typebox").TObject<{
|
|
1115
1360
|
event: import("@feathersjs/typebox").TString<string>;
|
|
1116
1361
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
1117
1362
|
traderId: import("@feathersjs/typebox").TAny;
|
|
@@ -1123,7 +1368,7 @@ export declare const tradersQueryProperties: import("@feathersjs/typebox").TPick
|
|
|
1123
1368
|
stake_amount: import("@feathersjs/typebox").TString<string>;
|
|
1124
1369
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
1125
1370
|
}>;
|
|
1126
|
-
|
|
1371
|
+
webhookexit: import("@feathersjs/typebox").TObject<{
|
|
1127
1372
|
event: import("@feathersjs/typebox").TString<string>;
|
|
1128
1373
|
traderId: import("@feathersjs/typebox").TAny;
|
|
1129
1374
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -1138,10 +1383,10 @@ export declare const tradersQueryProperties: import("@feathersjs/typebox").TPick
|
|
|
1138
1383
|
profit_ratio: import("@feathersjs/typebox").TString<string>;
|
|
1139
1384
|
open_date: import("@feathersjs/typebox").TString<string>;
|
|
1140
1385
|
close_date: import("@feathersjs/typebox").TString<string>;
|
|
1141
|
-
|
|
1386
|
+
exit_reason: import("@feathersjs/typebox").TString<string>;
|
|
1142
1387
|
order_type: import("@feathersjs/typebox").TString<string>;
|
|
1143
1388
|
}>;
|
|
1144
|
-
|
|
1389
|
+
webhookexitcancel: import("@feathersjs/typebox").TObject<{
|
|
1145
1390
|
event: import("@feathersjs/typebox").TString<string>;
|
|
1146
1391
|
traderId: import("@feathersjs/typebox").TAny;
|
|
1147
1392
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -1151,7 +1396,7 @@ export declare const tradersQueryProperties: import("@feathersjs/typebox").TPick
|
|
|
1151
1396
|
stake_currency: import("@feathersjs/typebox").TString<string>;
|
|
1152
1397
|
profit_ratio: import("@feathersjs/typebox").TString<string>;
|
|
1153
1398
|
}>;
|
|
1154
|
-
|
|
1399
|
+
webhookexitfill: import("@feathersjs/typebox").TObject<{
|
|
1155
1400
|
event: import("@feathersjs/typebox").TString<string>;
|
|
1156
1401
|
traderId: import("@feathersjs/typebox").TAny;
|
|
1157
1402
|
userId: import("@feathersjs/typebox").TString<string>;
|
|
@@ -1185,6 +1430,41 @@ export declare const tradersQueryProperties: import("@feathersjs/typebox").TPick
|
|
|
1185
1430
|
username: import("@feathersjs/typebox").TString<string>;
|
|
1186
1431
|
password: import("@feathersjs/typebox").TString<string>;
|
|
1187
1432
|
}>;
|
|
1433
|
+
telegram: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
1434
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
1435
|
+
token: import("@feathersjs/typebox").TString<string>;
|
|
1436
|
+
chat_id: import("@feathersjs/typebox").TAny;
|
|
1437
|
+
access_hash: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TNull]>>;
|
|
1438
|
+
invite_link: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
1439
|
+
allow_custom_messages: import("@feathersjs/typebox").TBoolean;
|
|
1440
|
+
notification_settings: import("@feathersjs/typebox").TObject<{
|
|
1441
|
+
status: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1442
|
+
warning: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1443
|
+
startup: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1444
|
+
entry: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1445
|
+
entry_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1446
|
+
entry_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1447
|
+
exit: import("@feathersjs/typebox").TObject<{
|
|
1448
|
+
roi: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1449
|
+
emergency_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1450
|
+
force_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1451
|
+
exit_signal: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1452
|
+
trailing_stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1453
|
+
stop_loss: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1454
|
+
stoploss_on_exchange: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1455
|
+
custom_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1456
|
+
partial_exit: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1457
|
+
}>;
|
|
1458
|
+
exit_cancel: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1459
|
+
exit_fill: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1460
|
+
protection_trigger: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1461
|
+
protection_trigger_global: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1462
|
+
strategy_msg: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"on">, import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"silent">]>;
|
|
1463
|
+
show_candle: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"off">, import("@feathersjs/typebox").TLiteral<"ohlc">]>;
|
|
1464
|
+
}>;
|
|
1465
|
+
reload: import("@feathersjs/typebox").TBoolean;
|
|
1466
|
+
balance_dust_level: import("@feathersjs/typebox").TNumber;
|
|
1467
|
+
}>>;
|
|
1188
1468
|
pod: import("@feathersjs/typebox").TString<string>;
|
|
1189
1469
|
host: import("@feathersjs/typebox").TString<string>;
|
|
1190
1470
|
provider: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"docker">]>;
|