@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/chunk.mjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __export = (all) => {
|
|
4
|
+
let target = {};
|
|
5
|
+
for (var name in all) __defProp(target, name, {
|
|
6
|
+
get: all[name],
|
|
7
|
+
enumerable: true
|
|
8
|
+
});
|
|
9
|
+
return target;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { __export as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { BadRequestError, COPY_TRADING_REST_API_PROD_URL, ConfigurationRestAPI, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, ServerError, TooManyRequestsError, UnauthorizedError } from "@binance/common";
|
|
2
|
+
|
|
3
|
+
//#region src/rest-api/types/get-futures-lead-trader-status-response-data.d.ts
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Binance Copy Trading REST API
|
|
@@ -19,32 +20,21 @@ export { BadRequestError, COPY_TRADING_REST_API_PROD_URL, ConnectorClientError,
|
|
|
19
20
|
* @interface GetFuturesLeadTraderStatusResponseData
|
|
20
21
|
*/
|
|
21
22
|
interface GetFuturesLeadTraderStatusResponseData {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof GetFuturesLeadTraderStatusResponseData
|
|
27
|
+
*/
|
|
28
|
+
isLeadTrader?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number | bigint}
|
|
32
|
+
* @memberof GetFuturesLeadTraderStatusResponseData
|
|
33
|
+
*/
|
|
34
|
+
time?: number | bigint;
|
|
34
35
|
}
|
|
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
|
-
*/
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/rest-api/types/get-futures-lead-trader-status-response.d.ts
|
|
48
38
|
|
|
49
39
|
/**
|
|
50
40
|
*
|
|
@@ -52,32 +42,33 @@ interface GetFuturesLeadTraderStatusResponseData {
|
|
|
52
42
|
* @interface GetFuturesLeadTraderStatusResponse
|
|
53
43
|
*/
|
|
54
44
|
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
|
-
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof GetFuturesLeadTraderStatusResponse
|
|
49
|
+
*/
|
|
50
|
+
code?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof GetFuturesLeadTraderStatusResponse
|
|
55
|
+
*/
|
|
56
|
+
message?: string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {GetFuturesLeadTraderStatusResponseData}
|
|
60
|
+
* @memberof GetFuturesLeadTraderStatusResponse
|
|
61
|
+
*/
|
|
62
|
+
data?: GetFuturesLeadTraderStatusResponseData;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
* @memberof GetFuturesLeadTraderStatusResponse
|
|
67
|
+
*/
|
|
68
|
+
success?: boolean;
|
|
79
69
|
}
|
|
80
|
-
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/rest-api/types/get-futures-lead-trading-symbol-whitelist-response-data-inner.d.ts
|
|
81
72
|
/**
|
|
82
73
|
* Binance Copy Trading REST API
|
|
83
74
|
*
|
|
@@ -96,265 +87,206 @@ interface GetFuturesLeadTraderStatusResponse {
|
|
|
96
87
|
* @interface GetFuturesLeadTradingSymbolWhitelistResponseDataInner
|
|
97
88
|
*/
|
|
98
89
|
interface GetFuturesLeadTradingSymbolWhitelistResponseDataInner {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
|
|
94
|
+
*/
|
|
95
|
+
symbol?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
|
|
100
|
+
*/
|
|
101
|
+
baseAsset?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
|
|
106
|
+
*/
|
|
107
|
+
quoteAsset?: string;
|
|
117
108
|
}
|
|
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
|
-
|
|
109
|
+
//#endregion
|
|
110
|
+
//#region src/rest-api/types/get-futures-lead-trading-symbol-whitelist-response.d.ts
|
|
132
111
|
/**
|
|
133
112
|
*
|
|
134
113
|
* @export
|
|
135
114
|
* @interface GetFuturesLeadTradingSymbolWhitelistResponse
|
|
136
115
|
*/
|
|
137
116
|
interface GetFuturesLeadTradingSymbolWhitelistResponse {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponse
|
|
121
|
+
*/
|
|
122
|
+
code?: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponse
|
|
127
|
+
*/
|
|
128
|
+
message?: string;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {Array<GetFuturesLeadTradingSymbolWhitelistResponseDataInner>}
|
|
132
|
+
* @memberof GetFuturesLeadTradingSymbolWhitelistResponse
|
|
133
|
+
*/
|
|
134
|
+
data?: Array<GetFuturesLeadTradingSymbolWhitelistResponseDataInner>;
|
|
156
135
|
}
|
|
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
|
-
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region src/rest-api/modules/future-copy-trading-api.d.ts
|
|
171
138
|
/**
|
|
172
139
|
* FutureCopyTradingApi - interface
|
|
173
140
|
* @interface FutureCopyTradingApi
|
|
174
141
|
*/
|
|
175
142
|
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
|
-
|
|
143
|
+
/**
|
|
144
|
+
* Get Futures Lead Trader Status
|
|
145
|
+
*
|
|
146
|
+
* Weight: 20
|
|
147
|
+
*
|
|
148
|
+
* @summary Get Futures Lead Trader Status(TRADE)
|
|
149
|
+
* @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
|
|
150
|
+
*
|
|
151
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
152
|
+
* @memberof FutureCopyTradingApiInterface
|
|
153
|
+
*/
|
|
154
|
+
getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
|
|
155
|
+
/**
|
|
156
|
+
* Get Futures Lead Trading Symbol Whitelist
|
|
157
|
+
*
|
|
158
|
+
* Weight: 20
|
|
159
|
+
*
|
|
160
|
+
* @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
|
|
161
|
+
* @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
|
|
162
|
+
*
|
|
163
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
164
|
+
* @memberof FutureCopyTradingApiInterface
|
|
165
|
+
*/
|
|
166
|
+
getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
|
|
200
167
|
}
|
|
201
168
|
/**
|
|
202
169
|
* Request parameters for getFuturesLeadTraderStatus operation in FutureCopyTradingApi.
|
|
203
170
|
* @interface GetFuturesLeadTraderStatusRequest
|
|
204
171
|
*/
|
|
205
172
|
interface GetFuturesLeadTraderStatusRequest {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @type {number | bigint}
|
|
176
|
+
* @memberof FutureCopyTradingApiGetFuturesLeadTraderStatus
|
|
177
|
+
*/
|
|
178
|
+
readonly recvWindow?: number | bigint;
|
|
212
179
|
}
|
|
213
180
|
/**
|
|
214
181
|
* Request parameters for getFuturesLeadTradingSymbolWhitelist operation in FutureCopyTradingApi.
|
|
215
182
|
* @interface GetFuturesLeadTradingSymbolWhitelistRequest
|
|
216
183
|
*/
|
|
217
184
|
interface GetFuturesLeadTradingSymbolWhitelistRequest {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {number | bigint}
|
|
188
|
+
* @memberof FutureCopyTradingApiGetFuturesLeadTradingSymbolWhitelist
|
|
189
|
+
*/
|
|
190
|
+
readonly recvWindow?: number | bigint;
|
|
224
191
|
}
|
|
225
192
|
/**
|
|
226
193
|
* FutureCopyTradingApi - object-oriented interface
|
|
227
194
|
* @class FutureCopyTradingApi
|
|
228
195
|
*/
|
|
229
196
|
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
|
-
|
|
197
|
+
private readonly configuration;
|
|
198
|
+
private localVarAxiosParamCreator;
|
|
199
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
200
|
+
/**
|
|
201
|
+
* Get Futures Lead Trader Status
|
|
202
|
+
*
|
|
203
|
+
* Weight: 20
|
|
204
|
+
*
|
|
205
|
+
* @summary Get Futures Lead Trader Status(TRADE)
|
|
206
|
+
* @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
|
|
207
|
+
* @returns {Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>}
|
|
208
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
209
|
+
* @memberof FutureCopyTradingApi
|
|
210
|
+
* @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trader-Status Binance API Documentation}
|
|
211
|
+
*/
|
|
212
|
+
getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
|
|
213
|
+
/**
|
|
214
|
+
* Get Futures Lead Trading Symbol Whitelist
|
|
215
|
+
*
|
|
216
|
+
* Weight: 20
|
|
217
|
+
*
|
|
218
|
+
* @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
|
|
219
|
+
* @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
|
|
220
|
+
* @returns {Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>}
|
|
221
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
222
|
+
* @memberof FutureCopyTradingApi
|
|
223
|
+
* @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trading-Symbol-Whitelist Binance API Documentation}
|
|
224
|
+
*/
|
|
225
|
+
getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
|
|
259
226
|
}
|
|
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
|
-
|
|
227
|
+
//#endregion
|
|
228
|
+
//#region src/rest-api/rest-api.d.ts
|
|
274
229
|
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
|
-
|
|
230
|
+
private configuration;
|
|
231
|
+
private futureCopyTradingApi;
|
|
232
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
233
|
+
/**
|
|
234
|
+
* Generic function to send a request.
|
|
235
|
+
* @param endpoint - The API endpoint to call.
|
|
236
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
237
|
+
* @param params - Query parameters for the request.
|
|
238
|
+
*
|
|
239
|
+
* @returns A promise resolving to the response data object.
|
|
240
|
+
*/
|
|
241
|
+
sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
242
|
+
/**
|
|
243
|
+
* Generic function to send a signed request.
|
|
244
|
+
* @param endpoint - The API endpoint to call.
|
|
245
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
246
|
+
* @param params - Query parameters for the request.
|
|
247
|
+
*
|
|
248
|
+
* @returns A promise resolving to the response data object.
|
|
249
|
+
*/
|
|
250
|
+
sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
251
|
+
/**
|
|
252
|
+
* Get Futures Lead Trader Status
|
|
253
|
+
*
|
|
254
|
+
* Weight: 20
|
|
255
|
+
*
|
|
256
|
+
* @summary Get Futures Lead Trader Status(TRADE)
|
|
257
|
+
* @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
|
|
258
|
+
*
|
|
259
|
+
* @returns {Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>}
|
|
260
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
261
|
+
* @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trader-Status Binance API Documentation}
|
|
262
|
+
*/
|
|
263
|
+
getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
|
|
264
|
+
/**
|
|
265
|
+
* Get Futures Lead Trading Symbol Whitelist
|
|
266
|
+
*
|
|
267
|
+
* Weight: 20
|
|
268
|
+
*
|
|
269
|
+
* @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
|
|
270
|
+
* @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
|
|
271
|
+
*
|
|
272
|
+
* @returns {Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>}
|
|
273
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
274
|
+
* @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trading-Symbol-Whitelist Binance API Documentation}
|
|
275
|
+
*/
|
|
276
|
+
getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
|
|
322
277
|
}
|
|
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 };
|
|
278
|
+
declare namespace index_d_exports {
|
|
279
|
+
export { FutureCopyTradingApi, FutureCopyTradingApiInterface, GetFuturesLeadTraderStatusRequest, GetFuturesLeadTraderStatusResponse, GetFuturesLeadTraderStatusResponseData, GetFuturesLeadTradingSymbolWhitelistRequest, GetFuturesLeadTradingSymbolWhitelistResponse, GetFuturesLeadTradingSymbolWhitelistResponseDataInner, RestAPI };
|
|
350
280
|
}
|
|
351
|
-
|
|
281
|
+
//#endregion
|
|
282
|
+
//#region src/copy-trading.d.ts
|
|
352
283
|
interface ConfigurationCopyTrading {
|
|
353
|
-
|
|
284
|
+
configurationRestAPI?: ConfigurationRestAPI;
|
|
354
285
|
}
|
|
355
286
|
declare class CopyTrading {
|
|
356
|
-
|
|
357
|
-
|
|
287
|
+
restAPI: RestAPI;
|
|
288
|
+
constructor(config: ConfigurationCopyTrading);
|
|
358
289
|
}
|
|
359
|
-
|
|
360
|
-
export { type ConfigurationCopyTrading, CopyTrading,
|
|
290
|
+
//#endregion
|
|
291
|
+
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 };
|
|
292
|
+
//# sourceMappingURL=index.d.mts.map
|