@binance/copy-trading 3.0.1 → 3.0.3
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/dist/chunk.mjs +13 -0
- package/dist/index.d.mts +207 -275
- package/dist/index.d.ts +209 -276
- package/dist/index.js +259 -244
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +182 -235
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { BadRequestError, COPY_TRADING_REST_API_PROD_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
|
|
1
|
+
import { BadRequestError, COPY_TRADING_REST_API_PROD_URL, ConfigurationRestAPI, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, ServerError, TooManyRequestsError, UnauthorizedError } from "@binance/common";
|
|
3
2
|
|
|
3
|
+
//#region rolldown:runtime
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/rest-api/types/get-futures-lead-trader-status-response-data.d.ts
|
|
4
7
|
/**
|
|
5
8
|
* Binance Copy Trading REST API
|
|
6
9
|
*
|
|
@@ -19,65 +22,54 @@ export { BadRequestError, COPY_TRADING_REST_API_PROD_URL, ConnectorClientError,
|
|
|
19
22
|
* @interface GetFuturesLeadTraderStatusResponseData
|
|
20
23
|
*/
|
|
21
24
|
interface GetFuturesLeadTraderStatusResponseData {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof GetFuturesLeadTraderStatusResponseData
|
|
29
|
+
*/
|
|
30
|
+
isLeadTrader?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number | bigint}
|
|
34
|
+
* @memberof GetFuturesLeadTraderStatusResponseData
|
|
35
|
+
*/
|
|
36
|
+
time?: number | bigint;
|
|
34
37
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
* Binance Copy Trading REST API
|
|
38
|
-
*
|
|
39
|
-
* OpenAPI Specification for the Binance Copy Trading REST API
|
|
40
|
-
*
|
|
41
|
-
* The version of the OpenAPI document: 1.0.0
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
45
|
-
* https://openapi-generator.tech
|
|
46
|
-
* Do not edit the class manually.
|
|
47
|
-
*/
|
|
48
|
-
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/rest-api/types/get-futures-lead-trader-status-response.d.ts
|
|
49
40
|
/**
|
|
50
41
|
*
|
|
51
42
|
* @export
|
|
52
43
|
* @interface GetFuturesLeadTraderStatusResponse
|
|
53
44
|
*/
|
|
54
45
|
interface GetFuturesLeadTraderStatusResponse {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof GetFuturesLeadTraderStatusResponse
|
|
50
|
+
*/
|
|
51
|
+
code?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof GetFuturesLeadTraderStatusResponse
|
|
56
|
+
*/
|
|
57
|
+
message?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {GetFuturesLeadTraderStatusResponseData}
|
|
61
|
+
* @memberof GetFuturesLeadTraderStatusResponse
|
|
62
|
+
*/
|
|
63
|
+
data?: GetFuturesLeadTraderStatusResponseData;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof GetFuturesLeadTraderStatusResponse
|
|
68
|
+
*/
|
|
69
|
+
success?: boolean;
|
|
79
70
|
}
|
|
80
|
-
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/rest-api/types/get-futures-lead-trading-symbol-whitelist-response-data-inner.d.ts
|
|
81
73
|
/**
|
|
82
74
|
* Binance Copy Trading REST API
|
|
83
75
|
*
|
|
@@ -96,265 +88,206 @@ interface GetFuturesLeadTraderStatusResponse {
|
|
|
96
88
|
* @interface GetFuturesLeadTradingSymbolWhitelistResponseDataInner
|
|
97
89
|
*/
|
|
98
90
|
interface GetFuturesLeadTradingSymbolWhitelistResponseDataInner {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
|
|
95
|
+
*/
|
|
96
|
+
symbol?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
|
|
101
|
+
*/
|
|
102
|
+
baseAsset?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
|
|
107
|
+
*/
|
|
108
|
+
quoteAsset?: string;
|
|
117
109
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
* Binance Copy Trading REST API
|
|
121
|
-
*
|
|
122
|
-
* OpenAPI Specification for the Binance Copy Trading REST API
|
|
123
|
-
*
|
|
124
|
-
* The version of the OpenAPI document: 1.0.0
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
128
|
-
* https://openapi-generator.tech
|
|
129
|
-
* Do not edit the class manually.
|
|
130
|
-
*/
|
|
131
|
-
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/rest-api/types/get-futures-lead-trading-symbol-whitelist-response.d.ts
|
|
132
112
|
/**
|
|
133
113
|
*
|
|
134
114
|
* @export
|
|
135
115
|
* @interface GetFuturesLeadTradingSymbolWhitelistResponse
|
|
136
116
|
*/
|
|
137
117
|
interface GetFuturesLeadTradingSymbolWhitelistResponse {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponse
|
|
122
|
+
*/
|
|
123
|
+
code?: string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponse
|
|
128
|
+
*/
|
|
129
|
+
message?: string;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {Array<GetFuturesLeadTradingSymbolWhitelistResponseDataInner>}
|
|
133
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponse
|
|
134
|
+
*/
|
|
135
|
+
data?: Array<GetFuturesLeadTradingSymbolWhitelistResponseDataInner>;
|
|
156
136
|
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
* Binance Copy Trading REST API
|
|
160
|
-
*
|
|
161
|
-
* OpenAPI Specification for the Binance Copy Trading REST API
|
|
162
|
-
*
|
|
163
|
-
* The version of the OpenAPI document: 1.0.0
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
167
|
-
* https://openapi-generator.tech
|
|
168
|
-
* Do not edit the class manually.
|
|
169
|
-
*/
|
|
170
|
-
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/rest-api/modules/future-copy-trading-api.d.ts
|
|
171
139
|
/**
|
|
172
140
|
* FutureCopyTradingApi - interface
|
|
173
141
|
* @interface FutureCopyTradingApi
|
|
174
142
|
*/
|
|
175
143
|
interface FutureCopyTradingApiInterface {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
144
|
+
/**
|
|
145
|
+
* Get Futures Lead Trader Status
|
|
146
|
+
*
|
|
147
|
+
* Weight: 20
|
|
148
|
+
*
|
|
149
|
+
* @summary Get Futures Lead Trader Status(TRADE)
|
|
150
|
+
* @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
|
|
151
|
+
*
|
|
152
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
153
|
+
* @memberof FutureCopyTradingApiInterface
|
|
154
|
+
*/
|
|
155
|
+
getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
|
|
156
|
+
/**
|
|
157
|
+
* Get Futures Lead Trading Symbol Whitelist
|
|
158
|
+
*
|
|
159
|
+
* Weight: 20
|
|
160
|
+
*
|
|
161
|
+
* @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
|
|
162
|
+
* @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
|
|
163
|
+
*
|
|
164
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
165
|
+
* @memberof FutureCopyTradingApiInterface
|
|
166
|
+
*/
|
|
167
|
+
getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
|
|
200
168
|
}
|
|
201
169
|
/**
|
|
202
170
|
* Request parameters for getFuturesLeadTraderStatus operation in FutureCopyTradingApi.
|
|
203
171
|
* @interface GetFuturesLeadTraderStatusRequest
|
|
204
172
|
*/
|
|
205
173
|
interface GetFuturesLeadTraderStatusRequest {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {number | bigint}
|
|
177
|
+
* @memberof FutureCopyTradingApiGetFuturesLeadTraderStatus
|
|
178
|
+
*/
|
|
179
|
+
readonly recvWindow?: number | bigint;
|
|
212
180
|
}
|
|
213
181
|
/**
|
|
214
182
|
* Request parameters for getFuturesLeadTradingSymbolWhitelist operation in FutureCopyTradingApi.
|
|
215
183
|
* @interface GetFuturesLeadTradingSymbolWhitelistRequest
|
|
216
184
|
*/
|
|
217
185
|
interface GetFuturesLeadTradingSymbolWhitelistRequest {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @type {number | bigint}
|
|
189
|
+
* @memberof FutureCopyTradingApiGetFuturesLeadTradingSymbolWhitelist
|
|
190
|
+
*/
|
|
191
|
+
readonly recvWindow?: number | bigint;
|
|
224
192
|
}
|
|
225
193
|
/**
|
|
226
194
|
* FutureCopyTradingApi - object-oriented interface
|
|
227
195
|
* @class FutureCopyTradingApi
|
|
228
196
|
*/
|
|
229
197
|
declare class FutureCopyTradingApi implements FutureCopyTradingApiInterface {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
198
|
+
private readonly configuration;
|
|
199
|
+
private localVarAxiosParamCreator;
|
|
200
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
201
|
+
/**
|
|
202
|
+
* Get Futures Lead Trader Status
|
|
203
|
+
*
|
|
204
|
+
* Weight: 20
|
|
205
|
+
*
|
|
206
|
+
* @summary Get Futures Lead Trader Status(TRADE)
|
|
207
|
+
* @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
|
|
208
|
+
* @returns {Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>}
|
|
209
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
210
|
+
* @memberof FutureCopyTradingApi
|
|
211
|
+
* @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trader-Status Binance API Documentation}
|
|
212
|
+
*/
|
|
213
|
+
getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
|
|
214
|
+
/**
|
|
215
|
+
* Get Futures Lead Trading Symbol Whitelist
|
|
216
|
+
*
|
|
217
|
+
* Weight: 20
|
|
218
|
+
*
|
|
219
|
+
* @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
|
|
220
|
+
* @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
|
|
221
|
+
* @returns {Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>}
|
|
222
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
223
|
+
* @memberof FutureCopyTradingApi
|
|
224
|
+
* @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trading-Symbol-Whitelist Binance API Documentation}
|
|
225
|
+
*/
|
|
226
|
+
getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
|
|
259
227
|
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
* Binance Copy Trading REST API
|
|
263
|
-
*
|
|
264
|
-
* OpenAPI Specification for the Binance Copy Trading REST API
|
|
265
|
-
*
|
|
266
|
-
* The version of the OpenAPI document: 1.0.0
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
270
|
-
* https://openapi-generator.tech
|
|
271
|
-
* Do not edit the class manually.
|
|
272
|
-
*/
|
|
273
|
-
|
|
228
|
+
//#endregion
|
|
229
|
+
//#region src/rest-api/rest-api.d.ts
|
|
274
230
|
declare class RestAPI {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
231
|
+
private configuration;
|
|
232
|
+
private futureCopyTradingApi;
|
|
233
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
234
|
+
/**
|
|
235
|
+
* Generic function to send a request.
|
|
236
|
+
* @param endpoint - The API endpoint to call.
|
|
237
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
238
|
+
* @param params - Query parameters for the request.
|
|
239
|
+
*
|
|
240
|
+
* @returns A promise resolving to the response data object.
|
|
241
|
+
*/
|
|
242
|
+
sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
243
|
+
/**
|
|
244
|
+
* Generic function to send a signed request.
|
|
245
|
+
* @param endpoint - The API endpoint to call.
|
|
246
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
247
|
+
* @param params - Query parameters for the request.
|
|
248
|
+
*
|
|
249
|
+
* @returns A promise resolving to the response data object.
|
|
250
|
+
*/
|
|
251
|
+
sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
252
|
+
/**
|
|
253
|
+
* Get Futures Lead Trader Status
|
|
254
|
+
*
|
|
255
|
+
* Weight: 20
|
|
256
|
+
*
|
|
257
|
+
* @summary Get Futures Lead Trader Status(TRADE)
|
|
258
|
+
* @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
|
|
259
|
+
*
|
|
260
|
+
* @returns {Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>}
|
|
261
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
262
|
+
* @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trader-Status Binance API Documentation}
|
|
263
|
+
*/
|
|
264
|
+
getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
|
|
265
|
+
/**
|
|
266
|
+
* Get Futures Lead Trading Symbol Whitelist
|
|
267
|
+
*
|
|
268
|
+
* Weight: 20
|
|
269
|
+
*
|
|
270
|
+
* @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
|
|
271
|
+
* @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
|
|
272
|
+
*
|
|
273
|
+
* @returns {Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>}
|
|
274
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
275
|
+
* @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trading-Symbol-Whitelist Binance API Documentation}
|
|
276
|
+
*/
|
|
277
|
+
getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
|
|
322
278
|
}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
* Binance Copy Trading REST API
|
|
326
|
-
*
|
|
327
|
-
* OpenAPI Specification for the Binance Copy Trading REST API
|
|
328
|
-
*
|
|
329
|
-
* The version of the OpenAPI document: 1.0.0
|
|
330
|
-
*
|
|
331
|
-
*
|
|
332
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
333
|
-
* https://openapi-generator.tech
|
|
334
|
-
* Do not edit the class manually.
|
|
335
|
-
*/
|
|
336
|
-
|
|
337
|
-
type index_FutureCopyTradingApi = FutureCopyTradingApi;
|
|
338
|
-
declare const index_FutureCopyTradingApi: typeof FutureCopyTradingApi;
|
|
339
|
-
type index_FutureCopyTradingApiInterface = FutureCopyTradingApiInterface;
|
|
340
|
-
type index_GetFuturesLeadTraderStatusRequest = GetFuturesLeadTraderStatusRequest;
|
|
341
|
-
type index_GetFuturesLeadTraderStatusResponse = GetFuturesLeadTraderStatusResponse;
|
|
342
|
-
type index_GetFuturesLeadTraderStatusResponseData = GetFuturesLeadTraderStatusResponseData;
|
|
343
|
-
type index_GetFuturesLeadTradingSymbolWhitelistRequest = GetFuturesLeadTradingSymbolWhitelistRequest;
|
|
344
|
-
type index_GetFuturesLeadTradingSymbolWhitelistResponse = GetFuturesLeadTradingSymbolWhitelistResponse;
|
|
345
|
-
type index_GetFuturesLeadTradingSymbolWhitelistResponseDataInner = GetFuturesLeadTradingSymbolWhitelistResponseDataInner;
|
|
346
|
-
type index_RestAPI = RestAPI;
|
|
347
|
-
declare const index_RestAPI: typeof RestAPI;
|
|
348
|
-
declare namespace index {
|
|
349
|
-
export { index_FutureCopyTradingApi as FutureCopyTradingApi, type index_FutureCopyTradingApiInterface as FutureCopyTradingApiInterface, type index_GetFuturesLeadTraderStatusRequest as GetFuturesLeadTraderStatusRequest, type index_GetFuturesLeadTraderStatusResponse as GetFuturesLeadTraderStatusResponse, type index_GetFuturesLeadTraderStatusResponseData as GetFuturesLeadTraderStatusResponseData, type index_GetFuturesLeadTradingSymbolWhitelistRequest as GetFuturesLeadTradingSymbolWhitelistRequest, type index_GetFuturesLeadTradingSymbolWhitelistResponse as GetFuturesLeadTradingSymbolWhitelistResponse, type index_GetFuturesLeadTradingSymbolWhitelistResponseDataInner as GetFuturesLeadTradingSymbolWhitelistResponseDataInner, index_RestAPI as RestAPI };
|
|
279
|
+
declare namespace index_d_exports {
|
|
280
|
+
export { FutureCopyTradingApi, FutureCopyTradingApiInterface, GetFuturesLeadTraderStatusRequest, GetFuturesLeadTraderStatusResponse, GetFuturesLeadTraderStatusResponseData, GetFuturesLeadTradingSymbolWhitelistRequest, GetFuturesLeadTradingSymbolWhitelistResponse, GetFuturesLeadTradingSymbolWhitelistResponseDataInner, RestAPI };
|
|
350
281
|
}
|
|
351
|
-
|
|
282
|
+
//#endregion
|
|
283
|
+
//#region src/copy-trading.d.ts
|
|
352
284
|
interface ConfigurationCopyTrading {
|
|
353
|
-
|
|
285
|
+
configurationRestAPI?: ConfigurationRestAPI;
|
|
354
286
|
}
|
|
355
287
|
declare class CopyTrading {
|
|
356
|
-
|
|
357
|
-
|
|
288
|
+
restAPI: RestAPI;
|
|
289
|
+
constructor(config: ConfigurationCopyTrading);
|
|
358
290
|
}
|
|
359
|
-
|
|
360
|
-
export { type ConfigurationCopyTrading, CopyTrading,
|
|
291
|
+
//#endregion
|
|
292
|
+
export { BadRequestError, COPY_TRADING_REST_API_PROD_URL, type ConfigurationCopyTrading, ConnectorClientError, CopyTrading, index_d_exports as CopyTradingRestAPI, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError };
|
|
293
|
+
//# sourceMappingURL=index.d.ts.map
|