@cryptorobot.ai/client 0.0.38 → 0.0.39
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/src/client.js +4 -1
- package/lib/src/services/exchanges/balance/balance.schema.d.ts +16 -16
- package/lib/src/services/exchanges/download/download.schema.d.ts +58 -17
- package/lib/src/services/exchanges/download/webhooks/webhooks.schema.d.ts +4 -4
- package/lib/src/services/exchanges/exchanges.schema.d.ts +100 -100
- package/lib/src/services/exchanges/ohlcv/ohlcv.class.d.ts +19 -0
- package/lib/src/services/exchanges/ohlcv/ohlcv.d.ts +11 -0
- package/lib/src/services/exchanges/ohlcv/ohlcv.schema.d.ts +507 -0
- package/lib/src/services/exchanges/ohlcv/ohlcv.shared.d.ts +13 -0
- package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +13 -0
- package/lib/src/services/exchanges/ticker/ticker.schema.d.ts +68 -68
- package/lib/src/services/messages/messages.schema.d.ts +64 -32
- package/lib/src/services/strategies/backtest/backtest.schema.d.ts +127 -60
- package/lib/src/services/strategies/backtest/results/results.schema.d.ts +8 -8
- package/lib/src/services/strategies/hyperopt/hyperopt.schema.d.ts +4 -4
- package/lib/src/services/strategies/indicators/indicators.schema.d.ts +4 -4
- package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +11 -0
- package/lib/src/services/strategies/indicators/talib/talib.d.ts +11 -0
- package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +443 -0
- package/lib/src/services/strategies/indicators/talib/talib.shared.d.ts +13 -0
- package/lib/src/services/strategies/indicators/talib/talib.shared.js +13 -0
- package/lib/src/services/strategies/strategies.schema.d.ts +28 -28
- package/lib/src/services/strategies/templates/templates.schema.d.ts +4 -4
- package/lib/src/services/traders/pods/api/api.schema.d.ts +380 -290
- package/lib/src/services/traders/pods/pods.schema.d.ts +310 -310
- package/lib/src/services/traders/traders.schema.d.ts +138 -138
- package/lib/src/services/users/users.class.d.ts +178 -3
- package/lib/src/services/users/users.schema.d.ts +123 -85
- package/lib/src/services/users/users.shared.d.ts +4 -3
- package/lib/src/services/users/users.shared.js +1 -1
- package/package.json +2 -3
- package/readme.md +1 -2
|
@@ -295,7 +295,6 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
295
295
|
balance_dust_level: number;
|
|
296
296
|
} | undefined;
|
|
297
297
|
_id?: string | {} | undefined;
|
|
298
|
-
running?: boolean | undefined;
|
|
299
298
|
plugins?: {
|
|
300
299
|
number_assets?: number | undefined;
|
|
301
300
|
refresh_period?: number | undefined;
|
|
@@ -312,6 +311,7 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
312
311
|
exit: number;
|
|
313
312
|
} | undefined;
|
|
314
313
|
cancel_open_orders_on_exit?: boolean | undefined;
|
|
314
|
+
running?: boolean | undefined;
|
|
315
315
|
tradable_balance_ratio?: number | undefined;
|
|
316
316
|
webhook?: {
|
|
317
317
|
url: string;
|
|
@@ -401,10 +401,11 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
401
401
|
key: string;
|
|
402
402
|
createdAt: any;
|
|
403
403
|
updatedAt: any;
|
|
404
|
-
"traders/pods": any;
|
|
405
|
-
userId: any;
|
|
406
404
|
connected: boolean;
|
|
407
405
|
which: string;
|
|
406
|
+
userId: any;
|
|
407
|
+
strategy: any;
|
|
408
|
+
"traders/pods": any;
|
|
408
409
|
exchange: any;
|
|
409
410
|
exchangeId: any;
|
|
410
411
|
stake_currency: string;
|
|
@@ -413,7 +414,6 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
413
414
|
handling: string;
|
|
414
415
|
initial_state: string;
|
|
415
416
|
pairlists: any;
|
|
416
|
-
strategy: any;
|
|
417
417
|
strategyId: string | {};
|
|
418
418
|
entry_pricing: {
|
|
419
419
|
price_side?: "ask" | "bid" | "same" | "other" | undefined;
|
|
@@ -445,16 +445,16 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
445
445
|
_id?: string | {} | undefined;
|
|
446
446
|
createdAt?: any;
|
|
447
447
|
updatedAt?: any;
|
|
448
|
+
userId?: string | {} | undefined;
|
|
448
449
|
'strategies/templates'?: {
|
|
449
450
|
_id?: string | {} | undefined;
|
|
450
451
|
createdAt?: any;
|
|
451
452
|
updatedAt?: any;
|
|
452
453
|
values: any;
|
|
453
454
|
name: string;
|
|
454
|
-
description: string;
|
|
455
455
|
type: string;
|
|
456
|
+
description: string;
|
|
456
457
|
} | undefined;
|
|
457
|
-
userId?: string | {} | undefined;
|
|
458
458
|
file?: any;
|
|
459
459
|
templateId?: string | {} | undefined;
|
|
460
460
|
interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
|
|
@@ -487,8 +487,8 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
487
487
|
max_allowed_drawdown?: unknown;
|
|
488
488
|
only_per_pair?: unknown;
|
|
489
489
|
enabled: boolean;
|
|
490
|
-
method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
|
|
491
490
|
type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
|
|
491
|
+
method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
|
|
492
492
|
}[] | undefined;
|
|
493
493
|
buywhen?: {
|
|
494
494
|
value?: number | undefined;
|
|
@@ -549,7 +549,6 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
549
549
|
balance_dust_level: number;
|
|
550
550
|
} | undefined;
|
|
551
551
|
_id?: string | {} | undefined;
|
|
552
|
-
running?: boolean | undefined;
|
|
553
552
|
plugins?: {
|
|
554
553
|
number_assets?: number | undefined;
|
|
555
554
|
refresh_period?: number | undefined;
|
|
@@ -566,6 +565,7 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
566
565
|
exit: number;
|
|
567
566
|
} | undefined;
|
|
568
567
|
cancel_open_orders_on_exit?: boolean | undefined;
|
|
568
|
+
running?: boolean | undefined;
|
|
569
569
|
tradable_balance_ratio?: number | undefined;
|
|
570
570
|
webhook?: {
|
|
571
571
|
url: string;
|
|
@@ -655,10 +655,11 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
655
655
|
key: string;
|
|
656
656
|
createdAt: any;
|
|
657
657
|
updatedAt: any;
|
|
658
|
-
"traders/pods": any;
|
|
659
|
-
userId: any;
|
|
660
658
|
connected: boolean;
|
|
661
659
|
which: string;
|
|
660
|
+
userId: any;
|
|
661
|
+
strategy: any;
|
|
662
|
+
"traders/pods": any;
|
|
662
663
|
exchange: any;
|
|
663
664
|
exchangeId: any;
|
|
664
665
|
stake_currency: string;
|
|
@@ -667,7 +668,6 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
667
668
|
handling: string;
|
|
668
669
|
initial_state: string;
|
|
669
670
|
pairlists: any;
|
|
670
|
-
strategy: any;
|
|
671
671
|
strategyId: string | {};
|
|
672
672
|
entry_pricing: {
|
|
673
673
|
price_side?: "ask" | "bid" | "same" | "other" | undefined;
|
|
@@ -699,16 +699,16 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
699
699
|
_id?: string | {} | undefined;
|
|
700
700
|
createdAt?: any;
|
|
701
701
|
updatedAt?: any;
|
|
702
|
+
userId?: string | {} | undefined;
|
|
702
703
|
'strategies/templates'?: {
|
|
703
704
|
_id?: string | {} | undefined;
|
|
704
705
|
createdAt?: any;
|
|
705
706
|
updatedAt?: any;
|
|
706
707
|
values: any;
|
|
707
708
|
name: string;
|
|
708
|
-
description: string;
|
|
709
709
|
type: string;
|
|
710
|
+
description: string;
|
|
710
711
|
} | undefined;
|
|
711
|
-
userId?: string | {} | undefined;
|
|
712
712
|
file?: any;
|
|
713
713
|
templateId?: string | {} | undefined;
|
|
714
714
|
interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
|
|
@@ -741,8 +741,8 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
741
741
|
max_allowed_drawdown?: unknown;
|
|
742
742
|
only_per_pair?: unknown;
|
|
743
743
|
enabled: boolean;
|
|
744
|
-
method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
|
|
745
744
|
type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
|
|
745
|
+
method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
|
|
746
746
|
}[] | undefined;
|
|
747
747
|
buywhen?: {
|
|
748
748
|
value?: number | undefined;
|
|
@@ -1059,7 +1059,6 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
1059
1059
|
balance_dust_level: number;
|
|
1060
1060
|
} | undefined;
|
|
1061
1061
|
_id?: string | {} | undefined;
|
|
1062
|
-
running?: boolean | undefined;
|
|
1063
1062
|
plugins?: {
|
|
1064
1063
|
number_assets?: number | undefined;
|
|
1065
1064
|
refresh_period?: number | undefined;
|
|
@@ -1076,6 +1075,7 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
1076
1075
|
exit: number;
|
|
1077
1076
|
} | undefined;
|
|
1078
1077
|
cancel_open_orders_on_exit?: boolean | undefined;
|
|
1078
|
+
running?: boolean | undefined;
|
|
1079
1079
|
tradable_balance_ratio?: number | undefined;
|
|
1080
1080
|
webhook?: {
|
|
1081
1081
|
url: string;
|
|
@@ -1165,10 +1165,11 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
1165
1165
|
key: string;
|
|
1166
1166
|
createdAt: any;
|
|
1167
1167
|
updatedAt: any;
|
|
1168
|
-
"traders/pods": any;
|
|
1169
|
-
userId: any;
|
|
1170
1168
|
connected: boolean;
|
|
1171
1169
|
which: string;
|
|
1170
|
+
userId: any;
|
|
1171
|
+
strategy: any;
|
|
1172
|
+
"traders/pods": any;
|
|
1172
1173
|
exchange: any;
|
|
1173
1174
|
exchangeId: any;
|
|
1174
1175
|
stake_currency: string;
|
|
@@ -1177,7 +1178,6 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
1177
1178
|
handling: string;
|
|
1178
1179
|
initial_state: string;
|
|
1179
1180
|
pairlists: any;
|
|
1180
|
-
strategy: any;
|
|
1181
1181
|
strategyId: string | {};
|
|
1182
1182
|
entry_pricing: {
|
|
1183
1183
|
price_side?: "ask" | "bid" | "same" | "other" | undefined;
|
|
@@ -1209,16 +1209,16 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
1209
1209
|
_id?: string | {} | undefined;
|
|
1210
1210
|
createdAt?: any;
|
|
1211
1211
|
updatedAt?: any;
|
|
1212
|
+
userId?: string | {} | undefined;
|
|
1212
1213
|
'strategies/templates'?: {
|
|
1213
1214
|
_id?: string | {} | undefined;
|
|
1214
1215
|
createdAt?: any;
|
|
1215
1216
|
updatedAt?: any;
|
|
1216
1217
|
values: any;
|
|
1217
1218
|
name: string;
|
|
1218
|
-
description: string;
|
|
1219
1219
|
type: string;
|
|
1220
|
+
description: string;
|
|
1220
1221
|
} | undefined;
|
|
1221
|
-
userId?: string | {} | undefined;
|
|
1222
1222
|
file?: any;
|
|
1223
1223
|
templateId?: string | {} | undefined;
|
|
1224
1224
|
interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
|
|
@@ -1251,8 +1251,8 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
1251
1251
|
max_allowed_drawdown?: unknown;
|
|
1252
1252
|
only_per_pair?: unknown;
|
|
1253
1253
|
enabled: boolean;
|
|
1254
|
-
method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
|
|
1255
1254
|
type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
|
|
1255
|
+
method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
|
|
1256
1256
|
}[] | undefined;
|
|
1257
1257
|
buywhen?: {
|
|
1258
1258
|
value?: number | undefined;
|
|
@@ -1569,7 +1569,6 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
1569
1569
|
balance_dust_level: number;
|
|
1570
1570
|
} | undefined;
|
|
1571
1571
|
_id?: string | {} | undefined;
|
|
1572
|
-
running?: boolean | undefined;
|
|
1573
1572
|
plugins?: {
|
|
1574
1573
|
number_assets?: number | undefined;
|
|
1575
1574
|
refresh_period?: number | undefined;
|
|
@@ -1586,6 +1585,7 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
1586
1585
|
exit: number;
|
|
1587
1586
|
} | undefined;
|
|
1588
1587
|
cancel_open_orders_on_exit?: boolean | undefined;
|
|
1588
|
+
running?: boolean | undefined;
|
|
1589
1589
|
tradable_balance_ratio?: number | undefined;
|
|
1590
1590
|
webhook?: {
|
|
1591
1591
|
url: string;
|
|
@@ -1675,10 +1675,11 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
1675
1675
|
key: string;
|
|
1676
1676
|
createdAt: any;
|
|
1677
1677
|
updatedAt: any;
|
|
1678
|
-
"traders/pods": any;
|
|
1679
|
-
userId: any;
|
|
1680
1678
|
connected: boolean;
|
|
1681
1679
|
which: string;
|
|
1680
|
+
userId: any;
|
|
1681
|
+
strategy: any;
|
|
1682
|
+
"traders/pods": any;
|
|
1682
1683
|
exchange: any;
|
|
1683
1684
|
exchangeId: any;
|
|
1684
1685
|
stake_currency: string;
|
|
@@ -1687,7 +1688,6 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
1687
1688
|
handling: string;
|
|
1688
1689
|
initial_state: string;
|
|
1689
1690
|
pairlists: any;
|
|
1690
|
-
strategy: any;
|
|
1691
1691
|
strategyId: string | {};
|
|
1692
1692
|
entry_pricing: {
|
|
1693
1693
|
price_side?: "ask" | "bid" | "same" | "other" | undefined;
|
|
@@ -1719,16 +1719,16 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
1719
1719
|
_id?: string | {} | undefined;
|
|
1720
1720
|
createdAt?: any;
|
|
1721
1721
|
updatedAt?: any;
|
|
1722
|
+
userId?: string | {} | undefined;
|
|
1722
1723
|
'strategies/templates'?: {
|
|
1723
1724
|
_id?: string | {} | undefined;
|
|
1724
1725
|
createdAt?: any;
|
|
1725
1726
|
updatedAt?: any;
|
|
1726
1727
|
values: any;
|
|
1727
1728
|
name: string;
|
|
1728
|
-
description: string;
|
|
1729
1729
|
type: string;
|
|
1730
|
+
description: string;
|
|
1730
1731
|
} | undefined;
|
|
1731
|
-
userId?: string | {} | undefined;
|
|
1732
1732
|
file?: any;
|
|
1733
1733
|
templateId?: string | {} | undefined;
|
|
1734
1734
|
interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
|
|
@@ -1761,8 +1761,8 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
1761
1761
|
max_allowed_drawdown?: unknown;
|
|
1762
1762
|
only_per_pair?: unknown;
|
|
1763
1763
|
enabled: boolean;
|
|
1764
|
-
method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
|
|
1765
1764
|
type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
|
|
1765
|
+
method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
|
|
1766
1766
|
}[] | undefined;
|
|
1767
1767
|
buywhen?: {
|
|
1768
1768
|
value?: number | undefined;
|
|
@@ -18,8 +18,8 @@ export declare const strategiesTemplatesResolver: import("@feathersjs/schema").R
|
|
|
18
18
|
updatedAt?: any;
|
|
19
19
|
values: any;
|
|
20
20
|
name: string;
|
|
21
|
-
description: string;
|
|
22
21
|
type: string;
|
|
22
|
+
description: string;
|
|
23
23
|
}, HookContext<StrategiesTemplatesService<import("./templates.class").StrategiesTemplatesParams>>>;
|
|
24
24
|
export declare const strategiesTemplatesExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
25
25
|
_id?: string | {} | undefined;
|
|
@@ -27,8 +27,8 @@ export declare const strategiesTemplatesExternalResolver: import("@feathersjs/sc
|
|
|
27
27
|
updatedAt?: any;
|
|
28
28
|
values: any;
|
|
29
29
|
name: string;
|
|
30
|
-
description: string;
|
|
31
30
|
type: string;
|
|
31
|
+
description: string;
|
|
32
32
|
}, HookContext<StrategiesTemplatesService<import("./templates.class").StrategiesTemplatesParams>>>;
|
|
33
33
|
export declare const strategiesTemplatesDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
34
34
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -47,8 +47,8 @@ export declare const strategiesTemplatesDataResolver: import("@feathersjs/schema
|
|
|
47
47
|
updatedAt?: any;
|
|
48
48
|
values: any;
|
|
49
49
|
name: string;
|
|
50
|
-
description: string;
|
|
51
50
|
type: string;
|
|
51
|
+
description: string;
|
|
52
52
|
}, HookContext<StrategiesTemplatesService<import("./templates.class").StrategiesTemplatesParams>>>;
|
|
53
53
|
export declare const strategiesTemplatesPatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
54
54
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -67,8 +67,8 @@ export declare const strategiesTemplatesPatchResolver: import("@feathersjs/schem
|
|
|
67
67
|
updatedAt?: any;
|
|
68
68
|
values: any;
|
|
69
69
|
name: string;
|
|
70
|
-
description: string;
|
|
71
70
|
type: string;
|
|
71
|
+
description: string;
|
|
72
72
|
}, HookContext<StrategiesTemplatesService<import("./templates.class").StrategiesTemplatesParams>>>;
|
|
73
73
|
export declare const strategiesTemplatesQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
74
74
|
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|