@cryptorobot.ai/client 0.0.39 → 0.0.40
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 +29 -2
- package/lib/src/services/agents/agents.class.d.ts +11 -0
- package/lib/src/services/agents/agents.d.ts +11 -0
- package/lib/src/services/agents/agents.schema.d.ts +2371 -0
- package/lib/src/services/agents/agents.shared.d.ts +13 -0
- package/lib/src/services/agents/agents.shared.js +13 -0
- package/lib/src/services/agents/prepare/prepare.class.d.ts +18 -0
- package/lib/src/services/agents/prepare/prepare.d.ts +11 -0
- package/lib/src/services/agents/prepare/prepare.schema.d.ts +285 -0
- package/lib/src/services/agents/prepare/prepare.shared.d.ts +13 -0
- package/lib/src/services/agents/prepare/prepare.shared.js +13 -0
- package/lib/src/services/agents/sessions/conversations/conversations.class.d.ts +11 -0
- package/lib/src/services/agents/sessions/conversations/conversations.d.ts +11 -0
- package/lib/src/services/agents/sessions/conversations/conversations.schema.d.ts +2561 -0
- package/lib/src/services/agents/sessions/conversations/conversations.shared.d.ts +13 -0
- package/lib/src/services/agents/sessions/conversations/conversations.shared.js +13 -0
- package/lib/src/services/agents/sessions/sessions.class.d.ts +11 -0
- package/lib/src/services/agents/sessions/sessions.d.ts +11 -0
- package/lib/src/services/agents/sessions/sessions.schema.d.ts +803 -0
- package/lib/src/services/agents/sessions/sessions.shared.d.ts +13 -0
- package/lib/src/services/agents/sessions/sessions.shared.js +13 -0
- package/lib/src/services/events/events.class.d.ts +11 -0
- package/lib/src/services/events/events.d.ts +11 -0
- package/lib/src/services/events/events.schema.d.ts +786 -0
- package/lib/src/services/events/events.shared.d.ts +13 -0
- package/lib/src/services/events/events.shared.js +13 -0
- package/lib/src/services/events/triggers/triggers.class.d.ts +11 -0
- package/lib/src/services/events/triggers/triggers.d.ts +11 -0
- package/lib/src/services/events/triggers/triggers.schema.d.ts +1582 -0
- package/lib/src/services/events/triggers/triggers.shared.d.ts +13 -0
- package/lib/src/services/events/triggers/triggers.shared.js +13 -0
- package/lib/src/services/events/types/types.class.d.ts +11 -0
- package/lib/src/services/events/types/types.d.ts +11 -0
- package/lib/src/services/events/types/types.schema.d.ts +688 -0
- package/lib/src/services/events/types/types.shared.d.ts +13 -0
- package/lib/src/services/events/types/types.shared.js +13 -0
- package/lib/src/services/exchanges/download/download.shared.d.ts +1 -1
- package/lib/src/services/exchanges/download/download.shared.js +1 -1
- package/lib/src/services/extensions/extensions.class.d.ts +11 -0
- package/lib/src/services/extensions/extensions.d.ts +11 -0
- package/lib/src/services/extensions/extensions.schema.d.ts +1275 -0
- package/lib/src/services/extensions/extensions.shared.d.ts +13 -0
- package/lib/src/services/extensions/extensions.shared.js +13 -0
- package/lib/src/services/keys/KeysService.d.ts +13 -0
- package/lib/src/services/keys/keys.class.d.ts +11 -0
- package/lib/src/services/keys/keys.d.ts +11 -0
- package/lib/src/services/keys/keys.schema.d.ts +719 -0
- package/lib/src/services/keys/keys.shared.d.ts +14 -0
- package/lib/src/services/keys/keys.shared.js +13 -0
- package/lib/src/services/messages/messages.schema.d.ts +4 -4
- package/lib/src/services/restricted/restricted.class.d.ts +26 -0
- package/lib/src/services/restricted/restricted.d.ts +21 -0
- package/lib/src/services/restricted/restricted.shared.d.ts +13 -0
- package/lib/src/services/restricted/restricted.shared.js +13 -0
- package/lib/src/services/strategies/backtest/results/results.schema.d.ts +28 -28
- package/lib/src/services/strategies/generate/generate.class.d.ts +11 -0
- package/lib/src/services/strategies/generate/generate.d.ts +11 -0
- package/lib/src/services/strategies/generate/generate.schema.d.ts +429 -0
- package/lib/src/services/strategies/generate/generate.shared.d.ts +13 -0
- package/lib/src/services/strategies/generate/generate.shared.js +13 -0
- package/lib/src/services/strategies/hyperopt/hyperopt.schema.d.ts +12 -4
- package/lib/src/services/strategies/indicators/indicators.schema.d.ts +177 -97
- package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +4 -4
- package/lib/src/services/strategies/strategies.schema.d.ts +2708 -303
- package/lib/src/services/strategies/templates/templates.schema.d.ts +2142 -12
- package/lib/src/services/tools/openapi/openapi.class.d.ts +34 -0
- package/lib/src/services/tools/openapi/openapi.d.ts +10 -0
- package/lib/src/services/tools/openapi/openapi.shared.d.ts +13 -0
- package/lib/src/services/tools/openapi/openapi.shared.js +13 -0
- package/lib/src/services/tools/tools.class.d.ts +11 -0
- package/lib/src/services/tools/tools.d.ts +11 -0
- package/lib/src/services/tools/tools.schema.d.ts +269 -0
- package/lib/src/services/tools/tools.shared.d.ts +13 -0
- package/lib/src/services/tools/tools.shared.js +13 -0
- package/lib/src/services/traders/pods/api/api.schema.d.ts +1284 -188
- package/lib/src/services/traders/pods/events/events.schema.d.ts +4 -4
- package/lib/src/services/traders/pods/pods.schema.d.ts +1280 -184
- package/lib/src/services/traders/traders.schema.d.ts +4 -4
- package/lib/src/services/users/users.class.d.ts +2 -2
- package/lib/src/services/users/users.schema.d.ts +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
import type { Static } from '@feathersjs/typebox';
|
|
2
|
+
import type { HookContext } from '../../../declarations';
|
|
3
|
+
import type { StrategiesGenerateService } from './generate.class';
|
|
4
|
+
export declare const strategiesGenerateSchema: import("@feathersjs/typebox").TObject<{
|
|
5
|
+
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
6
|
+
prompt: import("@feathersjs/typebox").TString<string>;
|
|
7
|
+
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
8
|
+
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
9
|
+
status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"SUCCEEDED">, import("@feathersjs/typebox").TLiteral<"FAILED">]>>;
|
|
10
|
+
templateId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
11
|
+
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<"date-time">>;
|
|
12
|
+
public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
13
|
+
auto: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
14
|
+
hyperopt: import("@feathersjs/typebox").TObject<{
|
|
15
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
16
|
+
exchangeId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
17
|
+
traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
18
|
+
epochs: import("@feathersjs/typebox").TNumber;
|
|
19
|
+
overrides: import("@feathersjs/typebox").TObject<{
|
|
20
|
+
max_open_trades: import("@feathersjs/typebox").TNumber;
|
|
21
|
+
dry_run_wallet: import("@feathersjs/typebox").TNumber;
|
|
22
|
+
}>;
|
|
23
|
+
options: import("@feathersjs/typebox").TObject<{
|
|
24
|
+
protections: import("@feathersjs/typebox").TBoolean;
|
|
25
|
+
eps: import("@feathersjs/typebox").TBoolean;
|
|
26
|
+
}>;
|
|
27
|
+
function: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ShortTradeDurHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"OnlyProfitHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"CalmarHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownRelativeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"ProfitDrawDownHyperOptLoss">]>;
|
|
28
|
+
days: import("@feathersjs/typebox").TNumber;
|
|
29
|
+
}>;
|
|
30
|
+
}>>;
|
|
31
|
+
}>;
|
|
32
|
+
export type StrategiesGenerate = Static<typeof strategiesGenerateSchema>;
|
|
33
|
+
export declare const strategiesGenerateValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
34
|
+
export declare const strategiesGenerateResolver: import("@feathersjs/schema").Resolver<{
|
|
35
|
+
public?: boolean | undefined;
|
|
36
|
+
createdAt?: string | undefined;
|
|
37
|
+
context?: string | undefined;
|
|
38
|
+
description?: string | undefined;
|
|
39
|
+
templateId?: string | undefined;
|
|
40
|
+
status?: "SUCCEEDED" | "FAILED" | undefined;
|
|
41
|
+
auto?: {
|
|
42
|
+
hyperopt: {
|
|
43
|
+
exchangeId?: string | {} | undefined;
|
|
44
|
+
traderId?: string | {} | undefined;
|
|
45
|
+
function: "ShortTradeDurHyperOptLoss" | "OnlyProfitHyperOptLoss" | "SharpeHyperOptLoss" | "SharpeHyperOptLossDaily" | "SortinoHyperOptLoss" | "SortinoHyperOptLossDaily" | "CalmarHyperOptLoss" | "MaxDrawDownHyperOptLoss" | "MaxDrawDownRelativeHyperOptLoss" | "ProfitDrawDownHyperOptLoss";
|
|
46
|
+
days: number;
|
|
47
|
+
enabled: boolean;
|
|
48
|
+
options: {
|
|
49
|
+
protections: boolean;
|
|
50
|
+
eps: boolean;
|
|
51
|
+
};
|
|
52
|
+
epochs: number;
|
|
53
|
+
overrides: {
|
|
54
|
+
dry_run_wallet: number;
|
|
55
|
+
max_open_trades: number;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
} | undefined;
|
|
59
|
+
_id: string | {};
|
|
60
|
+
prompt: string;
|
|
61
|
+
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
62
|
+
export declare const strategiesGenerateExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
63
|
+
public?: boolean | undefined;
|
|
64
|
+
createdAt?: string | undefined;
|
|
65
|
+
context?: string | undefined;
|
|
66
|
+
description?: string | undefined;
|
|
67
|
+
templateId?: string | undefined;
|
|
68
|
+
status?: "SUCCEEDED" | "FAILED" | undefined;
|
|
69
|
+
auto?: {
|
|
70
|
+
hyperopt: {
|
|
71
|
+
exchangeId?: string | {} | undefined;
|
|
72
|
+
traderId?: string | {} | undefined;
|
|
73
|
+
function: "ShortTradeDurHyperOptLoss" | "OnlyProfitHyperOptLoss" | "SharpeHyperOptLoss" | "SharpeHyperOptLossDaily" | "SortinoHyperOptLoss" | "SortinoHyperOptLossDaily" | "CalmarHyperOptLoss" | "MaxDrawDownHyperOptLoss" | "MaxDrawDownRelativeHyperOptLoss" | "ProfitDrawDownHyperOptLoss";
|
|
74
|
+
days: number;
|
|
75
|
+
enabled: boolean;
|
|
76
|
+
options: {
|
|
77
|
+
protections: boolean;
|
|
78
|
+
eps: boolean;
|
|
79
|
+
};
|
|
80
|
+
epochs: number;
|
|
81
|
+
overrides: {
|
|
82
|
+
dry_run_wallet: number;
|
|
83
|
+
max_open_trades: number;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
} | undefined;
|
|
87
|
+
_id: string | {};
|
|
88
|
+
prompt: string;
|
|
89
|
+
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
90
|
+
export declare const strategiesGenerateDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
91
|
+
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
92
|
+
prompt: import("@feathersjs/typebox").TString<string>;
|
|
93
|
+
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
94
|
+
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
95
|
+
status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"SUCCEEDED">, import("@feathersjs/typebox").TLiteral<"FAILED">]>>;
|
|
96
|
+
templateId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
97
|
+
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<"date-time">>;
|
|
98
|
+
public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
99
|
+
auto: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
100
|
+
hyperopt: import("@feathersjs/typebox").TObject<{
|
|
101
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
102
|
+
exchangeId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
103
|
+
traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
104
|
+
epochs: import("@feathersjs/typebox").TNumber;
|
|
105
|
+
overrides: import("@feathersjs/typebox").TObject<{
|
|
106
|
+
max_open_trades: import("@feathersjs/typebox").TNumber;
|
|
107
|
+
dry_run_wallet: import("@feathersjs/typebox").TNumber;
|
|
108
|
+
}>;
|
|
109
|
+
options: import("@feathersjs/typebox").TObject<{
|
|
110
|
+
protections: import("@feathersjs/typebox").TBoolean;
|
|
111
|
+
eps: import("@feathersjs/typebox").TBoolean;
|
|
112
|
+
}>;
|
|
113
|
+
function: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ShortTradeDurHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"OnlyProfitHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"CalmarHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownRelativeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"ProfitDrawDownHyperOptLoss">]>;
|
|
114
|
+
days: import("@feathersjs/typebox").TNumber;
|
|
115
|
+
}>;
|
|
116
|
+
}>>;
|
|
117
|
+
}>, ["prompt", "context", "public", "auto"]>;
|
|
118
|
+
export type StrategiesGenerateData = Static<typeof strategiesGenerateDataSchema>;
|
|
119
|
+
export declare const strategiesGenerateDataValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
120
|
+
export declare const strategiesGenerateDataResolver: import("@feathersjs/schema").Resolver<{
|
|
121
|
+
public?: boolean | undefined;
|
|
122
|
+
createdAt?: string | undefined;
|
|
123
|
+
context?: string | undefined;
|
|
124
|
+
description?: string | undefined;
|
|
125
|
+
templateId?: string | undefined;
|
|
126
|
+
status?: "SUCCEEDED" | "FAILED" | undefined;
|
|
127
|
+
auto?: {
|
|
128
|
+
hyperopt: {
|
|
129
|
+
exchangeId?: string | {} | undefined;
|
|
130
|
+
traderId?: string | {} | undefined;
|
|
131
|
+
function: "ShortTradeDurHyperOptLoss" | "OnlyProfitHyperOptLoss" | "SharpeHyperOptLoss" | "SharpeHyperOptLossDaily" | "SortinoHyperOptLoss" | "SortinoHyperOptLossDaily" | "CalmarHyperOptLoss" | "MaxDrawDownHyperOptLoss" | "MaxDrawDownRelativeHyperOptLoss" | "ProfitDrawDownHyperOptLoss";
|
|
132
|
+
days: number;
|
|
133
|
+
enabled: boolean;
|
|
134
|
+
options: {
|
|
135
|
+
protections: boolean;
|
|
136
|
+
eps: boolean;
|
|
137
|
+
};
|
|
138
|
+
epochs: number;
|
|
139
|
+
overrides: {
|
|
140
|
+
dry_run_wallet: number;
|
|
141
|
+
max_open_trades: number;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
} | undefined;
|
|
145
|
+
_id: string | {};
|
|
146
|
+
prompt: string;
|
|
147
|
+
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
148
|
+
export declare const strategiesGeneratePatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
149
|
+
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
150
|
+
prompt: import("@feathersjs/typebox").TString<string>;
|
|
151
|
+
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
152
|
+
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
153
|
+
status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"SUCCEEDED">, import("@feathersjs/typebox").TLiteral<"FAILED">]>>;
|
|
154
|
+
templateId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
155
|
+
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<"date-time">>;
|
|
156
|
+
public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
157
|
+
auto: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
158
|
+
hyperopt: import("@feathersjs/typebox").TObject<{
|
|
159
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
160
|
+
exchangeId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
161
|
+
traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
162
|
+
epochs: import("@feathersjs/typebox").TNumber;
|
|
163
|
+
overrides: import("@feathersjs/typebox").TObject<{
|
|
164
|
+
max_open_trades: import("@feathersjs/typebox").TNumber;
|
|
165
|
+
dry_run_wallet: import("@feathersjs/typebox").TNumber;
|
|
166
|
+
}>;
|
|
167
|
+
options: import("@feathersjs/typebox").TObject<{
|
|
168
|
+
protections: import("@feathersjs/typebox").TBoolean;
|
|
169
|
+
eps: import("@feathersjs/typebox").TBoolean;
|
|
170
|
+
}>;
|
|
171
|
+
function: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ShortTradeDurHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"OnlyProfitHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"CalmarHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownRelativeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"ProfitDrawDownHyperOptLoss">]>;
|
|
172
|
+
days: import("@feathersjs/typebox").TNumber;
|
|
173
|
+
}>;
|
|
174
|
+
}>>;
|
|
175
|
+
}>>;
|
|
176
|
+
export type StrategiesGeneratePatch = Static<typeof strategiesGeneratePatchSchema>;
|
|
177
|
+
export declare const strategiesGeneratePatchValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
178
|
+
export declare const strategiesGeneratePatchResolver: import("@feathersjs/schema").Resolver<{
|
|
179
|
+
public?: boolean | undefined;
|
|
180
|
+
createdAt?: string | undefined;
|
|
181
|
+
context?: string | undefined;
|
|
182
|
+
description?: string | undefined;
|
|
183
|
+
templateId?: string | undefined;
|
|
184
|
+
status?: "SUCCEEDED" | "FAILED" | undefined;
|
|
185
|
+
auto?: {
|
|
186
|
+
hyperopt: {
|
|
187
|
+
exchangeId?: string | {} | undefined;
|
|
188
|
+
traderId?: string | {} | undefined;
|
|
189
|
+
function: "ShortTradeDurHyperOptLoss" | "OnlyProfitHyperOptLoss" | "SharpeHyperOptLoss" | "SharpeHyperOptLossDaily" | "SortinoHyperOptLoss" | "SortinoHyperOptLossDaily" | "CalmarHyperOptLoss" | "MaxDrawDownHyperOptLoss" | "MaxDrawDownRelativeHyperOptLoss" | "ProfitDrawDownHyperOptLoss";
|
|
190
|
+
days: number;
|
|
191
|
+
enabled: boolean;
|
|
192
|
+
options: {
|
|
193
|
+
protections: boolean;
|
|
194
|
+
eps: boolean;
|
|
195
|
+
};
|
|
196
|
+
epochs: number;
|
|
197
|
+
overrides: {
|
|
198
|
+
dry_run_wallet: number;
|
|
199
|
+
max_open_trades: number;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
} | undefined;
|
|
203
|
+
_id: string | {};
|
|
204
|
+
prompt: string;
|
|
205
|
+
}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
206
|
+
export declare const strategiesGenerateQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
207
|
+
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
208
|
+
prompt: import("@feathersjs/typebox").TString<string>;
|
|
209
|
+
context: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
210
|
+
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
211
|
+
status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"SUCCEEDED">, import("@feathersjs/typebox").TLiteral<"FAILED">]>>;
|
|
212
|
+
templateId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
213
|
+
createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<"date-time">>;
|
|
214
|
+
public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
215
|
+
auto: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
216
|
+
hyperopt: import("@feathersjs/typebox").TObject<{
|
|
217
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
218
|
+
exchangeId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
219
|
+
traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
220
|
+
epochs: import("@feathersjs/typebox").TNumber;
|
|
221
|
+
overrides: import("@feathersjs/typebox").TObject<{
|
|
222
|
+
max_open_trades: import("@feathersjs/typebox").TNumber;
|
|
223
|
+
dry_run_wallet: import("@feathersjs/typebox").TNumber;
|
|
224
|
+
}>;
|
|
225
|
+
options: import("@feathersjs/typebox").TObject<{
|
|
226
|
+
protections: import("@feathersjs/typebox").TBoolean;
|
|
227
|
+
eps: import("@feathersjs/typebox").TBoolean;
|
|
228
|
+
}>;
|
|
229
|
+
function: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ShortTradeDurHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"OnlyProfitHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SharpeHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"SortinoHyperOptLossDaily">, import("@feathersjs/typebox").TLiteral<"CalmarHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"MaxDrawDownRelativeHyperOptLoss">, import("@feathersjs/typebox").TLiteral<"ProfitDrawDownHyperOptLoss">]>;
|
|
230
|
+
days: import("@feathersjs/typebox").TNumber;
|
|
231
|
+
}>;
|
|
232
|
+
}>>;
|
|
233
|
+
}>, ["_id", "prompt"]>;
|
|
234
|
+
export declare const strategiesGenerateQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
235
|
+
$limit: import("@feathersjs/typebox").TNumber;
|
|
236
|
+
$skip: import("@feathersjs/typebox").TNumber;
|
|
237
|
+
$sort: import("@feathersjs/typebox").TObject<{
|
|
238
|
+
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
239
|
+
prompt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
|
|
240
|
+
}>;
|
|
241
|
+
$select: import("@feathersjs/typebox").TUnsafe<("_id" | "prompt")[]>;
|
|
242
|
+
$and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
243
|
+
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
244
|
+
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
245
|
+
$gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
246
|
+
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
247
|
+
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
248
|
+
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
249
|
+
$in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
250
|
+
$nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
251
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
252
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
253
|
+
} | undefined>]>>]>>;
|
|
254
|
+
prompt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
255
|
+
$gt: import("@feathersjs/typebox").TString<string>;
|
|
256
|
+
$gte: import("@feathersjs/typebox").TString<string>;
|
|
257
|
+
$lt: import("@feathersjs/typebox").TString<string>;
|
|
258
|
+
$lte: import("@feathersjs/typebox").TString<string>;
|
|
259
|
+
$ne: import("@feathersjs/typebox").TString<string>;
|
|
260
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
261
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
262
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
263
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
264
|
+
} | undefined>]>>]>>;
|
|
265
|
+
}>>, import("@feathersjs/typebox").TObject<{
|
|
266
|
+
$or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
267
|
+
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
268
|
+
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
269
|
+
$gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
270
|
+
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
271
|
+
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
272
|
+
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
273
|
+
$in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
274
|
+
$nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
275
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
276
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
277
|
+
} | undefined>]>>]>>;
|
|
278
|
+
prompt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
279
|
+
$gt: import("@feathersjs/typebox").TString<string>;
|
|
280
|
+
$gte: import("@feathersjs/typebox").TString<string>;
|
|
281
|
+
$lt: import("@feathersjs/typebox").TString<string>;
|
|
282
|
+
$lte: import("@feathersjs/typebox").TString<string>;
|
|
283
|
+
$ne: import("@feathersjs/typebox").TString<string>;
|
|
284
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
285
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
286
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
287
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
288
|
+
} | undefined>]>>]>>;
|
|
289
|
+
}>>>;
|
|
290
|
+
}>]>>;
|
|
291
|
+
$or: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
292
|
+
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
293
|
+
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
294
|
+
$gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
295
|
+
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
296
|
+
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
297
|
+
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
298
|
+
$in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
299
|
+
$nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
300
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
301
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
302
|
+
} | undefined>]>>]>>;
|
|
303
|
+
prompt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
304
|
+
$gt: import("@feathersjs/typebox").TString<string>;
|
|
305
|
+
$gte: import("@feathersjs/typebox").TString<string>;
|
|
306
|
+
$lt: import("@feathersjs/typebox").TString<string>;
|
|
307
|
+
$lte: import("@feathersjs/typebox").TString<string>;
|
|
308
|
+
$ne: import("@feathersjs/typebox").TString<string>;
|
|
309
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
310
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
311
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
312
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
313
|
+
} | undefined>]>>]>>;
|
|
314
|
+
}>>>;
|
|
315
|
+
}>>, import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
316
|
+
_id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
317
|
+
$gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
318
|
+
$gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
319
|
+
$lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
320
|
+
$lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
321
|
+
$ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
322
|
+
$in: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
323
|
+
$nin: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
324
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
325
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
326
|
+
} | undefined>]>>]>>;
|
|
327
|
+
prompt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
|
|
328
|
+
$gt: import("@feathersjs/typebox").TString<string>;
|
|
329
|
+
$gte: import("@feathersjs/typebox").TString<string>;
|
|
330
|
+
$lt: import("@feathersjs/typebox").TString<string>;
|
|
331
|
+
$lte: import("@feathersjs/typebox").TString<string>;
|
|
332
|
+
$ne: import("@feathersjs/typebox").TString<string>;
|
|
333
|
+
$in: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
334
|
+
$nin: import("@feathersjs/typebox").TString<string> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>;
|
|
335
|
+
}>, import("@feathersjs/typebox").TObject<{
|
|
336
|
+
[key: string]: import("@feathersjs/typebox").TSchema;
|
|
337
|
+
} | undefined>]>>]>>;
|
|
338
|
+
}>>]>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
339
|
+
export type StrategiesGenerateQuery = Static<typeof strategiesGenerateQuerySchema>;
|
|
340
|
+
export declare const strategiesGenerateQueryValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
341
|
+
export declare const strategiesGenerateQueryResolver: import("@feathersjs/schema").Resolver<Partial<{
|
|
342
|
+
$limit: number;
|
|
343
|
+
$skip: number;
|
|
344
|
+
$sort: {
|
|
345
|
+
_id?: number | undefined;
|
|
346
|
+
prompt?: number | undefined;
|
|
347
|
+
};
|
|
348
|
+
$select: ("_id" | "prompt")[];
|
|
349
|
+
$and: ({
|
|
350
|
+
_id?: string | {} | Partial<{
|
|
351
|
+
$gt: string | {};
|
|
352
|
+
$gte: string | {};
|
|
353
|
+
$lt: string | {};
|
|
354
|
+
$lte: string | {};
|
|
355
|
+
$ne: string | {};
|
|
356
|
+
$in: string | {} | (string | {})[];
|
|
357
|
+
$nin: string | {} | (string | {})[];
|
|
358
|
+
} & {}> | undefined;
|
|
359
|
+
prompt?: string | Partial<{
|
|
360
|
+
$gt: string;
|
|
361
|
+
$gte: string;
|
|
362
|
+
$lt: string;
|
|
363
|
+
$lte: string;
|
|
364
|
+
$ne: string;
|
|
365
|
+
$in: string | string[];
|
|
366
|
+
$nin: string | string[];
|
|
367
|
+
} & {}> | undefined;
|
|
368
|
+
} | {
|
|
369
|
+
$or: {
|
|
370
|
+
_id?: string | {} | Partial<{
|
|
371
|
+
$gt: string | {};
|
|
372
|
+
$gte: string | {};
|
|
373
|
+
$lt: string | {};
|
|
374
|
+
$lte: string | {};
|
|
375
|
+
$ne: string | {};
|
|
376
|
+
$in: string | {} | (string | {})[];
|
|
377
|
+
$nin: string | {} | (string | {})[];
|
|
378
|
+
} & {}> | undefined;
|
|
379
|
+
prompt?: string | Partial<{
|
|
380
|
+
$gt: string;
|
|
381
|
+
$gte: string;
|
|
382
|
+
$lt: string;
|
|
383
|
+
$lte: string;
|
|
384
|
+
$ne: string;
|
|
385
|
+
$in: string | string[];
|
|
386
|
+
$nin: string | string[];
|
|
387
|
+
} & {}> | undefined;
|
|
388
|
+
}[];
|
|
389
|
+
})[];
|
|
390
|
+
$or: {
|
|
391
|
+
_id?: string | {} | Partial<{
|
|
392
|
+
$gt: string | {};
|
|
393
|
+
$gte: string | {};
|
|
394
|
+
$lt: string | {};
|
|
395
|
+
$lte: string | {};
|
|
396
|
+
$ne: string | {};
|
|
397
|
+
$in: string | {} | (string | {})[];
|
|
398
|
+
$nin: string | {} | (string | {})[];
|
|
399
|
+
} & {}> | undefined;
|
|
400
|
+
prompt?: string | Partial<{
|
|
401
|
+
$gt: string;
|
|
402
|
+
$gte: string;
|
|
403
|
+
$lt: string;
|
|
404
|
+
$lte: string;
|
|
405
|
+
$ne: string;
|
|
406
|
+
$in: string | string[];
|
|
407
|
+
$nin: string | string[];
|
|
408
|
+
} & {}> | undefined;
|
|
409
|
+
}[];
|
|
410
|
+
}> & {
|
|
411
|
+
_id?: string | {} | Partial<{
|
|
412
|
+
$gt: string | {};
|
|
413
|
+
$gte: string | {};
|
|
414
|
+
$lt: string | {};
|
|
415
|
+
$lte: string | {};
|
|
416
|
+
$ne: string | {};
|
|
417
|
+
$in: string | {} | (string | {})[];
|
|
418
|
+
$nin: string | {} | (string | {})[];
|
|
419
|
+
} & {}> | undefined;
|
|
420
|
+
prompt?: string | Partial<{
|
|
421
|
+
$gt: string;
|
|
422
|
+
$gte: string;
|
|
423
|
+
$lt: string;
|
|
424
|
+
$lte: string;
|
|
425
|
+
$ne: string;
|
|
426
|
+
$in: string | string[];
|
|
427
|
+
$nin: string | string[];
|
|
428
|
+
} & {}> | undefined;
|
|
429
|
+
} & {}, HookContext<StrategiesGenerateService<import("./generate.class").StrategiesGenerateParams>>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Params } from '@feathersjs/feathers';
|
|
2
|
+
import type { ClientApplication } from '../../../client';
|
|
3
|
+
import type { StrategiesGenerate, StrategiesGenerateData, StrategiesGeneratePatch, StrategiesGenerateQuery, StrategiesGenerateService } from './generate.class';
|
|
4
|
+
export type { StrategiesGenerate, StrategiesGenerateData, StrategiesGeneratePatch, StrategiesGenerateQuery };
|
|
5
|
+
export type StrategiesGenerateClientService = Pick<StrategiesGenerateService<Params<StrategiesGenerateQuery>>, (typeof strategiesGenerateMethods)[number]>;
|
|
6
|
+
export declare const strategiesGeneratePath = "strategies/generate";
|
|
7
|
+
export declare const strategiesGenerateMethods: readonly ["find", "get", "create", "patch", "remove"];
|
|
8
|
+
export declare const strategiesGenerateClient: (client: ClientApplication) => void;
|
|
9
|
+
declare module '../../../client' {
|
|
10
|
+
interface ServiceTypes {
|
|
11
|
+
[strategiesGeneratePath]: StrategiesGenerateClientService;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.strategiesGenerateClient = exports.strategiesGenerateMethods = exports.strategiesGeneratePath = void 0;
|
|
4
|
+
exports.strategiesGeneratePath = 'strategies/generate';
|
|
5
|
+
exports.strategiesGenerateMethods = ['find', 'get', 'create', 'patch', 'remove'];
|
|
6
|
+
const strategiesGenerateClient = (client) => {
|
|
7
|
+
const connection = client.get('connection');
|
|
8
|
+
client.use(exports.strategiesGeneratePath, connection.service(exports.strategiesGeneratePath), {
|
|
9
|
+
methods: exports.strategiesGenerateMethods
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.strategiesGenerateClient = strategiesGenerateClient;
|
|
13
|
+
//# sourceMappingURL=generate.shared.js.map
|
|
@@ -31,6 +31,7 @@ export declare const strategiesHyperoptSchema: import("@feathersjs/typebox").TOb
|
|
|
31
31
|
job: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
32
32
|
jobName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
33
33
|
}>>;
|
|
34
|
+
profit_total: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
34
35
|
}>;
|
|
35
36
|
export type StrategiesHyperopt = Static<typeof strategiesHyperoptSchema>;
|
|
36
37
|
export declare const strategiesHyperoptValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
@@ -48,6 +49,7 @@ export declare const strategiesHyperoptResolver: import("@feathersjs/schema").Re
|
|
|
48
49
|
job?: {
|
|
49
50
|
jobName?: string | undefined;
|
|
50
51
|
} | undefined;
|
|
52
|
+
profit_total?: number | undefined;
|
|
51
53
|
function: "ShortTradeDurHyperOptLoss" | "OnlyProfitHyperOptLoss" | "SharpeHyperOptLoss" | "SharpeHyperOptLossDaily" | "SortinoHyperOptLoss" | "SortinoHyperOptLossDaily" | "CalmarHyperOptLoss" | "MaxDrawDownHyperOptLoss" | "MaxDrawDownRelativeHyperOptLoss" | "ProfitDrawDownHyperOptLoss";
|
|
52
54
|
_id: string | {};
|
|
53
55
|
createdAt: any;
|
|
@@ -57,13 +59,13 @@ export declare const strategiesHyperoptResolver: import("@feathersjs/schema").Re
|
|
|
57
59
|
eps: boolean;
|
|
58
60
|
};
|
|
59
61
|
strategyId: string | {};
|
|
62
|
+
epochs: number;
|
|
60
63
|
overrides: {
|
|
61
64
|
dry_run_wallet: number;
|
|
62
65
|
max_open_trades: number;
|
|
63
66
|
};
|
|
64
67
|
start: any;
|
|
65
68
|
end: any;
|
|
66
|
-
epochs: number;
|
|
67
69
|
}, HookContext<StrategiesHyperoptService<import("./hyperopt.class").StrategiesHyperoptParams>>>;
|
|
68
70
|
export declare const strategiesHyperoptExternalResolver: import("@feathersjs/schema").Resolver<{
|
|
69
71
|
results?: any;
|
|
@@ -79,6 +81,7 @@ export declare const strategiesHyperoptExternalResolver: import("@feathersjs/sch
|
|
|
79
81
|
job?: {
|
|
80
82
|
jobName?: string | undefined;
|
|
81
83
|
} | undefined;
|
|
84
|
+
profit_total?: number | undefined;
|
|
82
85
|
function: "ShortTradeDurHyperOptLoss" | "OnlyProfitHyperOptLoss" | "SharpeHyperOptLoss" | "SharpeHyperOptLossDaily" | "SortinoHyperOptLoss" | "SortinoHyperOptLossDaily" | "CalmarHyperOptLoss" | "MaxDrawDownHyperOptLoss" | "MaxDrawDownRelativeHyperOptLoss" | "ProfitDrawDownHyperOptLoss";
|
|
83
86
|
_id: string | {};
|
|
84
87
|
createdAt: any;
|
|
@@ -88,13 +91,13 @@ export declare const strategiesHyperoptExternalResolver: import("@feathersjs/sch
|
|
|
88
91
|
eps: boolean;
|
|
89
92
|
};
|
|
90
93
|
strategyId: string | {};
|
|
94
|
+
epochs: number;
|
|
91
95
|
overrides: {
|
|
92
96
|
dry_run_wallet: number;
|
|
93
97
|
max_open_trades: number;
|
|
94
98
|
};
|
|
95
99
|
start: any;
|
|
96
100
|
end: any;
|
|
97
|
-
epochs: number;
|
|
98
101
|
}, HookContext<StrategiesHyperoptService<import("./hyperopt.class").StrategiesHyperoptParams>>>;
|
|
99
102
|
export declare const strategiesHyperoptDataSchema: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
100
103
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
@@ -126,6 +129,7 @@ export declare const strategiesHyperoptDataSchema: import("@feathersjs/typebox")
|
|
|
126
129
|
job: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
127
130
|
jobName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
128
131
|
}>>;
|
|
132
|
+
profit_total: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
129
133
|
}>, ["strategyId", "traderId", "exchangeId", "overrides", "options", "start", "function", "epochs", "end"]>;
|
|
130
134
|
export type StrategiesHyperoptData = Static<typeof strategiesHyperoptDataSchema>;
|
|
131
135
|
export declare const strategiesHyperoptDataValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
@@ -143,6 +147,7 @@ export declare const strategiesHyperoptDataResolver: import("@feathersjs/schema"
|
|
|
143
147
|
job?: {
|
|
144
148
|
jobName?: string | undefined;
|
|
145
149
|
} | undefined;
|
|
150
|
+
profit_total?: number | undefined;
|
|
146
151
|
function: "ShortTradeDurHyperOptLoss" | "OnlyProfitHyperOptLoss" | "SharpeHyperOptLoss" | "SharpeHyperOptLossDaily" | "SortinoHyperOptLoss" | "SortinoHyperOptLossDaily" | "CalmarHyperOptLoss" | "MaxDrawDownHyperOptLoss" | "MaxDrawDownRelativeHyperOptLoss" | "ProfitDrawDownHyperOptLoss";
|
|
147
152
|
_id: string | {};
|
|
148
153
|
createdAt: any;
|
|
@@ -152,13 +157,13 @@ export declare const strategiesHyperoptDataResolver: import("@feathersjs/schema"
|
|
|
152
157
|
eps: boolean;
|
|
153
158
|
};
|
|
154
159
|
strategyId: string | {};
|
|
160
|
+
epochs: number;
|
|
155
161
|
overrides: {
|
|
156
162
|
dry_run_wallet: number;
|
|
157
163
|
max_open_trades: number;
|
|
158
164
|
};
|
|
159
165
|
start: any;
|
|
160
166
|
end: any;
|
|
161
|
-
epochs: number;
|
|
162
167
|
}, HookContext<StrategiesHyperoptService<import("./hyperopt.class").StrategiesHyperoptParams>>>;
|
|
163
168
|
export declare const strategiesHyperoptPatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
164
169
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
@@ -190,6 +195,7 @@ export declare const strategiesHyperoptPatchSchema: import("@feathersjs/typebox"
|
|
|
190
195
|
job: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
191
196
|
jobName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
192
197
|
}>>;
|
|
198
|
+
profit_total: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
193
199
|
}>>;
|
|
194
200
|
export type StrategiesHyperoptPatch = Static<typeof strategiesHyperoptPatchSchema>;
|
|
195
201
|
export declare const strategiesHyperoptPatchValidator: import("@feathersjs/schema").Validator<any, any>;
|
|
@@ -207,6 +213,7 @@ export declare const strategiesHyperoptPatchResolver: import("@feathersjs/schema
|
|
|
207
213
|
job?: {
|
|
208
214
|
jobName?: string | undefined;
|
|
209
215
|
} | undefined;
|
|
216
|
+
profit_total?: number | undefined;
|
|
210
217
|
function: "ShortTradeDurHyperOptLoss" | "OnlyProfitHyperOptLoss" | "SharpeHyperOptLoss" | "SharpeHyperOptLossDaily" | "SortinoHyperOptLoss" | "SortinoHyperOptLossDaily" | "CalmarHyperOptLoss" | "MaxDrawDownHyperOptLoss" | "MaxDrawDownRelativeHyperOptLoss" | "ProfitDrawDownHyperOptLoss";
|
|
211
218
|
_id: string | {};
|
|
212
219
|
createdAt: any;
|
|
@@ -216,13 +223,13 @@ export declare const strategiesHyperoptPatchResolver: import("@feathersjs/schema
|
|
|
216
223
|
eps: boolean;
|
|
217
224
|
};
|
|
218
225
|
strategyId: string | {};
|
|
226
|
+
epochs: number;
|
|
219
227
|
overrides: {
|
|
220
228
|
dry_run_wallet: number;
|
|
221
229
|
max_open_trades: number;
|
|
222
230
|
};
|
|
223
231
|
start: any;
|
|
224
232
|
end: any;
|
|
225
|
-
epochs: number;
|
|
226
233
|
}, HookContext<StrategiesHyperoptService<import("./hyperopt.class").StrategiesHyperoptParams>>>;
|
|
227
234
|
export declare const strategiesHyperoptQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
|
|
228
235
|
_id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
|
|
@@ -254,6 +261,7 @@ export declare const strategiesHyperoptQueryProperties: import("@feathersjs/type
|
|
|
254
261
|
job: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
255
262
|
jobName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
256
263
|
}>>;
|
|
264
|
+
profit_total: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
257
265
|
}>, ["_id", "strategyId", "status", "createdAt", "results", "jobId", "progress"]>;
|
|
258
266
|
export declare const strategiesHyperoptQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
|
|
259
267
|
$limit: import("@feathersjs/typebox").TNumber;
|