@cryptorobot.ai/client 0.0.14 → 0.0.15

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  import type { TransportConnection, Application } from '@feathersjs/feathers';
2
2
  import type { AuthenticationClientOptions } from '@feathersjs/authentication-client';
3
+ import './services/version/version.shared';
4
+ export type { Version, VersionData, VersionQuery, VersionPatch } from './services/version/version.shared';
3
5
  import './services/stripe/customers/paymentmethods/paymentmethods.shared';
4
6
  export type { StripeCustomersPaymentmethods, StripeCustomersPaymentmethodsData, StripeCustomersPaymentmethodsQuery, StripeCustomersPaymentmethodsPatch } from './services/stripe/customers/paymentmethods/paymentmethods.shared';
5
7
  import './services/stripe/customers/subscriptions/subscriptions.shared';
package/lib/client.js CHANGED
@@ -7,6 +7,7 @@ exports.createClient = void 0;
7
7
  // For more information about this file see https://dove.feathersjs.com/guides/cli/client.html
8
8
  const feathers_1 = require("@feathersjs/feathers");
9
9
  const authentication_client_1 = __importDefault(require("@feathersjs/authentication-client"));
10
+ const version_shared_1 = require("./services/version/version.shared");
10
11
  const paymentmethods_shared_1 = require("./services/stripe/customers/paymentmethods/paymentmethods.shared");
11
12
  const subscriptions_shared_1 = require("./services/stripe/customers/subscriptions/subscriptions.shared");
12
13
  const products_shared_1 = require("./services/stripe/products/products.shared");
@@ -93,6 +94,7 @@ const createClient = (connection, authenticationOptions = {}) => {
93
94
  client.configure(products_shared_1.stripeProductsClient);
94
95
  client.configure(subscriptions_shared_1.stripeCustomersSubscriptionsClient);
95
96
  client.configure(paymentmethods_shared_1.stripeCustomersPaymentmethodsClient);
97
+ client.configure(version_shared_1.versionClient);
96
98
  return client;
97
99
  };
98
100
  exports.createClient = createClient;
@@ -106,6 +106,7 @@ export declare const configurationSchema: import("@feathersjs/typebox").TInterse
106
106
  ccxt: import("@feathersjs/typebox").TObject<{
107
107
  loadMarketsIntervalInMinutes: import("@feathersjs/typebox").TNumber;
108
108
  minRefreshIntervalBalancesInMinutes: import("@feathersjs/typebox").TNumber;
109
+ proxies: import("@feathersjs/typebox").TAny;
109
110
  }>;
110
111
  storage: import("@feathersjs/typebox").TString<string>;
111
112
  configurationId: import("@feathersjs/typebox").TString<string>;
@@ -143,6 +144,7 @@ export declare const configurationSchema: import("@feathersjs/typebox").TInterse
143
144
  apiKey: import("@feathersjs/typebox").TString<string>;
144
145
  }>;
145
146
  testData: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
147
+ mixpanel: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
146
148
  }>]>;
147
149
  export type ApplicationConfiguration = Static<typeof configurationSchema>;
148
150
  export declare const configurationValidator: import("@feathersjs/schema").Validator<any, any>;
@@ -5,7 +5,8 @@ export declare class Docker {
5
5
  static checkIfStrategyIsAvailable(context: HookContext): void;
6
6
  static checkIfStrategyExistsInDisk(context: HookContext): Promise<void>;
7
7
  static checkIfConfigExistsInDisk(context: HookContext): Promise<void>;
8
- static generate(context: HookContext): object;
8
+ static requestAvailableHostPort(context: HookContext): Promise<String>;
9
+ static generate(context: HookContext): Promise<object>;
9
10
  static deploy(context: HookContext, deployment: any): Promise<any>;
10
11
  static getTraderData(context: HookContext): string;
11
12
  }
@@ -4,4 +4,5 @@ export default class Log {
4
4
  static debug(message: any, context: any, filename?: any, extra?: any): void;
5
5
  static error(message: any, context: any, filename?: any, extra?: any): void;
6
6
  static silly(message: any, context: any, filename?: any, extra?: any): void;
7
+ static verbose(message: any, context: any, filename?: any, extra?: any): void;
7
8
  }
