@cryptorobot.ai/client 0.0.19 → 0.0.26
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/client.d.ts +38 -36
- package/lib/client.js +6 -12
- package/lib/configuration.d.ts +20 -1
- package/lib/firebase-push-notification.d.ts +1 -0
- package/lib/helpers/backtest.helper.d.ts +53 -4
- package/lib/helpers/ccxt.helper.d.ts +75 -0
- package/lib/helpers/deployments.helper.d.ts +72 -0
- package/lib/helpers/funnel.helper.d.ts +17 -0
- package/lib/helpers/hyperopt.helper.d.ts +14 -0
- package/lib/helpers/push-notification.helper.d.ts +7 -0
- package/lib/helpers/queue.helper.d.ts +8 -0
- package/lib/helpers/sqlite3.helper.d.ts +6 -0
- package/lib/helpers/sqs.helper.d.ts +7 -0
- package/lib/helpers/subscription.helper.d.ts +48 -0
- package/lib/helpers/telegram.helper.d.ts +26 -1
- package/lib/helpers/trader.helper.d.ts +26 -0
- package/lib/hooks/application/setup-config-preparation.d.ts +1 -1
- package/lib/hooks/application/setup-info.d.ts +1 -1
- package/lib/hooks/application/setup-load-indicators.d.ts +1 -1
- package/lib/hooks/application/setup-load-strategy-templates.d.ts +1 -1
- package/lib/hooks/aws-prepare-batch-job.d.ts +2 -0
- package/lib/hooks/backtest-copy-candles-from-user-data.d.ts +1 -1
- package/lib/hooks/{backtest-generate-and-start.d.ts → backtest-generate-and-queue.d.ts} +1 -1
- package/lib/hooks/backtest-generate-config.d.ts +6 -0
- package/lib/hooks/backtest-generate-exchange-config.d.ts +6 -0
- package/lib/hooks/backtest-get-results.d.ts +12 -0
- package/lib/hooks/file-generate-config-hyperopt.d.ts +2 -0
- package/lib/hooks/setup-ensure-image.d.ts +3 -0
- package/lib/hooks/setup-firebase.d.ts +2 -0
- package/lib/hooks/setup-homepage.d.ts +3 -0
- package/lib/hooks/setup-mautic.d.ts +3 -0
- package/lib/hooks/setup-mixpanel.d.ts +3 -0
- package/lib/hooks/setup-prepare-maildev-while-in-test-env.d.ts +1 -1
- package/lib/hooks/setup-queues.d.ts +1 -1
- package/lib/hooks/sqlite-reset-database.d.ts +2 -0
- package/lib/hooks/traders/pods-process-worker.d.ts +5 -0
- package/lib/sentry.d.ts +2 -0
- package/lib/services/exchanges/balance/balance.schema.d.ts +56 -56
- package/lib/services/exchanges/download/download.schema.d.ts +60 -60
- package/lib/services/exchanges/download/webhooks/webhooks.schema.d.ts +84 -84
- package/lib/services/exchanges/exchanges.schema.d.ts +198 -198
- package/lib/services/exchanges/ticker/ticker.schema.d.ts +110 -110
- package/lib/services/homepage/homepage.class.d.ts +15 -0
- package/lib/services/homepage/homepage.d.ts +10 -0
- package/lib/services/homepage/homepage.schema.d.ts +237 -0
- package/lib/services/homepage/homepage.shared.d.ts +4 -0
- package/lib/services/homepage/homepage.shared.js +6 -0
- package/lib/services/markets/markets.schema.d.ts +112 -112
- package/lib/services/messages/messages.schema.d.ts +136 -64
- package/lib/services/strategies/ai/ai.schema.d.ts +32 -32
- package/lib/services/strategies/backtest/backtest.schema.d.ts +394 -84
- package/lib/services/strategies/backtest/results/results.class.d.ts +1 -1
- package/lib/services/strategies/backtest/results/results.schema.d.ts +454 -156
- package/lib/services/strategies/hyperopt/hyperopt.class.d.ts +11 -0
- package/lib/services/strategies/hyperopt/hyperopt.d.ts +11 -0
- package/lib/services/strategies/hyperopt/hyperopt.schema.d.ts +375 -0
- package/lib/services/strategies/hyperopt/hyperopt.shared.d.ts +13 -0
- package/lib/services/strategies/hyperopt/hyperopt.shared.js +13 -0
- package/lib/services/strategies/indicators/indicators.schema.d.ts +40 -40
- package/lib/services/strategies/strategies.schema.d.ts +329 -247
- package/lib/services/strategies/templates/templates.schema.d.ts +41 -41
- package/lib/services/stripe/charges/charges.d.ts +1 -1
- package/lib/services/stripe/customers/customers.d.ts +1 -1
- package/lib/services/stripe/customers/paymentintent/paymentintent.d.ts +1 -1
- package/lib/services/stripe/customers/paymentmethods/paymentmethods.d.ts +1 -1
- package/lib/services/stripe/products/products.d.ts +1 -1
- package/lib/services/traders/pods/api/api.class.d.ts +1 -1
- package/lib/services/traders/pods/api/api.schema.d.ts +519 -519
- package/lib/services/traders/pods/events/events.schema.d.ts +375 -111
- package/lib/services/traders/pods/pods.schema.d.ts +384 -384
- package/lib/services/traders/pods/webhooks/webhooks.schema.d.ts +76 -76
- package/lib/services/traders/traders.class.d.ts +7 -1
- package/lib/services/traders/traders.d.ts +1 -0
- package/lib/services/traders/traders.schema.d.ts +852 -380
- package/lib/services/users/users.class.d.ts +1 -1
- package/lib/services/users/users.schema.d.ts +158 -52
- package/package.json +24 -16
- package/lib/hooks/bootstrap-user-telegram.d.ts +0 -2
|
@@ -5,9 +5,11 @@ export declare const strategiesBacktestResultsSchema: import("@feathersjs/typebo
|
|
|
5
5
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
6
6
|
traderId: import("@feathersjs/typebox").TString<string>;
|
|
7
7
|
strategyId: import("@feathersjs/typebox").TString<string>;
|
|
8
|
-
profit_total: import("@feathersjs/typebox").
|
|
8
|
+
profit_total: import("@feathersjs/typebox").TNumber;
|
|
9
|
+
userId: import("@feathersjs/typebox").TAny;
|
|
9
10
|
createdAt: import("@feathersjs/typebox").TAny;
|
|
10
11
|
updatedAt: import("@feathersjs/typebox").TAny;
|
|
12
|
+
finishedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
11
13
|
trades: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>;
|
|
12
14
|
locks: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>;
|
|
13
15
|
best_pair: import("@feathersjs/typebox").TObject<{}>;
|
|
@@ -87,18 +89,57 @@ export declare const strategiesBacktestResultsSchema: import("@feathersjs/typebo
|
|
|
87
89
|
max_drawdown_high: import("@feathersjs/typebox").TNumber;
|
|
88
90
|
csum_min: import("@feathersjs/typebox").TNumber;
|
|
89
91
|
csum_max: import("@feathersjs/typebox").TNumber;
|
|
92
|
+
results_per_enter_tag: import("@feathersjs/typebox").TAny;
|
|
93
|
+
exit_reason_summary: import("@feathersjs/typebox").TAny;
|
|
94
|
+
trade_count_long: import("@feathersjs/typebox").TNumber;
|
|
95
|
+
trade_count_short: import("@feathersjs/typebox").TNumber;
|
|
96
|
+
profit_total_long: import("@feathersjs/typebox").TNumber;
|
|
97
|
+
profit_total_short: import("@feathersjs/typebox").TNumber;
|
|
98
|
+
profit_total_long_abs: import("@feathersjs/typebox").TNumber;
|
|
99
|
+
profit_total_short_abs: import("@feathersjs/typebox").TNumber;
|
|
100
|
+
cagr: import("@feathersjs/typebox").TNumber;
|
|
101
|
+
expectancy: import("@feathersjs/typebox").TNumber;
|
|
102
|
+
expectancy_ratio: import("@feathersjs/typebox").TNumber;
|
|
103
|
+
sortino: import("@feathersjs/typebox").TNumber;
|
|
104
|
+
sharpe: import("@feathersjs/typebox").TNumber;
|
|
105
|
+
calmar: import("@feathersjs/typebox").TNumber;
|
|
106
|
+
profit_factor: import("@feathersjs/typebox").TNumber;
|
|
107
|
+
canceled_trade_entries: import("@feathersjs/typebox").TNumber;
|
|
108
|
+
canceled_entry_orders: import("@feathersjs/typebox").TNumber;
|
|
109
|
+
replaced_entry_orders: import("@feathersjs/typebox").TNumber;
|
|
110
|
+
use_exit_signal: import("@feathersjs/typebox").TBoolean;
|
|
111
|
+
exit_profit_only: import("@feathersjs/typebox").TBoolean;
|
|
112
|
+
exit_profit_offset: import("@feathersjs/typebox").TNumber;
|
|
113
|
+
ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
|
|
114
|
+
periodic_breakdown: import("@feathersjs/typebox").TAny;
|
|
115
|
+
winrate: import("@feathersjs/typebox").TNumber;
|
|
116
|
+
max_consecutive_wins: import("@feathersjs/typebox").TNumber;
|
|
117
|
+
max_consecutive_losses: import("@feathersjs/typebox").TNumber;
|
|
118
|
+
max_relative_drawdown: import("@feathersjs/typebox").TNumber;
|
|
119
|
+
executionTimeInSeconds: import("@feathersjs/typebox").TNumber;
|
|
120
|
+
limits: import("@feathersjs/typebox").TAny;
|
|
90
121
|
}>;
|
|
91
122
|
export type StrategiesBacktestResults = Static<typeof strategiesBacktestResultsSchema>;
|
|
92
123
|
export declare const strategiesBacktestResultsValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
93
124
|
export declare const strategiesBacktestResultsResolver: import("@feathersjs/schema").Resolver<{
|
|
125
|
+
finishedAt?: any;
|
|
94
126
|
_id: string | {};
|
|
95
127
|
createdAt: any;
|
|
96
128
|
updatedAt: any;
|
|
129
|
+
userId: any;
|
|
130
|
+
stoploss: number;
|
|
131
|
+
minimal_roi: {};
|
|
132
|
+
exit_profit_only: boolean;
|
|
133
|
+
exit_profit_offset: number;
|
|
134
|
+
stake_currency: string;
|
|
135
|
+
stake_amount: number;
|
|
97
136
|
strategyId: string;
|
|
137
|
+
dry_run_wallet: number;
|
|
138
|
+
max_open_trades: number;
|
|
98
139
|
traderId: string;
|
|
99
|
-
profit_total: string;
|
|
100
140
|
trades: unknown[];
|
|
101
141
|
locks: unknown[];
|
|
142
|
+
profit_total: number;
|
|
102
143
|
best_pair: {};
|
|
103
144
|
worst_pair: {};
|
|
104
145
|
results_per_pair: unknown[];
|
|
@@ -121,29 +162,23 @@ export declare const strategiesBacktestResultsResolver: import("@feathersjs/sche
|
|
|
121
162
|
trades_per_day: number;
|
|
122
163
|
market_change: number;
|
|
123
164
|
pairlist: unknown[];
|
|
124
|
-
stake_amount: number;
|
|
125
|
-
stake_currency: string;
|
|
126
165
|
stake_currency_decimals: number;
|
|
127
166
|
starting_balance: number;
|
|
128
|
-
dry_run_wallet: number;
|
|
129
167
|
final_balance: number;
|
|
130
168
|
rejected_signals: number;
|
|
131
169
|
timedout_entry_orders: number;
|
|
132
170
|
timedout_exit_orders: number;
|
|
133
|
-
max_open_trades: number;
|
|
134
171
|
max_open_trades_setting: number;
|
|
135
172
|
timeframe: string;
|
|
136
173
|
timeframe_detail: string;
|
|
137
174
|
timerange: string;
|
|
138
175
|
enable_protections: boolean;
|
|
139
176
|
strategy_name: string;
|
|
140
|
-
stoploss: number;
|
|
141
177
|
trailing_stop: boolean;
|
|
142
178
|
trailing_stop_positive: number;
|
|
143
179
|
trailing_stop_positive_offset: number;
|
|
144
180
|
trailing_only_offset_is_reached: boolean;
|
|
145
181
|
use_custom_stoploss: boolean;
|
|
146
|
-
minimal_roi: {};
|
|
147
182
|
use_sell_signal: boolean;
|
|
148
183
|
sell_profit_only: boolean;
|
|
149
184
|
sell_profit_offset: number;
|
|
@@ -176,16 +211,53 @@ export declare const strategiesBacktestResultsResolver: import("@feathersjs/sche
|
|
|
176
211
|
max_drawdown_high: number;
|
|
177
212
|
csum_min: number;
|
|
178
213
|
csum_max: number;
|
|
214
|
+
results_per_enter_tag: any;
|
|
215
|
+
exit_reason_summary: any;
|
|
216
|
+
trade_count_long: number;
|
|
217
|
+
trade_count_short: number;
|
|
218
|
+
profit_total_long: number;
|
|
219
|
+
profit_total_short: number;
|
|
220
|
+
profit_total_long_abs: number;
|
|
221
|
+
profit_total_short_abs: number;
|
|
222
|
+
cagr: number;
|
|
223
|
+
expectancy: number;
|
|
224
|
+
expectancy_ratio: number;
|
|
225
|
+
sortino: number;
|
|
226
|
+
sharpe: number;
|
|
227
|
+
calmar: number;
|
|
228
|
+
profit_factor: number;
|
|
229
|
+
canceled_trade_entries: number;
|
|
230
|
+
canceled_entry_orders: number;
|
|
231
|
+
replaced_entry_orders: number;
|
|
232
|
+
use_exit_signal: boolean;
|
|
233
|
+
ignore_roi_if_entry_signal: boolean;
|
|
234
|
+
periodic_breakdown: any;
|
|
235
|
+
winrate: number;
|
|
236
|
+
max_consecutive_wins: number;
|
|
237
|
+
max_consecutive_losses: number;
|
|
238
|
+
max_relative_drawdown: number;
|
|
239
|
+
executionTimeInSeconds: number;
|
|
240
|
+
limits: any;
|
|
179
241
|
}, HookContext<StrategiesBacktestResultsService<import("./results.class").StrategiesBacktestResultsParams>>>;
|
|
180
242
|
export declare const strategiesBacktestResultsExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
243
|
+
finishedAt?: any;
|
|
181
244
|
_id: string | {};
|
|
182
245
|
createdAt: any;
|
|
183
246
|
updatedAt: any;
|
|
247
|
+
userId: any;
|
|
248
|
+
stoploss: number;
|
|
249
|
+
minimal_roi: {};
|
|
250
|
+
exit_profit_only: boolean;
|
|
251
|
+
exit_profit_offset: number;
|
|
252
|
+
stake_currency: string;
|
|
253
|
+
stake_amount: number;
|
|
184
254
|
strategyId: string;
|
|
255
|
+
dry_run_wallet: number;
|
|
256
|
+
max_open_trades: number;
|
|
185
257
|
traderId: string;
|
|
186
|
-
profit_total: string;
|
|
187
258
|
trades: unknown[];
|
|
188
259
|
locks: unknown[];
|
|
260
|
+
profit_total: number;
|
|
189
261
|
best_pair: {};
|
|
190
262
|
worst_pair: {};
|
|
191
263
|
results_per_pair: unknown[];
|
|
@@ -208,29 +280,23 @@ export declare const strategiesBacktestResultsExternalResolver: import("@feather
|
|
|
208
280
|
trades_per_day: number;
|
|
209
281
|
market_change: number;
|
|
210
282
|
pairlist: unknown[];
|
|
211
|
-
stake_amount: number;
|
|
212
|
-
stake_currency: string;
|
|
213
283
|
stake_currency_decimals: number;
|
|
214
284
|
starting_balance: number;
|
|
215
|
-
dry_run_wallet: number;
|
|
216
285
|
final_balance: number;
|
|
217
286
|
rejected_signals: number;
|
|
218
287
|
timedout_entry_orders: number;
|
|
219
288
|
timedout_exit_orders: number;
|
|
220
|
-
max_open_trades: number;
|
|
221
289
|
max_open_trades_setting: number;
|
|
222
290
|
timeframe: string;
|
|
223
291
|
timeframe_detail: string;
|
|
224
292
|
timerange: string;
|
|
225
293
|
enable_protections: boolean;
|
|
226
294
|
strategy_name: string;
|
|
227
|
-
stoploss: number;
|
|
228
295
|
trailing_stop: boolean;
|
|
229
296
|
trailing_stop_positive: number;
|
|
230
297
|
trailing_stop_positive_offset: number;
|
|
231
298
|
trailing_only_offset_is_reached: boolean;
|
|
232
299
|
use_custom_stoploss: boolean;
|
|
233
|
-
minimal_roi: {};
|
|
234
300
|
use_sell_signal: boolean;
|
|
235
301
|
sell_profit_only: boolean;
|
|
236
302
|
sell_profit_offset: number;
|
|
@@ -263,14 +329,43 @@ export declare const strategiesBacktestResultsExternalResolver: import("@feather
|
|
|
263
329
|
max_drawdown_high: number;
|
|
264
330
|
csum_min: number;
|
|
265
331
|
csum_max: number;
|
|
332
|
+
results_per_enter_tag: any;
|
|
333
|
+
exit_reason_summary: any;
|
|
334
|
+
trade_count_long: number;
|
|
335
|
+
trade_count_short: number;
|
|
336
|
+
profit_total_long: number;
|
|
337
|
+
profit_total_short: number;
|
|
338
|
+
profit_total_long_abs: number;
|
|
339
|
+
profit_total_short_abs: number;
|
|
340
|
+
cagr: number;
|
|
341
|
+
expectancy: number;
|
|
342
|
+
expectancy_ratio: number;
|
|
343
|
+
sortino: number;
|
|
344
|
+
sharpe: number;
|
|
345
|
+
calmar: number;
|
|
346
|
+
profit_factor: number;
|
|
347
|
+
canceled_trade_entries: number;
|
|
348
|
+
canceled_entry_orders: number;
|
|
349
|
+
replaced_entry_orders: number;
|
|
350
|
+
use_exit_signal: boolean;
|
|
351
|
+
ignore_roi_if_entry_signal: boolean;
|
|
352
|
+
periodic_breakdown: any;
|
|
353
|
+
winrate: number;
|
|
354
|
+
max_consecutive_wins: number;
|
|
355
|
+
max_consecutive_losses: number;
|
|
356
|
+
max_relative_drawdown: number;
|
|
357
|
+
executionTimeInSeconds: number;
|
|
358
|
+
limits: any;
|
|
266
359
|
}, HookContext<StrategiesBacktestResultsService<import("./results.class").StrategiesBacktestResultsParams>>>;
|
|
267
360
|
export declare const strategiesBacktestResultsDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
268
361
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
269
362
|
traderId: import("@feathersjs/typebox").TString<string>;
|
|
270
363
|
strategyId: import("@feathersjs/typebox").TString<string>;
|
|
271
|
-
profit_total: import("@feathersjs/typebox").
|
|
364
|
+
profit_total: import("@feathersjs/typebox").TNumber;
|
|
365
|
+
userId: import("@feathersjs/typebox").TAny;
|
|
272
366
|
createdAt: import("@feathersjs/typebox").TAny;
|
|
273
367
|
updatedAt: import("@feathersjs/typebox").TAny;
|
|
368
|
+
finishedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
274
369
|
trades: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>;
|
|
275
370
|
locks: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>;
|
|
276
371
|
best_pair: import("@feathersjs/typebox").TObject<{}>;
|
|
@@ -350,18 +445,57 @@ export declare const strategiesBacktestResultsDataSchema: import("@feathersjs/ty
|
|
|
350
445
|
max_drawdown_high: import("@feathersjs/typebox").TNumber;
|
|
351
446
|
csum_min: import("@feathersjs/typebox").TNumber;
|
|
352
447
|
csum_max: import("@feathersjs/typebox").TNumber;
|
|
353
|
-
|
|
448
|
+
results_per_enter_tag: import("@feathersjs/typebox").TAny;
|
|
449
|
+
exit_reason_summary: import("@feathersjs/typebox").TAny;
|
|
450
|
+
trade_count_long: import("@feathersjs/typebox").TNumber;
|
|
451
|
+
trade_count_short: import("@feathersjs/typebox").TNumber;
|
|
452
|
+
profit_total_long: import("@feathersjs/typebox").TNumber;
|
|
453
|
+
profit_total_short: import("@feathersjs/typebox").TNumber;
|
|
454
|
+
profit_total_long_abs: import("@feathersjs/typebox").TNumber;
|
|
455
|
+
profit_total_short_abs: import("@feathersjs/typebox").TNumber;
|
|
456
|
+
cagr: import("@feathersjs/typebox").TNumber;
|
|
457
|
+
expectancy: import("@feathersjs/typebox").TNumber;
|
|
458
|
+
expectancy_ratio: import("@feathersjs/typebox").TNumber;
|
|
459
|
+
sortino: import("@feathersjs/typebox").TNumber;
|
|
460
|
+
sharpe: import("@feathersjs/typebox").TNumber;
|
|
461
|
+
calmar: import("@feathersjs/typebox").TNumber;
|
|
462
|
+
profit_factor: import("@feathersjs/typebox").TNumber;
|
|
463
|
+
canceled_trade_entries: import("@feathersjs/typebox").TNumber;
|
|
464
|
+
canceled_entry_orders: import("@feathersjs/typebox").TNumber;
|
|
465
|
+
replaced_entry_orders: import("@feathersjs/typebox").TNumber;
|
|
466
|
+
use_exit_signal: import("@feathersjs/typebox").TBoolean;
|
|
467
|
+
exit_profit_only: import("@feathersjs/typebox").TBoolean;
|
|
468
|
+
exit_profit_offset: import("@feathersjs/typebox").TNumber;
|
|
469
|
+
ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
|
|
470
|
+
periodic_breakdown: import("@feathersjs/typebox").TAny;
|
|
471
|
+
winrate: import("@feathersjs/typebox").TNumber;
|
|
472
|
+
max_consecutive_wins: import("@feathersjs/typebox").TNumber;
|
|
473
|
+
max_consecutive_losses: import("@feathersjs/typebox").TNumber;
|
|
474
|
+
max_relative_drawdown: import("@feathersjs/typebox").TNumber;
|
|
475
|
+
executionTimeInSeconds: import("@feathersjs/typebox").TNumber;
|
|
476
|
+
limits: import("@feathersjs/typebox").TAny;
|
|
477
|
+
}>, ["_id", "userId", "traderId"]>;
|
|
354
478
|
export type StrategiesBacktestResultsData = Static<typeof strategiesBacktestResultsDataSchema>;
|
|
355
479
|
export declare const strategiesBacktestResultsDataValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
356
480
|
export declare const strategiesBacktestResultsDataResolver: import("@feathersjs/schema").Resolver<{
|
|
481
|
+
finishedAt?: any;
|
|
357
482
|
_id: string | {};
|
|
358
483
|
createdAt: any;
|
|
359
484
|
updatedAt: any;
|
|
485
|
+
userId: any;
|
|
486
|
+
stoploss: number;
|
|
487
|
+
minimal_roi: {};
|
|
488
|
+
exit_profit_only: boolean;
|
|
489
|
+
exit_profit_offset: number;
|
|
490
|
+
stake_currency: string;
|
|
491
|
+
stake_amount: number;
|
|
360
492
|
strategyId: string;
|
|
493
|
+
dry_run_wallet: number;
|
|
494
|
+
max_open_trades: number;
|
|
361
495
|
traderId: string;
|
|
362
|
-
profit_total: string;
|
|
363
496
|
trades: unknown[];
|
|
364
497
|
locks: unknown[];
|
|
498
|
+
profit_total: number;
|
|
365
499
|
best_pair: {};
|
|
366
500
|
worst_pair: {};
|
|
367
501
|
results_per_pair: unknown[];
|
|
@@ -384,29 +518,23 @@ export declare const strategiesBacktestResultsDataResolver: import("@feathersjs/
|
|
|
384
518
|
trades_per_day: number;
|
|
385
519
|
market_change: number;
|
|
386
520
|
pairlist: unknown[];
|
|
387
|
-
stake_amount: number;
|
|
388
|
-
stake_currency: string;
|
|
389
521
|
stake_currency_decimals: number;
|
|
390
522
|
starting_balance: number;
|
|
391
|
-
dry_run_wallet: number;
|
|
392
523
|
final_balance: number;
|
|
393
524
|
rejected_signals: number;
|
|
394
525
|
timedout_entry_orders: number;
|
|
395
526
|
timedout_exit_orders: number;
|
|
396
|
-
max_open_trades: number;
|
|
397
527
|
max_open_trades_setting: number;
|
|
398
528
|
timeframe: string;
|
|
399
529
|
timeframe_detail: string;
|
|
400
530
|
timerange: string;
|
|
401
531
|
enable_protections: boolean;
|
|
402
532
|
strategy_name: string;
|
|
403
|
-
stoploss: number;
|
|
404
533
|
trailing_stop: boolean;
|
|
405
534
|
trailing_stop_positive: number;
|
|
406
535
|
trailing_stop_positive_offset: number;
|
|
407
536
|
trailing_only_offset_is_reached: boolean;
|
|
408
537
|
use_custom_stoploss: boolean;
|
|
409
|
-
minimal_roi: {};
|
|
410
538
|
use_sell_signal: boolean;
|
|
411
539
|
sell_profit_only: boolean;
|
|
412
540
|
sell_profit_offset: number;
|
|
@@ -439,14 +567,43 @@ export declare const strategiesBacktestResultsDataResolver: import("@feathersjs/
|
|
|
439
567
|
max_drawdown_high: number;
|
|
440
568
|
csum_min: number;
|
|
441
569
|
csum_max: number;
|
|
570
|
+
results_per_enter_tag: any;
|
|
571
|
+
exit_reason_summary: any;
|
|
572
|
+
trade_count_long: number;
|
|
573
|
+
trade_count_short: number;
|
|
574
|
+
profit_total_long: number;
|
|
575
|
+
profit_total_short: number;
|
|
576
|
+
profit_total_long_abs: number;
|
|
577
|
+
profit_total_short_abs: number;
|
|
578
|
+
cagr: number;
|
|
579
|
+
expectancy: number;
|
|
580
|
+
expectancy_ratio: number;
|
|
581
|
+
sortino: number;
|
|
582
|
+
sharpe: number;
|
|
583
|
+
calmar: number;
|
|
584
|
+
profit_factor: number;
|
|
585
|
+
canceled_trade_entries: number;
|
|
586
|
+
canceled_entry_orders: number;
|
|
587
|
+
replaced_entry_orders: number;
|
|
588
|
+
use_exit_signal: boolean;
|
|
589
|
+
ignore_roi_if_entry_signal: boolean;
|
|
590
|
+
periodic_breakdown: any;
|
|
591
|
+
winrate: number;
|
|
592
|
+
max_consecutive_wins: number;
|
|
593
|
+
max_consecutive_losses: number;
|
|
594
|
+
max_relative_drawdown: number;
|
|
595
|
+
executionTimeInSeconds: number;
|
|
596
|
+
limits: any;
|
|
442
597
|
}, HookContext<StrategiesBacktestResultsService<import("./results.class").StrategiesBacktestResultsParams>>>;
|
|
443
598
|
export declare const strategiesBacktestResultsPatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
444
599
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
445
600
|
traderId: import("@feathersjs/typebox").TString<string>;
|
|
446
601
|
strategyId: import("@feathersjs/typebox").TString<string>;
|
|
447
|
-
profit_total: import("@feathersjs/typebox").
|
|
602
|
+
profit_total: import("@feathersjs/typebox").TNumber;
|
|
603
|
+
userId: import("@feathersjs/typebox").TAny;
|
|
448
604
|
createdAt: import("@feathersjs/typebox").TAny;
|
|
449
605
|
updatedAt: import("@feathersjs/typebox").TAny;
|
|
606
|
+
finishedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
450
607
|
trades: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>;
|
|
451
608
|
locks: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>;
|
|
452
609
|
best_pair: import("@feathersjs/typebox").TObject<{}>;
|
|
@@ -526,18 +683,57 @@ export declare const strategiesBacktestResultsPatchSchema: import("@feathersjs/t
|
|
|
526
683
|
max_drawdown_high: import("@feathersjs/typebox").TNumber;
|
|
527
684
|
csum_min: import("@feathersjs/typebox").TNumber;
|
|
528
685
|
csum_max: import("@feathersjs/typebox").TNumber;
|
|
686
|
+
results_per_enter_tag: import("@feathersjs/typebox").TAny;
|
|
687
|
+
exit_reason_summary: import("@feathersjs/typebox").TAny;
|
|
688
|
+
trade_count_long: import("@feathersjs/typebox").TNumber;
|
|
689
|
+
trade_count_short: import("@feathersjs/typebox").TNumber;
|
|
690
|
+
profit_total_long: import("@feathersjs/typebox").TNumber;
|
|
691
|
+
profit_total_short: import("@feathersjs/typebox").TNumber;
|
|
692
|
+
profit_total_long_abs: import("@feathersjs/typebox").TNumber;
|
|
693
|
+
profit_total_short_abs: import("@feathersjs/typebox").TNumber;
|
|
694
|
+
cagr: import("@feathersjs/typebox").TNumber;
|
|
695
|
+
expectancy: import("@feathersjs/typebox").TNumber;
|
|
696
|
+
expectancy_ratio: import("@feathersjs/typebox").TNumber;
|
|
697
|
+
sortino: import("@feathersjs/typebox").TNumber;
|
|
698
|
+
sharpe: import("@feathersjs/typebox").TNumber;
|
|
699
|
+
calmar: import("@feathersjs/typebox").TNumber;
|
|
700
|
+
profit_factor: import("@feathersjs/typebox").TNumber;
|
|
701
|
+
canceled_trade_entries: import("@feathersjs/typebox").TNumber;
|
|
702
|
+
canceled_entry_orders: import("@feathersjs/typebox").TNumber;
|
|
703
|
+
replaced_entry_orders: import("@feathersjs/typebox").TNumber;
|
|
704
|
+
use_exit_signal: import("@feathersjs/typebox").TBoolean;
|
|
705
|
+
exit_profit_only: import("@feathersjs/typebox").TBoolean;
|
|
706
|
+
exit_profit_offset: import("@feathersjs/typebox").TNumber;
|
|
707
|
+
ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
|
|
708
|
+
periodic_breakdown: import("@feathersjs/typebox").TAny;
|
|
709
|
+
winrate: import("@feathersjs/typebox").TNumber;
|
|
710
|
+
max_consecutive_wins: import("@feathersjs/typebox").TNumber;
|
|
711
|
+
max_consecutive_losses: import("@feathersjs/typebox").TNumber;
|
|
712
|
+
max_relative_drawdown: import("@feathersjs/typebox").TNumber;
|
|
713
|
+
executionTimeInSeconds: import("@feathersjs/typebox").TNumber;
|
|
714
|
+
limits: import("@feathersjs/typebox").TAny;
|
|
529
715
|
}>>;
|
|
530
716
|
export type StrategiesBacktestResultsPatch = Static<typeof strategiesBacktestResultsPatchSchema>;
|
|
531
717
|
export declare const strategiesBacktestResultsPatchValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
532
718
|
export declare const strategiesBacktestResultsPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
719
|
+
finishedAt?: any;
|
|
533
720
|
_id: string | {};
|
|
534
721
|
createdAt: any;
|
|
535
722
|
updatedAt: any;
|
|
723
|
+
userId: any;
|
|
724
|
+
stoploss: number;
|
|
725
|
+
minimal_roi: {};
|
|
726
|
+
exit_profit_only: boolean;
|
|
727
|
+
exit_profit_offset: number;
|
|
728
|
+
stake_currency: string;
|
|
729
|
+
stake_amount: number;
|
|
536
730
|
strategyId: string;
|
|
731
|
+
dry_run_wallet: number;
|
|
732
|
+
max_open_trades: number;
|
|
537
733
|
traderId: string;
|
|
538
|
-
profit_total: string;
|
|
539
734
|
trades: unknown[];
|
|
540
735
|
locks: unknown[];
|
|
736
|
+
profit_total: number;
|
|
541
737
|
best_pair: {};
|
|
542
738
|
worst_pair: {};
|
|
543
739
|
results_per_pair: unknown[];
|
|
@@ -560,29 +756,23 @@ export declare const strategiesBacktestResultsPatchResolver: import("@feathersjs
|
|
|
560
756
|
trades_per_day: number;
|
|
561
757
|
market_change: number;
|
|
562
758
|
pairlist: unknown[];
|
|
563
|
-
stake_amount: number;
|
|
564
|
-
stake_currency: string;
|
|
565
759
|
stake_currency_decimals: number;
|
|
566
760
|
starting_balance: number;
|
|
567
|
-
dry_run_wallet: number;
|
|
568
761
|
final_balance: number;
|
|
569
762
|
rejected_signals: number;
|
|
570
763
|
timedout_entry_orders: number;
|
|
571
764
|
timedout_exit_orders: number;
|
|
572
|
-
max_open_trades: number;
|
|
573
765
|
max_open_trades_setting: number;
|
|
574
766
|
timeframe: string;
|
|
575
767
|
timeframe_detail: string;
|
|
576
768
|
timerange: string;
|
|
577
769
|
enable_protections: boolean;
|
|
578
770
|
strategy_name: string;
|
|
579
|
-
stoploss: number;
|
|
580
771
|
trailing_stop: boolean;
|
|
581
772
|
trailing_stop_positive: number;
|
|
582
773
|
trailing_stop_positive_offset: number;
|
|
583
774
|
trailing_only_offset_is_reached: boolean;
|
|
584
775
|
use_custom_stoploss: boolean;
|
|
585
|
-
minimal_roi: {};
|
|
586
776
|
use_sell_signal: boolean;
|
|
587
777
|
sell_profit_only: boolean;
|
|
588
778
|
sell_profit_offset: number;
|
|
@@ -615,14 +805,43 @@ export declare const strategiesBacktestResultsPatchResolver: import("@feathersjs
|
|
|
615
805
|
max_drawdown_high: number;
|
|
616
806
|
csum_min: number;
|
|
617
807
|
csum_max: number;
|
|
808
|
+
results_per_enter_tag: any;
|
|
809
|
+
exit_reason_summary: any;
|
|
810
|
+
trade_count_long: number;
|
|
811
|
+
trade_count_short: number;
|
|
812
|
+
profit_total_long: number;
|
|
813
|
+
profit_total_short: number;
|
|
814
|
+
profit_total_long_abs: number;
|
|
815
|
+
profit_total_short_abs: number;
|
|
816
|
+
cagr: number;
|
|
817
|
+
expectancy: number;
|
|
818
|
+
expectancy_ratio: number;
|
|
819
|
+
sortino: number;
|
|
820
|
+
sharpe: number;
|
|
821
|
+
calmar: number;
|
|
822
|
+
profit_factor: number;
|
|
823
|
+
canceled_trade_entries: number;
|
|
824
|
+
canceled_entry_orders: number;
|
|
825
|
+
replaced_entry_orders: number;
|
|
826
|
+
use_exit_signal: boolean;
|
|
827
|
+
ignore_roi_if_entry_signal: boolean;
|
|
828
|
+
periodic_breakdown: any;
|
|
829
|
+
winrate: number;
|
|
830
|
+
max_consecutive_wins: number;
|
|
831
|
+
max_consecutive_losses: number;
|
|
832
|
+
max_relative_drawdown: number;
|
|
833
|
+
executionTimeInSeconds: number;
|
|
834
|
+
limits: any;
|
|
618
835
|
}, HookContext<StrategiesBacktestResultsService<import("./results.class").StrategiesBacktestResultsParams>>>;
|
|
619
836
|
export declare const strategiesBacktestResultsQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
620
837
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
621
838
|
traderId: import("@feathersjs/typebox").TString<string>;
|
|
622
839
|
strategyId: import("@feathersjs/typebox").TString<string>;
|
|
623
|
-
profit_total: import("@feathersjs/typebox").
|
|
840
|
+
profit_total: import("@feathersjs/typebox").TNumber;
|
|
841
|
+
userId: import("@feathersjs/typebox").TAny;
|
|
624
842
|
createdAt: import("@feathersjs/typebox").TAny;
|
|
625
843
|
updatedAt: import("@feathersjs/typebox").TAny;
|
|
844
|
+
finishedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
626
845
|
trades: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>;
|
|
627
846
|
locks: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>;
|
|
628
847
|
best_pair: import("@feathersjs/typebox").TObject<{}>;
|
|
@@ -702,7 +921,36 @@ export declare const strategiesBacktestResultsQueryProperties: import("@feathers
|
|
|
702
921
|
max_drawdown_high: import("@feathersjs/typebox").TNumber;
|
|
703
922
|
csum_min: import("@feathersjs/typebox").TNumber;
|
|
704
923
|
csum_max: import("@feathersjs/typebox").TNumber;
|
|
705
|
-
|
|
924
|
+
results_per_enter_tag: import("@feathersjs/typebox").TAny;
|
|
925
|
+
exit_reason_summary: import("@feathersjs/typebox").TAny;
|
|
926
|
+
trade_count_long: import("@feathersjs/typebox").TNumber;
|
|
927
|
+
trade_count_short: import("@feathersjs/typebox").TNumber;
|
|
928
|
+
profit_total_long: import("@feathersjs/typebox").TNumber;
|
|
929
|
+
profit_total_short: import("@feathersjs/typebox").TNumber;
|
|
930
|
+
profit_total_long_abs: import("@feathersjs/typebox").TNumber;
|
|
931
|
+
profit_total_short_abs: import("@feathersjs/typebox").TNumber;
|
|
932
|
+
cagr: import("@feathersjs/typebox").TNumber;
|
|
933
|
+
expectancy: import("@feathersjs/typebox").TNumber;
|
|
934
|
+
expectancy_ratio: import("@feathersjs/typebox").TNumber;
|
|
935
|
+
sortino: import("@feathersjs/typebox").TNumber;
|
|
936
|
+
sharpe: import("@feathersjs/typebox").TNumber;
|
|
937
|
+
calmar: import("@feathersjs/typebox").TNumber;
|
|
938
|
+
profit_factor: import("@feathersjs/typebox").TNumber;
|
|
939
|
+
canceled_trade_entries: import("@feathersjs/typebox").TNumber;
|
|
940
|
+
canceled_entry_orders: import("@feathersjs/typebox").TNumber;
|
|
941
|
+
replaced_entry_orders: import("@feathersjs/typebox").TNumber;
|
|
942
|
+
use_exit_signal: import("@feathersjs/typebox").TBoolean;
|
|
943
|
+
exit_profit_only: import("@feathersjs/typebox").TBoolean;
|
|
944
|
+
exit_profit_offset: import("@feathersjs/typebox").TNumber;
|
|
945
|
+
ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
|
|
946
|
+
periodic_breakdown: import("@feathersjs/typebox").TAny;
|
|
947
|
+
winrate: import("@feathersjs/typebox").TNumber;
|
|
948
|
+
max_consecutive_wins: import("@feathersjs/typebox").TNumber;
|
|
949
|
+
max_consecutive_losses: import("@feathersjs/typebox").TNumber;
|
|
950
|
+
max_relative_drawdown: import("@feathersjs/typebox").TNumber;
|
|
951
|
+
executionTimeInSeconds: import("@feathersjs/typebox").TNumber;
|
|
952
|
+
limits: import("@feathersjs/typebox").TAny;
|
|
953
|
+
}>, ["_id", "traderId", "strategyId", "profit_total", "createdAt", "finishedAt"]>;
|
|
706
954
|
export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
707
955
|
$limit: import("@feathersjs/typebox").TNumber;
|
|
708
956
|
$skip: import("@feathersjs/typebox").TNumber;
|
|
@@ -711,9 +959,10 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
711
959
|
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
712
960
|
strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
713
961
|
traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
962
|
+
finishedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
714
963
|
profit_total: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
715
964
|
}>;
|
|
716
|
-
$select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "strategyId" | "traderId" | "profit_total")[]>;
|
|
965
|
+
$select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "strategyId" | "traderId" | "finishedAt" | "profit_total")[]>;
|
|
717
966
|
$and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
718
967
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
719
968
|
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
@@ -721,8 +970,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
721
970
|
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
722
971
|
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
723
972
|
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
724
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
725
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
973
|
+
$in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
974
|
+
$nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
726
975
|
}>, import("@feathersjs/typebox").TObject<{
|
|
727
976
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
728
977
|
} | undefined>]>>]>>;
|
|
@@ -732,8 +981,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
732
981
|
$lt: import("@feathersjs/typebox").TAny;
|
|
733
982
|
$lte: import("@feathersjs/typebox").TAny;
|
|
734
983
|
$ne: import("@feathersjs/typebox").TAny;
|
|
735
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
736
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
984
|
+
$in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
985
|
+
$nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
737
986
|
}>, import("@feathersjs/typebox").TObject<{
|
|
738
987
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
739
988
|
} | undefined>]>>]>>;
|
|
@@ -743,8 +992,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
743
992
|
$lt: import("@feathersjs/typebox").TString<string>;
|
|
744
993
|
$lte: import("@feathersjs/typebox").TString<string>;
|
|
745
994
|
$ne: import("@feathersjs/typebox").TString<string>;
|
|
746
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
747
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
995
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
996
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
748
997
|
}>, import("@feathersjs/typebox").TObject<{
|
|
749
998
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
750
999
|
} | undefined>]>>]>>;
|
|
@@ -754,19 +1003,30 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
754
1003
|
$lt: import("@feathersjs/typebox").TString<string>;
|
|
755
1004
|
$lte: import("@feathersjs/typebox").TString<string>;
|
|
756
1005
|
$ne: import("@feathersjs/typebox").TString<string>;
|
|
757
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
758
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1006
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1007
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
759
1008
|
}>, import("@feathersjs/typebox").TObject<{
|
|
760
1009
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
761
1010
|
} | undefined>]>>]>>;
|
|
762
|
-
|
|
763
|
-
$gt: import("@feathersjs/typebox").
|
|
764
|
-
$gte: import("@feathersjs/typebox").
|
|
765
|
-
$lt: import("@feathersjs/typebox").
|
|
766
|
-
$lte: import("@feathersjs/typebox").
|
|
767
|
-
$ne: import("@feathersjs/typebox").
|
|
768
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").
|
|
769
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").
|
|
1011
|
+
finishedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
1012
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1013
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1014
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1015
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1016
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1017
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
1018
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
1019
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
1020
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
1021
|
+
} | undefined>]>>]>>;
|
|
1022
|
+
profit_total: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
1023
|
+
$gt: import("@feathersjs/typebox").TNumber;
|
|
1024
|
+
$gte: import("@feathersjs/typebox").TNumber;
|
|
1025
|
+
$lt: import("@feathersjs/typebox").TNumber;
|
|
1026
|
+
$lte: import("@feathersjs/typebox").TNumber;
|
|
1027
|
+
$ne: import("@feathersjs/typebox").TNumber;
|
|
1028
|
+
$in: import("@feathersjs/typebox").TNumber | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TNumber>;
|
|
1029
|
+
$nin: import("@feathersjs/typebox").TNumber | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TNumber>;
|
|
770
1030
|
}>, import("@feathersjs/typebox").TObject<{
|
|
771
1031
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
772
1032
|
} | undefined>]>>]>>;
|
|
@@ -778,8 +1038,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
778
1038
|
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
779
1039
|
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
780
1040
|
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
781
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
782
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
1041
|
+
$in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
1042
|
+
$nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
783
1043
|
}>, import("@feathersjs/typebox").TObject<{
|
|
784
1044
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
785
1045
|
} | undefined>]>>]>>;
|
|
@@ -789,8 +1049,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
789
1049
|
$lt: import("@feathersjs/typebox").TAny;
|
|
790
1050
|
$lte: import("@feathersjs/typebox").TAny;
|
|
791
1051
|
$ne: import("@feathersjs/typebox").TAny;
|
|
792
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
793
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
1052
|
+
$in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
1053
|
+
$nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
794
1054
|
}>, import("@feathersjs/typebox").TObject<{
|
|
795
1055
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
796
1056
|
} | undefined>]>>]>>;
|
|
@@ -800,8 +1060,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
800
1060
|
$lt: import("@feathersjs/typebox").TString<string>;
|
|
801
1061
|
$lte: import("@feathersjs/typebox").TString<string>;
|
|
802
1062
|
$ne: import("@feathersjs/typebox").TString<string>;
|
|
803
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
804
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1063
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1064
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
805
1065
|
}>, import("@feathersjs/typebox").TObject<{
|
|
806
1066
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
807
1067
|
} | undefined>]>>]>>;
|
|
@@ -811,19 +1071,30 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
811
1071
|
$lt: import("@feathersjs/typebox").TString<string>;
|
|
812
1072
|
$lte: import("@feathersjs/typebox").TString<string>;
|
|
813
1073
|
$ne: import("@feathersjs/typebox").TString<string>;
|
|
814
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
815
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1074
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1075
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
816
1076
|
}>, import("@feathersjs/typebox").TObject<{
|
|
817
1077
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
818
1078
|
} | undefined>]>>]>>;
|
|
819
|
-
|
|
820
|
-
$gt: import("@feathersjs/typebox").
|
|
821
|
-
$gte: import("@feathersjs/typebox").
|
|
822
|
-
$lt: import("@feathersjs/typebox").
|
|
823
|
-
$lte: import("@feathersjs/typebox").
|
|
824
|
-
$ne: import("@feathersjs/typebox").
|
|
825
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").
|
|
826
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").
|
|
1079
|
+
finishedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
1080
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1081
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1082
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1083
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1084
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1085
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
1086
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
1087
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
1088
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
1089
|
+
} | undefined>]>>]>>;
|
|
1090
|
+
profit_total: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
1091
|
+
$gt: import("@feathersjs/typebox").TNumber;
|
|
1092
|
+
$gte: import("@feathersjs/typebox").TNumber;
|
|
1093
|
+
$lt: import("@feathersjs/typebox").TNumber;
|
|
1094
|
+
$lte: import("@feathersjs/typebox").TNumber;
|
|
1095
|
+
$ne: import("@feathersjs/typebox").TNumber;
|
|
1096
|
+
$in: import("@feathersjs/typebox").TNumber | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TNumber>;
|
|
1097
|
+
$nin: import("@feathersjs/typebox").TNumber | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TNumber>;
|
|
827
1098
|
}>, import("@feathersjs/typebox").TObject<{
|
|
828
1099
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
829
1100
|
} | undefined>]>>]>>;
|
|
@@ -836,8 +1107,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
836
1107
|
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
837
1108
|
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
838
1109
|
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
839
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
840
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
1110
|
+
$in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
1111
|
+
$nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
841
1112
|
}>, import("@feathersjs/typebox").TObject<{
|
|
842
1113
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
843
1114
|
} | undefined>]>>]>>;
|
|
@@ -847,8 +1118,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
847
1118
|
$lt: import("@feathersjs/typebox").TAny;
|
|
848
1119
|
$lte: import("@feathersjs/typebox").TAny;
|
|
849
1120
|
$ne: import("@feathersjs/typebox").TAny;
|
|
850
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
851
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
1121
|
+
$in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
1122
|
+
$nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
852
1123
|
}>, import("@feathersjs/typebox").TObject<{
|
|
853
1124
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
854
1125
|
} | undefined>]>>]>>;
|
|
@@ -858,8 +1129,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
858
1129
|
$lt: import("@feathersjs/typebox").TString<string>;
|
|
859
1130
|
$lte: import("@feathersjs/typebox").TString<string>;
|
|
860
1131
|
$ne: import("@feathersjs/typebox").TString<string>;
|
|
861
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
862
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1132
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1133
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
863
1134
|
}>, import("@feathersjs/typebox").TObject<{
|
|
864
1135
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
865
1136
|
} | undefined>]>>]>>;
|
|
@@ -869,19 +1140,30 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
869
1140
|
$lt: import("@feathersjs/typebox").TString<string>;
|
|
870
1141
|
$lte: import("@feathersjs/typebox").TString<string>;
|
|
871
1142
|
$ne: import("@feathersjs/typebox").TString<string>;
|
|
872
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
873
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1143
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1144
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
874
1145
|
}>, import("@feathersjs/typebox").TObject<{
|
|
875
1146
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
876
1147
|
} | undefined>]>>]>>;
|
|
877
|
-
|
|
878
|
-
$gt: import("@feathersjs/typebox").
|
|
879
|
-
$gte: import("@feathersjs/typebox").
|
|
880
|
-
$lt: import("@feathersjs/typebox").
|
|
881
|
-
$lte: import("@feathersjs/typebox").
|
|
882
|
-
$ne: import("@feathersjs/typebox").
|
|
883
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").
|
|
884
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").
|
|
1148
|
+
finishedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
1149
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1150
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1151
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1152
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1153
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1154
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
1155
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
1156
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
1157
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
1158
|
+
} | undefined>]>>]>>;
|
|
1159
|
+
profit_total: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
1160
|
+
$gt: import("@feathersjs/typebox").TNumber;
|
|
1161
|
+
$gte: import("@feathersjs/typebox").TNumber;
|
|
1162
|
+
$lt: import("@feathersjs/typebox").TNumber;
|
|
1163
|
+
$lte: import("@feathersjs/typebox").TNumber;
|
|
1164
|
+
$ne: import("@feathersjs/typebox").TNumber;
|
|
1165
|
+
$in: import("@feathersjs/typebox").TNumber | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TNumber>;
|
|
1166
|
+
$nin: import("@feathersjs/typebox").TNumber | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TNumber>;
|
|
885
1167
|
}>, import("@feathersjs/typebox").TObject<{
|
|
886
1168
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
887
1169
|
} | undefined>]>>]>>;
|
|
@@ -893,8 +1175,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
893
1175
|
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
894
1176
|
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
895
1177
|
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
896
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
897
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
1178
|
+
$in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
1179
|
+
$nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
898
1180
|
}>, import("@feathersjs/typebox").TObject<{
|
|
899
1181
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
900
1182
|
} | undefined>]>>]>>;
|
|
@@ -904,8 +1186,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
904
1186
|
$lt: import("@feathersjs/typebox").TAny;
|
|
905
1187
|
$lte: import("@feathersjs/typebox").TAny;
|
|
906
1188
|
$ne: import("@feathersjs/typebox").TAny;
|
|
907
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
908
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
1189
|
+
$in: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
1190
|
+
$nin: import("@feathersjs/typebox").TAny | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TAny>;
|
|
909
1191
|
}>, import("@feathersjs/typebox").TObject<{
|
|
910
1192
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
911
1193
|
} | undefined>]>>]>>;
|
|
@@ -915,8 +1197,8 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
915
1197
|
$lt: import("@feathersjs/typebox").TString<string>;
|
|
916
1198
|
$lte: import("@feathersjs/typebox").TString<string>;
|
|
917
1199
|
$ne: import("@feathersjs/typebox").TString<string>;
|
|
918
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
919
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1200
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1201
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
920
1202
|
}>, import("@feathersjs/typebox").TObject<{
|
|
921
1203
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
922
1204
|
} | undefined>]>>]>>;
|
|
@@ -926,19 +1208,30 @@ export declare const strategiesBacktestResultsQuerySchema: import("@feathersjs/t
|
|
|
926
1208
|
$lt: import("@feathersjs/typebox").TString<string>;
|
|
927
1209
|
$lte: import("@feathersjs/typebox").TString<string>;
|
|
928
1210
|
$ne: import("@feathersjs/typebox").TString<string>;
|
|
929
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
930
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1211
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
1212
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
931
1213
|
}>, import("@feathersjs/typebox").TObject<{
|
|
932
1214
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
933
1215
|
} | undefined>]>>]>>;
|
|
934
|
-
|
|
935
|
-
$gt: import("@feathersjs/typebox").
|
|
936
|
-
$gte: import("@feathersjs/typebox").
|
|
937
|
-
$lt: import("@feathersjs/typebox").
|
|
938
|
-
$lte: import("@feathersjs/typebox").
|
|
939
|
-
$ne: import("@feathersjs/typebox").
|
|
940
|
-
$in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").
|
|
941
|
-
$nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").
|
|
1216
|
+
finishedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
1217
|
+
$gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1218
|
+
$gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1219
|
+
$lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1220
|
+
$lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1221
|
+
$ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
|
|
1222
|
+
$in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
1223
|
+
$nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>>;
|
|
1224
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
1225
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
1226
|
+
} | undefined>]>>]>>;
|
|
1227
|
+
profit_total: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
1228
|
+
$gt: import("@feathersjs/typebox").TNumber;
|
|
1229
|
+
$gte: import("@feathersjs/typebox").TNumber;
|
|
1230
|
+
$lt: import("@feathersjs/typebox").TNumber;
|
|
1231
|
+
$lte: import("@feathersjs/typebox").TNumber;
|
|
1232
|
+
$ne: import("@feathersjs/typebox").TNumber;
|
|
1233
|
+
$in: import("@feathersjs/typebox").TNumber | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TNumber>;
|
|
1234
|
+
$nin: import("@feathersjs/typebox").TNumber | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TNumber>;
|
|
942
1235
|
}>, import("@feathersjs/typebox").TObject<{
|
|
943
1236
|
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
944
1237
|
} | undefined>]>>]>>;
|
|
@@ -953,9 +1246,10 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
953
1246
|
createdAt?: number | undefined;
|
|
954
1247
|
strategyId?: number | undefined;
|
|
955
1248
|
traderId?: number | undefined;
|
|
1249
|
+
finishedAt?: number | undefined;
|
|
956
1250
|
profit_total?: number | undefined;
|
|
957
1251
|
};
|
|
958
|
-
$select: ("_id" | "createdAt" | "strategyId" | "traderId" | "profit_total")[];
|
|
1252
|
+
$select: ("_id" | "createdAt" | "strategyId" | "traderId" | "finishedAt" | "profit_total")[];
|
|
959
1253
|
$and: ({
|
|
960
1254
|
_id?: string | {} | Partial<{
|
|
961
1255
|
$gt: string | {};
|
|
@@ -963,8 +1257,8 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
963
1257
|
$lt: string | {};
|
|
964
1258
|
$lte: string | {};
|
|
965
1259
|
$ne: string | {};
|
|
966
|
-
$in: (string | {})[];
|
|
967
|
-
$nin: (string | {})[];
|
|
1260
|
+
$in: string | {} | (string | {})[];
|
|
1261
|
+
$nin: string | {} | (string | {})[];
|
|
968
1262
|
} & {}> | undefined;
|
|
969
1263
|
createdAt?: any;
|
|
970
1264
|
strategyId?: string | Partial<{
|
|
@@ -973,8 +1267,8 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
973
1267
|
$lt: string;
|
|
974
1268
|
$lte: string;
|
|
975
1269
|
$ne: string;
|
|
976
|
-
$in: string[];
|
|
977
|
-
$nin: string[];
|
|
1270
|
+
$in: string | string[];
|
|
1271
|
+
$nin: string | string[];
|
|
978
1272
|
} & {}> | undefined;
|
|
979
1273
|
traderId?: string | Partial<{
|
|
980
1274
|
$gt: string;
|
|
@@ -982,17 +1276,18 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
982
1276
|
$lt: string;
|
|
983
1277
|
$lte: string;
|
|
984
1278
|
$ne: string;
|
|
985
|
-
$in: string[];
|
|
986
|
-
$nin: string[];
|
|
1279
|
+
$in: string | string[];
|
|
1280
|
+
$nin: string | string[];
|
|
987
1281
|
} & {}> | undefined;
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
$
|
|
991
|
-
$
|
|
992
|
-
$
|
|
993
|
-
$
|
|
994
|
-
$
|
|
995
|
-
$
|
|
1282
|
+
finishedAt?: any;
|
|
1283
|
+
profit_total?: number | Partial<{
|
|
1284
|
+
$gt: number;
|
|
1285
|
+
$gte: number;
|
|
1286
|
+
$lt: number;
|
|
1287
|
+
$lte: number;
|
|
1288
|
+
$ne: number;
|
|
1289
|
+
$in: number | number[];
|
|
1290
|
+
$nin: number | number[];
|
|
996
1291
|
} & {}> | undefined;
|
|
997
1292
|
} | {
|
|
998
1293
|
$or: {
|
|
@@ -1002,8 +1297,8 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
1002
1297
|
$lt: string | {};
|
|
1003
1298
|
$lte: string | {};
|
|
1004
1299
|
$ne: string | {};
|
|
1005
|
-
$in: (string | {})[];
|
|
1006
|
-
$nin: (string | {})[];
|
|
1300
|
+
$in: string | {} | (string | {})[];
|
|
1301
|
+
$nin: string | {} | (string | {})[];
|
|
1007
1302
|
} & {}> | undefined;
|
|
1008
1303
|
createdAt?: any;
|
|
1009
1304
|
strategyId?: string | Partial<{
|
|
@@ -1012,8 +1307,8 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
1012
1307
|
$lt: string;
|
|
1013
1308
|
$lte: string;
|
|
1014
1309
|
$ne: string;
|
|
1015
|
-
$in: string[];
|
|
1016
|
-
$nin: string[];
|
|
1310
|
+
$in: string | string[];
|
|
1311
|
+
$nin: string | string[];
|
|
1017
1312
|
} & {}> | undefined;
|
|
1018
1313
|
traderId?: string | Partial<{
|
|
1019
1314
|
$gt: string;
|
|
@@ -1021,17 +1316,18 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
1021
1316
|
$lt: string;
|
|
1022
1317
|
$lte: string;
|
|
1023
1318
|
$ne: string;
|
|
1024
|
-
$in: string[];
|
|
1025
|
-
$nin: string[];
|
|
1319
|
+
$in: string | string[];
|
|
1320
|
+
$nin: string | string[];
|
|
1026
1321
|
} & {}> | undefined;
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
$
|
|
1030
|
-
$
|
|
1031
|
-
$
|
|
1032
|
-
$
|
|
1033
|
-
$
|
|
1034
|
-
$
|
|
1322
|
+
finishedAt?: any;
|
|
1323
|
+
profit_total?: number | Partial<{
|
|
1324
|
+
$gt: number;
|
|
1325
|
+
$gte: number;
|
|
1326
|
+
$lt: number;
|
|
1327
|
+
$lte: number;
|
|
1328
|
+
$ne: number;
|
|
1329
|
+
$in: number | number[];
|
|
1330
|
+
$nin: number | number[];
|
|
1035
1331
|
} & {}> | undefined;
|
|
1036
1332
|
}[];
|
|
1037
1333
|
})[];
|
|
@@ -1042,8 +1338,8 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
1042
1338
|
$lt: string | {};
|
|
1043
1339
|
$lte: string | {};
|
|
1044
1340
|
$ne: string | {};
|
|
1045
|
-
$in: (string | {})[];
|
|
1046
|
-
$nin: (string | {})[];
|
|
1341
|
+
$in: string | {} | (string | {})[];
|
|
1342
|
+
$nin: string | {} | (string | {})[];
|
|
1047
1343
|
} & {}> | undefined;
|
|
1048
1344
|
createdAt?: any;
|
|
1049
1345
|
strategyId?: string | Partial<{
|
|
@@ -1052,8 +1348,8 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
1052
1348
|
$lt: string;
|
|
1053
1349
|
$lte: string;
|
|
1054
1350
|
$ne: string;
|
|
1055
|
-
$in: string[];
|
|
1056
|
-
$nin: string[];
|
|
1351
|
+
$in: string | string[];
|
|
1352
|
+
$nin: string | string[];
|
|
1057
1353
|
} & {}> | undefined;
|
|
1058
1354
|
traderId?: string | Partial<{
|
|
1059
1355
|
$gt: string;
|
|
@@ -1061,17 +1357,18 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
1061
1357
|
$lt: string;
|
|
1062
1358
|
$lte: string;
|
|
1063
1359
|
$ne: string;
|
|
1064
|
-
$in: string[];
|
|
1065
|
-
$nin: string[];
|
|
1360
|
+
$in: string | string[];
|
|
1361
|
+
$nin: string | string[];
|
|
1066
1362
|
} & {}> | undefined;
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
$
|
|
1070
|
-
$
|
|
1071
|
-
$
|
|
1072
|
-
$
|
|
1073
|
-
$
|
|
1074
|
-
$
|
|
1363
|
+
finishedAt?: any;
|
|
1364
|
+
profit_total?: number | Partial<{
|
|
1365
|
+
$gt: number;
|
|
1366
|
+
$gte: number;
|
|
1367
|
+
$lt: number;
|
|
1368
|
+
$lte: number;
|
|
1369
|
+
$ne: number;
|
|
1370
|
+
$in: number | number[];
|
|
1371
|
+
$nin: number | number[];
|
|
1075
1372
|
} & {}> | undefined;
|
|
1076
1373
|
}[];
|
|
1077
1374
|
}> & {
|
|
@@ -1081,8 +1378,8 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
1081
1378
|
$lt: string | {};
|
|
1082
1379
|
$lte: string | {};
|
|
1083
1380
|
$ne: string | {};
|
|
1084
|
-
$in: (string | {})[];
|
|
1085
|
-
$nin: (string | {})[];
|
|
1381
|
+
$in: string | {} | (string | {})[];
|
|
1382
|
+
$nin: string | {} | (string | {})[];
|
|
1086
1383
|
} & {}> | undefined;
|
|
1087
1384
|
createdAt?: any;
|
|
1088
1385
|
strategyId?: string | Partial<{
|
|
@@ -1091,8 +1388,8 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
1091
1388
|
$lt: string;
|
|
1092
1389
|
$lte: string;
|
|
1093
1390
|
$ne: string;
|
|
1094
|
-
$in: string[];
|
|
1095
|
-
$nin: string[];
|
|
1391
|
+
$in: string | string[];
|
|
1392
|
+
$nin: string | string[];
|
|
1096
1393
|
} & {}> | undefined;
|
|
1097
1394
|
traderId?: string | Partial<{
|
|
1098
1395
|
$gt: string;
|
|
@@ -1100,16 +1397,17 @@ export declare const strategiesBacktestResultsQueryResolver: import("@feathersjs
|
|
|
1100
1397
|
$lt: string;
|
|
1101
1398
|
$lte: string;
|
|
1102
1399
|
$ne: string;
|
|
1103
|
-
$in: string[];
|
|
1104
|
-
$nin: string[];
|
|
1400
|
+
$in: string | string[];
|
|
1401
|
+
$nin: string | string[];
|
|
1105
1402
|
} & {}> | undefined;
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
$
|
|
1109
|
-
$
|
|
1110
|
-
$
|
|
1111
|
-
$
|
|
1112
|
-
$
|
|
1113
|
-
$
|
|
1403
|
+
finishedAt?: any;
|
|
1404
|
+
profit_total?: number | Partial<{
|
|
1405
|
+
$gt: number;
|
|
1406
|
+
$gte: number;
|
|
1407
|
+
$lt: number;
|
|
1408
|
+
$lte: number;
|
|
1409
|
+
$ne: number;
|
|
1410
|
+
$in: number | number[];
|
|
1411
|
+
$nin: number | number[];
|
|
1114
1412
|
} & {}> | undefined;
|
|
1115
1413
|
} & {}, HookContext<StrategiesBacktestResultsService<import("./results.class").StrategiesBacktestResultsParams>>>;
|