@cryptorobot.ai/client 0.0.14 → 0.0.16
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 +2 -0
- package/lib/client.js +2 -0
- package/lib/configuration.d.ts +2 -0
- package/lib/helpers/deployments.helper.d.ts +2 -1
- package/lib/helpers/logging.helper.d.ts +1 -0
- package/lib/hooks/bootstrap-user-exchanges.d.ts +2 -0
- package/lib/hooks/bootstrap-user-strategies.d.ts +2 -0
- package/lib/services/exchanges/exchanges.schema.d.ts +53 -3
- package/lib/services/messages/messages.schema.d.ts +93 -3
- package/lib/services/strategies/strategies.schema.d.ts +140 -164
- package/lib/services/traders/pods/api/api.schema.d.ts +372 -444
- package/lib/services/traders/pods/pods.schema.d.ts +256 -304
- package/lib/services/traders/traders.schema.d.ts +116 -140
- package/lib/services/users/users.schema.d.ts +8 -0
- package/lib/services/version/version.class.d.ts +20 -0
- package/lib/services/version/version.d.ts +10 -0
- package/lib/services/version/version.shared.d.ts +13 -0
- package/lib/services/version/version.shared.js +13 -0
- package/package.json +10 -3
|
@@ -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
|
-
|
|
37
|
-
|
|
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
|
-
|
|
121
|
-
price_side: import("@feathersjs/typebox").TLiteral<"bid"
|
|
122
|
-
|
|
123
|
-
use_order_book: import("@feathersjs/typebox").TBoolean
|
|
124
|
-
order_book_top: import("@feathersjs/typebox").
|
|
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").
|
|
128
|
-
}
|
|
127
|
+
bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
|
|
128
|
+
}>>;
|
|
129
129
|
}>;
|
|
130
|
-
|
|
131
|
-
price_side: import("@feathersjs/typebox").TLiteral<"ask"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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
|
-
|
|
171
|
-
|
|
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
|
-
|
|
278
|
-
price_side
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
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
|
-
|
|
288
|
-
price_side
|
|
289
|
-
use_order_book
|
|
290
|
-
|
|
291
|
-
|
|
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
|
-
|
|
322
|
-
|
|
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
|
-
|
|
429
|
-
price_side
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
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
|
-
|
|
439
|
-
price_side
|
|
440
|
-
use_order_book
|
|
441
|
-
|
|
442
|
-
|
|
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
|
-
|
|
492
|
-
|
|
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
|
-
|
|
576
|
-
price_side: import("@feathersjs/typebox").TLiteral<"bid"
|
|
577
|
-
|
|
578
|
-
use_order_book: import("@feathersjs/typebox").TBoolean
|
|
579
|
-
order_book_top: import("@feathersjs/typebox").
|
|
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").
|
|
583
|
-
}
|
|
573
|
+
bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
|
|
574
|
+
}>>;
|
|
584
575
|
}>;
|
|
585
|
-
|
|
586
|
-
price_side: import("@feathersjs/typebox").TLiteral<"ask"
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
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
|
-
|
|
626
|
-
|
|
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
|
-
|
|
733
|
-
price_side
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
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
|
-
|
|
743
|
-
price_side
|
|
744
|
-
use_order_book
|
|
745
|
-
|
|
746
|
-
|
|
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
|
-
|
|
796
|
-
|
|
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
|
-
|
|
880
|
-
price_side: import("@feathersjs/typebox").TLiteral<"bid"
|
|
881
|
-
|
|
882
|
-
use_order_book: import("@feathersjs/typebox").TBoolean
|
|
883
|
-
order_book_top: import("@feathersjs/typebox").
|
|
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").
|
|
887
|
-
}
|
|
871
|
+
bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
|
|
872
|
+
}>>;
|
|
888
873
|
}>;
|
|
889
|
-
|
|
890
|
-
price_side: import("@feathersjs/typebox").TLiteral<"ask"
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
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
|
-
|
|
930
|
-
|
|
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
|
-
|
|
1037
|
-
price_side
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
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
|
-
|
|
1047
|
-
price_side
|
|
1048
|
-
use_order_book
|
|
1049
|
-
|
|
1050
|
-
|
|
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
|
-
|
|
1100
|
-
|
|
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
|
-
|
|
1184
|
-
price_side: import("@feathersjs/typebox").TLiteral<"bid"
|
|
1185
|
-
|
|
1186
|
-
use_order_book: import("@feathersjs/typebox").TBoolean
|
|
1187
|
-
order_book_top: import("@feathersjs/typebox").
|
|
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").
|
|
1191
|
-
}
|
|
1169
|
+
bids_to_ask_delta: import("@feathersjs/typebox").TNumber;
|
|
1170
|
+
}>>;
|
|
1192
1171
|
}>;
|
|
1193
|
-
|
|
1194
|
-
price_side: import("@feathersjs/typebox").TLiteral<"ask"
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
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;
|
|
@@ -24,6 +24,7 @@ export declare const userSchema: import("@feathersjs/typebox").TObject<{
|
|
|
24
24
|
theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
25
25
|
layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
26
26
|
}>>;
|
|
27
|
+
displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
|
|
27
28
|
timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
28
29
|
subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
29
30
|
isVerified: import("@feathersjs/typebox").TBoolean;
|
|
@@ -64,6 +65,7 @@ export declare const userResolver: import("@feathersjs/schema").Resolver<{
|
|
|
64
65
|
theme?: string | undefined;
|
|
65
66
|
layout?: string | undefined;
|
|
66
67
|
} | undefined;
|
|
68
|
+
displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
|
|
67
69
|
timezone?: string | undefined;
|
|
68
70
|
subscribe?: string | undefined;
|
|
69
71
|
verifyToken?: string | null | undefined;
|
|
@@ -105,6 +107,7 @@ export declare const userExternalResolver: import("@feathersjs/schema").Resolver
|
|
|
105
107
|
theme?: string | undefined;
|
|
106
108
|
layout?: string | undefined;
|
|
107
109
|
} | undefined;
|
|
110
|
+
displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
|
|
108
111
|
timezone?: string | undefined;
|
|
109
112
|
subscribe?: string | undefined;
|
|
110
113
|
verifyToken?: string | null | undefined;
|
|
@@ -149,6 +152,7 @@ export declare const userDataSchema: import("@feathersjs/typebox").TPick<import(
|
|
|
149
152
|
theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
150
153
|
layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
151
154
|
}>>;
|
|
155
|
+
displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
|
|
152
156
|
timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
153
157
|
subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
154
158
|
isVerified: import("@feathersjs/typebox").TBoolean;
|
|
@@ -189,6 +193,7 @@ export declare const userDataResolver: import("@feathersjs/schema").Resolver<{
|
|
|
189
193
|
theme?: string | undefined;
|
|
190
194
|
layout?: string | undefined;
|
|
191
195
|
} | undefined;
|
|
196
|
+
displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
|
|
192
197
|
timezone?: string | undefined;
|
|
193
198
|
subscribe?: string | undefined;
|
|
194
199
|
verifyToken?: string | null | undefined;
|
|
@@ -233,6 +238,7 @@ export declare const userPatchSchema: import("@feathersjs/typebox").TPartial<imp
|
|
|
233
238
|
theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
234
239
|
layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
235
240
|
}>>;
|
|
241
|
+
displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
|
|
236
242
|
timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
237
243
|
subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
238
244
|
isVerified: import("@feathersjs/typebox").TBoolean;
|
|
@@ -273,6 +279,7 @@ export declare const userPatchResolver: import("@feathersjs/schema").Resolver<{
|
|
|
273
279
|
theme?: string | undefined;
|
|
274
280
|
layout?: string | undefined;
|
|
275
281
|
} | undefined;
|
|
282
|
+
displayCurrency?: "AUD" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PKR" | "PLN" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "TWD" | "ZAR" | "USD" | undefined;
|
|
276
283
|
timezone?: string | undefined;
|
|
277
284
|
subscribe?: string | undefined;
|
|
278
285
|
verifyToken?: string | null | undefined;
|
|
@@ -317,6 +324,7 @@ export declare const userQueryProperties: import("@feathersjs/typebox").TPick<im
|
|
|
317
324
|
theme: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
318
325
|
layout: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
319
326
|
}>>;
|
|
327
|
+
displayCurrency: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AUD">, import("@feathersjs/typebox").TLiteral<"BRL">, import("@feathersjs/typebox").TLiteral<"CAD">, import("@feathersjs/typebox").TLiteral<"CHF">, import("@feathersjs/typebox").TLiteral<"CLP">, import("@feathersjs/typebox").TLiteral<"CNY">, import("@feathersjs/typebox").TLiteral<"CZK">, import("@feathersjs/typebox").TLiteral<"DKK">, import("@feathersjs/typebox").TLiteral<"EUR">, import("@feathersjs/typebox").TLiteral<"GBP">, import("@feathersjs/typebox").TLiteral<"HKD">, import("@feathersjs/typebox").TLiteral<"HUF">, import("@feathersjs/typebox").TLiteral<"IDR">, import("@feathersjs/typebox").TLiteral<"ILS">, import("@feathersjs/typebox").TLiteral<"INR">, import("@feathersjs/typebox").TLiteral<"JPY">, import("@feathersjs/typebox").TLiteral<"KRW">, import("@feathersjs/typebox").TLiteral<"MXN">, import("@feathersjs/typebox").TLiteral<"MYR">, import("@feathersjs/typebox").TLiteral<"NOK">, import("@feathersjs/typebox").TLiteral<"NZD">, import("@feathersjs/typebox").TLiteral<"PHP">, import("@feathersjs/typebox").TLiteral<"PKR">, import("@feathersjs/typebox").TLiteral<"PLN">, import("@feathersjs/typebox").TLiteral<"RUB">, import("@feathersjs/typebox").TLiteral<"SEK">, import("@feathersjs/typebox").TLiteral<"SGD">, import("@feathersjs/typebox").TLiteral<"THB">, import("@feathersjs/typebox").TLiteral<"TRY">, import("@feathersjs/typebox").TLiteral<"TWD">, import("@feathersjs/typebox").TLiteral<"ZAR">, import("@feathersjs/typebox").TLiteral<"USD">]>>;
|
|
320
328
|
timezone: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
321
329
|
subscribe: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
322
330
|
isVerified: 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.
|
|
4
|
+
"version": "0.0.16",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"keywords": [
|
|
7
|
-
"
|
|
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": ">=
|
|
20
|
+
"node": ">= 18.0.0"
|
|
14
21
|
},
|
|
15
22
|
"feathers": {
|
|
16
23
|
"language": "ts",
|