@@ -92,8 +92,8 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
92
92
  max_open_trades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
93
93
  fiat_display_currency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
94
94
  unfilledtimeout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
95
- buy: import("@feathersjs/typebox").TNumber;
96
- sell: import("@feathersjs/typebox").TNumber;
95
+ entry: import("@feathersjs/typebox").TNumber;
96
+ exit: import("@feathersjs/typebox").TNumber;
97
97
  }>>;
98
98
  cancel_open_orders_on_exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
99
99
  running: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
@@ -176,24 +176,21 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
176
176
  close_rate: import("@feathersjs/typebox").TString<string>;
177
177
  }>;
178
178
  }>>;
179
- bid_strategy: import("@feathersjs/typebox").TObject<{
180
- price_side: import("@feathersjs/typebox").TLiteral<"bid">;
181
- ask_last_balance: import("@feathersjs/typebox").TNumber;
182
- use_order_book: import("@feathersjs/typebox").TBoolean;
183
- order_book_top: import("@feathersjs/typebox").TInteger;
184
- check_depth_of_market: import("@feathersjs/typebox").TObject<{
179
+ entry_pricing: import("@feathersjs/typebox").TObject<{
180
+ price_side: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ask">, import("@feathersjs/typebox").TLiteral<"bid">, import("@feathersjs/typebox").TLiteral<"same">, import("@feathersjs/typebox").TLiteral<"other">]>>;
181
+ price_last_balance: import("@feathersjs/typebox").TNumber;
182
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
183
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
184
+ check_depth_of_market: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
185
185
  enabled: import("@feathersjs/typebox").TBoolean;
186
- bids_to_ask_delta: import("@feathersjs/typebox").TInteger;
187
- }>;
186
+ bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
187
+ }>>;
188
188
  }>;
