@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.
@@ -33,8 +33,8 @@ export declare const tradersSchema: import("@feathersjs/typebox").TObject<{
33
33
  max_open_trades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
34
34
  fiat_display_currency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
35
35
  unfilledtimeout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
36
- buy: import("@feathersjs/typebox").TNumber;
37
- sell: import("@feathersjs/typebox").TNumber;
36
+ entry: import("@feathersjs/typebox").TNumber;
37
+ exit: import("@feathersjs/typebox").TNumber;
38
38
  }>>;
39
39
  cancel_open_orders_on_exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
40
40
  running: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
@@ -117,24 +117,21 @@ export declare const tradersSchema: import("@feathersjs/typebox").TObject<{
117
117
  close_rate: import("@feathersjs/typebox").TString<string>;
118
118
  }>;
119
119
  }>>;
120
- bid_strategy: import("@feathersjs/typebox").TObject<{
121
- price_side: import("@feathersjs/typebox").TLiteral<"bid">;
122
- ask_last_balance: import("@feathersjs/typebox").TNumber;
123
- use_order_book: import("@feathersjs/typebox").TBoolean;
124
- order_book_top: import("@feathersjs/typebox").TInteger;
125
- check_depth_of_market: import("@feathersjs/typebox").TObject<{
120
+ entry_pricing: import("@feathersjs/typebox").TObject<{
121
+ 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">]>>;
122
+ price_last_balance: import("@feathersjs/typebox").TNumber;
123
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
124
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
125
+ check_depth_of_market: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
126
126
  enabled: import("@feathersjs/typebox").TBoolean;
127
- bids_to_ask_delta: import("@feathersjs/typebox").TInteger;
128
- }>;
127
+ bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
128
+ }>>;
129
129
  }>;
