@currencycore/sdk 0.1.0
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/LICENSE +21 -0
- package/README.md +73 -0
- package/dist/apis/CurrencyCoreApi.d.ts +297 -0
- package/dist/apis/CurrencyCoreApi.js +827 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/client.d.ts +21 -0
- package/dist/client.js +23 -0
- package/dist/esm/apis/CurrencyCoreApi.d.ts +297 -0
- package/dist/esm/apis/CurrencyCoreApi.js +823 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/client.d.ts +21 -0
- package/dist/esm/client.js +20 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/models/AiResponse.d.ts +50 -0
- package/dist/esm/models/AiResponse.js +53 -0
- package/dist/esm/models/ApiError.d.ts +33 -0
- package/dist/esm/models/ApiError.js +44 -0
- package/dist/esm/models/ApiErrorError.d.ts +44 -0
- package/dist/esm/models/ApiErrorError.js +49 -0
- package/dist/esm/models/ConvertResponse.d.ts +77 -0
- package/dist/esm/models/ConvertResponse.js +64 -0
- package/dist/esm/models/ConvertResponseResultsInner.d.ts +57 -0
- package/dist/esm/models/ConvertResponseResultsInner.js +56 -0
- package/dist/esm/models/ConvertResponseResultsInnerPpp.d.ts +62 -0
- package/dist/esm/models/ConvertResponseResultsInnerPpp.js +63 -0
- package/dist/esm/models/ConvertResponseResultsInnerPppAnyOf.d.ts +56 -0
- package/dist/esm/models/ConvertResponseResultsInnerPppAnyOf.js +59 -0
- package/dist/esm/models/ConvertResponseResultsInnerPppAnyOf1.d.ts +32 -0
- package/dist/esm/models/ConvertResponseResultsInnerPppAnyOf1.js +43 -0
- package/dist/esm/models/CorrelationResponse.d.ts +51 -0
- package/dist/esm/models/CorrelationResponse.js +56 -0
- package/dist/esm/models/CorrelationResponseResultsInner.d.ts +50 -0
- package/dist/esm/models/CorrelationResponseResultsInner.js +53 -0
- package/dist/esm/models/CountriesResponseInner.d.ts +44 -0
- package/dist/esm/models/CountriesResponseInner.js +49 -0
- package/dist/esm/models/CurrenciesResponseInner.d.ts +50 -0
- package/dist/esm/models/CurrenciesResponseInner.js +55 -0
- package/dist/esm/models/DrawdownResponse.d.ts +93 -0
- package/dist/esm/models/DrawdownResponse.js +85 -0
- package/dist/esm/models/DrawdownResponseResultsInner.d.ts +68 -0
- package/dist/esm/models/DrawdownResponseResultsInner.js +57 -0
- package/dist/esm/models/HistoryAnalysisResponse.d.ts +117 -0
- package/dist/esm/models/HistoryAnalysisResponse.js +102 -0
- package/dist/esm/models/HistoryAnalysisResponseResultsInner.d.ts +95 -0
- package/dist/esm/models/HistoryAnalysisResponseResultsInner.js +76 -0
- package/dist/esm/models/HistoryAnalysisResponseResultsInnerStats.d.ts +44 -0
- package/dist/esm/models/HistoryAnalysisResponseResultsInnerStats.js +51 -0
- package/dist/esm/models/HistoryResponse.d.ts +74 -0
- package/dist/esm/models/HistoryResponse.js +72 -0
- package/dist/esm/models/MeanReversionResponse.d.ts +65 -0
- package/dist/esm/models/MeanReversionResponse.js +65 -0
- package/dist/esm/models/MeanReversionResponseResultsInner.d.ts +62 -0
- package/dist/esm/models/MeanReversionResponseResultsInner.js +61 -0
- package/dist/esm/models/PppAnalysisResponse.d.ts +79 -0
- package/dist/esm/models/PppAnalysisResponse.js +76 -0
- package/dist/esm/models/PppAnalysisResponseResultsInner.d.ts +89 -0
- package/dist/esm/models/PppAnalysisResponseResultsInner.js +74 -0
- package/dist/esm/models/RatesByBaseResponse.d.ts +67 -0
- package/dist/esm/models/RatesByBaseResponse.js +58 -0
- package/dist/esm/models/RatesByBaseResponsePpp.d.ts +46 -0
- package/dist/esm/models/RatesByBaseResponsePpp.js +51 -0
- package/dist/esm/models/RatesResponse.d.ts +67 -0
- package/dist/esm/models/RatesResponse.js +63 -0
- package/dist/esm/models/SafeHavenResponse.d.ts +72 -0
- package/dist/esm/models/SafeHavenResponse.js +70 -0
- package/dist/esm/models/SafeHavenResponseCrisis.d.ts +44 -0
- package/dist/esm/models/SafeHavenResponseCrisis.js +51 -0
- package/dist/esm/models/SafeHavenResponseResultsInner.d.ts +62 -0
- package/dist/esm/models/SafeHavenResponseResultsInner.js +61 -0
- package/dist/esm/models/VolatilityResponse.d.ts +106 -0
- package/dist/esm/models/VolatilityResponse.js +97 -0
- package/dist/esm/models/VolatilityResponseResultsInner.d.ts +50 -0
- package/dist/esm/models/VolatilityResponseResultsInner.js +53 -0
- package/dist/esm/models/index.d.ts +1322 -0
- package/dist/esm/models/index.js +123 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +345 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +24 -0
- package/dist/models/AiResponse.d.ts +50 -0
- package/dist/models/AiResponse.js +60 -0
- package/dist/models/ApiError.d.ts +33 -0
- package/dist/models/ApiError.js +51 -0
- package/dist/models/ApiErrorError.d.ts +44 -0
- package/dist/models/ApiErrorError.js +56 -0
- package/dist/models/ConvertResponse.d.ts +77 -0
- package/dist/models/ConvertResponse.js +71 -0
- package/dist/models/ConvertResponseResultsInner.d.ts +57 -0
- package/dist/models/ConvertResponseResultsInner.js +63 -0
- package/dist/models/ConvertResponseResultsInnerPpp.d.ts +62 -0
- package/dist/models/ConvertResponseResultsInnerPpp.js +70 -0
- package/dist/models/ConvertResponseResultsInnerPppAnyOf.d.ts +56 -0
- package/dist/models/ConvertResponseResultsInnerPppAnyOf.js +66 -0
- package/dist/models/ConvertResponseResultsInnerPppAnyOf1.d.ts +32 -0
- package/dist/models/ConvertResponseResultsInnerPppAnyOf1.js +50 -0
- package/dist/models/CorrelationResponse.d.ts +51 -0
- package/dist/models/CorrelationResponse.js +63 -0
- package/dist/models/CorrelationResponseResultsInner.d.ts +50 -0
- package/dist/models/CorrelationResponseResultsInner.js +60 -0
- package/dist/models/CountriesResponseInner.d.ts +44 -0
- package/dist/models/CountriesResponseInner.js +56 -0
- package/dist/models/CurrenciesResponseInner.d.ts +50 -0
- package/dist/models/CurrenciesResponseInner.js +62 -0
- package/dist/models/DrawdownResponse.d.ts +93 -0
- package/dist/models/DrawdownResponse.js +93 -0
- package/dist/models/DrawdownResponseResultsInner.d.ts +68 -0
- package/dist/models/DrawdownResponseResultsInner.js +64 -0
- package/dist/models/HistoryAnalysisResponse.d.ts +117 -0
- package/dist/models/HistoryAnalysisResponse.js +110 -0
- package/dist/models/HistoryAnalysisResponseResultsInner.d.ts +95 -0
- package/dist/models/HistoryAnalysisResponseResultsInner.js +83 -0
- package/dist/models/HistoryAnalysisResponseResultsInnerStats.d.ts +44 -0
- package/dist/models/HistoryAnalysisResponseResultsInnerStats.js +58 -0
- package/dist/models/HistoryResponse.d.ts +74 -0
- package/dist/models/HistoryResponse.js +80 -0
- package/dist/models/MeanReversionResponse.d.ts +65 -0
- package/dist/models/MeanReversionResponse.js +73 -0
- package/dist/models/MeanReversionResponseResultsInner.d.ts +62 -0
- package/dist/models/MeanReversionResponseResultsInner.js +68 -0
- package/dist/models/PppAnalysisResponse.d.ts +79 -0
- package/dist/models/PppAnalysisResponse.js +84 -0
- package/dist/models/PppAnalysisResponseResultsInner.d.ts +89 -0
- package/dist/models/PppAnalysisResponseResultsInner.js +81 -0
- package/dist/models/RatesByBaseResponse.d.ts +67 -0
- package/dist/models/RatesByBaseResponse.js +65 -0
- package/dist/models/RatesByBaseResponsePpp.d.ts +46 -0
- package/dist/models/RatesByBaseResponsePpp.js +58 -0
- package/dist/models/RatesResponse.d.ts +67 -0
- package/dist/models/RatesResponse.js +71 -0
- package/dist/models/SafeHavenResponse.d.ts +72 -0
- package/dist/models/SafeHavenResponse.js +78 -0
- package/dist/models/SafeHavenResponseCrisis.d.ts +44 -0
- package/dist/models/SafeHavenResponseCrisis.js +58 -0
- package/dist/models/SafeHavenResponseResultsInner.d.ts +62 -0
- package/dist/models/SafeHavenResponseResultsInner.js +68 -0
- package/dist/models/VolatilityResponse.d.ts +106 -0
- package/dist/models/VolatilityResponse.js +105 -0
- package/dist/models/VolatilityResponseResultsInner.d.ts +50 -0
- package/dist/models/VolatilityResponseResultsInner.js +60 -0
- package/dist/models/index.d.ts +1322 -0
- package/dist/models/index.js +126 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +361 -0
- package/package.json +42 -0
|
@@ -0,0 +1,1322 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @export
|
|
4
|
+
* @interface AiResponse
|
|
5
|
+
*/
|
|
6
|
+
export interface AiResponse {
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof AiResponse
|
|
11
|
+
*/
|
|
12
|
+
query: string;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof AiResponse
|
|
17
|
+
*/
|
|
18
|
+
answer: string;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<any>}
|
|
22
|
+
* @memberof AiResponse
|
|
23
|
+
*/
|
|
24
|
+
data: Array<any>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof AiResponse
|
|
29
|
+
*/
|
|
30
|
+
toolCalls?: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @export
|
|
35
|
+
* @interface ApiError
|
|
36
|
+
*/
|
|
37
|
+
export interface ApiError {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ApiErrorError}
|
|
41
|
+
* @memberof ApiError
|
|
42
|
+
*/
|
|
43
|
+
error: ApiErrorError;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @interface ApiErrorError
|
|
49
|
+
*/
|
|
50
|
+
export interface ApiErrorError {
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof ApiErrorError
|
|
55
|
+
*/
|
|
56
|
+
code: string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof ApiErrorError
|
|
61
|
+
*/
|
|
62
|
+
message: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {any}
|
|
66
|
+
* @memberof ApiErrorError
|
|
67
|
+
*/
|
|
68
|
+
details?: any | null;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @export
|
|
73
|
+
* @interface ConvertResponse
|
|
74
|
+
*/
|
|
75
|
+
export interface ConvertResponse {
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof ConvertResponse
|
|
80
|
+
*/
|
|
81
|
+
from: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof ConvertResponse
|
|
86
|
+
*/
|
|
87
|
+
fromCountry?: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {number}
|
|
91
|
+
* @memberof ConvertResponse
|
|
92
|
+
*/
|
|
93
|
+
amount: number;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof ConvertResponse
|
|
98
|
+
*/
|
|
99
|
+
date: string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof ConvertResponse
|
|
104
|
+
*/
|
|
105
|
+
requestedDate?: string;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {{ [key: string]: string; }}
|
|
109
|
+
* @memberof ConvertResponse
|
|
110
|
+
*/
|
|
111
|
+
asOf?: {
|
|
112
|
+
[key: string]: string;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {Array<ConvertResponseResultsInner>}
|
|
117
|
+
* @memberof ConvertResponse
|
|
118
|
+
*/
|
|
119
|
+
results: Array<ConvertResponseResultsInner>;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof ConvertResponse
|
|
124
|
+
*/
|
|
125
|
+
message?: string;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @export
|
|
130
|
+
* @interface ConvertResponseResultsInner
|
|
131
|
+
*/
|
|
132
|
+
export interface ConvertResponseResultsInner {
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof ConvertResponseResultsInner
|
|
137
|
+
*/
|
|
138
|
+
to: string;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof ConvertResponseResultsInner
|
|
143
|
+
*/
|
|
144
|
+
toCountry?: string;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {number}
|
|
148
|
+
* @memberof ConvertResponseResultsInner
|
|
149
|
+
*/
|
|
150
|
+
result: number;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {number}
|
|
154
|
+
* @memberof ConvertResponseResultsInner
|
|
155
|
+
*/
|
|
156
|
+
rate: number;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {ConvertResponseResultsInnerPpp}
|
|
160
|
+
* @memberof ConvertResponseResultsInner
|
|
161
|
+
*/
|
|
162
|
+
ppp?: ConvertResponseResultsInnerPpp;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @export
|
|
167
|
+
* @interface ConvertResponseResultsInnerPpp
|
|
168
|
+
*/
|
|
169
|
+
export interface ConvertResponseResultsInnerPpp {
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {number}
|
|
173
|
+
* @memberof ConvertResponseResultsInnerPpp
|
|
174
|
+
*/
|
|
175
|
+
fromFactor: number;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {number}
|
|
179
|
+
* @memberof ConvertResponseResultsInnerPpp
|
|
180
|
+
*/
|
|
181
|
+
toFactor: number;
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @type {number}
|
|
185
|
+
* @memberof ConvertResponseResultsInnerPpp
|
|
186
|
+
*/
|
|
187
|
+
result: number;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @type {number}
|
|
191
|
+
* @memberof ConvertResponseResultsInnerPpp
|
|
192
|
+
*/
|
|
193
|
+
year: number;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @type {string}
|
|
197
|
+
* @memberof ConvertResponseResultsInnerPpp
|
|
198
|
+
*/
|
|
199
|
+
source: string;
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof ConvertResponseResultsInnerPpp
|
|
204
|
+
*/
|
|
205
|
+
error: string;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @export
|
|
210
|
+
* @interface ConvertResponseResultsInnerPppAnyOf
|
|
211
|
+
*/
|
|
212
|
+
export interface ConvertResponseResultsInnerPppAnyOf {
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @type {number}
|
|
216
|
+
* @memberof ConvertResponseResultsInnerPppAnyOf
|
|
217
|
+
*/
|
|
218
|
+
fromFactor: number;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @type {number}
|
|
222
|
+
* @memberof ConvertResponseResultsInnerPppAnyOf
|
|
223
|
+
*/
|
|
224
|
+
toFactor: number;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @type {number}
|
|
228
|
+
* @memberof ConvertResponseResultsInnerPppAnyOf
|
|
229
|
+
*/
|
|
230
|
+
result: number;
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @type {number}
|
|
234
|
+
* @memberof ConvertResponseResultsInnerPppAnyOf
|
|
235
|
+
*/
|
|
236
|
+
year: number;
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @type {string}
|
|
240
|
+
* @memberof ConvertResponseResultsInnerPppAnyOf
|
|
241
|
+
*/
|
|
242
|
+
source: string;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @export
|
|
247
|
+
* @interface ConvertResponseResultsInnerPppAnyOf1
|
|
248
|
+
*/
|
|
249
|
+
export interface ConvertResponseResultsInnerPppAnyOf1 {
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @type {string}
|
|
253
|
+
* @memberof ConvertResponseResultsInnerPppAnyOf1
|
|
254
|
+
*/
|
|
255
|
+
error: string;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @export
|
|
260
|
+
* @interface CorrelationResponse
|
|
261
|
+
*/
|
|
262
|
+
export interface CorrelationResponse {
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* @type {string}
|
|
266
|
+
* @memberof CorrelationResponse
|
|
267
|
+
*/
|
|
268
|
+
base: string;
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
271
|
+
* @type {string}
|
|
272
|
+
* @memberof CorrelationResponse
|
|
273
|
+
*/
|
|
274
|
+
from: string;
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @type {string}
|
|
278
|
+
* @memberof CorrelationResponse
|
|
279
|
+
*/
|
|
280
|
+
to: string;
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @type {Array<CorrelationResponseResultsInner>}
|
|
284
|
+
* @memberof CorrelationResponse
|
|
285
|
+
*/
|
|
286
|
+
results: Array<CorrelationResponseResultsInner>;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @export
|
|
291
|
+
* @interface CorrelationResponseResultsInner
|
|
292
|
+
*/
|
|
293
|
+
export interface CorrelationResponseResultsInner {
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof CorrelationResponseResultsInner
|
|
298
|
+
*/
|
|
299
|
+
currency: string;
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
* @type {number}
|
|
303
|
+
* @memberof CorrelationResponseResultsInner
|
|
304
|
+
*/
|
|
305
|
+
correlation: number | null;
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @type {number}
|
|
309
|
+
* @memberof CorrelationResponseResultsInner
|
|
310
|
+
*/
|
|
311
|
+
observations: number;
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @type {string}
|
|
315
|
+
* @memberof CorrelationResponseResultsInner
|
|
316
|
+
*/
|
|
317
|
+
note?: string;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @export
|
|
322
|
+
* @interface CountriesResponseInner
|
|
323
|
+
*/
|
|
324
|
+
export interface CountriesResponseInner {
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @memberof CountriesResponseInner
|
|
329
|
+
*/
|
|
330
|
+
code: string;
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @type {string}
|
|
334
|
+
* @memberof CountriesResponseInner
|
|
335
|
+
*/
|
|
336
|
+
name: string;
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {Array<string>}
|
|
340
|
+
* @memberof CountriesResponseInner
|
|
341
|
+
*/
|
|
342
|
+
currencies?: Array<string>;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @export
|
|
347
|
+
* @interface CurrenciesResponseInner
|
|
348
|
+
*/
|
|
349
|
+
export interface CurrenciesResponseInner {
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @type {string}
|
|
353
|
+
* @memberof CurrenciesResponseInner
|
|
354
|
+
*/
|
|
355
|
+
code: string;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof CurrenciesResponseInner
|
|
360
|
+
*/
|
|
361
|
+
numeric: string;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @type {string}
|
|
365
|
+
* @memberof CurrenciesResponseInner
|
|
366
|
+
*/
|
|
367
|
+
name: string;
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @type {string}
|
|
371
|
+
* @memberof CurrenciesResponseInner
|
|
372
|
+
*/
|
|
373
|
+
symbol: string;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @export
|
|
378
|
+
* @interface DrawdownResponse
|
|
379
|
+
*/
|
|
380
|
+
export interface DrawdownResponse {
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @type {string}
|
|
384
|
+
* @memberof DrawdownResponse
|
|
385
|
+
*/
|
|
386
|
+
base: string;
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @type {string}
|
|
390
|
+
* @memberof DrawdownResponse
|
|
391
|
+
*/
|
|
392
|
+
from: string;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {string}
|
|
396
|
+
* @memberof DrawdownResponse
|
|
397
|
+
*/
|
|
398
|
+
to: string;
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @type {DrawdownResponseModeEnum}
|
|
402
|
+
* @memberof DrawdownResponse
|
|
403
|
+
*/
|
|
404
|
+
mode: DrawdownResponseModeEnum;
|
|
405
|
+
/**
|
|
406
|
+
*
|
|
407
|
+
* @type {DrawdownResponseSortEnum}
|
|
408
|
+
* @memberof DrawdownResponse
|
|
409
|
+
*/
|
|
410
|
+
sort?: DrawdownResponseSortEnum;
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @type {DrawdownResponseUniverseEnum}
|
|
414
|
+
* @memberof DrawdownResponse
|
|
415
|
+
*/
|
|
416
|
+
universe?: DrawdownResponseUniverseEnum;
|
|
417
|
+
/**
|
|
418
|
+
*
|
|
419
|
+
* @type {Array<DrawdownResponseResultsInner>}
|
|
420
|
+
* @memberof DrawdownResponse
|
|
421
|
+
*/
|
|
422
|
+
results: Array<DrawdownResponseResultsInner>;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* @export
|
|
426
|
+
*/
|
|
427
|
+
export declare const DrawdownResponseModeEnum: {
|
|
428
|
+
readonly Compare: "compare";
|
|
429
|
+
readonly Ranking: "ranking";
|
|
430
|
+
};
|
|
431
|
+
export type DrawdownResponseModeEnum = typeof DrawdownResponseModeEnum[keyof typeof DrawdownResponseModeEnum];
|
|
432
|
+
/**
|
|
433
|
+
* @export
|
|
434
|
+
*/
|
|
435
|
+
export declare const DrawdownResponseSortEnum: {
|
|
436
|
+
readonly Deepest: "deepest";
|
|
437
|
+
readonly Recovery: "recovery";
|
|
438
|
+
};
|
|
439
|
+
export type DrawdownResponseSortEnum = typeof DrawdownResponseSortEnum[keyof typeof DrawdownResponseSortEnum];
|
|
440
|
+
/**
|
|
441
|
+
* @export
|
|
442
|
+
*/
|
|
443
|
+
export declare const DrawdownResponseUniverseEnum: {
|
|
444
|
+
readonly Liquid: "liquid";
|
|
445
|
+
readonly Majors: "majors";
|
|
446
|
+
};
|
|
447
|
+
export type DrawdownResponseUniverseEnum = typeof DrawdownResponseUniverseEnum[keyof typeof DrawdownResponseUniverseEnum];
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @export
|
|
451
|
+
* @interface DrawdownResponseResultsInner
|
|
452
|
+
*/
|
|
453
|
+
export interface DrawdownResponseResultsInner {
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @type {string}
|
|
457
|
+
* @memberof DrawdownResponseResultsInner
|
|
458
|
+
*/
|
|
459
|
+
currency: string;
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @type {number}
|
|
463
|
+
* @memberof DrawdownResponseResultsInner
|
|
464
|
+
*/
|
|
465
|
+
maxDrawdownPct: number | null;
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @type {string}
|
|
469
|
+
* @memberof DrawdownResponseResultsInner
|
|
470
|
+
*/
|
|
471
|
+
peakDate?: string;
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @type {string}
|
|
475
|
+
* @memberof DrawdownResponseResultsInner
|
|
476
|
+
*/
|
|
477
|
+
troughDate?: string;
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
* @type {string}
|
|
481
|
+
* @memberof DrawdownResponseResultsInner
|
|
482
|
+
*/
|
|
483
|
+
recoveryDate?: string | null;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @type {number}
|
|
487
|
+
* @memberof DrawdownResponseResultsInner
|
|
488
|
+
*/
|
|
489
|
+
recoveryDays?: number | null;
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @type {string}
|
|
493
|
+
* @memberof DrawdownResponseResultsInner
|
|
494
|
+
*/
|
|
495
|
+
note?: string;
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @export
|
|
500
|
+
* @interface HistoryAnalysisResponse
|
|
501
|
+
*/
|
|
502
|
+
export interface HistoryAnalysisResponse {
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @type {string}
|
|
506
|
+
* @memberof HistoryAnalysisResponse
|
|
507
|
+
*/
|
|
508
|
+
base: string;
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {string}
|
|
512
|
+
* @memberof HistoryAnalysisResponse
|
|
513
|
+
*/
|
|
514
|
+
from: string;
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @type {string}
|
|
518
|
+
* @memberof HistoryAnalysisResponse
|
|
519
|
+
*/
|
|
520
|
+
to: string;
|
|
521
|
+
/**
|
|
522
|
+
*
|
|
523
|
+
* @type {HistoryAnalysisResponseModeEnum}
|
|
524
|
+
* @memberof HistoryAnalysisResponse
|
|
525
|
+
*/
|
|
526
|
+
mode: HistoryAnalysisResponseModeEnum;
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @type {HistoryAnalysisResponseSortEnum}
|
|
530
|
+
* @memberof HistoryAnalysisResponse
|
|
531
|
+
*/
|
|
532
|
+
sort?: HistoryAnalysisResponseSortEnum;
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type {HistoryAnalysisResponseAssetClassEnum}
|
|
536
|
+
* @memberof HistoryAnalysisResponse
|
|
537
|
+
*/
|
|
538
|
+
assetClass?: HistoryAnalysisResponseAssetClassEnum;
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type {HistoryAnalysisResponseIntervalEnum}
|
|
542
|
+
* @memberof HistoryAnalysisResponse
|
|
543
|
+
*/
|
|
544
|
+
interval?: HistoryAnalysisResponseIntervalEnum;
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @type {boolean}
|
|
548
|
+
* @memberof HistoryAnalysisResponse
|
|
549
|
+
*/
|
|
550
|
+
stats: boolean;
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
* @type {Array<HistoryAnalysisResponseResultsInner>}
|
|
554
|
+
* @memberof HistoryAnalysisResponse
|
|
555
|
+
*/
|
|
556
|
+
results: Array<HistoryAnalysisResponseResultsInner>;
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* @export
|
|
560
|
+
*/
|
|
561
|
+
export declare const HistoryAnalysisResponseModeEnum: {
|
|
562
|
+
readonly Compare: "compare";
|
|
563
|
+
readonly Movers: "movers";
|
|
564
|
+
};
|
|
565
|
+
export type HistoryAnalysisResponseModeEnum = typeof HistoryAnalysisResponseModeEnum[keyof typeof HistoryAnalysisResponseModeEnum];
|
|
566
|
+
/**
|
|
567
|
+
* @export
|
|
568
|
+
*/
|
|
569
|
+
export declare const HistoryAnalysisResponseSortEnum: {
|
|
570
|
+
readonly Strengthened: "strengthened";
|
|
571
|
+
readonly Weakened: "weakened";
|
|
572
|
+
};
|
|
573
|
+
export type HistoryAnalysisResponseSortEnum = typeof HistoryAnalysisResponseSortEnum[keyof typeof HistoryAnalysisResponseSortEnum];
|
|
574
|
+
/**
|
|
575
|
+
* @export
|
|
576
|
+
*/
|
|
577
|
+
export declare const HistoryAnalysisResponseAssetClassEnum: {
|
|
578
|
+
readonly Fiat: "fiat";
|
|
579
|
+
readonly Metals: "metals";
|
|
580
|
+
readonly All: "all";
|
|
581
|
+
readonly Crypto: "crypto";
|
|
582
|
+
};
|
|
583
|
+
export type HistoryAnalysisResponseAssetClassEnum = typeof HistoryAnalysisResponseAssetClassEnum[keyof typeof HistoryAnalysisResponseAssetClassEnum];
|
|
584
|
+
/**
|
|
585
|
+
* @export
|
|
586
|
+
*/
|
|
587
|
+
export declare const HistoryAnalysisResponseIntervalEnum: {
|
|
588
|
+
readonly Daily: "daily";
|
|
589
|
+
readonly Weekly: "weekly";
|
|
590
|
+
readonly Monthly: "monthly";
|
|
591
|
+
readonly Yearly: "yearly";
|
|
592
|
+
};
|
|
593
|
+
export type HistoryAnalysisResponseIntervalEnum = typeof HistoryAnalysisResponseIntervalEnum[keyof typeof HistoryAnalysisResponseIntervalEnum];
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @export
|
|
597
|
+
* @interface HistoryAnalysisResponseResultsInner
|
|
598
|
+
*/
|
|
599
|
+
export interface HistoryAnalysisResponseResultsInner {
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @type {string}
|
|
603
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
604
|
+
*/
|
|
605
|
+
currency: string;
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @type {string}
|
|
609
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
610
|
+
*/
|
|
611
|
+
startDate: string;
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @type {string}
|
|
615
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
616
|
+
*/
|
|
617
|
+
endDate: string;
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @type {number}
|
|
621
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
622
|
+
*/
|
|
623
|
+
startRate: number | null;
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @type {number}
|
|
627
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
628
|
+
*/
|
|
629
|
+
endRate: number | null;
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @type {number}
|
|
633
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
634
|
+
*/
|
|
635
|
+
changePct: number | null;
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
* @type {number}
|
|
639
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
640
|
+
*/
|
|
641
|
+
strengthenedPct: number | null;
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
* @type {HistoryAnalysisResponseResultsInnerStats}
|
|
645
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
646
|
+
*/
|
|
647
|
+
stats?: HistoryAnalysisResponseResultsInnerStats;
|
|
648
|
+
/**
|
|
649
|
+
*
|
|
650
|
+
* @type {{ [key: string]: number; }}
|
|
651
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
652
|
+
*/
|
|
653
|
+
series?: {
|
|
654
|
+
[key: string]: number;
|
|
655
|
+
};
|
|
656
|
+
/**
|
|
657
|
+
*
|
|
658
|
+
* @type {number}
|
|
659
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
660
|
+
*/
|
|
661
|
+
volatility?: number | null;
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @type {string}
|
|
665
|
+
* @memberof HistoryAnalysisResponseResultsInner
|
|
666
|
+
*/
|
|
667
|
+
note?: string;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @export
|
|
672
|
+
* @interface HistoryAnalysisResponseResultsInnerStats
|
|
673
|
+
*/
|
|
674
|
+
export interface HistoryAnalysisResponseResultsInnerStats {
|
|
675
|
+
/**
|
|
676
|
+
*
|
|
677
|
+
* @type {number}
|
|
678
|
+
* @memberof HistoryAnalysisResponseResultsInnerStats
|
|
679
|
+
*/
|
|
680
|
+
min: number;
|
|
681
|
+
/**
|
|
682
|
+
*
|
|
683
|
+
* @type {number}
|
|
684
|
+
* @memberof HistoryAnalysisResponseResultsInnerStats
|
|
685
|
+
*/
|
|
686
|
+
max: number;
|
|
687
|
+
/**
|
|
688
|
+
*
|
|
689
|
+
* @type {number}
|
|
690
|
+
* @memberof HistoryAnalysisResponseResultsInnerStats
|
|
691
|
+
*/
|
|
692
|
+
avg: number;
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
*
|
|
696
|
+
* @export
|
|
697
|
+
* @interface HistoryResponse
|
|
698
|
+
*/
|
|
699
|
+
export interface HistoryResponse {
|
|
700
|
+
/**
|
|
701
|
+
*
|
|
702
|
+
* @type {string}
|
|
703
|
+
* @memberof HistoryResponse
|
|
704
|
+
*/
|
|
705
|
+
currency: string;
|
|
706
|
+
/**
|
|
707
|
+
*
|
|
708
|
+
* @type {string}
|
|
709
|
+
* @memberof HistoryResponse
|
|
710
|
+
*/
|
|
711
|
+
base: string;
|
|
712
|
+
/**
|
|
713
|
+
*
|
|
714
|
+
* @type {HistoryResponseIntervalEnum}
|
|
715
|
+
* @memberof HistoryResponse
|
|
716
|
+
*/
|
|
717
|
+
interval: HistoryResponseIntervalEnum;
|
|
718
|
+
/**
|
|
719
|
+
*
|
|
720
|
+
* @type {string}
|
|
721
|
+
* @memberof HistoryResponse
|
|
722
|
+
*/
|
|
723
|
+
from: string;
|
|
724
|
+
/**
|
|
725
|
+
*
|
|
726
|
+
* @type {string}
|
|
727
|
+
* @memberof HistoryResponse
|
|
728
|
+
*/
|
|
729
|
+
to: string;
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @type {{ [key: string]: number; }}
|
|
733
|
+
* @memberof HistoryResponse
|
|
734
|
+
*/
|
|
735
|
+
rates: {
|
|
736
|
+
[key: string]: number;
|
|
737
|
+
};
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* @export
|
|
741
|
+
*/
|
|
742
|
+
export declare const HistoryResponseIntervalEnum: {
|
|
743
|
+
readonly Daily: "daily";
|
|
744
|
+
readonly Weekly: "weekly";
|
|
745
|
+
readonly Monthly: "monthly";
|
|
746
|
+
readonly Yearly: "yearly";
|
|
747
|
+
};
|
|
748
|
+
export type HistoryResponseIntervalEnum = typeof HistoryResponseIntervalEnum[keyof typeof HistoryResponseIntervalEnum];
|
|
749
|
+
/**
|
|
750
|
+
*
|
|
751
|
+
* @export
|
|
752
|
+
* @interface MeanReversionResponse
|
|
753
|
+
*/
|
|
754
|
+
export interface MeanReversionResponse {
|
|
755
|
+
/**
|
|
756
|
+
*
|
|
757
|
+
* @type {string}
|
|
758
|
+
* @memberof MeanReversionResponse
|
|
759
|
+
*/
|
|
760
|
+
base: string;
|
|
761
|
+
/**
|
|
762
|
+
*
|
|
763
|
+
* @type {string}
|
|
764
|
+
* @memberof MeanReversionResponse
|
|
765
|
+
*/
|
|
766
|
+
from: string;
|
|
767
|
+
/**
|
|
768
|
+
*
|
|
769
|
+
* @type {string}
|
|
770
|
+
* @memberof MeanReversionResponse
|
|
771
|
+
*/
|
|
772
|
+
to: string;
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @type {MeanReversionResponseUniverseEnum}
|
|
776
|
+
* @memberof MeanReversionResponse
|
|
777
|
+
*/
|
|
778
|
+
universe?: MeanReversionResponseUniverseEnum;
|
|
779
|
+
/**
|
|
780
|
+
*
|
|
781
|
+
* @type {Array<MeanReversionResponseResultsInner>}
|
|
782
|
+
* @memberof MeanReversionResponse
|
|
783
|
+
*/
|
|
784
|
+
results: Array<MeanReversionResponseResultsInner>;
|
|
785
|
+
}
|
|
786
|
+
/**
|
|
787
|
+
* @export
|
|
788
|
+
*/
|
|
789
|
+
export declare const MeanReversionResponseUniverseEnum: {
|
|
790
|
+
readonly Liquid: "liquid";
|
|
791
|
+
readonly Majors: "majors";
|
|
792
|
+
};
|
|
793
|
+
export type MeanReversionResponseUniverseEnum = typeof MeanReversionResponseUniverseEnum[keyof typeof MeanReversionResponseUniverseEnum];
|
|
794
|
+
/**
|
|
795
|
+
*
|
|
796
|
+
* @export
|
|
797
|
+
* @interface MeanReversionResponseResultsInner
|
|
798
|
+
*/
|
|
799
|
+
export interface MeanReversionResponseResultsInner {
|
|
800
|
+
/**
|
|
801
|
+
*
|
|
802
|
+
* @type {string}
|
|
803
|
+
* @memberof MeanReversionResponseResultsInner
|
|
804
|
+
*/
|
|
805
|
+
currency: string;
|
|
806
|
+
/**
|
|
807
|
+
*
|
|
808
|
+
* @type {number}
|
|
809
|
+
* @memberof MeanReversionResponseResultsInner
|
|
810
|
+
*/
|
|
811
|
+
score: number | null;
|
|
812
|
+
/**
|
|
813
|
+
*
|
|
814
|
+
* @type {number}
|
|
815
|
+
* @memberof MeanReversionResponseResultsInner
|
|
816
|
+
*/
|
|
817
|
+
deviationPct: number | null;
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @type {number}
|
|
821
|
+
* @memberof MeanReversionResponseResultsInner
|
|
822
|
+
*/
|
|
823
|
+
reversionFrequency: number | null;
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @type {number}
|
|
827
|
+
* @memberof MeanReversionResponseResultsInner
|
|
828
|
+
*/
|
|
829
|
+
halfLifeDays: number | null;
|
|
830
|
+
/**
|
|
831
|
+
*
|
|
832
|
+
* @type {string}
|
|
833
|
+
* @memberof MeanReversionResponseResultsInner
|
|
834
|
+
*/
|
|
835
|
+
note?: string;
|
|
836
|
+
}
|
|
837
|
+
/**
|
|
838
|
+
*
|
|
839
|
+
* @export
|
|
840
|
+
* @interface PppAnalysisResponse
|
|
841
|
+
*/
|
|
842
|
+
export interface PppAnalysisResponse {
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @type {number}
|
|
846
|
+
* @memberof PppAnalysisResponse
|
|
847
|
+
*/
|
|
848
|
+
from: number;
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @type {number}
|
|
852
|
+
* @memberof PppAnalysisResponse
|
|
853
|
+
*/
|
|
854
|
+
to: number;
|
|
855
|
+
/**
|
|
856
|
+
*
|
|
857
|
+
* @type {PppAnalysisResponseModeEnum}
|
|
858
|
+
* @memberof PppAnalysisResponse
|
|
859
|
+
*/
|
|
860
|
+
mode: PppAnalysisResponseModeEnum;
|
|
861
|
+
/**
|
|
862
|
+
*
|
|
863
|
+
* @type {PppAnalysisResponseSortEnum}
|
|
864
|
+
* @memberof PppAnalysisResponse
|
|
865
|
+
*/
|
|
866
|
+
sort?: PppAnalysisResponseSortEnum;
|
|
867
|
+
/**
|
|
868
|
+
*
|
|
869
|
+
* @type {boolean}
|
|
870
|
+
* @memberof PppAnalysisResponse
|
|
871
|
+
*/
|
|
872
|
+
stats: boolean;
|
|
873
|
+
/**
|
|
874
|
+
*
|
|
875
|
+
* @type {Array<PppAnalysisResponseResultsInner>}
|
|
876
|
+
* @memberof PppAnalysisResponse
|
|
877
|
+
*/
|
|
878
|
+
results: Array<PppAnalysisResponseResultsInner>;
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* @export
|
|
882
|
+
*/
|
|
883
|
+
export declare const PppAnalysisResponseModeEnum: {
|
|
884
|
+
readonly Compare: "compare";
|
|
885
|
+
readonly Movers: "movers";
|
|
886
|
+
};
|
|
887
|
+
export type PppAnalysisResponseModeEnum = typeof PppAnalysisResponseModeEnum[keyof typeof PppAnalysisResponseModeEnum];
|
|
888
|
+
/**
|
|
889
|
+
* @export
|
|
890
|
+
*/
|
|
891
|
+
export declare const PppAnalysisResponseSortEnum: {
|
|
892
|
+
readonly Increased: "increased";
|
|
893
|
+
readonly Decreased: "decreased";
|
|
894
|
+
};
|
|
895
|
+
export type PppAnalysisResponseSortEnum = typeof PppAnalysisResponseSortEnum[keyof typeof PppAnalysisResponseSortEnum];
|
|
896
|
+
/**
|
|
897
|
+
*
|
|
898
|
+
* @export
|
|
899
|
+
* @interface PppAnalysisResponseResultsInner
|
|
900
|
+
*/
|
|
901
|
+
export interface PppAnalysisResponseResultsInner {
|
|
902
|
+
/**
|
|
903
|
+
*
|
|
904
|
+
* @type {string}
|
|
905
|
+
* @memberof PppAnalysisResponseResultsInner
|
|
906
|
+
*/
|
|
907
|
+
country: string;
|
|
908
|
+
/**
|
|
909
|
+
*
|
|
910
|
+
* @type {number}
|
|
911
|
+
* @memberof PppAnalysisResponseResultsInner
|
|
912
|
+
*/
|
|
913
|
+
startYear: number;
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @type {number}
|
|
917
|
+
* @memberof PppAnalysisResponseResultsInner
|
|
918
|
+
*/
|
|
919
|
+
endYear: number;
|
|
920
|
+
/**
|
|
921
|
+
*
|
|
922
|
+
* @type {number}
|
|
923
|
+
* @memberof PppAnalysisResponseResultsInner
|
|
924
|
+
*/
|
|
925
|
+
startFactor: number | null;
|
|
926
|
+
/**
|
|
927
|
+
*
|
|
928
|
+
* @type {number}
|
|
929
|
+
* @memberof PppAnalysisResponseResultsInner
|
|
930
|
+
*/
|
|
931
|
+
endFactor: number | null;
|
|
932
|
+
/**
|
|
933
|
+
*
|
|
934
|
+
* @type {number}
|
|
935
|
+
* @memberof PppAnalysisResponseResultsInner
|
|
936
|
+
*/
|
|
937
|
+
changePct: number | null;
|
|
938
|
+
/**
|
|
939
|
+
*
|
|
940
|
+
* @type {boolean}
|
|
941
|
+
* @memberof PppAnalysisResponseResultsInner
|
|
942
|
+
*/
|
|
943
|
+
projected: boolean;
|
|
944
|
+
/**
|
|
945
|
+
*
|
|
946
|
+
* @type {HistoryAnalysisResponseResultsInnerStats}
|
|
947
|
+
* @memberof PppAnalysisResponseResultsInner
|
|
948
|
+
*/
|
|
949
|
+
stats?: HistoryAnalysisResponseResultsInnerStats;
|
|
950
|
+
/**
|
|
951
|
+
*
|
|
952
|
+
* @type {{ [key: string]: number; }}
|
|
953
|
+
* @memberof PppAnalysisResponseResultsInner
|
|
954
|
+
*/
|
|
955
|
+
series?: {
|
|
956
|
+
[key: string]: number;
|
|
957
|
+
};
|
|
958
|
+
/**
|
|
959
|
+
*
|
|
960
|
+
* @type {string}
|
|
961
|
+
* @memberof PppAnalysisResponseResultsInner
|
|
962
|
+
*/
|
|
963
|
+
note?: string;
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
*
|
|
967
|
+
* @export
|
|
968
|
+
* @interface RatesByBaseResponse
|
|
969
|
+
*/
|
|
970
|
+
export interface RatesByBaseResponse {
|
|
971
|
+
/**
|
|
972
|
+
*
|
|
973
|
+
* @type {string}
|
|
974
|
+
* @memberof RatesByBaseResponse
|
|
975
|
+
*/
|
|
976
|
+
base: string;
|
|
977
|
+
/**
|
|
978
|
+
*
|
|
979
|
+
* @type {string}
|
|
980
|
+
* @memberof RatesByBaseResponse
|
|
981
|
+
*/
|
|
982
|
+
date: string;
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* @type {string}
|
|
986
|
+
* @memberof RatesByBaseResponse
|
|
987
|
+
*/
|
|
988
|
+
requestedDate?: string;
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @type {{ [key: string]: string; }}
|
|
992
|
+
* @memberof RatesByBaseResponse
|
|
993
|
+
*/
|
|
994
|
+
asOf?: {
|
|
995
|
+
[key: string]: string;
|
|
996
|
+
};
|
|
997
|
+
/**
|
|
998
|
+
*
|
|
999
|
+
* @type {{ [key: string]: number; }}
|
|
1000
|
+
* @memberof RatesByBaseResponse
|
|
1001
|
+
*/
|
|
1002
|
+
rates: {
|
|
1003
|
+
[key: string]: number;
|
|
1004
|
+
};
|
|
1005
|
+
/**
|
|
1006
|
+
*
|
|
1007
|
+
* @type {RatesByBaseResponsePpp}
|
|
1008
|
+
* @memberof RatesByBaseResponse
|
|
1009
|
+
*/
|
|
1010
|
+
ppp?: RatesByBaseResponsePpp;
|
|
1011
|
+
}
|
|
1012
|
+
/**
|
|
1013
|
+
*
|
|
1014
|
+
* @export
|
|
1015
|
+
* @interface RatesByBaseResponsePpp
|
|
1016
|
+
*/
|
|
1017
|
+
export interface RatesByBaseResponsePpp {
|
|
1018
|
+
/**
|
|
1019
|
+
*
|
|
1020
|
+
* @type {string}
|
|
1021
|
+
* @memberof RatesByBaseResponsePpp
|
|
1022
|
+
*/
|
|
1023
|
+
base: string;
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @type {number}
|
|
1027
|
+
* @memberof RatesByBaseResponsePpp
|
|
1028
|
+
*/
|
|
1029
|
+
year: number;
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* @type {{ [key: string]: number; }}
|
|
1033
|
+
* @memberof RatesByBaseResponsePpp
|
|
1034
|
+
*/
|
|
1035
|
+
values: {
|
|
1036
|
+
[key: string]: number;
|
|
1037
|
+
};
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
*
|
|
1041
|
+
* @export
|
|
1042
|
+
* @interface RatesResponse
|
|
1043
|
+
*/
|
|
1044
|
+
export interface RatesResponse {
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @type {string}
|
|
1048
|
+
* @memberof RatesResponse
|
|
1049
|
+
*/
|
|
1050
|
+
date: string;
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @type {RatesResponseBaseEnum}
|
|
1054
|
+
* @memberof RatesResponse
|
|
1055
|
+
*/
|
|
1056
|
+
base: RatesResponseBaseEnum;
|
|
1057
|
+
/**
|
|
1058
|
+
*
|
|
1059
|
+
* @type {{ [key: string]: number; }}
|
|
1060
|
+
* @memberof RatesResponse
|
|
1061
|
+
*/
|
|
1062
|
+
rates: {
|
|
1063
|
+
[key: string]: number;
|
|
1064
|
+
};
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @type {string}
|
|
1068
|
+
* @memberof RatesResponse
|
|
1069
|
+
*/
|
|
1070
|
+
requestedDate?: string;
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @type {{ [key: string]: string; }}
|
|
1074
|
+
* @memberof RatesResponse
|
|
1075
|
+
*/
|
|
1076
|
+
asOf?: {
|
|
1077
|
+
[key: string]: string;
|
|
1078
|
+
};
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
* @export
|
|
1082
|
+
*/
|
|
1083
|
+
export declare const RatesResponseBaseEnum: {
|
|
1084
|
+
readonly Usd: "USD";
|
|
1085
|
+
};
|
|
1086
|
+
export type RatesResponseBaseEnum = typeof RatesResponseBaseEnum[keyof typeof RatesResponseBaseEnum];
|
|
1087
|
+
/**
|
|
1088
|
+
*
|
|
1089
|
+
* @export
|
|
1090
|
+
* @interface SafeHavenResponse
|
|
1091
|
+
*/
|
|
1092
|
+
export interface SafeHavenResponse {
|
|
1093
|
+
/**
|
|
1094
|
+
*
|
|
1095
|
+
* @type {string}
|
|
1096
|
+
* @memberof SafeHavenResponse
|
|
1097
|
+
*/
|
|
1098
|
+
base: string;
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @type {string}
|
|
1102
|
+
* @memberof SafeHavenResponse
|
|
1103
|
+
*/
|
|
1104
|
+
from: string;
|
|
1105
|
+
/**
|
|
1106
|
+
*
|
|
1107
|
+
* @type {string}
|
|
1108
|
+
* @memberof SafeHavenResponse
|
|
1109
|
+
*/
|
|
1110
|
+
to: string;
|
|
1111
|
+
/**
|
|
1112
|
+
*
|
|
1113
|
+
* @type {SafeHavenResponseCrisis}
|
|
1114
|
+
* @memberof SafeHavenResponse
|
|
1115
|
+
*/
|
|
1116
|
+
crisis: SafeHavenResponseCrisis;
|
|
1117
|
+
/**
|
|
1118
|
+
*
|
|
1119
|
+
* @type {SafeHavenResponseUniverseEnum}
|
|
1120
|
+
* @memberof SafeHavenResponse
|
|
1121
|
+
*/
|
|
1122
|
+
universe?: SafeHavenResponseUniverseEnum;
|
|
1123
|
+
/**
|
|
1124
|
+
*
|
|
1125
|
+
* @type {Array<SafeHavenResponseResultsInner>}
|
|
1126
|
+
* @memberof SafeHavenResponse
|
|
1127
|
+
*/
|
|
1128
|
+
results: Array<SafeHavenResponseResultsInner>;
|
|
1129
|
+
}
|
|
1130
|
+
/**
|
|
1131
|
+
* @export
|
|
1132
|
+
*/
|
|
1133
|
+
export declare const SafeHavenResponseUniverseEnum: {
|
|
1134
|
+
readonly Liquid: "liquid";
|
|
1135
|
+
readonly Majors: "majors";
|
|
1136
|
+
};
|
|
1137
|
+
export type SafeHavenResponseUniverseEnum = typeof SafeHavenResponseUniverseEnum[keyof typeof SafeHavenResponseUniverseEnum];
|
|
1138
|
+
/**
|
|
1139
|
+
*
|
|
1140
|
+
* @export
|
|
1141
|
+
* @interface SafeHavenResponseCrisis
|
|
1142
|
+
*/
|
|
1143
|
+
export interface SafeHavenResponseCrisis {
|
|
1144
|
+
/**
|
|
1145
|
+
*
|
|
1146
|
+
* @type {string}
|
|
1147
|
+
* @memberof SafeHavenResponseCrisis
|
|
1148
|
+
*/
|
|
1149
|
+
label: string;
|
|
1150
|
+
/**
|
|
1151
|
+
*
|
|
1152
|
+
* @type {string}
|
|
1153
|
+
* @memberof SafeHavenResponseCrisis
|
|
1154
|
+
*/
|
|
1155
|
+
from: string;
|
|
1156
|
+
/**
|
|
1157
|
+
*
|
|
1158
|
+
* @type {string}
|
|
1159
|
+
* @memberof SafeHavenResponseCrisis
|
|
1160
|
+
*/
|
|
1161
|
+
to: string;
|
|
1162
|
+
}
|
|
1163
|
+
/**
|
|
1164
|
+
*
|
|
1165
|
+
* @export
|
|
1166
|
+
* @interface SafeHavenResponseResultsInner
|
|
1167
|
+
*/
|
|
1168
|
+
export interface SafeHavenResponseResultsInner {
|
|
1169
|
+
/**
|
|
1170
|
+
*
|
|
1171
|
+
* @type {string}
|
|
1172
|
+
* @memberof SafeHavenResponseResultsInner
|
|
1173
|
+
*/
|
|
1174
|
+
currency: string;
|
|
1175
|
+
/**
|
|
1176
|
+
*
|
|
1177
|
+
* @type {number}
|
|
1178
|
+
* @memberof SafeHavenResponseResultsInner
|
|
1179
|
+
*/
|
|
1180
|
+
score: number | null;
|
|
1181
|
+
/**
|
|
1182
|
+
*
|
|
1183
|
+
* @type {number}
|
|
1184
|
+
* @memberof SafeHavenResponseResultsInner
|
|
1185
|
+
*/
|
|
1186
|
+
volatility: number | null;
|
|
1187
|
+
/**
|
|
1188
|
+
*
|
|
1189
|
+
* @type {number}
|
|
1190
|
+
* @memberof SafeHavenResponseResultsInner
|
|
1191
|
+
*/
|
|
1192
|
+
maxDrawdownPct: number | null;
|
|
1193
|
+
/**
|
|
1194
|
+
*
|
|
1195
|
+
* @type {number}
|
|
1196
|
+
* @memberof SafeHavenResponseResultsInner
|
|
1197
|
+
*/
|
|
1198
|
+
crisisReturnPct: number | null;
|
|
1199
|
+
/**
|
|
1200
|
+
*
|
|
1201
|
+
* @type {string}
|
|
1202
|
+
* @memberof SafeHavenResponseResultsInner
|
|
1203
|
+
*/
|
|
1204
|
+
note?: string;
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
*
|
|
1208
|
+
* @export
|
|
1209
|
+
* @interface VolatilityResponse
|
|
1210
|
+
*/
|
|
1211
|
+
export interface VolatilityResponse {
|
|
1212
|
+
/**
|
|
1213
|
+
*
|
|
1214
|
+
* @type {string}
|
|
1215
|
+
* @memberof VolatilityResponse
|
|
1216
|
+
*/
|
|
1217
|
+
base: string;
|
|
1218
|
+
/**
|
|
1219
|
+
*
|
|
1220
|
+
* @type {string}
|
|
1221
|
+
* @memberof VolatilityResponse
|
|
1222
|
+
*/
|
|
1223
|
+
from: string;
|
|
1224
|
+
/**
|
|
1225
|
+
*
|
|
1226
|
+
* @type {string}
|
|
1227
|
+
* @memberof VolatilityResponse
|
|
1228
|
+
*/
|
|
1229
|
+
to: string;
|
|
1230
|
+
/**
|
|
1231
|
+
*
|
|
1232
|
+
* @type {VolatilityResponseModeEnum}
|
|
1233
|
+
* @memberof VolatilityResponse
|
|
1234
|
+
*/
|
|
1235
|
+
mode: VolatilityResponseModeEnum;
|
|
1236
|
+
/**
|
|
1237
|
+
*
|
|
1238
|
+
* @type {VolatilityResponseSortEnum}
|
|
1239
|
+
* @memberof VolatilityResponse
|
|
1240
|
+
*/
|
|
1241
|
+
sort?: VolatilityResponseSortEnum;
|
|
1242
|
+
/**
|
|
1243
|
+
*
|
|
1244
|
+
* @type {VolatilityResponseUniverseEnum}
|
|
1245
|
+
* @memberof VolatilityResponse
|
|
1246
|
+
*/
|
|
1247
|
+
universe?: VolatilityResponseUniverseEnum;
|
|
1248
|
+
/**
|
|
1249
|
+
*
|
|
1250
|
+
* @type {VolatilityResponseBasisEnum}
|
|
1251
|
+
* @memberof VolatilityResponse
|
|
1252
|
+
*/
|
|
1253
|
+
basis: VolatilityResponseBasisEnum;
|
|
1254
|
+
/**
|
|
1255
|
+
*
|
|
1256
|
+
* @type {Array<VolatilityResponseResultsInner>}
|
|
1257
|
+
* @memberof VolatilityResponse
|
|
1258
|
+
*/
|
|
1259
|
+
results: Array<VolatilityResponseResultsInner>;
|
|
1260
|
+
}
|
|
1261
|
+
/**
|
|
1262
|
+
* @export
|
|
1263
|
+
*/
|
|
1264
|
+
export declare const VolatilityResponseModeEnum: {
|
|
1265
|
+
readonly Compare: "compare";
|
|
1266
|
+
readonly Ranking: "ranking";
|
|
1267
|
+
};
|
|
1268
|
+
export type VolatilityResponseModeEnum = typeof VolatilityResponseModeEnum[keyof typeof VolatilityResponseModeEnum];
|
|
1269
|
+
/**
|
|
1270
|
+
* @export
|
|
1271
|
+
*/
|
|
1272
|
+
export declare const VolatilityResponseSortEnum: {
|
|
1273
|
+
readonly Stable: "stable";
|
|
1274
|
+
readonly Volatile: "volatile";
|
|
1275
|
+
};
|
|
1276
|
+
export type VolatilityResponseSortEnum = typeof VolatilityResponseSortEnum[keyof typeof VolatilityResponseSortEnum];
|
|
1277
|
+
/**
|
|
1278
|
+
* @export
|
|
1279
|
+
*/
|
|
1280
|
+
export declare const VolatilityResponseUniverseEnum: {
|
|
1281
|
+
readonly Liquid: "liquid";
|
|
1282
|
+
readonly Majors: "majors";
|
|
1283
|
+
};
|
|
1284
|
+
export type VolatilityResponseUniverseEnum = typeof VolatilityResponseUniverseEnum[keyof typeof VolatilityResponseUniverseEnum];
|
|
1285
|
+
/**
|
|
1286
|
+
* @export
|
|
1287
|
+
*/
|
|
1288
|
+
export declare const VolatilityResponseBasisEnum: {
|
|
1289
|
+
readonly AnnualizedDaily: "annualized-daily";
|
|
1290
|
+
};
|
|
1291
|
+
export type VolatilityResponseBasisEnum = typeof VolatilityResponseBasisEnum[keyof typeof VolatilityResponseBasisEnum];
|
|
1292
|
+
/**
|
|
1293
|
+
*
|
|
1294
|
+
* @export
|
|
1295
|
+
* @interface VolatilityResponseResultsInner
|
|
1296
|
+
*/
|
|
1297
|
+
export interface VolatilityResponseResultsInner {
|
|
1298
|
+
/**
|
|
1299
|
+
*
|
|
1300
|
+
* @type {string}
|
|
1301
|
+
* @memberof VolatilityResponseResultsInner
|
|
1302
|
+
*/
|
|
1303
|
+
currency: string;
|
|
1304
|
+
/**
|
|
1305
|
+
*
|
|
1306
|
+
* @type {number}
|
|
1307
|
+
* @memberof VolatilityResponseResultsInner
|
|
1308
|
+
*/
|
|
1309
|
+
volatility: number | null;
|
|
1310
|
+
/**
|
|
1311
|
+
*
|
|
1312
|
+
* @type {number}
|
|
1313
|
+
* @memberof VolatilityResponseResultsInner
|
|
1314
|
+
*/
|
|
1315
|
+
observations: number;
|
|
1316
|
+
/**
|
|
1317
|
+
*
|
|
1318
|
+
* @type {string}
|
|
1319
|
+
* @memberof VolatilityResponseResultsInner
|
|
1320
|
+
*/
|
|
1321
|
+
note?: string;
|
|
1322
|
+
}
|