@cryptorobot.ai/client 1.26.0-dev.1023 → 1.26.0-dev.1024
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/services/copilot/recommendations/recommendations.hooks.d.ts +4 -0
- package/lib/src/services/strategies/strategies.schema.d.ts +419 -0
- package/lib/src/services/strategies/templates/templates.schema.d.ts +2464 -0
- package/lib/src/services/traders/pods/api/api.schema.d.ts +448 -0
- package/lib/src/services/traders/pods/pods.schema.d.ts +504 -0
- package/package.json +1 -1
|
@@ -700,6 +700,34 @@ export declare const tradersPodsSchema: import("@feathersjs/typebox").TObject<{
|
|
|
700
700
|
stress_shield: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
701
701
|
enabled: import("@feathersjs/typebox").TBoolean;
|
|
702
702
|
}>>;
|
|
703
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
704
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
705
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
706
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
707
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
708
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
709
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
710
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
711
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
712
|
+
}>;
|
|
713
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
714
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
715
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
716
|
+
}>>;
|
|
717
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
718
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
719
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
720
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
721
|
+
}>>;
|
|
722
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
723
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
724
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
725
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
726
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
727
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
728
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
729
|
+
}>>;
|
|
730
|
+
}>>;
|
|
703
731
|
configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
704
732
|
sourceStrategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
705
733
|
sourceUserId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -1281,6 +1309,34 @@ export declare const tradersPodsSchema: import("@feathersjs/typebox").TObject<{
|
|
|
1281
1309
|
}>;
|
|
1282
1310
|
}>>;
|
|
1283
1311
|
}>;
|
|
1312
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
1313
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
1314
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
1315
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
1316
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
1317
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
1318
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
1319
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
1320
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
1321
|
+
}>;
|
|
1322
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
1323
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
1324
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
1325
|
+
}>>;
|
|
1326
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
1327
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
1328
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
1329
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
1330
|
+
}>>;
|
|
1331
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
1332
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
1333
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
1334
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
1335
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
1336
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
1337
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
1338
|
+
}>>;
|
|
1339
|
+
}>>;
|
|
1284
1340
|
}>;
|
|
1285
1341
|
timeinforce: import("@feathersjs/typebox").TString<string>;
|
|
1286
1342
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"official">, import("@feathersjs/typebox").TLiteral<"community">]>>;
|
|
@@ -2033,6 +2089,34 @@ export declare const tradersPodsResolver: import("@feathersjs/schema").Resolver<
|
|
|
2033
2089
|
stress_shield?: {
|
|
2034
2090
|
enabled: boolean;
|
|
2035
2091
|
} | undefined;
|
|
2092
|
+
dca?: {
|
|
2093
|
+
enabled: boolean;
|
|
2094
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
2095
|
+
trigger: {
|
|
2096
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
2097
|
+
stepPct?: number | undefined;
|
|
2098
|
+
stepScale?: number | undefined;
|
|
2099
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
2100
|
+
count?: number | undefined;
|
|
2101
|
+
};
|
|
2102
|
+
baseOrder?: {
|
|
2103
|
+
type: "fixed" | "percentOfBalance";
|
|
2104
|
+
value: number;
|
|
2105
|
+
} | undefined;
|
|
2106
|
+
safetyOrder?: {
|
|
2107
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
2108
|
+
value?: number | undefined;
|
|
2109
|
+
volumeScale?: number | undefined;
|
|
2110
|
+
} | undefined;
|
|
2111
|
+
maxSafetyOrders?: number | undefined;
|
|
2112
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
2113
|
+
exit?: {
|
|
2114
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
2115
|
+
takeProfitPct?: number | undefined;
|
|
2116
|
+
trailing?: boolean | undefined;
|
|
2117
|
+
stopLossPct?: number | undefined;
|
|
2118
|
+
} | undefined;
|
|
2119
|
+
} | undefined;
|
|
2036
2120
|
configured?: boolean | undefined;
|
|
2037
2121
|
sourceStrategyId?: string | {} | undefined;
|
|
2038
2122
|
sourceUserId?: string | {} | undefined;
|
|
@@ -2614,6 +2698,34 @@ export declare const tradersPodsResolver: import("@feathersjs/schema").Resolver<
|
|
|
2614
2698
|
};
|
|
2615
2699
|
}[];
|
|
2616
2700
|
};
|
|
2701
|
+
dca?: {
|
|
2702
|
+
enabled: boolean;
|
|
2703
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
2704
|
+
trigger: {
|
|
2705
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
2706
|
+
stepPct?: number | undefined;
|
|
2707
|
+
stepScale?: number | undefined;
|
|
2708
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
2709
|
+
count?: number | undefined;
|
|
2710
|
+
};
|
|
2711
|
+
baseOrder?: {
|
|
2712
|
+
type: "fixed" | "percentOfBalance";
|
|
2713
|
+
value: number;
|
|
2714
|
+
} | undefined;
|
|
2715
|
+
safetyOrder?: {
|
|
2716
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
2717
|
+
value?: number | undefined;
|
|
2718
|
+
volumeScale?: number | undefined;
|
|
2719
|
+
} | undefined;
|
|
2720
|
+
maxSafetyOrders?: number | undefined;
|
|
2721
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
2722
|
+
exit?: {
|
|
2723
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
2724
|
+
takeProfitPct?: number | undefined;
|
|
2725
|
+
trailing?: boolean | undefined;
|
|
2726
|
+
stopLossPct?: number | undefined;
|
|
2727
|
+
} | undefined;
|
|
2728
|
+
} | undefined;
|
|
2617
2729
|
};
|
|
2618
2730
|
timeinforce: string;
|
|
2619
2731
|
source?: "community" | "official" | undefined;
|
|
@@ -3364,6 +3476,34 @@ export declare const tradersPodsExternalResolver: import("@feathersjs/schema").R
|
|
|
3364
3476
|
stress_shield?: {
|
|
3365
3477
|
enabled: boolean;
|
|
3366
3478
|
} | undefined;
|
|
3479
|
+
dca?: {
|
|
3480
|
+
enabled: boolean;
|
|
3481
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
3482
|
+
trigger: {
|
|
3483
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
3484
|
+
stepPct?: number | undefined;
|
|
3485
|
+
stepScale?: number | undefined;
|
|
3486
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
3487
|
+
count?: number | undefined;
|
|
3488
|
+
};
|
|
3489
|
+
baseOrder?: {
|
|
3490
|
+
type: "fixed" | "percentOfBalance";
|
|
3491
|
+
value: number;
|
|
3492
|
+
} | undefined;
|
|
3493
|
+
safetyOrder?: {
|
|
3494
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
3495
|
+
value?: number | undefined;
|
|
3496
|
+
volumeScale?: number | undefined;
|
|
3497
|
+
} | undefined;
|
|
3498
|
+
maxSafetyOrders?: number | undefined;
|
|
3499
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
3500
|
+
exit?: {
|
|
3501
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
3502
|
+
takeProfitPct?: number | undefined;
|
|
3503
|
+
trailing?: boolean | undefined;
|
|
3504
|
+
stopLossPct?: number | undefined;
|
|
3505
|
+
} | undefined;
|
|
3506
|
+
} | undefined;
|
|
3367
3507
|
configured?: boolean | undefined;
|
|
3368
3508
|
sourceStrategyId?: string | {} | undefined;
|
|
3369
3509
|
sourceUserId?: string | {} | undefined;
|
|
@@ -3945,6 +4085,34 @@ export declare const tradersPodsExternalResolver: import("@feathersjs/schema").R
|
|
|
3945
4085
|
};
|
|
3946
4086
|
}[];
|
|
3947
4087
|
};
|
|
4088
|
+
dca?: {
|
|
4089
|
+
enabled: boolean;
|
|
4090
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
4091
|
+
trigger: {
|
|
4092
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
4093
|
+
stepPct?: number | undefined;
|
|
4094
|
+
stepScale?: number | undefined;
|
|
4095
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
4096
|
+
count?: number | undefined;
|
|
4097
|
+
};
|
|
4098
|
+
baseOrder?: {
|
|
4099
|
+
type: "fixed" | "percentOfBalance";
|
|
4100
|
+
value: number;
|
|
4101
|
+
} | undefined;
|
|
4102
|
+
safetyOrder?: {
|
|
4103
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
4104
|
+
value?: number | undefined;
|
|
4105
|
+
volumeScale?: number | undefined;
|
|
4106
|
+
} | undefined;
|
|
4107
|
+
maxSafetyOrders?: number | undefined;
|
|
4108
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
4109
|
+
exit?: {
|
|
4110
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
4111
|
+
takeProfitPct?: number | undefined;
|
|
4112
|
+
trailing?: boolean | undefined;
|
|
4113
|
+
stopLossPct?: number | undefined;
|
|
4114
|
+
} | undefined;
|
|
4115
|
+
} | undefined;
|
|
3948
4116
|
};
|
|
3949
4117
|
timeinforce: string;
|
|
3950
4118
|
source?: "community" | "official" | undefined;
|
|
@@ -4695,6 +4863,34 @@ export declare const tradersPodsDataSchema: import("@feathersjs/typebox").TInter
|
|
|
4695
4863
|
stress_shield: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4696
4864
|
enabled: import("@feathersjs/typebox").TBoolean;
|
|
4697
4865
|
}>>;
|
|
4866
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4867
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
4868
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
4869
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
4870
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
4871
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4872
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4873
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
4874
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4875
|
+
}>;
|
|
4876
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4877
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
4878
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
4879
|
+
}>>;
|
|
4880
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4881
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
4882
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4883
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4884
|
+
}>>;
|
|
4885
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4886
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
4887
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4888
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
4889
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4890
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
4891
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4892
|
+
}>>;
|
|
4893
|
+
}>>;
|
|
4698
4894
|
configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
4699
4895
|
sourceStrategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
4700
4896
|
sourceUserId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -5276,6 +5472,34 @@ export declare const tradersPodsDataSchema: import("@feathersjs/typebox").TInter
|
|
|
5276
5472
|
}>;
|
|
5277
5473
|
}>>;
|
|
5278
5474
|
}>;
|
|
5475
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
5476
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
5477
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
5478
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
5479
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
5480
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
5481
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
5482
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
5483
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
5484
|
+
}>;
|
|
5485
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
5486
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
5487
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
5488
|
+
}>>;
|
|
5489
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
5490
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
5491
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
5492
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
5493
|
+
}>>;
|
|
5494
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
5495
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
5496
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
5497
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
5498
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
5499
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
5500
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
5501
|
+
}>>;
|
|
5502
|
+
}>>;
|
|
5279
5503
|
}>;
|
|
5280
5504
|
timeinforce: import("@feathersjs/typebox").TString<string>;
|
|
5281
5505
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"official">, import("@feathersjs/typebox").TLiteral<"community">]>>;
|
|
@@ -6025,6 +6249,34 @@ export declare const tradersPodsDataSchema: import("@feathersjs/typebox").TInter
|
|
|
6025
6249
|
stress_shield: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
6026
6250
|
enabled: import("@feathersjs/typebox").TBoolean;
|
|
6027
6251
|
}>>;
|
|
6252
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
6253
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
6254
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
6255
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
6256
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
6257
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6258
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6259
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
6260
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6261
|
+
}>;
|
|
6262
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
6263
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
6264
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
6265
|
+
}>>;
|
|
6266
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
6267
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
6268
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6269
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6270
|
+
}>>;
|
|
6271
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6272
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
6273
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
6274
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
6275
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6276
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
6277
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6278
|
+
}>>;
|
|
6279
|
+
}>>;
|
|
6028
6280
|
configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
6029
6281
|
sourceStrategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
6030
6282
|
sourceUserId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -6606,6 +6858,34 @@ export declare const tradersPodsDataSchema: import("@feathersjs/typebox").TInter
|
|
|
6606
6858
|
}>;
|
|
6607
6859
|
}>>;
|
|
6608
6860
|
}>;
|
|
6861
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
6862
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
6863
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
6864
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
6865
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
6866
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6867
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6868
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
6869
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6870
|
+
}>;
|
|
6871
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
6872
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
6873
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
6874
|
+
}>>;
|
|
6875
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
6876
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
6877
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6878
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6879
|
+
}>>;
|
|
6880
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6881
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
6882
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
6883
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
6884
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6885
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
6886
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
6887
|
+
}>>;
|
|
6888
|
+
}>>;
|
|
6609
6889
|
}>;
|
|
6610
6890
|
timeinforce: import("@feathersjs/typebox").TString<string>;
|
|
6611
6891
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"official">, import("@feathersjs/typebox").TLiteral<"community">]>>;
|
|
@@ -7358,6 +7638,34 @@ export declare const tradersPodsDataResolver: import("@feathersjs/schema").Resol
|
|
|
7358
7638
|
stress_shield?: {
|
|
7359
7639
|
enabled: boolean;
|
|
7360
7640
|
} | undefined;
|
|
7641
|
+
dca?: {
|
|
7642
|
+
enabled: boolean;
|
|
7643
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
7644
|
+
trigger: {
|
|
7645
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
7646
|
+
stepPct?: number | undefined;
|
|
7647
|
+
stepScale?: number | undefined;
|
|
7648
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
7649
|
+
count?: number | undefined;
|
|
7650
|
+
};
|
|
7651
|
+
baseOrder?: {
|
|
7652
|
+
type: "fixed" | "percentOfBalance";
|
|
7653
|
+
value: number;
|
|
7654
|
+
} | undefined;
|
|
7655
|
+
safetyOrder?: {
|
|
7656
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
7657
|
+
value?: number | undefined;
|
|
7658
|
+
volumeScale?: number | undefined;
|
|
7659
|
+
} | undefined;
|
|
7660
|
+
maxSafetyOrders?: number | undefined;
|
|
7661
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
7662
|
+
exit?: {
|
|
7663
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
7664
|
+
takeProfitPct?: number | undefined;
|
|
7665
|
+
trailing?: boolean | undefined;
|
|
7666
|
+
stopLossPct?: number | undefined;
|
|
7667
|
+
} | undefined;
|
|
7668
|
+
} | undefined;
|
|
7361
7669
|
configured?: boolean | undefined;
|
|
7362
7670
|
sourceStrategyId?: string | {} | undefined;
|
|
7363
7671
|
sourceUserId?: string | {} | undefined;
|
|
@@ -7939,6 +8247,34 @@ export declare const tradersPodsDataResolver: import("@feathersjs/schema").Resol
|
|
|
7939
8247
|
};
|
|
7940
8248
|
}[];
|
|
7941
8249
|
};
|
|
8250
|
+
dca?: {
|
|
8251
|
+
enabled: boolean;
|
|
8252
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
8253
|
+
trigger: {
|
|
8254
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
8255
|
+
stepPct?: number | undefined;
|
|
8256
|
+
stepScale?: number | undefined;
|
|
8257
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
8258
|
+
count?: number | undefined;
|
|
8259
|
+
};
|
|
8260
|
+
baseOrder?: {
|
|
8261
|
+
type: "fixed" | "percentOfBalance";
|
|
8262
|
+
value: number;
|
|
8263
|
+
} | undefined;
|
|
8264
|
+
safetyOrder?: {
|
|
8265
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
8266
|
+
value?: number | undefined;
|
|
8267
|
+
volumeScale?: number | undefined;
|
|
8268
|
+
} | undefined;
|
|
8269
|
+
maxSafetyOrders?: number | undefined;
|
|
8270
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
8271
|
+
exit?: {
|
|
8272
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
8273
|
+
takeProfitPct?: number | undefined;
|
|
8274
|
+
trailing?: boolean | undefined;
|
|
8275
|
+
stopLossPct?: number | undefined;
|
|
8276
|
+
} | undefined;
|
|
8277
|
+
} | undefined;
|
|
7942
8278
|
};
|
|
7943
8279
|
timeinforce: string;
|
|
7944
8280
|
source?: "community" | "official" | undefined;
|
|
@@ -8689,6 +9025,34 @@ export declare const tradersPodsPatchSchema: import("@feathersjs/typebox").TPart
|
|
|
8689
9025
|
stress_shield: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
8690
9026
|
enabled: import("@feathersjs/typebox").TBoolean;
|
|
8691
9027
|
}>>;
|
|
9028
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
9029
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
9030
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
9031
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
9032
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
9033
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9034
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9035
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
9036
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9037
|
+
}>;
|
|
9038
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
9039
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
9040
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
9041
|
+
}>>;
|
|
9042
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
9043
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
9044
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9045
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9046
|
+
}>>;
|
|
9047
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9048
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
9049
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
9050
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
9051
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9052
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
9053
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9054
|
+
}>>;
|
|
9055
|
+
}>>;
|
|
8692
9056
|
configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
8693
9057
|
sourceStrategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
8694
9058
|
sourceUserId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -9270,6 +9634,34 @@ export declare const tradersPodsPatchSchema: import("@feathersjs/typebox").TPart
|
|
|
9270
9634
|
}>;
|
|
9271
9635
|
}>>;
|
|
9272
9636
|
}>;
|
|
9637
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
9638
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
9639
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
9640
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
9641
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
9642
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9643
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9644
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
9645
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9646
|
+
}>;
|
|
9647
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
9648
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
9649
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
9650
|
+
}>>;
|
|
9651
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
9652
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
9653
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9654
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9655
|
+
}>>;
|
|
9656
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9657
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
9658
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
9659
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
9660
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9661
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
9662
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
9663
|
+
}>>;
|
|
9664
|
+
}>>;
|
|
9273
9665
|
}>;
|
|
9274
9666
|
timeinforce: import("@feathersjs/typebox").TString<string>;
|
|
9275
9667
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"official">, import("@feathersjs/typebox").TLiteral<"community">]>>;
|
|
@@ -10022,6 +10414,34 @@ export declare const tradersPodsPatchResolver: import("@feathersjs/schema").Reso
|
|
|
10022
10414
|
stress_shield?: {
|
|
10023
10415
|
enabled: boolean;
|
|
10024
10416
|
} | undefined;
|
|
10417
|
+
dca?: {
|
|
10418
|
+
enabled: boolean;
|
|
10419
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
10420
|
+
trigger: {
|
|
10421
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
10422
|
+
stepPct?: number | undefined;
|
|
10423
|
+
stepScale?: number | undefined;
|
|
10424
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
10425
|
+
count?: number | undefined;
|
|
10426
|
+
};
|
|
10427
|
+
baseOrder?: {
|
|
10428
|
+
type: "fixed" | "percentOfBalance";
|
|
10429
|
+
value: number;
|
|
10430
|
+
} | undefined;
|
|
10431
|
+
safetyOrder?: {
|
|
10432
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
10433
|
+
value?: number | undefined;
|
|
10434
|
+
volumeScale?: number | undefined;
|
|
10435
|
+
} | undefined;
|
|
10436
|
+
maxSafetyOrders?: number | undefined;
|
|
10437
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
10438
|
+
exit?: {
|
|
10439
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
10440
|
+
takeProfitPct?: number | undefined;
|
|
10441
|
+
trailing?: boolean | undefined;
|
|
10442
|
+
stopLossPct?: number | undefined;
|
|
10443
|
+
} | undefined;
|
|
10444
|
+
} | undefined;
|
|
10025
10445
|
configured?: boolean | undefined;
|
|
10026
10446
|
sourceStrategyId?: string | {} | undefined;
|
|
10027
10447
|
sourceUserId?: string | {} | undefined;
|
|
@@ -10603,6 +11023,34 @@ export declare const tradersPodsPatchResolver: import("@feathersjs/schema").Reso
|
|
|
10603
11023
|
};
|
|
10604
11024
|
}[];
|
|
10605
11025
|
};
|
|
11026
|
+
dca?: {
|
|
11027
|
+
enabled: boolean;
|
|
11028
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
11029
|
+
trigger: {
|
|
11030
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
11031
|
+
stepPct?: number | undefined;
|
|
11032
|
+
stepScale?: number | undefined;
|
|
11033
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
11034
|
+
count?: number | undefined;
|
|
11035
|
+
};
|
|
11036
|
+
baseOrder?: {
|
|
11037
|
+
type: "fixed" | "percentOfBalance";
|
|
11038
|
+
value: number;
|
|
11039
|
+
} | undefined;
|
|
11040
|
+
safetyOrder?: {
|
|
11041
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
11042
|
+
value?: number | undefined;
|
|
11043
|
+
volumeScale?: number | undefined;
|
|
11044
|
+
} | undefined;
|
|
11045
|
+
maxSafetyOrders?: number | undefined;
|
|
11046
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
11047
|
+
exit?: {
|
|
11048
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
11049
|
+
takeProfitPct?: number | undefined;
|
|
11050
|
+
trailing?: boolean | undefined;
|
|
11051
|
+
stopLossPct?: number | undefined;
|
|
11052
|
+
} | undefined;
|
|
11053
|
+
} | undefined;
|
|
10606
11054
|
};
|
|
10607
11055
|
timeinforce: string;
|
|
10608
11056
|
source?: "community" | "official" | undefined;
|
|
@@ -11353,6 +11801,34 @@ export declare const tradersPodsQueryProperties: import("@feathersjs/typebox").T
|
|
|
11353
11801
|
stress_shield: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
11354
11802
|
enabled: import("@feathersjs/typebox").TBoolean;
|
|
11355
11803
|
}>>;
|
|
11804
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
11805
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
11806
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
11807
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
11808
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
11809
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
11810
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
11811
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
11812
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
11813
|
+
}>;
|
|
11814
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
11815
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
11816
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
11817
|
+
}>>;
|
|
11818
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
11819
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
11820
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
11821
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
11822
|
+
}>>;
|
|
11823
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
11824
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
11825
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
11826
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
11827
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
11828
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
11829
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
11830
|
+
}>>;
|
|
11831
|
+
}>>;
|
|
11356
11832
|
configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
11357
11833
|
sourceStrategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
11358
11834
|
sourceUserId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -11934,6 +12410,34 @@ export declare const tradersPodsQueryProperties: import("@feathersjs/typebox").T
|
|
|
11934
12410
|
}>;
|
|
11935
12411
|
}>>;
|
|
11936
12412
|
}>;
|
|
12413
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
12414
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
12415
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
12416
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
12417
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
12418
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
12419
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
12420
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
12421
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
12422
|
+
}>;
|
|
12423
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
12424
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
12425
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
12426
|
+
}>>;
|
|
12427
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
12428
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
12429
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
12430
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
12431
|
+
}>>;
|
|
12432
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
12433
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
12434
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
12435
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
12436
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
12437
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
12438
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
12439
|
+
}>>;
|
|
12440
|
+
}>>;
|
|
11937
12441
|
}>;
|
|
11938
12442
|
timeinforce: import("@feathersjs/typebox").TString<string>;
|
|
11939
12443
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"official">, import("@feathersjs/typebox").TLiteral<"community">]>>;
|