130
- ask_strategy: import("@feathersjs/typebox").TObject<{
131
- price_side: import("@feathersjs/typebox").TLiteral<"ask">;
132
- use_order_book: import("@feathersjs/typebox").TBoolean;
133
- order_book_min: import("@feathersjs/typebox").TInteger;
134
- order_book_max: import("@feathersjs/typebox").TInteger;
135
- exit_sell_signal: import("@feathersjs/typebox").TBoolean;
136
- exit_profit_only: import("@feathersjs/typebox").TBoolean;
137
- ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
130
+ exit_pricing: import("@feathersjs/typebox").TObject<{
131
+ 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">]>>;
132
+ price_last_balance: import("@feathersjs/typebox").TNumber;
133
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
134
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
138
135
  }>;
139
136
  api_server: import("@feathersjs/typebox").TObject<{
140
137
  enabled: import("@feathersjs/typebox").TBoolean;
@@ -167,8 +164,8 @@ export declare const tradersResolver: import("@feathersjs/schema").Resolver<{
167
164
  } | undefined;
168
165
  fiat_display_currency?: string | undefined;
169
166
  unfilledtimeout?: {
170
- buy: number;
171
- sell: number;
167
+ entry: number;
168
+ exit: number;
172
169
  } | undefined;
173
170
  cancel_open_orders_on_exit?: boolean | undefined;
174
171
  running?: boolean | undefined;
@@ -274,24 +271,21 @@ export declare const tradersResolver: import("@feathersjs/schema").Resolver<{
274
271
  initial_state: string;
275
272
  pairlists: any;
276
273
  strategy: any;
277
- bid_strategy: {
278
- price_side: "bid";
279
- ask_last_balance: number;
280
- use_order_book: boolean;
281
- order_book_top: number;
282
- check_depth_of_market: {
274
+ entry_pricing: {
275
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
276
+ use_order_book?: boolean | undefined;
277
+ order_book_top?: number | undefined;
278
+ check_depth_of_market?: {
283
279
  enabled: boolean;
284
280
  bids_to_ask_delta: number;
285
- };
281
+ } | undefined;
282
+ price_last_balance: number;
286
283
  };
287
- ask_strategy: {
288
- price_side: "ask";
289
- use_order_book: boolean;
290
- order_book_min: number;
291
- order_book_max: number;
292
- exit_sell_signal: boolean;
293
- exit_profit_only: boolean;
294
- ignore_roi_if_entry_signal: boolean;
284
+ exit_pricing: {
285
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
286
+ use_order_book?: boolean | undefined;
287
+ order_book_top?: number | undefined;
288
+ price_last_balance: number;
295
289
  };
296
290
  api_server: {
297
291
  password: string;
@@ -318,8 +312,8 @@ export declare const tradersExternalResolver: import("@feathersjs/schema").Resol
318
312
  } | undefined;
319
313
  fiat_display_currency?: string | undefined;
320
314
  unfilledtimeout?: {
321
- buy: number;
322
- sell: number;
315
+ entry: number;
316
+ exit: number;
323
317
  } | undefined;
324
318
  cancel_open_orders_on_exit?: boolean | undefined;
325
319
  running?: boolean | undefined;
@@ -425,24 +419,21 @@ export declare const tradersExternalResolver: import("@feathersjs/schema").Resol
425
419
  initial_state: string;
426
420
  pairlists: any;
427
421
  strategy: any;
428
- bid_strategy: {
429
- price_side: "bid";
430
- ask_last_balance: number;
431
- use_order_book: boolean;
432
- order_book_top: number;
433
- check_depth_of_market: {
422
+ entry_pricing: {
423
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
424
+ use_order_book?: boolean | undefined;
425
+ order_book_top?: number | undefined;
426
+ check_depth_of_market?: {
434
427
  enabled: boolean;
435
428
  bids_to_ask_delta: number;
436
- };
429
+ } | undefined;
430
+ price_last_balance: number;
437
431
  };
438
- ask_strategy: {
439
- price_side: "ask";
440
- use_order_book: boolean;
441
- order_book_min: number;
442
- order_book_max: number;
443
- exit_sell_signal: boolean;
444
- exit_profit_only: boolean;
445
- ignore_roi_if_entry_signal: boolean;
432
+ exit_pricing: {
433
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
434
+ use_order_book?: boolean | undefined;
435
+ order_book_top?: number | undefined;
436
+ price_last_balance: number;
446
437
  };
447
438
  api_server: {
448
439
  password: string;
@@ -488,8 +479,8 @@ export declare const tradersDataSchema: import("@feathersjs/typebox").TPick<impo
488
479
  max_open_trades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
489
480
  fiat_display_currency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
490
481
  unfilledtimeout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
491
- buy: import("@feathersjs/typebox").TNumber;
492
- sell: import("@feathersjs/typebox").TNumber;
482
+ entry: import("@feathersjs/typebox").TNumber;
483
+ exit: import("@feathersjs/typebox").TNumber;
493
484
  }>>;
494
485
  cancel_open_orders_on_exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
495
486
  running: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
@@ -572,24 +563,21 @@ export declare const tradersDataSchema: import("@feathersjs/typebox").TPick<impo
572
563
  close_rate: import("@feathersjs/typebox").TString<string>;
573
564
  }>;
574
565
  }>>;
575
- bid_strategy: import("@feathersjs/typebox").TObject<{
576
- price_side: import("@feathersjs/typebox").TLiteral<"bid">;
577
- ask_last_balance: import("@feathersjs/typebox").TNumber;
578
- use_order_book: import("@feathersjs/typebox").TBoolean;
579
- order_book_top: import("@feathersjs/typebox").TInteger;
580
- check_depth_of_market: import("@feathersjs/typebox").TObject<{
566
+ entry_pricing: import("@feathersjs/typebox").TObject<{
567
+ 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">]>>;
568
+ price_last_balance: import("@feathersjs/typebox").TNumber;
569
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
570
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
571
+ check_depth_of_market: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
581
572
  enabled: import("@feathersjs/typebox").TBoolean;
582
- bids_to_ask_delta: import("@feathersjs/typebox").TInteger;
583
- }>;
573
+ bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
574
+ }>>;
584
575
  }>;
585
- ask_strategy: import("@feathersjs/typebox").TObject<{
586
- price_side: import("@feathersjs/typebox").TLiteral<"ask">;
587
- use_order_book: import("@feathersjs/typebox").TBoolean;
588
- order_book_min: import("@feathersjs/typebox").TInteger;
589
- order_book_max: import("@feathersjs/typebox").TInteger;
590
- exit_sell_signal: import("@feathersjs/typebox").TBoolean;
591
- exit_profit_only: import("@feathersjs/typebox").TBoolean;
592
- ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
576
+ exit_pricing: import("@feathersjs/typebox").TObject<{
577
+ 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">]>>;
578
+ price_last_balance: import("@feathersjs/typebox").TNumber;
579
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
580
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
593
581
  }>;
594
582
  api_server: import("@feathersjs/typebox").TObject<{
595
583
  enabled: import("@feathersjs/typebox").TBoolean;
@@ -622,8 +610,8 @@ export declare const tradersDataResolver: import("@feathersjs/schema").Resolver<
622
610
  } | undefined;
623
611
  fiat_display_currency?: string | undefined;
624
612
  unfilledtimeout?: {
625
- buy: number;
626
- sell: number;
613
+ entry: number;
614
+ exit: number;
627
615
  } | undefined;
628
616
  cancel_open_orders_on_exit?: boolean | undefined;
629
617
  running?: boolean | undefined;
@@ -729,24 +717,21 @@ export declare const tradersDataResolver: import("@feathersjs/schema").Resolver<
729
717
  initial_state: string;
730
718
  pairlists: any;
731
719
  strategy: any;
732
- bid_strategy: {
733
- price_side: "bid";
734
- ask_last_balance: number;
735
- use_order_book: boolean;
736
- order_book_top: number;
737
- check_depth_of_market: {
720
+ entry_pricing: {
721
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
722
+ use_order_book?: boolean | undefined;
723
+ order_book_top?: number | undefined;
724
+ check_depth_of_market?: {
738
725
  enabled: boolean;
739
726
  bids_to_ask_delta: number;
740
- };
727
+ } | undefined;
728
+ price_last_balance: number;
741
729
  };
742
- ask_strategy: {
743
- price_side: "ask";
744
- use_order_book: boolean;
745
- order_book_min: number;
746
- order_book_max: number;
747
- exit_sell_signal: boolean;
748
- exit_profit_only: boolean;
749
- ignore_roi_if_entry_signal: boolean;
730
+ exit_pricing: {
731
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
732
+ use_order_book?: boolean | undefined;
733
+ order_book_top?: number | undefined;
734
+ price_last_balance: number;
750
735
  };
751
736
  api_server: {
752
737
  password: string;
@@ -792,8 +777,8 @@ export declare const tradersPatchSchema: import("@feathersjs/typebox").TPartial<
792
777
  max_open_trades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
793
778
  fiat_display_currency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
794
779
  unfilledtimeout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
795
- buy: import("@feathersjs/typebox").TNumber;
796
- sell: import("@feathersjs/typebox").TNumber;
780
+ entry: import("@feathersjs/typebox").TNumber;
781
+ exit: import("@feathersjs/typebox").TNumber;
797
782
  }>>;
798
783
  cancel_open_orders_on_exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
799
784
  running: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
@@ -876,24 +861,21 @@ export declare const tradersPatchSchema: import("@feathersjs/typebox").TPartial<
876
861
  close_rate: import("@feathersjs/typebox").TString<string>;
877
862
  }>;
878
863
  }>>;
879
- bid_strategy: import("@feathersjs/typebox").TObject<{
880
- price_side: import("@feathersjs/typebox").TLiteral<"bid">;
881
- ask_last_balance: import("@feathersjs/typebox").TNumber;
882
- use_order_book: import("@feathersjs/typebox").TBoolean;
883
- order_book_top: import("@feathersjs/typebox").TInteger;
884
- check_depth_of_market: import("@feathersjs/typebox").TObject<{
864
+ entry_pricing: import("@feathersjs/typebox").TObject<{
865
+ 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">]>>;
866
+ price_last_balance: import("@feathersjs/typebox").TNumber;
867
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
868
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
869
+ check_depth_of_market: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
885
870
  enabled: import("@feathersjs/typebox").TBoolean;
886
- bids_to_ask_delta: import("@feathersjs/typebox").TInteger;
887
- }>;
871
+ bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
872
+ }>>;
888
873
  }>;
889
- ask_strategy: import("@feathersjs/typebox").TObject<{
890
- price_side: import("@feathersjs/typebox").TLiteral<"ask">;
891
- use_order_book: import("@feathersjs/typebox").TBoolean;
892
- order_book_min: import("@feathersjs/typebox").TInteger;
893
- order_book_max: import("@feathersjs/typebox").TInteger;
894
- exit_sell_signal: import("@feathersjs/typebox").TBoolean;
895
- exit_profit_only: import("@feathersjs/typebox").TBoolean;
896
- ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
874
+ exit_pricing: import("@feathersjs/typebox").TObject<{
875
+ 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">]>>;
876
+ price_last_balance: import("@feathersjs/typebox").TNumber;
877
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
878
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
897
879
  }>;
898
880
  api_server: import("@feathersjs/typebox").TObject<{
899
881
  enabled: import("@feathersjs/typebox").TBoolean;
@@ -926,8 +908,8 @@ export declare const tradersPatchResolver: import("@feathersjs/schema").Resolver
926
908
  } | undefined;
927
909
  fiat_display_currency?: string | undefined;
928
910
  unfilledtimeout?: {
929
- buy: number;
930
- sell: number;
911
+ entry: number;
912
+ exit: number;
931
913
  } | undefined;
932
914
  cancel_open_orders_on_exit?: boolean | undefined;
933
915
  running?: boolean | undefined;
@@ -1033,24 +1015,21 @@ export declare const tradersPatchResolver: import("@feathersjs/schema").Resolver
1033
1015
  initial_state: string;
1034
1016
  pairlists: any;
1035
1017
  strategy: any;
1036
- bid_strategy: {
1037
- price_side: "bid";
1038
- ask_last_balance: number;
1039
- use_order_book: boolean;
1040
- order_book_top: number;
1041
- check_depth_of_market: {
1018
+ entry_pricing: {
1019
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
1020
+ use_order_book?: boolean | undefined;
1021
+ order_book_top?: number | undefined;
1022
+ check_depth_of_market?: {
1042
1023
  enabled: boolean;
1043
1024
  bids_to_ask_delta: number;
1044
- };
1025
+ } | undefined;
1026
+ price_last_balance: number;
1045
1027
  };
1046
- ask_strategy: {
1047
- price_side: "ask";
1048
- use_order_book: boolean;
1049
- order_book_min: number;
1050
- order_book_max: number;
1051
- exit_sell_signal: boolean;
1052
- exit_profit_only: boolean;
1053
- ignore_roi_if_entry_signal: boolean;
1028
+ exit_pricing: {
1029
+ price_side?: "ask" | "bid" | "same" | "other" | undefined;
1030
+ use_order_book?: boolean | undefined;
1031
+ order_book_top?: number | undefined;
1032
+ price_last_balance: number;
1054
1033
  };
1055
1034
  api_server: {
1056
1035
  password: string;
@@ -1096,8 +1075,8 @@ export declare const tradersQueryProperties: import("@feathersjs/typebox").TPick
1096
1075
  max_open_trades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
1097
1076
  fiat_display_currency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1098
1077
  unfilledtimeout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
1099
- buy: import("@feathersjs/typebox").TNumber;
1100
- sell: import("@feathersjs/typebox").TNumber;
1078
+ entry: import("@feathersjs/typebox").TNumber;
1079
+ exit: import("@feathersjs/typebox").TNumber;
1101
1080
  }>>;
1102
1081
  cancel_open_orders_on_exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1103
1082
  running: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
@@ -1180,24 +1159,21 @@ export declare const tradersQueryProperties: import("@feathersjs/typebox").TPick
1180
1159
  close_rate: import("@feathersjs/typebox").TString<string>;
1181
1160
  }>;
1182
1161
  }>>;
1183
- bid_strategy: import("@feathersjs/typebox").TObject<{
1184
- price_side: import("@feathersjs/typebox").TLiteral<"bid">;
1185
- ask_last_balance: import("@feathersjs/typebox").TNumber;
1186
- use_order_book: import("@feathersjs/typebox").TBoolean;
1187
- order_book_top: import("@feathersjs/typebox").TInteger;
1188
- check_depth_of_market: import("@feathersjs/typebox").TObject<{
1162
+ entry_pricing: import("@feathersjs/typebox").TObject<{
1163
+ 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">]>>;
1164
+ price_last_balance: import("@feathersjs/typebox").TNumber;
1165
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1166
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
1167
+ check_depth_of_market: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
1189
1168
  enabled: import("@feathersjs/typebox").TBoolean;
1190
- bids_to_ask_delta: import("@feathersjs/typebox").TInteger;
1191
- }>;
1169
+ bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
1170
+ }>>;
1192
1171
  }>;
1193
- ask_strategy: import("@feathersjs/typebox").TObject<{
1194
- price_side: import("@feathersjs/typebox").TLiteral<"ask">;
1195
- use_order_book: import("@feathersjs/typebox").TBoolean;
1196
- order_book_min: import("@feathersjs/typebox").TInteger;
1197
- order_book_max: import("@feathersjs/typebox").TInteger;
1198
- exit_sell_signal: import("@feathersjs/typebox").TBoolean;
1199
- exit_profit_only: import("@feathersjs/typebox").TBoolean;
1200
- ignore_roi_if_entry_signal: import("@feathersjs/typebox").TBoolean;
1172
+ exit_pricing: import("@feathersjs/typebox").TObject<{
1173
+ 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">]>>;
1174
+ price_last_balance: import("@feathersjs/typebox").TNumber;
1175
+ use_order_book: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
1176
+ order_book_top: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
1201
1177
  }>;
1202
1178
  api_server: import("@feathersjs/typebox").TObject<{
1203
1179
  enabled: import("@feathersjs/typebox").TBoolean;
@@ -0,0 +1,20 @@
1
+ import type { Params, ServiceInterface } from '@feathersjs/feathers';
2
+ import type { Application } from '../../declarations';
3
+ type Version = any;
4
+ type VersionData = any;
5
+ type VersionPatch = any;
6
+ type VersionQuery = any;
7
+ export type { Version, VersionData, VersionPatch, VersionQuery };
8
+ export interface VersionServiceOptions {
9
+ app: Application;
10
+ }
11
+ export interface VersionParams extends Params<VersionQuery> {
12
+ }
13
+ export declare class VersionService<ServiceParams extends VersionParams = VersionParams> implements ServiceInterface<Version, VersionData, ServiceParams, VersionPatch> {
14
+ options: VersionServiceOptions;
15
+ constructor(options: VersionServiceOptions);
16
+ find(_params?: ServiceParams): Promise<Version>;
17
+ }
18
+ export declare const getOptions: (app: Application) => {
19
+ app: Application;
20
+ };
@@ -0,0 +1,10 @@
1
+ import type { Application } from '../../declarations';
2
+ import { VersionService } from './version.class';
3
+ import { versionPath } from './version.shared';
4
+ export * from './version.class';
5
+ export declare const version: (app: Application) => void;
6
+ declare module '../../declarations' {
7
+ interface ServiceTypes {
8
+ [versionPath]: VersionService;
9
+ }
10
+ }
@@ -0,0 +1,13 @@
1
+ import type { Params } from '@feathersjs/feathers';
2
+ import type { ClientApplication } from '../../client';
3
+ import type { Version, VersionData, VersionPatch, VersionQuery, VersionService } from './version.class';
4
+ export type { Version, VersionData, VersionPatch, VersionQuery };
5
+ export type VersionClientService = Pick<VersionService<Params<VersionQuery>>, (typeof versionMethods)[number]>;
6
+ export declare const versionPath = "version";
7
+ export declare const versionMethods: readonly ["find"];
8
+ export declare const versionClient: (client: ClientApplication) => void;
9
+ declare module '../../client' {
10
+ interface ServiceTypes {
11
+ [versionPath]: VersionClientService;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.versionClient = exports.versionMethods = exports.versionPath = void 0;
4
+ exports.versionPath = 'version';
5
+ exports.versionMethods = ['find'];
6
+ const versionClient = (client) => {
7
+ const connection = client.get('connection');
8
+ client.use(exports.versionPath, connection.service(exports.versionPath), {
9
+ methods: exports.versionMethods
10
+ });
11
+ };
12
+ exports.versionClient = versionClient;
13
+ //# sourceMappingURL=version.shared.js.map
package/package.json CHANGED
@@ -1,16 +1,23 @@
1
1
  {
2
2
  "name": "@cryptorobot.ai/client",
3
3
  "description": "A typed client for the cryptorobot.ai platform",
4
- "version": "0.0.14",
4
+ "version": "0.0.15",
5
5
  "homepage": "",
6
6
  "keywords": [
7
- "feathers"
7
+ "cryptocurrency",
8
+ "trading",
9
+ "algorithmic",
10
+ "high-frequency",
11
+ "hft",
12
+ "crypto",
13
+ "bitcoin",
14
+ "ethereum"
8
15
  ],
9
16
  "author": {},
10
17
  "contributors": [],
11
18
  "bugs": {},
12
19
  "engines": {
13
- "node": ">= 21.1.0"
20
+ "node": ">= 18.0.0"
14
21
  },
15
22
  "feathers": {
16
23
  "language": "ts",