189
- ask_strategy: import("@feathersjs/typebox").TObject<{
190
- price_side: import("@feathersjs/typebox").TLiteral<"ask">;
191
- use_order_book: import("@feathersjs/typebox").TBoolean;
192
- order_book_min: import("@feathersjs/typebox").TInteger;
193
- order_book_max: import("@feathersjs/typebox").TInteger;
194
- exit_sell_signal: import("@feathersjs/typebox").TBoolean;
195
- exit_profit_only: import("@feathersjs/typebox").TBoolean;
196
- ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
189
+ exit_pricing: import("@feathersjs/typebox").TObject<{
190
+ price_side: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ask">, import("@feathersjs/typebox").TLiteral<"bid">, import("@feathersjs/typebox").TLiteral<"same">, import("@feathersjs/typebox").TLiteral<"other">]>>;
191
+ price_last_balance: import("@feathersjs/typebox").TNumber;
192
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
193
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
197
194
  }>;
198
195
  api_server: import("@feathersjs/typebox").TObject<{
199
196
  enabled: import("@feathersjs/typebox").TBoolean;
@@ -248,8 +245,8 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
248
245
  } | undefined;
249
246
  fiat_display_currency?: string | undefined;
250
247
  unfilledtimeout?: {
251
- buy: number;
252
- sell: number;
248
+ entry: number;
249
+ exit: number;
253
250
  } | undefined;
254
251
  cancel_open_orders_on_exit?: boolean | undefined;
255
252
  running?: boolean | undefined;
@@ -355,24 +352,21 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
355
352
  initial_state: string;
356
353
  pairlists: any;
357
354
  strategy: any;
358
- bid_strategy: {
359
- price_side: "bid";
360
- ask_last_balance: number;
361
- use_order_book: boolean;
362
- order_book_top: number;
363
- check_depth_of_market: {
355
+ entry_pricing: {
356
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
357
+ use_order_book?: boolean | undefined;
358
+ order_book_top?: number | undefined;
359
+ check_depth_of_market?: {
364
360
  enabled: boolean;
365
361
  bids_to_ask_delta: number;
366
- };
362
+ } | undefined;
363
+ price_last_balance: number;
367
364
  };
368
- ask_strategy: {
369
- price_side: "ask";
370
- use_order_book: boolean;
371
- order_book_min: number;
372
- order_book_max: number;
373
- exit_sell_signal: boolean;
374
- exit_profit_only: boolean;
375
- ignore_roi_if_entry_signal: boolean;
365
+ exit_pricing: {
366
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
367
+ use_order_book?: boolean | undefined;
368
+ order_book_top?: number | undefined;
369
+ price_last_balance: number;
376
370
  };
377
371
  api_server: {
378
372
  password: string;
@@ -393,11 +387,11 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
393
387
  }[] | undefined;
394
388
  results?: unknown;
395
389
  userId?: string | {} | undefined;
396
- exit_sell_signal?: boolean | undefined;
397
- exit_profit_only?: boolean | undefined;
398
390
  file?: any;
399
391
  templateId?: string | {} | undefined;
400
392
  interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
393
+ exit_sell_signal?: boolean | undefined;
394
+ exit_profit_only?: boolean | undefined;
401
395
  exit_profit_offset?: number | undefined;
402
396
  timeinforce?: unknown;
403
397
  order_types?: {
@@ -468,8 +462,8 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
468
462
  } | undefined;
469
463
  fiat_display_currency?: string | undefined;
470
464
  unfilledtimeout?: {
471
- buy: number;
472
- sell: number;
465
+ entry: number;
466
+ exit: number;
473
467
  } | undefined;
474
468
  cancel_open_orders_on_exit?: boolean | undefined;
475
469
  running?: boolean | undefined;
@@ -575,24 +569,21 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
575
569
  initial_state: string;
576
570
  pairlists: any;
577
571
  strategy: any;
578
- bid_strategy: {
579
- price_side: "bid";
580
- ask_last_balance: number;
581
- use_order_book: boolean;
582
- order_book_top: number;
583
- check_depth_of_market: {
572
+ entry_pricing: {
573
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
574
+ use_order_book?: boolean | undefined;
575
+ order_book_top?: number | undefined;
576
+ check_depth_of_market?: {
584
577
  enabled: boolean;
585
578
  bids_to_ask_delta: number;
586
- };
579
+ } | undefined;
580
+ price_last_balance: number;
587
581
  };
588
- ask_strategy: {
589
- price_side: "ask";
590
- use_order_book: boolean;
591
- order_book_min: number;
592
- order_book_max: number;
593
- exit_sell_signal: boolean;
594
- exit_profit_only: boolean;
595
- ignore_roi_if_entry_signal: boolean;
582
+ exit_pricing: {
583
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
584
+ use_order_book?: boolean | undefined;
585
+ order_book_top?: number | undefined;
586
+ price_last_balance: number;
596
587
  };
597
588
  api_server: {
598
589
  password: string;
@@ -613,11 +604,11 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
613
604
  }[] | undefined;
614
605
  results?: unknown;
615
606
  userId?: string | {} | undefined;
616
- exit_sell_signal?: boolean | undefined;
617
- exit_profit_only?: boolean | undefined;
618
607
  file?: any;
619
608
  templateId?: string | {} | undefined;
620
609
  interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
610
+ exit_sell_signal?: boolean | undefined;
611
+ exit_profit_only?: boolean | undefined;
621
612
  exit_profit_offset?: number | undefined;
622
613
  timeinforce?: unknown;
623
614
  order_types?: {
@@ -754,8 +745,8 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
754
745
  max_open_trades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
755
746
  fiat_display_currency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
756
747
  unfilledtimeout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
757
- buy: import("@feathersjs/typebox").TNumber;
758
- sell: import("@feathersjs/typebox").TNumber;
748
+ entry: import("@feathersjs/typebox").TNumber;
749
+ exit: import("@feathersjs/typebox").TNumber;
759
750
  }>>;
760
751
  cancel_open_orders_on_exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
761
752
  running: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
@@ -838,24 +829,21 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
838
829
  close_rate: import("@feathersjs/typebox").TString<string>;
839
830
  }>;
840
831
  }>>;
841
- bid_strategy: import("@feathersjs/typebox").TObject<{
842
- price_side: import("@feathersjs/typebox").TLiteral<"bid">;
843
- ask_last_balance: import("@feathersjs/typebox").TNumber;
844
- use_order_book: import("@feathersjs/typebox").TBoolean;
845
- order_book_top: import("@feathersjs/typebox").TInteger;
846
- check_depth_of_market: import("@feathersjs/typebox").TObject<{
832
+ entry_pricing: import("@feathersjs/typebox").TObject<{
833
+ price_side: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ask">, import("@feathersjs/typebox").TLiteral<"bid">, import("@feathersjs/typebox").TLiteral<"same">, import("@feathersjs/typebox").TLiteral<"other">]>>;
834
+ price_last_balance: import("@feathersjs/typebox").TNumber;
835
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
836
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
837
+ check_depth_of_market: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
847
838
  enabled: import("@feathersjs/typebox").TBoolean;
848
- bids_to_ask_delta: import("@feathersjs/typebox").TInteger;
849
- }>;
839
+ bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
840
+ }>>;
850
841
  }>;
851
- ask_strategy: import("@feathersjs/typebox").TObject<{
852
- price_side: import("@feathersjs/typebox").TLiteral<"ask">;
853
- use_order_book: import("@feathersjs/typebox").TBoolean;
854
- order_book_min: import("@feathersjs/typebox").TInteger;
855
- order_book_max: import("@feathersjs/typebox").TInteger;
856
- exit_sell_signal: import("@feathersjs/typebox").TBoolean;
857
- exit_profit_only: import("@feathersjs/typebox").TBoolean;
858
- ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
842
+ exit_pricing: import("@feathersjs/typebox").TObject<{
843
+ price_side: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ask">, import("@feathersjs/typebox").TLiteral<"bid">, import("@feathersjs/typebox").TLiteral<"same">, import("@feathersjs/typebox").TLiteral<"other">]>>;
844
+ price_last_balance: import("@feathersjs/typebox").TNumber;
845
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
846
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
859
847
  }>;
860
848
  api_server: import("@feathersjs/typebox").TObject<{
861
849
  enabled: import("@feathersjs/typebox").TBoolean;
@@ -910,8 +898,8 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
910
898
  } | undefined;
911
899
  fiat_display_currency?: string | undefined;
912
900
  unfilledtimeout?: {
913
- buy: number;
914
- sell: number;
901
+ entry: number;
902
+ exit: number;
915
903
  } | undefined;
916
904
  cancel_open_orders_on_exit?: boolean | undefined;
917
905
  running?: boolean | undefined;
@@ -1017,24 +1005,21 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
1017
1005
  initial_state: string;
1018
1006
  pairlists: any;
1019
1007
  strategy: any;
1020
- bid_strategy: {
1021
- price_side: "bid";
1022
- ask_last_balance: number;
1023
- use_order_book: boolean;
1024
- order_book_top: number;
1025
- check_depth_of_market: {
1008
+ entry_pricing: {
1009
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
1010
+ use_order_book?: boolean | undefined;
1011
+ order_book_top?: number | undefined;
1012
+ check_depth_of_market?: {
1026
1013
  enabled: boolean;
1027
1014
  bids_to_ask_delta: number;
1028
- };
1015
+ } | undefined;
1016
+ price_last_balance: number;
1029
1017
  };
1030
- ask_strategy: {
1031
- price_side: "ask";
1032
- use_order_book: boolean;
1033
- order_book_min: number;
1034
- order_book_max: number;
1035
- exit_sell_signal: boolean;
1036
- exit_profit_only: boolean;
1037
- ignore_roi_if_entry_signal: boolean;
1018
+ exit_pricing: {
1019
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
1020
+ use_order_book?: boolean | undefined;
1021
+ order_book_top?: number | undefined;
1022
+ price_last_balance: number;
1038
1023
  };
1039
1024
  api_server: {
1040
1025
  password: string;
@@ -1055,11 +1040,11 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
1055
1040
  }[] | undefined;
1056
1041
  results?: unknown;
1057
1042
  userId?: string | {} | undefined;
1058
- exit_sell_signal?: boolean | undefined;
1059
- exit_profit_only?: boolean | undefined;
1060
1043
  file?: any;
1061
1044
  templateId?: string | {} | undefined;
1062
1045
  interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
1046
+ exit_sell_signal?: boolean | undefined;
1047
+ exit_profit_only?: boolean | undefined;
1063
1048
  exit_profit_offset?: number | undefined;
1064
1049
  timeinforce?: unknown;
1065
1050
  order_types?: {
@@ -1196,8 +1181,8 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1196
1181
  max_open_trades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
1197
1182
  fiat_display_currency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1198
1183
  unfilledtimeout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
1199
- buy: import("@feathersjs/typebox").TNumber;
1200
- sell: import("@feathersjs/typebox").TNumber;
1184
+ entry: import("@feathersjs/typebox").TNumber;
1185
+ exit: import("@feathersjs/typebox").TNumber;
1201
1186
  }>>;
1202
1187
  cancel_open_orders_on_exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1203
1188
  running: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
@@ -1280,24 +1265,21 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
1280
1265
  close_rate: import("@feathersjs/typebox").TString<string>;
1281
1266
  }>;
1282
1267
  }>>;
1283
- bid_strategy: import("@feathersjs/typebox").TObject<{
1284
- price_side: import("@feathersjs/typebox").TLiteral<"bid">;
1285
- ask_last_balance: import("@feathersjs/typebox").TNumber;
1286
- use_order_book: import("@feathersjs/typebox").TBoolean;
1287
- order_book_top: import("@feathersjs/typebox").TInteger;
1288
- check_depth_of_market: import("@feathersjs/typebox").TObject<{
1268
+ entry_pricing: import("@feathersjs/typebox").TObject<{
1269
+ price_side: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ask">, import("@feathersjs/typebox").TLiteral<"bid">, import("@feathersjs/typebox").TLiteral<"same">, import("@feathersjs/typebox").TLiteral<"other">]>>;
1270
+ price_last_balance: import("@feathersjs/typebox").TNumber;
1271
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1272
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
1273
+ check_depth_of_market: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
1289
1274
  enabled: import("@feathersjs/typebox").TBoolean;
1290
- bids_to_ask_delta: import("@feathersjs/typebox").TInteger;
1291
- }>;
1275
+ bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
1276
+ }>>;
1292
1277
  }>;
1293
- ask_strategy: import("@feathersjs/typebox").TObject<{
1294
- price_side: import("@feathersjs/typebox").TLiteral<"ask">;
1295
- use_order_book: import("@feathersjs/typebox").TBoolean;
1296
- order_book_min: import("@feathersjs/typebox").TInteger;
1297
- order_book_max: import("@feathersjs/typebox").TInteger;
1298
- exit_sell_signal: import("@feathersjs/typebox").TBoolean;
1299
- exit_profit_only: import("@feathersjs/typebox").TBoolean;
1300
- ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
1278
+ exit_pricing: import("@feathersjs/typebox").TObject<{
1279
+ price_side: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ask">, import("@feathersjs/typebox").TLiteral<"bid">, import("@feathersjs/typebox").TLiteral<"same">, import("@feathersjs/typebox").TLiteral<"other">]>>;
1280
+ price_last_balance: import("@feathersjs/typebox").TNumber;
1281
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1282
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
1301
1283
  }>;
1302
1284
  api_server: import("@feathersjs/typebox").TObject<{
1303
1285
  enabled: import("@feathersjs/typebox").TBoolean;
@@ -1352,8 +1334,8 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1352
1334
  } | undefined;
1353
1335
  fiat_display_currency?: string | undefined;
1354
1336
  unfilledtimeout?: {
1355
- buy: number;
1356
- sell: number;
1337
+ entry: number;
1338
+ exit: number;
1357
1339
  } | undefined;
1358
1340
  cancel_open_orders_on_exit?: boolean | undefined;
1359
1341
  running?: boolean | undefined;
@@ -1459,24 +1441,21 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1459
1441
  initial_state: string;
1460
1442
  pairlists: any;
1461
1443
  strategy: any;
1462
- bid_strategy: {
1463
- price_side: "bid";
1464
- ask_last_balance: number;
1465
- use_order_book: boolean;
1466
- order_book_top: number;
1467
- check_depth_of_market: {
1444
+ entry_pricing: {
1445
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
1446
+ use_order_book?: boolean | undefined;
1447
+ order_book_top?: number | undefined;
1448
+ check_depth_of_market?: {
1468
1449
  enabled: boolean;
1469
1450
  bids_to_ask_delta: number;
1470
- };
1451
+ } | undefined;
1452
+ price_last_balance: number;
1471
1453
  };
1472
- ask_strategy: {
1473
- price_side: "ask";
1474
- use_order_book: boolean;
1475
- order_book_min: number;
1476
- order_book_max: number;
1477
- exit_sell_signal: boolean;
1478
- exit_profit_only: boolean;
1479
- ignore_roi_if_entry_signal: boolean;
1454
+ exit_pricing: {
1455
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
1456
+ use_order_book?: boolean | undefined;
1457
+ order_book_top?: number | undefined;
1458
+ price_last_balance: number;
1480
1459
  };
1481
1460
  api_server: {
1482
1461
  password: string;
@@ -1497,11 +1476,11 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
1497
1476
  }[] | undefined;
1498
1477
  results?: unknown;
1499
1478
  userId?: string | {} | undefined;
1500
- exit_sell_signal?: boolean | undefined;
1501
- exit_profit_only?: boolean | undefined;
1502
1479
  file?: any;
1503
1480
  templateId?: string | {} | undefined;
1504
1481
  interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
1482
+ exit_sell_signal?: boolean | undefined;
1483
+ exit_profit_only?: boolean | undefined;
1505
1484
  exit_profit_offset?: number | undefined;
1506
1485
  timeinforce?: unknown;
1507
1486
  order_types?: {
@@ -1638,8 +1617,8 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
1638
1617
  max_open_trades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
1639
1618
  fiat_display_currency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1640
1619
  unfilledtimeout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
1641
- buy: import("@feathersjs/typebox").TNumber;
1642
- sell: import("@feathersjs/typebox").TNumber;
1620
+ entry: import("@feathersjs/typebox").TNumber;
1621
+ exit: import("@feathersjs/typebox").TNumber;
1643
1622
  }>>;
1644
1623
  cancel_open_orders_on_exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1645
1624
  running: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
@@ -1722,24 +1701,21 @@ export declare const strategiesQueryProperties: import("@feathersjs/typebox").TP
1722
1701
  close_rate: import("@feathersjs/typebox").TString<string>;
1723
1702
  }>;
1724
1703
  }>>;
1725
- bid_strategy: import("@feathersjs/typebox").TObject<{
1726
- price_side: import("@feathersjs/typebox").TLiteral<"bid">;
1727
- ask_last_balance: import("@feathersjs/typebox").TNumber;
1728
- use_order_book: import("@feathersjs/typebox").TBoolean;
1729
- order_book_top: import("@feathersjs/typebox").TInteger;
1730
- check_depth_of_market: import("@feathersjs/typebox").TObject<{
1704
+ entry_pricing: import("@feathersjs/typebox").TObject<{
1705
+ price_side: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ask">, import("@feathersjs/typebox").TLiteral<"bid">, import("@feathersjs/typebox").TLiteral<"same">, import("@feathersjs/typebox").TLiteral<"other">]>>;
1706
+ price_last_balance: import("@feathersjs/typebox").TNumber;
1707
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1708
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
1709
+ check_depth_of_market: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
1731
1710
  enabled: import("@feathersjs/typebox").TBoolean;
1732
- bids_to_ask_delta: import("@feathersjs/typebox").TInteger;
1733
- }>;
1711
+ bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
1712
+ }>>;
1734
1713
  }>;
1735
- ask_strategy: import("@feathersjs/typebox").TObject<{
1736
- price_side: import("@feathersjs/typebox").TLiteral<"ask">;
1737
- use_order_book: import("@feathersjs/typebox").TBoolean;
1738
- order_book_min: import("@feathersjs/typebox").TInteger;
1739
- order_book_max: import("@feathersjs/typebox").TInteger;
1740
- exit_sell_signal: import("@feathersjs/typebox").TBoolean;
1741
- exit_profit_only: import("@feathersjs/typebox").TBoolean;
1742
- ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
1714
+ exit_pricing: import("@feathersjs/typebox").TObject<{
1715
+ price_side: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ask">, import("@feathersjs/typebox").TLiteral<"bid">, import("@feathersjs/typebox").TLiteral<"same">, import("@feathersjs/typebox").TLiteral<"other">]>>;
1716
+ price_last_balance: import("@feathersjs/typebox").TNumber;
1717
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1718
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
1743
1719
  }>;
1744
1720
  api_server: import("@feathersjs/typebox").TObject<{
1745
1721
  enabled: import("@feathersjs/typebox").TBoolean;