@binance/margin-trading 5.0.1 → 6.0.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/README.md +125 -0
- package/dist/index.d.mts +1087 -202
- package/dist/index.d.ts +1087 -202
- package/dist/index.js +172 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +158 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
|
|
2
|
-
export { BadRequestError, ConnectorClientError, ForbiddenError, MARGIN_TRADING_REST_API_PROD_URL, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
|
|
1
|
+
import { RestApiResponse, ConfigurationRestAPI, WebsocketStreamsBase, WebsocketStream, ConfigurationWebsocketStreams } from '@binance/common';
|
|
2
|
+
export { BadRequestError, ConnectorClientError, ForbiddenError, MARGIN_TRADING_REST_API_PROD_URL, MARGIN_TRADING_RISK_WS_STREAMS_PROD_URL, MARGIN_TRADING_WS_STREAMS_PROD_URL, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Binance Margin Trading REST API
|
|
@@ -10145,214 +10145,1099 @@ declare class RestAPI {
|
|
|
10145
10145
|
* Do not edit the class manually.
|
|
10146
10146
|
*/
|
|
10147
10147
|
|
|
10148
|
-
type
|
|
10149
|
-
declare const
|
|
10150
|
-
type
|
|
10151
|
-
type
|
|
10152
|
-
type
|
|
10153
|
-
type
|
|
10154
|
-
declare const
|
|
10155
|
-
type
|
|
10156
|
-
type
|
|
10157
|
-
type
|
|
10158
|
-
type
|
|
10159
|
-
type
|
|
10160
|
-
type
|
|
10161
|
-
type
|
|
10162
|
-
type
|
|
10163
|
-
type
|
|
10164
|
-
type
|
|
10165
|
-
type
|
|
10166
|
-
type
|
|
10167
|
-
type
|
|
10168
|
-
type
|
|
10169
|
-
type
|
|
10170
|
-
type
|
|
10171
|
-
type
|
|
10172
|
-
type
|
|
10173
|
-
type
|
|
10174
|
-
type
|
|
10175
|
-
type
|
|
10176
|
-
type
|
|
10177
|
-
type
|
|
10178
|
-
type
|
|
10179
|
-
type
|
|
10180
|
-
type
|
|
10181
|
-
type
|
|
10182
|
-
type
|
|
10183
|
-
type
|
|
10184
|
-
type
|
|
10185
|
-
type
|
|
10186
|
-
type
|
|
10187
|
-
type
|
|
10188
|
-
type
|
|
10189
|
-
type
|
|
10190
|
-
type
|
|
10191
|
-
type
|
|
10192
|
-
type
|
|
10193
|
-
type
|
|
10194
|
-
type
|
|
10195
|
-
type
|
|
10196
|
-
type
|
|
10197
|
-
type
|
|
10198
|
-
type
|
|
10199
|
-
type
|
|
10200
|
-
type
|
|
10201
|
-
type
|
|
10202
|
-
type
|
|
10203
|
-
type
|
|
10204
|
-
type
|
|
10205
|
-
type
|
|
10206
|
-
type
|
|
10207
|
-
type
|
|
10208
|
-
type
|
|
10209
|
-
type
|
|
10210
|
-
type
|
|
10211
|
-
type
|
|
10212
|
-
type
|
|
10213
|
-
type
|
|
10214
|
-
type
|
|
10215
|
-
type
|
|
10216
|
-
type
|
|
10217
|
-
type
|
|
10218
|
-
type
|
|
10219
|
-
type
|
|
10220
|
-
type
|
|
10221
|
-
type
|
|
10222
|
-
type
|
|
10223
|
-
declare const
|
|
10224
|
-
type
|
|
10225
|
-
type
|
|
10226
|
-
type
|
|
10227
|
-
type
|
|
10228
|
-
type
|
|
10229
|
-
declare const
|
|
10230
|
-
type
|
|
10231
|
-
declare const
|
|
10232
|
-
type
|
|
10233
|
-
type
|
|
10234
|
-
type
|
|
10235
|
-
type
|
|
10236
|
-
declare const
|
|
10237
|
-
type
|
|
10238
|
-
declare const
|
|
10239
|
-
type
|
|
10240
|
-
declare const
|
|
10241
|
-
type
|
|
10242
|
-
type
|
|
10243
|
-
type
|
|
10244
|
-
type
|
|
10245
|
-
type
|
|
10246
|
-
declare const
|
|
10247
|
-
type
|
|
10248
|
-
type
|
|
10249
|
-
type
|
|
10250
|
-
type
|
|
10251
|
-
type
|
|
10252
|
-
type
|
|
10253
|
-
type
|
|
10254
|
-
declare const
|
|
10255
|
-
type
|
|
10256
|
-
type
|
|
10257
|
-
type
|
|
10258
|
-
type
|
|
10259
|
-
type
|
|
10260
|
-
type
|
|
10261
|
-
type
|
|
10262
|
-
type
|
|
10263
|
-
type
|
|
10264
|
-
type
|
|
10265
|
-
type
|
|
10266
|
-
type
|
|
10267
|
-
type
|
|
10268
|
-
type
|
|
10269
|
-
type
|
|
10270
|
-
type
|
|
10271
|
-
type
|
|
10272
|
-
type
|
|
10273
|
-
type
|
|
10274
|
-
type
|
|
10275
|
-
type
|
|
10276
|
-
type
|
|
10277
|
-
type
|
|
10278
|
-
type
|
|
10279
|
-
type
|
|
10280
|
-
type
|
|
10281
|
-
type
|
|
10282
|
-
type
|
|
10283
|
-
type
|
|
10284
|
-
type
|
|
10285
|
-
type
|
|
10286
|
-
type
|
|
10287
|
-
type
|
|
10288
|
-
type
|
|
10289
|
-
type
|
|
10290
|
-
type
|
|
10291
|
-
type
|
|
10292
|
-
type
|
|
10293
|
-
type
|
|
10294
|
-
type
|
|
10295
|
-
type
|
|
10296
|
-
type
|
|
10297
|
-
type
|
|
10298
|
-
type
|
|
10299
|
-
type
|
|
10300
|
-
type
|
|
10301
|
-
type
|
|
10302
|
-
type
|
|
10303
|
-
type
|
|
10304
|
-
type
|
|
10305
|
-
type
|
|
10306
|
-
type
|
|
10307
|
-
type
|
|
10308
|
-
type
|
|
10309
|
-
type
|
|
10310
|
-
type
|
|
10311
|
-
type
|
|
10312
|
-
type
|
|
10313
|
-
type
|
|
10314
|
-
type
|
|
10315
|
-
type
|
|
10316
|
-
type
|
|
10317
|
-
type
|
|
10318
|
-
type
|
|
10319
|
-
type
|
|
10320
|
-
type
|
|
10321
|
-
type
|
|
10322
|
-
type
|
|
10323
|
-
type
|
|
10324
|
-
type
|
|
10325
|
-
type
|
|
10326
|
-
type
|
|
10327
|
-
type
|
|
10328
|
-
declare const
|
|
10329
|
-
type
|
|
10330
|
-
declare const
|
|
10331
|
-
type
|
|
10332
|
-
type
|
|
10333
|
-
type
|
|
10334
|
-
type
|
|
10335
|
-
type
|
|
10336
|
-
type
|
|
10337
|
-
type
|
|
10338
|
-
declare const
|
|
10339
|
-
type
|
|
10340
|
-
type
|
|
10341
|
-
declare const
|
|
10342
|
-
type
|
|
10343
|
-
type
|
|
10344
|
-
declare const
|
|
10345
|
-
type
|
|
10148
|
+
type index$1_AccountApi = AccountApi;
|
|
10149
|
+
declare const index$1_AccountApi: typeof AccountApi;
|
|
10150
|
+
type index$1_AccountApiInterface = AccountApiInterface;
|
|
10151
|
+
type index$1_AdjustCrossMarginMaxLeverageRequest = AdjustCrossMarginMaxLeverageRequest;
|
|
10152
|
+
type index$1_AdjustCrossMarginMaxLeverageResponse = AdjustCrossMarginMaxLeverageResponse;
|
|
10153
|
+
type index$1_BorrowRepayApi = BorrowRepayApi;
|
|
10154
|
+
declare const index$1_BorrowRepayApi: typeof BorrowRepayApi;
|
|
10155
|
+
type index$1_BorrowRepayApiInterface = BorrowRepayApiInterface;
|
|
10156
|
+
type index$1_CloseIsolatedMarginUserDataStreamRequest = CloseIsolatedMarginUserDataStreamRequest;
|
|
10157
|
+
type index$1_CloseMarginUserDataStreamRequest = CloseMarginUserDataStreamRequest;
|
|
10158
|
+
type index$1_CreateSpecialKeyRequest = CreateSpecialKeyRequest;
|
|
10159
|
+
type index$1_CreateSpecialKeyResponse = CreateSpecialKeyResponse;
|
|
10160
|
+
type index$1_CrossMarginCollateralRatioResponse = CrossMarginCollateralRatioResponse;
|
|
10161
|
+
type index$1_CrossMarginCollateralRatioResponseInner = CrossMarginCollateralRatioResponseInner;
|
|
10162
|
+
type index$1_CrossMarginCollateralRatioResponseInnerCollateralsInner = CrossMarginCollateralRatioResponseInnerCollateralsInner;
|
|
10163
|
+
type index$1_DeleteSpecialKeyRequest = DeleteSpecialKeyRequest;
|
|
10164
|
+
type index$1_DisableIsolatedMarginAccountRequest = DisableIsolatedMarginAccountRequest;
|
|
10165
|
+
type index$1_DisableIsolatedMarginAccountResponse = DisableIsolatedMarginAccountResponse;
|
|
10166
|
+
type index$1_EditIpForSpecialKeyRequest = EditIpForSpecialKeyRequest;
|
|
10167
|
+
type index$1_EnableIsolatedMarginAccountRequest = EnableIsolatedMarginAccountRequest;
|
|
10168
|
+
type index$1_EnableIsolatedMarginAccountResponse = EnableIsolatedMarginAccountResponse;
|
|
10169
|
+
type index$1_GetAllCrossMarginPairsRequest = GetAllCrossMarginPairsRequest;
|
|
10170
|
+
type index$1_GetAllCrossMarginPairsResponse = GetAllCrossMarginPairsResponse;
|
|
10171
|
+
type index$1_GetAllCrossMarginPairsResponseInner = GetAllCrossMarginPairsResponseInner;
|
|
10172
|
+
type index$1_GetAllIsolatedMarginSymbolRequest = GetAllIsolatedMarginSymbolRequest;
|
|
10173
|
+
type index$1_GetAllIsolatedMarginSymbolResponse = GetAllIsolatedMarginSymbolResponse;
|
|
10174
|
+
type index$1_GetAllIsolatedMarginSymbolResponseInner = GetAllIsolatedMarginSymbolResponseInner;
|
|
10175
|
+
type index$1_GetAllMarginAssetsRequest = GetAllMarginAssetsRequest;
|
|
10176
|
+
type index$1_GetAllMarginAssetsResponse = GetAllMarginAssetsResponse;
|
|
10177
|
+
type index$1_GetAllMarginAssetsResponseInner = GetAllMarginAssetsResponseInner;
|
|
10178
|
+
type index$1_GetBnbBurnStatusRequest = GetBnbBurnStatusRequest;
|
|
10179
|
+
type index$1_GetBnbBurnStatusResponse = GetBnbBurnStatusResponse;
|
|
10180
|
+
type index$1_GetCrossMarginTransferHistoryRequest = GetCrossMarginTransferHistoryRequest;
|
|
10181
|
+
type index$1_GetCrossMarginTransferHistoryResponse = GetCrossMarginTransferHistoryResponse;
|
|
10182
|
+
type index$1_GetCrossMarginTransferHistoryResponseRowsInner = GetCrossMarginTransferHistoryResponseRowsInner;
|
|
10183
|
+
type index$1_GetDelistScheduleRequest = GetDelistScheduleRequest;
|
|
10184
|
+
type index$1_GetDelistScheduleResponse = GetDelistScheduleResponse;
|
|
10185
|
+
type index$1_GetDelistScheduleResponseInner = GetDelistScheduleResponseInner;
|
|
10186
|
+
type index$1_GetForceLiquidationRecordRequest = GetForceLiquidationRecordRequest;
|
|
10187
|
+
type index$1_GetForceLiquidationRecordResponse = GetForceLiquidationRecordResponse;
|
|
10188
|
+
type index$1_GetForceLiquidationRecordResponseRowsInner = GetForceLiquidationRecordResponseRowsInner;
|
|
10189
|
+
type index$1_GetFutureHourlyInterestRateRequest = GetFutureHourlyInterestRateRequest;
|
|
10190
|
+
type index$1_GetFutureHourlyInterestRateResponse = GetFutureHourlyInterestRateResponse;
|
|
10191
|
+
type index$1_GetFutureHourlyInterestRateResponseInner = GetFutureHourlyInterestRateResponseInner;
|
|
10192
|
+
type index$1_GetInterestHistoryRequest = GetInterestHistoryRequest;
|
|
10193
|
+
type index$1_GetInterestHistoryResponse = GetInterestHistoryResponse;
|
|
10194
|
+
type index$1_GetInterestHistoryResponseRowsInner = GetInterestHistoryResponseRowsInner;
|
|
10195
|
+
type index$1_GetListScheduleRequest = GetListScheduleRequest;
|
|
10196
|
+
type index$1_GetListScheduleResponse = GetListScheduleResponse;
|
|
10197
|
+
type index$1_GetListScheduleResponseInner = GetListScheduleResponseInner;
|
|
10198
|
+
type index$1_GetSmallLiabilityExchangeCoinListRequest = GetSmallLiabilityExchangeCoinListRequest;
|
|
10199
|
+
type index$1_GetSmallLiabilityExchangeCoinListResponse = GetSmallLiabilityExchangeCoinListResponse;
|
|
10200
|
+
type index$1_GetSmallLiabilityExchangeCoinListResponseInner = GetSmallLiabilityExchangeCoinListResponseInner;
|
|
10201
|
+
type index$1_GetSmallLiabilityExchangeHistoryRequest = GetSmallLiabilityExchangeHistoryRequest;
|
|
10202
|
+
type index$1_GetSmallLiabilityExchangeHistoryResponse = GetSmallLiabilityExchangeHistoryResponse;
|
|
10203
|
+
type index$1_GetSmallLiabilityExchangeHistoryResponseRowsInner = GetSmallLiabilityExchangeHistoryResponseRowsInner;
|
|
10204
|
+
type index$1_GetSummaryOfMarginAccountRequest = GetSummaryOfMarginAccountRequest;
|
|
10205
|
+
type index$1_GetSummaryOfMarginAccountResponse = GetSummaryOfMarginAccountResponse;
|
|
10206
|
+
type index$1_KeepaliveIsolatedMarginUserDataStreamRequest = KeepaliveIsolatedMarginUserDataStreamRequest;
|
|
10207
|
+
type index$1_KeepaliveMarginUserDataStreamRequest = KeepaliveMarginUserDataStreamRequest;
|
|
10208
|
+
type index$1_KeepaliveUserDataStreamRequest = KeepaliveUserDataStreamRequest;
|
|
10209
|
+
type index$1_MarginAccountBorrowRepayRequest = MarginAccountBorrowRepayRequest;
|
|
10210
|
+
type index$1_MarginAccountBorrowRepayResponse = MarginAccountBorrowRepayResponse;
|
|
10211
|
+
type index$1_MarginAccountCancelAllOpenOrdersOnASymbolRequest = MarginAccountCancelAllOpenOrdersOnASymbolRequest;
|
|
10212
|
+
type index$1_MarginAccountCancelAllOpenOrdersOnASymbolResponse = MarginAccountCancelAllOpenOrdersOnASymbolResponse;
|
|
10213
|
+
type index$1_MarginAccountCancelAllOpenOrdersOnASymbolResponseInner = MarginAccountCancelAllOpenOrdersOnASymbolResponseInner;
|
|
10214
|
+
type index$1_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner = MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner;
|
|
10215
|
+
type index$1_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner = MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner;
|
|
10216
|
+
type index$1_MarginAccountCancelOcoRequest = MarginAccountCancelOcoRequest;
|
|
10217
|
+
type index$1_MarginAccountCancelOcoResponse = MarginAccountCancelOcoResponse;
|
|
10218
|
+
type index$1_MarginAccountCancelOcoResponseOrderReportsInner = MarginAccountCancelOcoResponseOrderReportsInner;
|
|
10219
|
+
type index$1_MarginAccountCancelOcoResponseOrdersInner = MarginAccountCancelOcoResponseOrdersInner;
|
|
10220
|
+
type index$1_MarginAccountCancelOrderRequest = MarginAccountCancelOrderRequest;
|
|
10221
|
+
type index$1_MarginAccountCancelOrderResponse = MarginAccountCancelOrderResponse;
|
|
10222
|
+
type index$1_MarginAccountNewOcoNewOrderRespTypeEnum = MarginAccountNewOcoNewOrderRespTypeEnum;
|
|
10223
|
+
declare const index$1_MarginAccountNewOcoNewOrderRespTypeEnum: typeof MarginAccountNewOcoNewOrderRespTypeEnum;
|
|
10224
|
+
type index$1_MarginAccountNewOcoRequest = MarginAccountNewOcoRequest;
|
|
10225
|
+
type index$1_MarginAccountNewOcoResponse = MarginAccountNewOcoResponse;
|
|
10226
|
+
type index$1_MarginAccountNewOcoResponseOrderReportsInner = MarginAccountNewOcoResponseOrderReportsInner;
|
|
10227
|
+
type index$1_MarginAccountNewOcoResponseOrdersInner = MarginAccountNewOcoResponseOrdersInner;
|
|
10228
|
+
type index$1_MarginAccountNewOcoSideEnum = MarginAccountNewOcoSideEnum;
|
|
10229
|
+
declare const index$1_MarginAccountNewOcoSideEnum: typeof MarginAccountNewOcoSideEnum;
|
|
10230
|
+
type index$1_MarginAccountNewOrderNewOrderRespTypeEnum = MarginAccountNewOrderNewOrderRespTypeEnum;
|
|
10231
|
+
declare const index$1_MarginAccountNewOrderNewOrderRespTypeEnum: typeof MarginAccountNewOrderNewOrderRespTypeEnum;
|
|
10232
|
+
type index$1_MarginAccountNewOrderRequest = MarginAccountNewOrderRequest;
|
|
10233
|
+
type index$1_MarginAccountNewOrderResponse = MarginAccountNewOrderResponse;
|
|
10234
|
+
type index$1_MarginAccountNewOrderResponseFillsInner = MarginAccountNewOrderResponseFillsInner;
|
|
10235
|
+
type index$1_MarginAccountNewOrderSideEnum = MarginAccountNewOrderSideEnum;
|
|
10236
|
+
declare const index$1_MarginAccountNewOrderSideEnum: typeof MarginAccountNewOrderSideEnum;
|
|
10237
|
+
type index$1_MarginAccountNewOrderTimeInForceEnum = MarginAccountNewOrderTimeInForceEnum;
|
|
10238
|
+
declare const index$1_MarginAccountNewOrderTimeInForceEnum: typeof MarginAccountNewOrderTimeInForceEnum;
|
|
10239
|
+
type index$1_MarginAccountNewOtoNewOrderRespTypeEnum = MarginAccountNewOtoNewOrderRespTypeEnum;
|
|
10240
|
+
declare const index$1_MarginAccountNewOtoNewOrderRespTypeEnum: typeof MarginAccountNewOtoNewOrderRespTypeEnum;
|
|
10241
|
+
type index$1_MarginAccountNewOtoRequest = MarginAccountNewOtoRequest;
|
|
10242
|
+
type index$1_MarginAccountNewOtoResponse = MarginAccountNewOtoResponse;
|
|
10243
|
+
type index$1_MarginAccountNewOtoResponseOrderReportsInner = MarginAccountNewOtoResponseOrderReportsInner;
|
|
10244
|
+
type index$1_MarginAccountNewOtoResponseOrdersInner = MarginAccountNewOtoResponseOrdersInner;
|
|
10245
|
+
type index$1_MarginAccountNewOtocoNewOrderRespTypeEnum = MarginAccountNewOtocoNewOrderRespTypeEnum;
|
|
10246
|
+
declare const index$1_MarginAccountNewOtocoNewOrderRespTypeEnum: typeof MarginAccountNewOtocoNewOrderRespTypeEnum;
|
|
10247
|
+
type index$1_MarginAccountNewOtocoRequest = MarginAccountNewOtocoRequest;
|
|
10248
|
+
type index$1_MarginAccountNewOtocoResponse = MarginAccountNewOtocoResponse;
|
|
10249
|
+
type index$1_MarginAccountNewOtocoResponseOrderReportsInner = MarginAccountNewOtocoResponseOrderReportsInner;
|
|
10250
|
+
type index$1_MarginAccountNewOtocoResponseOrdersInner = MarginAccountNewOtocoResponseOrdersInner;
|
|
10251
|
+
type index$1_MarginManualLiquidationRequest = MarginManualLiquidationRequest;
|
|
10252
|
+
type index$1_MarginManualLiquidationResponse = MarginManualLiquidationResponse;
|
|
10253
|
+
type index$1_MarketDataApi = MarketDataApi;
|
|
10254
|
+
declare const index$1_MarketDataApi: typeof MarketDataApi;
|
|
10255
|
+
type index$1_MarketDataApiInterface = MarketDataApiInterface;
|
|
10256
|
+
type index$1_QueryBorrowRepayRecordsInMarginAccountRequest = QueryBorrowRepayRecordsInMarginAccountRequest;
|
|
10257
|
+
type index$1_QueryBorrowRepayRecordsInMarginAccountResponse = QueryBorrowRepayRecordsInMarginAccountResponse;
|
|
10258
|
+
type index$1_QueryBorrowRepayRecordsInMarginAccountResponseRowsInner = QueryBorrowRepayRecordsInMarginAccountResponseRowsInner;
|
|
10259
|
+
type index$1_QueryCrossIsolatedMarginCapitalFlowRequest = QueryCrossIsolatedMarginCapitalFlowRequest;
|
|
10260
|
+
type index$1_QueryCrossIsolatedMarginCapitalFlowResponse = QueryCrossIsolatedMarginCapitalFlowResponse;
|
|
10261
|
+
type index$1_QueryCrossIsolatedMarginCapitalFlowResponseInner = QueryCrossIsolatedMarginCapitalFlowResponseInner;
|
|
10262
|
+
type index$1_QueryCrossMarginAccountDetailsRequest = QueryCrossMarginAccountDetailsRequest;
|
|
10263
|
+
type index$1_QueryCrossMarginAccountDetailsResponse = QueryCrossMarginAccountDetailsResponse;
|
|
10264
|
+
type index$1_QueryCrossMarginAccountDetailsResponseUserAssetsInner = QueryCrossMarginAccountDetailsResponseUserAssetsInner;
|
|
10265
|
+
type index$1_QueryCrossMarginFeeDataRequest = QueryCrossMarginFeeDataRequest;
|
|
10266
|
+
type index$1_QueryCrossMarginFeeDataResponse = QueryCrossMarginFeeDataResponse;
|
|
10267
|
+
type index$1_QueryCrossMarginFeeDataResponseInner = QueryCrossMarginFeeDataResponseInner;
|
|
10268
|
+
type index$1_QueryCurrentMarginOrderCountUsageRequest = QueryCurrentMarginOrderCountUsageRequest;
|
|
10269
|
+
type index$1_QueryCurrentMarginOrderCountUsageResponse = QueryCurrentMarginOrderCountUsageResponse;
|
|
10270
|
+
type index$1_QueryCurrentMarginOrderCountUsageResponseInner = QueryCurrentMarginOrderCountUsageResponseInner;
|
|
10271
|
+
type index$1_QueryEnabledIsolatedMarginAccountLimitRequest = QueryEnabledIsolatedMarginAccountLimitRequest;
|
|
10272
|
+
type index$1_QueryEnabledIsolatedMarginAccountLimitResponse = QueryEnabledIsolatedMarginAccountLimitResponse;
|
|
10273
|
+
type index$1_QueryIsolatedMarginAccountInfoRequest = QueryIsolatedMarginAccountInfoRequest;
|
|
10274
|
+
type index$1_QueryIsolatedMarginAccountInfoResponse = QueryIsolatedMarginAccountInfoResponse;
|
|
10275
|
+
type index$1_QueryIsolatedMarginAccountInfoResponseAssetsInner = QueryIsolatedMarginAccountInfoResponseAssetsInner;
|
|
10276
|
+
type index$1_QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset = QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset;
|
|
10277
|
+
type index$1_QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset = QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset;
|
|
10278
|
+
type index$1_QueryIsolatedMarginFeeDataRequest = QueryIsolatedMarginFeeDataRequest;
|
|
10279
|
+
type index$1_QueryIsolatedMarginFeeDataResponse = QueryIsolatedMarginFeeDataResponse;
|
|
10280
|
+
type index$1_QueryIsolatedMarginFeeDataResponseInner = QueryIsolatedMarginFeeDataResponseInner;
|
|
10281
|
+
type index$1_QueryIsolatedMarginFeeDataResponseInnerDataInner = QueryIsolatedMarginFeeDataResponseInnerDataInner;
|
|
10282
|
+
type index$1_QueryIsolatedMarginTierDataRequest = QueryIsolatedMarginTierDataRequest;
|
|
10283
|
+
type index$1_QueryIsolatedMarginTierDataResponse = QueryIsolatedMarginTierDataResponse;
|
|
10284
|
+
type index$1_QueryIsolatedMarginTierDataResponseInner = QueryIsolatedMarginTierDataResponseInner;
|
|
10285
|
+
type index$1_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse = QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse;
|
|
10286
|
+
type index$1_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner = QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner;
|
|
10287
|
+
type index$1_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner = QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner;
|
|
10288
|
+
type index$1_QueryMarginAccountsAllOcoRequest = QueryMarginAccountsAllOcoRequest;
|
|
10289
|
+
type index$1_QueryMarginAccountsAllOcoResponse = QueryMarginAccountsAllOcoResponse;
|
|
10290
|
+
type index$1_QueryMarginAccountsAllOcoResponseInner = QueryMarginAccountsAllOcoResponseInner;
|
|
10291
|
+
type index$1_QueryMarginAccountsAllOcoResponseInnerOrdersInner = QueryMarginAccountsAllOcoResponseInnerOrdersInner;
|
|
10292
|
+
type index$1_QueryMarginAccountsAllOrdersRequest = QueryMarginAccountsAllOrdersRequest;
|
|
10293
|
+
type index$1_QueryMarginAccountsAllOrdersResponse = QueryMarginAccountsAllOrdersResponse;
|
|
10294
|
+
type index$1_QueryMarginAccountsAllOrdersResponseInner = QueryMarginAccountsAllOrdersResponseInner;
|
|
10295
|
+
type index$1_QueryMarginAccountsOcoRequest = QueryMarginAccountsOcoRequest;
|
|
10296
|
+
type index$1_QueryMarginAccountsOcoResponse = QueryMarginAccountsOcoResponse;
|
|
10297
|
+
type index$1_QueryMarginAccountsOcoResponseOrdersInner = QueryMarginAccountsOcoResponseOrdersInner;
|
|
10298
|
+
type index$1_QueryMarginAccountsOpenOcoRequest = QueryMarginAccountsOpenOcoRequest;
|
|
10299
|
+
type index$1_QueryMarginAccountsOpenOcoResponse = QueryMarginAccountsOpenOcoResponse;
|
|
10300
|
+
type index$1_QueryMarginAccountsOpenOcoResponseInner = QueryMarginAccountsOpenOcoResponseInner;
|
|
10301
|
+
type index$1_QueryMarginAccountsOpenOcoResponseInnerOrdersInner = QueryMarginAccountsOpenOcoResponseInnerOrdersInner;
|
|
10302
|
+
type index$1_QueryMarginAccountsOpenOrdersRequest = QueryMarginAccountsOpenOrdersRequest;
|
|
10303
|
+
type index$1_QueryMarginAccountsOpenOrdersResponse = QueryMarginAccountsOpenOrdersResponse;
|
|
10304
|
+
type index$1_QueryMarginAccountsOpenOrdersResponseInner = QueryMarginAccountsOpenOrdersResponseInner;
|
|
10305
|
+
type index$1_QueryMarginAccountsOrderRequest = QueryMarginAccountsOrderRequest;
|
|
10306
|
+
type index$1_QueryMarginAccountsOrderResponse = QueryMarginAccountsOrderResponse;
|
|
10307
|
+
type index$1_QueryMarginAccountsTradeListRequest = QueryMarginAccountsTradeListRequest;
|
|
10308
|
+
type index$1_QueryMarginAccountsTradeListResponse = QueryMarginAccountsTradeListResponse;
|
|
10309
|
+
type index$1_QueryMarginAccountsTradeListResponseInner = QueryMarginAccountsTradeListResponseInner;
|
|
10310
|
+
type index$1_QueryMarginAvailableInventoryRequest = QueryMarginAvailableInventoryRequest;
|
|
10311
|
+
type index$1_QueryMarginAvailableInventoryResponse = QueryMarginAvailableInventoryResponse;
|
|
10312
|
+
type index$1_QueryMarginAvailableInventoryResponseAssets = QueryMarginAvailableInventoryResponseAssets;
|
|
10313
|
+
type index$1_QueryMarginInterestRateHistoryRequest = QueryMarginInterestRateHistoryRequest;
|
|
10314
|
+
type index$1_QueryMarginInterestRateHistoryResponse = QueryMarginInterestRateHistoryResponse;
|
|
10315
|
+
type index$1_QueryMarginInterestRateHistoryResponseInner = QueryMarginInterestRateHistoryResponseInner;
|
|
10316
|
+
type index$1_QueryMarginPriceindexRequest = QueryMarginPriceindexRequest;
|
|
10317
|
+
type index$1_QueryMarginPriceindexResponse = QueryMarginPriceindexResponse;
|
|
10318
|
+
type index$1_QueryMaxBorrowRequest = QueryMaxBorrowRequest;
|
|
10319
|
+
type index$1_QueryMaxBorrowResponse = QueryMaxBorrowResponse;
|
|
10320
|
+
type index$1_QueryMaxTransferOutAmountRequest = QueryMaxTransferOutAmountRequest;
|
|
10321
|
+
type index$1_QueryMaxTransferOutAmountResponse = QueryMaxTransferOutAmountResponse;
|
|
10322
|
+
type index$1_QuerySpecialKeyListRequest = QuerySpecialKeyListRequest;
|
|
10323
|
+
type index$1_QuerySpecialKeyListResponse = QuerySpecialKeyListResponse;
|
|
10324
|
+
type index$1_QuerySpecialKeyListResponseInner = QuerySpecialKeyListResponseInner;
|
|
10325
|
+
type index$1_QuerySpecialKeyRequest = QuerySpecialKeyRequest;
|
|
10326
|
+
type index$1_QuerySpecialKeyResponse = QuerySpecialKeyResponse;
|
|
10327
|
+
type index$1_RestAPI = RestAPI;
|
|
10328
|
+
declare const index$1_RestAPI: typeof RestAPI;
|
|
10329
|
+
type index$1_RiskDataStreamApi = RiskDataStreamApi;
|
|
10330
|
+
declare const index$1_RiskDataStreamApi: typeof RiskDataStreamApi;
|
|
10331
|
+
type index$1_RiskDataStreamApiInterface = RiskDataStreamApiInterface;
|
|
10332
|
+
type index$1_SmallLiabilityExchangeRequest = SmallLiabilityExchangeRequest;
|
|
10333
|
+
type index$1_StartIsolatedMarginUserDataStreamRequest = StartIsolatedMarginUserDataStreamRequest;
|
|
10334
|
+
type index$1_StartIsolatedMarginUserDataStreamResponse = StartIsolatedMarginUserDataStreamResponse;
|
|
10335
|
+
type index$1_StartMarginUserDataStreamResponse = StartMarginUserDataStreamResponse;
|
|
10336
|
+
type index$1_StartUserDataStreamResponse = StartUserDataStreamResponse;
|
|
10337
|
+
type index$1_TradeApi = TradeApi;
|
|
10338
|
+
declare const index$1_TradeApi: typeof TradeApi;
|
|
10339
|
+
type index$1_TradeApiInterface = TradeApiInterface;
|
|
10340
|
+
type index$1_TradeDataStreamApi = TradeDataStreamApi;
|
|
10341
|
+
declare const index$1_TradeDataStreamApi: typeof TradeDataStreamApi;
|
|
10342
|
+
type index$1_TradeDataStreamApiInterface = TradeDataStreamApiInterface;
|
|
10343
|
+
type index$1_TransferApi = TransferApi;
|
|
10344
|
+
declare const index$1_TransferApi: typeof TransferApi;
|
|
10345
|
+
type index$1_TransferApiInterface = TransferApiInterface;
|
|
10346
|
+
declare namespace index$1 {
|
|
10347
|
+
export { index$1_AccountApi as AccountApi, type index$1_AccountApiInterface as AccountApiInterface, type index$1_AdjustCrossMarginMaxLeverageRequest as AdjustCrossMarginMaxLeverageRequest, type index$1_AdjustCrossMarginMaxLeverageResponse as AdjustCrossMarginMaxLeverageResponse, index$1_BorrowRepayApi as BorrowRepayApi, type index$1_BorrowRepayApiInterface as BorrowRepayApiInterface, type index$1_CloseIsolatedMarginUserDataStreamRequest as CloseIsolatedMarginUserDataStreamRequest, type index$1_CloseMarginUserDataStreamRequest as CloseMarginUserDataStreamRequest, type index$1_CreateSpecialKeyRequest as CreateSpecialKeyRequest, type index$1_CreateSpecialKeyResponse as CreateSpecialKeyResponse, type index$1_CrossMarginCollateralRatioResponse as CrossMarginCollateralRatioResponse, type index$1_CrossMarginCollateralRatioResponseInner as CrossMarginCollateralRatioResponseInner, type index$1_CrossMarginCollateralRatioResponseInnerCollateralsInner as CrossMarginCollateralRatioResponseInnerCollateralsInner, type index$1_DeleteSpecialKeyRequest as DeleteSpecialKeyRequest, type index$1_DisableIsolatedMarginAccountRequest as DisableIsolatedMarginAccountRequest, type index$1_DisableIsolatedMarginAccountResponse as DisableIsolatedMarginAccountResponse, type index$1_EditIpForSpecialKeyRequest as EditIpForSpecialKeyRequest, type index$1_EnableIsolatedMarginAccountRequest as EnableIsolatedMarginAccountRequest, type index$1_EnableIsolatedMarginAccountResponse as EnableIsolatedMarginAccountResponse, type index$1_GetAllCrossMarginPairsRequest as GetAllCrossMarginPairsRequest, type index$1_GetAllCrossMarginPairsResponse as GetAllCrossMarginPairsResponse, type index$1_GetAllCrossMarginPairsResponseInner as GetAllCrossMarginPairsResponseInner, type index$1_GetAllIsolatedMarginSymbolRequest as GetAllIsolatedMarginSymbolRequest, type index$1_GetAllIsolatedMarginSymbolResponse as GetAllIsolatedMarginSymbolResponse, type index$1_GetAllIsolatedMarginSymbolResponseInner as GetAllIsolatedMarginSymbolResponseInner, type index$1_GetAllMarginAssetsRequest as GetAllMarginAssetsRequest, type index$1_GetAllMarginAssetsResponse as GetAllMarginAssetsResponse, type index$1_GetAllMarginAssetsResponseInner as GetAllMarginAssetsResponseInner, type index$1_GetBnbBurnStatusRequest as GetBnbBurnStatusRequest, type index$1_GetBnbBurnStatusResponse as GetBnbBurnStatusResponse, type index$1_GetCrossMarginTransferHistoryRequest as GetCrossMarginTransferHistoryRequest, type index$1_GetCrossMarginTransferHistoryResponse as GetCrossMarginTransferHistoryResponse, type index$1_GetCrossMarginTransferHistoryResponseRowsInner as GetCrossMarginTransferHistoryResponseRowsInner, type index$1_GetDelistScheduleRequest as GetDelistScheduleRequest, type index$1_GetDelistScheduleResponse as GetDelistScheduleResponse, type index$1_GetDelistScheduleResponseInner as GetDelistScheduleResponseInner, type index$1_GetForceLiquidationRecordRequest as GetForceLiquidationRecordRequest, type index$1_GetForceLiquidationRecordResponse as GetForceLiquidationRecordResponse, type index$1_GetForceLiquidationRecordResponseRowsInner as GetForceLiquidationRecordResponseRowsInner, type index$1_GetFutureHourlyInterestRateRequest as GetFutureHourlyInterestRateRequest, type index$1_GetFutureHourlyInterestRateResponse as GetFutureHourlyInterestRateResponse, type index$1_GetFutureHourlyInterestRateResponseInner as GetFutureHourlyInterestRateResponseInner, type index$1_GetInterestHistoryRequest as GetInterestHistoryRequest, type index$1_GetInterestHistoryResponse as GetInterestHistoryResponse, type index$1_GetInterestHistoryResponseRowsInner as GetInterestHistoryResponseRowsInner, type index$1_GetListScheduleRequest as GetListScheduleRequest, type index$1_GetListScheduleResponse as GetListScheduleResponse, type index$1_GetListScheduleResponseInner as GetListScheduleResponseInner, type index$1_GetSmallLiabilityExchangeCoinListRequest as GetSmallLiabilityExchangeCoinListRequest, type index$1_GetSmallLiabilityExchangeCoinListResponse as GetSmallLiabilityExchangeCoinListResponse, type index$1_GetSmallLiabilityExchangeCoinListResponseInner as GetSmallLiabilityExchangeCoinListResponseInner, type index$1_GetSmallLiabilityExchangeHistoryRequest as GetSmallLiabilityExchangeHistoryRequest, type index$1_GetSmallLiabilityExchangeHistoryResponse as GetSmallLiabilityExchangeHistoryResponse, type index$1_GetSmallLiabilityExchangeHistoryResponseRowsInner as GetSmallLiabilityExchangeHistoryResponseRowsInner, type index$1_GetSummaryOfMarginAccountRequest as GetSummaryOfMarginAccountRequest, type index$1_GetSummaryOfMarginAccountResponse as GetSummaryOfMarginAccountResponse, type index$1_KeepaliveIsolatedMarginUserDataStreamRequest as KeepaliveIsolatedMarginUserDataStreamRequest, type index$1_KeepaliveMarginUserDataStreamRequest as KeepaliveMarginUserDataStreamRequest, type index$1_KeepaliveUserDataStreamRequest as KeepaliveUserDataStreamRequest, type index$1_MarginAccountBorrowRepayRequest as MarginAccountBorrowRepayRequest, type index$1_MarginAccountBorrowRepayResponse as MarginAccountBorrowRepayResponse, type index$1_MarginAccountCancelAllOpenOrdersOnASymbolRequest as MarginAccountCancelAllOpenOrdersOnASymbolRequest, type index$1_MarginAccountCancelAllOpenOrdersOnASymbolResponse as MarginAccountCancelAllOpenOrdersOnASymbolResponse, type index$1_MarginAccountCancelAllOpenOrdersOnASymbolResponseInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInner, type index$1_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner, type index$1_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner, type index$1_MarginAccountCancelOcoRequest as MarginAccountCancelOcoRequest, type index$1_MarginAccountCancelOcoResponse as MarginAccountCancelOcoResponse, type index$1_MarginAccountCancelOcoResponseOrderReportsInner as MarginAccountCancelOcoResponseOrderReportsInner, type index$1_MarginAccountCancelOcoResponseOrdersInner as MarginAccountCancelOcoResponseOrdersInner, type index$1_MarginAccountCancelOrderRequest as MarginAccountCancelOrderRequest, type index$1_MarginAccountCancelOrderResponse as MarginAccountCancelOrderResponse, index$1_MarginAccountNewOcoNewOrderRespTypeEnum as MarginAccountNewOcoNewOrderRespTypeEnum, type index$1_MarginAccountNewOcoRequest as MarginAccountNewOcoRequest, type index$1_MarginAccountNewOcoResponse as MarginAccountNewOcoResponse, type index$1_MarginAccountNewOcoResponseOrderReportsInner as MarginAccountNewOcoResponseOrderReportsInner, type index$1_MarginAccountNewOcoResponseOrdersInner as MarginAccountNewOcoResponseOrdersInner, index$1_MarginAccountNewOcoSideEnum as MarginAccountNewOcoSideEnum, index$1_MarginAccountNewOrderNewOrderRespTypeEnum as MarginAccountNewOrderNewOrderRespTypeEnum, type index$1_MarginAccountNewOrderRequest as MarginAccountNewOrderRequest, type index$1_MarginAccountNewOrderResponse as MarginAccountNewOrderResponse, type index$1_MarginAccountNewOrderResponseFillsInner as MarginAccountNewOrderResponseFillsInner, index$1_MarginAccountNewOrderSideEnum as MarginAccountNewOrderSideEnum, index$1_MarginAccountNewOrderTimeInForceEnum as MarginAccountNewOrderTimeInForceEnum, index$1_MarginAccountNewOtoNewOrderRespTypeEnum as MarginAccountNewOtoNewOrderRespTypeEnum, type index$1_MarginAccountNewOtoRequest as MarginAccountNewOtoRequest, type index$1_MarginAccountNewOtoResponse as MarginAccountNewOtoResponse, type index$1_MarginAccountNewOtoResponseOrderReportsInner as MarginAccountNewOtoResponseOrderReportsInner, type index$1_MarginAccountNewOtoResponseOrdersInner as MarginAccountNewOtoResponseOrdersInner, index$1_MarginAccountNewOtocoNewOrderRespTypeEnum as MarginAccountNewOtocoNewOrderRespTypeEnum, type index$1_MarginAccountNewOtocoRequest as MarginAccountNewOtocoRequest, type index$1_MarginAccountNewOtocoResponse as MarginAccountNewOtocoResponse, type index$1_MarginAccountNewOtocoResponseOrderReportsInner as MarginAccountNewOtocoResponseOrderReportsInner, type index$1_MarginAccountNewOtocoResponseOrdersInner as MarginAccountNewOtocoResponseOrdersInner, type index$1_MarginManualLiquidationRequest as MarginManualLiquidationRequest, type index$1_MarginManualLiquidationResponse as MarginManualLiquidationResponse, index$1_MarketDataApi as MarketDataApi, type index$1_MarketDataApiInterface as MarketDataApiInterface, type index$1_QueryBorrowRepayRecordsInMarginAccountRequest as QueryBorrowRepayRecordsInMarginAccountRequest, type index$1_QueryBorrowRepayRecordsInMarginAccountResponse as QueryBorrowRepayRecordsInMarginAccountResponse, type index$1_QueryBorrowRepayRecordsInMarginAccountResponseRowsInner as QueryBorrowRepayRecordsInMarginAccountResponseRowsInner, type index$1_QueryCrossIsolatedMarginCapitalFlowRequest as QueryCrossIsolatedMarginCapitalFlowRequest, type index$1_QueryCrossIsolatedMarginCapitalFlowResponse as QueryCrossIsolatedMarginCapitalFlowResponse, type index$1_QueryCrossIsolatedMarginCapitalFlowResponseInner as QueryCrossIsolatedMarginCapitalFlowResponseInner, type index$1_QueryCrossMarginAccountDetailsRequest as QueryCrossMarginAccountDetailsRequest, type index$1_QueryCrossMarginAccountDetailsResponse as QueryCrossMarginAccountDetailsResponse, type index$1_QueryCrossMarginAccountDetailsResponseUserAssetsInner as QueryCrossMarginAccountDetailsResponseUserAssetsInner, type index$1_QueryCrossMarginFeeDataRequest as QueryCrossMarginFeeDataRequest, type index$1_QueryCrossMarginFeeDataResponse as QueryCrossMarginFeeDataResponse, type index$1_QueryCrossMarginFeeDataResponseInner as QueryCrossMarginFeeDataResponseInner, type index$1_QueryCurrentMarginOrderCountUsageRequest as QueryCurrentMarginOrderCountUsageRequest, type index$1_QueryCurrentMarginOrderCountUsageResponse as QueryCurrentMarginOrderCountUsageResponse, type index$1_QueryCurrentMarginOrderCountUsageResponseInner as QueryCurrentMarginOrderCountUsageResponseInner, type index$1_QueryEnabledIsolatedMarginAccountLimitRequest as QueryEnabledIsolatedMarginAccountLimitRequest, type index$1_QueryEnabledIsolatedMarginAccountLimitResponse as QueryEnabledIsolatedMarginAccountLimitResponse, type index$1_QueryIsolatedMarginAccountInfoRequest as QueryIsolatedMarginAccountInfoRequest, type index$1_QueryIsolatedMarginAccountInfoResponse as QueryIsolatedMarginAccountInfoResponse, type index$1_QueryIsolatedMarginAccountInfoResponseAssetsInner as QueryIsolatedMarginAccountInfoResponseAssetsInner, type index$1_QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset as QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset, type index$1_QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset as QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset, type index$1_QueryIsolatedMarginFeeDataRequest as QueryIsolatedMarginFeeDataRequest, type index$1_QueryIsolatedMarginFeeDataResponse as QueryIsolatedMarginFeeDataResponse, type index$1_QueryIsolatedMarginFeeDataResponseInner as QueryIsolatedMarginFeeDataResponseInner, type index$1_QueryIsolatedMarginFeeDataResponseInnerDataInner as QueryIsolatedMarginFeeDataResponseInnerDataInner, type index$1_QueryIsolatedMarginTierDataRequest as QueryIsolatedMarginTierDataRequest, type index$1_QueryIsolatedMarginTierDataResponse as QueryIsolatedMarginTierDataResponse, type index$1_QueryIsolatedMarginTierDataResponseInner as QueryIsolatedMarginTierDataResponseInner, type index$1_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse, type index$1_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner, type index$1_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner, type index$1_QueryMarginAccountsAllOcoRequest as QueryMarginAccountsAllOcoRequest, type index$1_QueryMarginAccountsAllOcoResponse as QueryMarginAccountsAllOcoResponse, type index$1_QueryMarginAccountsAllOcoResponseInner as QueryMarginAccountsAllOcoResponseInner, type index$1_QueryMarginAccountsAllOcoResponseInnerOrdersInner as QueryMarginAccountsAllOcoResponseInnerOrdersInner, type index$1_QueryMarginAccountsAllOrdersRequest as QueryMarginAccountsAllOrdersRequest, type index$1_QueryMarginAccountsAllOrdersResponse as QueryMarginAccountsAllOrdersResponse, type index$1_QueryMarginAccountsAllOrdersResponseInner as QueryMarginAccountsAllOrdersResponseInner, type index$1_QueryMarginAccountsOcoRequest as QueryMarginAccountsOcoRequest, type index$1_QueryMarginAccountsOcoResponse as QueryMarginAccountsOcoResponse, type index$1_QueryMarginAccountsOcoResponseOrdersInner as QueryMarginAccountsOcoResponseOrdersInner, type index$1_QueryMarginAccountsOpenOcoRequest as QueryMarginAccountsOpenOcoRequest, type index$1_QueryMarginAccountsOpenOcoResponse as QueryMarginAccountsOpenOcoResponse, type index$1_QueryMarginAccountsOpenOcoResponseInner as QueryMarginAccountsOpenOcoResponseInner, type index$1_QueryMarginAccountsOpenOcoResponseInnerOrdersInner as QueryMarginAccountsOpenOcoResponseInnerOrdersInner, type index$1_QueryMarginAccountsOpenOrdersRequest as QueryMarginAccountsOpenOrdersRequest, type index$1_QueryMarginAccountsOpenOrdersResponse as QueryMarginAccountsOpenOrdersResponse, type index$1_QueryMarginAccountsOpenOrdersResponseInner as QueryMarginAccountsOpenOrdersResponseInner, type index$1_QueryMarginAccountsOrderRequest as QueryMarginAccountsOrderRequest, type index$1_QueryMarginAccountsOrderResponse as QueryMarginAccountsOrderResponse, type index$1_QueryMarginAccountsTradeListRequest as QueryMarginAccountsTradeListRequest, type index$1_QueryMarginAccountsTradeListResponse as QueryMarginAccountsTradeListResponse, type index$1_QueryMarginAccountsTradeListResponseInner as QueryMarginAccountsTradeListResponseInner, type index$1_QueryMarginAvailableInventoryRequest as QueryMarginAvailableInventoryRequest, type index$1_QueryMarginAvailableInventoryResponse as QueryMarginAvailableInventoryResponse, type index$1_QueryMarginAvailableInventoryResponseAssets as QueryMarginAvailableInventoryResponseAssets, type index$1_QueryMarginInterestRateHistoryRequest as QueryMarginInterestRateHistoryRequest, type index$1_QueryMarginInterestRateHistoryResponse as QueryMarginInterestRateHistoryResponse, type index$1_QueryMarginInterestRateHistoryResponseInner as QueryMarginInterestRateHistoryResponseInner, type index$1_QueryMarginPriceindexRequest as QueryMarginPriceindexRequest, type index$1_QueryMarginPriceindexResponse as QueryMarginPriceindexResponse, type index$1_QueryMaxBorrowRequest as QueryMaxBorrowRequest, type index$1_QueryMaxBorrowResponse as QueryMaxBorrowResponse, type index$1_QueryMaxTransferOutAmountRequest as QueryMaxTransferOutAmountRequest, type index$1_QueryMaxTransferOutAmountResponse as QueryMaxTransferOutAmountResponse, type index$1_QuerySpecialKeyListRequest as QuerySpecialKeyListRequest, type index$1_QuerySpecialKeyListResponse as QuerySpecialKeyListResponse, type index$1_QuerySpecialKeyListResponseInner as QuerySpecialKeyListResponseInner, type index$1_QuerySpecialKeyRequest as QuerySpecialKeyRequest, type index$1_QuerySpecialKeyResponse as QuerySpecialKeyResponse, index$1_RestAPI as RestAPI, index$1_RiskDataStreamApi as RiskDataStreamApi, type index$1_RiskDataStreamApiInterface as RiskDataStreamApiInterface, type index$1_SmallLiabilityExchangeRequest as SmallLiabilityExchangeRequest, type index$1_StartIsolatedMarginUserDataStreamRequest as StartIsolatedMarginUserDataStreamRequest, type index$1_StartIsolatedMarginUserDataStreamResponse as StartIsolatedMarginUserDataStreamResponse, type index$1_StartMarginUserDataStreamResponse as StartMarginUserDataStreamResponse, type index$1_StartUserDataStreamResponse as StartUserDataStreamResponse, index$1_TradeApi as TradeApi, type index$1_TradeApiInterface as TradeApiInterface, index$1_TradeDataStreamApi as TradeDataStreamApi, type index$1_TradeDataStreamApiInterface as TradeDataStreamApiInterface, index$1_TransferApi as TransferApi, type index$1_TransferApiInterface as TransferApiInterface };
|
|
10348
|
+
}
|
|
10349
|
+
|
|
10350
|
+
/**
|
|
10351
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
10352
|
+
*
|
|
10353
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
10354
|
+
*
|
|
10355
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10356
|
+
*
|
|
10357
|
+
*
|
|
10358
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10359
|
+
* https://openapi-generator.tech
|
|
10360
|
+
* Do not edit the class manually.
|
|
10361
|
+
*/
|
|
10362
|
+
/**
|
|
10363
|
+
*
|
|
10364
|
+
* @export
|
|
10365
|
+
* @interface Balanceupdate
|
|
10366
|
+
*/
|
|
10367
|
+
interface Balanceupdate {
|
|
10368
|
+
/**
|
|
10369
|
+
*
|
|
10370
|
+
* @type {number}
|
|
10371
|
+
* @memberof Balanceupdate
|
|
10372
|
+
*/
|
|
10373
|
+
E?: number;
|
|
10374
|
+
/**
|
|
10375
|
+
*
|
|
10376
|
+
* @type {string}
|
|
10377
|
+
* @memberof Balanceupdate
|
|
10378
|
+
*/
|
|
10379
|
+
a?: string;
|
|
10380
|
+
/**
|
|
10381
|
+
*
|
|
10382
|
+
* @type {string}
|
|
10383
|
+
* @memberof Balanceupdate
|
|
10384
|
+
*/
|
|
10385
|
+
d?: string;
|
|
10386
|
+
/**
|
|
10387
|
+
*
|
|
10388
|
+
* @type {number}
|
|
10389
|
+
* @memberof Balanceupdate
|
|
10390
|
+
*/
|
|
10391
|
+
T?: number;
|
|
10392
|
+
}
|
|
10393
|
+
|
|
10394
|
+
/**
|
|
10395
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
10396
|
+
*
|
|
10397
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
10398
|
+
*
|
|
10399
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10400
|
+
*
|
|
10401
|
+
*
|
|
10402
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10403
|
+
* https://openapi-generator.tech
|
|
10404
|
+
* Do not edit the class manually.
|
|
10405
|
+
*/
|
|
10406
|
+
/**
|
|
10407
|
+
*
|
|
10408
|
+
* @export
|
|
10409
|
+
* @interface Executionreport
|
|
10410
|
+
*/
|
|
10411
|
+
interface Executionreport {
|
|
10412
|
+
/**
|
|
10413
|
+
*
|
|
10414
|
+
* @type {number}
|
|
10415
|
+
* @memberof Executionreport
|
|
10416
|
+
*/
|
|
10417
|
+
E?: number;
|
|
10418
|
+
/**
|
|
10419
|
+
*
|
|
10420
|
+
* @type {string}
|
|
10421
|
+
* @memberof Executionreport
|
|
10422
|
+
*/
|
|
10423
|
+
s?: string;
|
|
10424
|
+
/**
|
|
10425
|
+
*
|
|
10426
|
+
* @type {string}
|
|
10427
|
+
* @memberof Executionreport
|
|
10428
|
+
*/
|
|
10429
|
+
c?: string;
|
|
10430
|
+
/**
|
|
10431
|
+
*
|
|
10432
|
+
* @type {string}
|
|
10433
|
+
* @memberof Executionreport
|
|
10434
|
+
*/
|
|
10435
|
+
S?: string;
|
|
10436
|
+
/**
|
|
10437
|
+
*
|
|
10438
|
+
* @type {string}
|
|
10439
|
+
* @memberof Executionreport
|
|
10440
|
+
*/
|
|
10441
|
+
o?: string;
|
|
10442
|
+
/**
|
|
10443
|
+
*
|
|
10444
|
+
* @type {string}
|
|
10445
|
+
* @memberof Executionreport
|
|
10446
|
+
*/
|
|
10447
|
+
f?: string;
|
|
10448
|
+
/**
|
|
10449
|
+
*
|
|
10450
|
+
* @type {string}
|
|
10451
|
+
* @memberof Executionreport
|
|
10452
|
+
*/
|
|
10453
|
+
q?: string;
|
|
10454
|
+
/**
|
|
10455
|
+
*
|
|
10456
|
+
* @type {string}
|
|
10457
|
+
* @memberof Executionreport
|
|
10458
|
+
*/
|
|
10459
|
+
p?: string;
|
|
10460
|
+
/**
|
|
10461
|
+
*
|
|
10462
|
+
* @type {string}
|
|
10463
|
+
* @memberof Executionreport
|
|
10464
|
+
*/
|
|
10465
|
+
P?: string;
|
|
10466
|
+
/**
|
|
10467
|
+
*
|
|
10468
|
+
* @type {string}
|
|
10469
|
+
* @memberof Executionreport
|
|
10470
|
+
*/
|
|
10471
|
+
F?: string;
|
|
10472
|
+
/**
|
|
10473
|
+
*
|
|
10474
|
+
* @type {number}
|
|
10475
|
+
* @memberof Executionreport
|
|
10476
|
+
*/
|
|
10477
|
+
g?: number;
|
|
10478
|
+
/**
|
|
10479
|
+
*
|
|
10480
|
+
* @type {string}
|
|
10481
|
+
* @memberof Executionreport
|
|
10482
|
+
*/
|
|
10483
|
+
C?: string;
|
|
10484
|
+
/**
|
|
10485
|
+
*
|
|
10486
|
+
* @type {string}
|
|
10487
|
+
* @memberof Executionreport
|
|
10488
|
+
*/
|
|
10489
|
+
x?: string;
|
|
10490
|
+
/**
|
|
10491
|
+
*
|
|
10492
|
+
* @type {string}
|
|
10493
|
+
* @memberof Executionreport
|
|
10494
|
+
*/
|
|
10495
|
+
X?: string;
|
|
10496
|
+
/**
|
|
10497
|
+
*
|
|
10498
|
+
* @type {string}
|
|
10499
|
+
* @memberof Executionreport
|
|
10500
|
+
*/
|
|
10501
|
+
r?: string;
|
|
10502
|
+
/**
|
|
10503
|
+
*
|
|
10504
|
+
* @type {number}
|
|
10505
|
+
* @memberof Executionreport
|
|
10506
|
+
*/
|
|
10507
|
+
i?: number;
|
|
10508
|
+
/**
|
|
10509
|
+
*
|
|
10510
|
+
* @type {string}
|
|
10511
|
+
* @memberof Executionreport
|
|
10512
|
+
*/
|
|
10513
|
+
l?: string;
|
|
10514
|
+
/**
|
|
10515
|
+
*
|
|
10516
|
+
* @type {string}
|
|
10517
|
+
* @memberof Executionreport
|
|
10518
|
+
*/
|
|
10519
|
+
z?: string;
|
|
10520
|
+
/**
|
|
10521
|
+
*
|
|
10522
|
+
* @type {string}
|
|
10523
|
+
* @memberof Executionreport
|
|
10524
|
+
*/
|
|
10525
|
+
L?: string;
|
|
10526
|
+
/**
|
|
10527
|
+
*
|
|
10528
|
+
* @type {string}
|
|
10529
|
+
* @memberof Executionreport
|
|
10530
|
+
*/
|
|
10531
|
+
n?: string;
|
|
10532
|
+
/**
|
|
10533
|
+
*
|
|
10534
|
+
* @type {string}
|
|
10535
|
+
* @memberof Executionreport
|
|
10536
|
+
*/
|
|
10537
|
+
N?: string;
|
|
10538
|
+
/**
|
|
10539
|
+
*
|
|
10540
|
+
* @type {number}
|
|
10541
|
+
* @memberof Executionreport
|
|
10542
|
+
*/
|
|
10543
|
+
T?: number;
|
|
10544
|
+
/**
|
|
10545
|
+
*
|
|
10546
|
+
* @type {number}
|
|
10547
|
+
* @memberof Executionreport
|
|
10548
|
+
*/
|
|
10549
|
+
t?: number;
|
|
10550
|
+
/**
|
|
10551
|
+
*
|
|
10552
|
+
* @type {number}
|
|
10553
|
+
* @memberof Executionreport
|
|
10554
|
+
*/
|
|
10555
|
+
I?: number;
|
|
10556
|
+
/**
|
|
10557
|
+
*
|
|
10558
|
+
* @type {boolean}
|
|
10559
|
+
* @memberof Executionreport
|
|
10560
|
+
*/
|
|
10561
|
+
w?: boolean;
|
|
10562
|
+
/**
|
|
10563
|
+
*
|
|
10564
|
+
* @type {boolean}
|
|
10565
|
+
* @memberof Executionreport
|
|
10566
|
+
*/
|
|
10567
|
+
m?: boolean;
|
|
10568
|
+
/**
|
|
10569
|
+
*
|
|
10570
|
+
* @type {boolean}
|
|
10571
|
+
* @memberof Executionreport
|
|
10572
|
+
*/
|
|
10573
|
+
M?: boolean;
|
|
10574
|
+
/**
|
|
10575
|
+
*
|
|
10576
|
+
* @type {number}
|
|
10577
|
+
* @memberof Executionreport
|
|
10578
|
+
*/
|
|
10579
|
+
O?: number;
|
|
10580
|
+
/**
|
|
10581
|
+
*
|
|
10582
|
+
* @type {string}
|
|
10583
|
+
* @memberof Executionreport
|
|
10584
|
+
*/
|
|
10585
|
+
Z?: string;
|
|
10586
|
+
/**
|
|
10587
|
+
*
|
|
10588
|
+
* @type {string}
|
|
10589
|
+
* @memberof Executionreport
|
|
10590
|
+
*/
|
|
10591
|
+
Y?: string;
|
|
10592
|
+
/**
|
|
10593
|
+
*
|
|
10594
|
+
* @type {string}
|
|
10595
|
+
* @memberof Executionreport
|
|
10596
|
+
*/
|
|
10597
|
+
Q?: string;
|
|
10598
|
+
/**
|
|
10599
|
+
*
|
|
10600
|
+
* @type {number}
|
|
10601
|
+
* @memberof Executionreport
|
|
10602
|
+
*/
|
|
10603
|
+
W?: number;
|
|
10604
|
+
/**
|
|
10605
|
+
*
|
|
10606
|
+
* @type {string}
|
|
10607
|
+
* @memberof Executionreport
|
|
10608
|
+
*/
|
|
10609
|
+
V?: string;
|
|
10610
|
+
/**
|
|
10611
|
+
*
|
|
10612
|
+
* @type {string}
|
|
10613
|
+
* @memberof Executionreport
|
|
10614
|
+
*/
|
|
10615
|
+
d?: string;
|
|
10616
|
+
/**
|
|
10617
|
+
*
|
|
10618
|
+
* @type {string}
|
|
10619
|
+
* @memberof Executionreport
|
|
10620
|
+
*/
|
|
10621
|
+
D?: string;
|
|
10622
|
+
/**
|
|
10623
|
+
*
|
|
10624
|
+
* @type {string}
|
|
10625
|
+
* @memberof Executionreport
|
|
10626
|
+
*/
|
|
10627
|
+
j?: string;
|
|
10628
|
+
/**
|
|
10629
|
+
*
|
|
10630
|
+
* @type {string}
|
|
10631
|
+
* @memberof Executionreport
|
|
10632
|
+
*/
|
|
10633
|
+
J?: string;
|
|
10634
|
+
/**
|
|
10635
|
+
*
|
|
10636
|
+
* @type {string}
|
|
10637
|
+
* @memberof Executionreport
|
|
10638
|
+
*/
|
|
10639
|
+
v?: string;
|
|
10640
|
+
/**
|
|
10641
|
+
*
|
|
10642
|
+
* @type {string}
|
|
10643
|
+
* @memberof Executionreport
|
|
10644
|
+
*/
|
|
10645
|
+
A?: string;
|
|
10646
|
+
/**
|
|
10647
|
+
*
|
|
10648
|
+
* @type {string}
|
|
10649
|
+
* @memberof Executionreport
|
|
10650
|
+
*/
|
|
10651
|
+
B?: string;
|
|
10652
|
+
/**
|
|
10653
|
+
*
|
|
10654
|
+
* @type {string}
|
|
10655
|
+
* @memberof Executionreport
|
|
10656
|
+
*/
|
|
10657
|
+
u?: string;
|
|
10658
|
+
/**
|
|
10659
|
+
*
|
|
10660
|
+
* @type {string}
|
|
10661
|
+
* @memberof Executionreport
|
|
10662
|
+
*/
|
|
10663
|
+
U?: string;
|
|
10664
|
+
/**
|
|
10665
|
+
*
|
|
10666
|
+
* @type {string}
|
|
10667
|
+
* @memberof Executionreport
|
|
10668
|
+
*/
|
|
10669
|
+
Cs?: string;
|
|
10670
|
+
/**
|
|
10671
|
+
*
|
|
10672
|
+
* @type {string}
|
|
10673
|
+
* @memberof Executionreport
|
|
10674
|
+
*/
|
|
10675
|
+
pl?: string;
|
|
10676
|
+
/**
|
|
10677
|
+
*
|
|
10678
|
+
* @type {string}
|
|
10679
|
+
* @memberof Executionreport
|
|
10680
|
+
*/
|
|
10681
|
+
pL?: string;
|
|
10682
|
+
/**
|
|
10683
|
+
*
|
|
10684
|
+
* @type {string}
|
|
10685
|
+
* @memberof Executionreport
|
|
10686
|
+
*/
|
|
10687
|
+
pY?: string;
|
|
10688
|
+
/**
|
|
10689
|
+
*
|
|
10690
|
+
* @type {string}
|
|
10691
|
+
* @memberof Executionreport
|
|
10692
|
+
*/
|
|
10693
|
+
b?: string;
|
|
10694
|
+
/**
|
|
10695
|
+
*
|
|
10696
|
+
* @type {string}
|
|
10697
|
+
* @memberof Executionreport
|
|
10698
|
+
*/
|
|
10699
|
+
a?: string;
|
|
10700
|
+
/**
|
|
10701
|
+
*
|
|
10702
|
+
* @type {string}
|
|
10703
|
+
* @memberof Executionreport
|
|
10704
|
+
*/
|
|
10705
|
+
k?: string;
|
|
10706
|
+
/**
|
|
10707
|
+
*
|
|
10708
|
+
* @type {boolean}
|
|
10709
|
+
* @memberof Executionreport
|
|
10710
|
+
*/
|
|
10711
|
+
uS?: boolean;
|
|
10712
|
+
}
|
|
10713
|
+
|
|
10714
|
+
/**
|
|
10715
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
10716
|
+
*
|
|
10717
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
10718
|
+
*
|
|
10719
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10720
|
+
*
|
|
10721
|
+
*
|
|
10722
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10723
|
+
* https://openapi-generator.tech
|
|
10724
|
+
* Do not edit the class manually.
|
|
10725
|
+
*/
|
|
10726
|
+
/**
|
|
10727
|
+
*
|
|
10728
|
+
* @export
|
|
10729
|
+
* @interface Listenkeyexpired
|
|
10730
|
+
*/
|
|
10731
|
+
interface Listenkeyexpired {
|
|
10732
|
+
/**
|
|
10733
|
+
*
|
|
10734
|
+
* @type {string}
|
|
10735
|
+
* @memberof Listenkeyexpired
|
|
10736
|
+
*/
|
|
10737
|
+
E?: string;
|
|
10738
|
+
/**
|
|
10739
|
+
*
|
|
10740
|
+
* @type {string}
|
|
10741
|
+
* @memberof Listenkeyexpired
|
|
10742
|
+
*/
|
|
10743
|
+
listenKey?: string;
|
|
10744
|
+
}
|
|
10745
|
+
|
|
10746
|
+
/**
|
|
10747
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
10748
|
+
*
|
|
10749
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
10750
|
+
*
|
|
10751
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10752
|
+
*
|
|
10753
|
+
*
|
|
10754
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10755
|
+
* https://openapi-generator.tech
|
|
10756
|
+
* Do not edit the class manually.
|
|
10757
|
+
*/
|
|
10758
|
+
/**
|
|
10759
|
+
*
|
|
10760
|
+
* @export
|
|
10761
|
+
* @interface ListstatusOInner
|
|
10762
|
+
*/
|
|
10763
|
+
interface ListstatusOInner {
|
|
10764
|
+
/**
|
|
10765
|
+
*
|
|
10766
|
+
* @type {string}
|
|
10767
|
+
* @memberof ListstatusOInner
|
|
10768
|
+
*/
|
|
10769
|
+
s?: string;
|
|
10770
|
+
/**
|
|
10771
|
+
*
|
|
10772
|
+
* @type {number}
|
|
10773
|
+
* @memberof ListstatusOInner
|
|
10774
|
+
*/
|
|
10775
|
+
i?: number;
|
|
10776
|
+
/**
|
|
10777
|
+
*
|
|
10778
|
+
* @type {string}
|
|
10779
|
+
* @memberof ListstatusOInner
|
|
10780
|
+
*/
|
|
10781
|
+
c?: string;
|
|
10782
|
+
}
|
|
10783
|
+
|
|
10784
|
+
/**
|
|
10785
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
10786
|
+
*
|
|
10787
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
10788
|
+
*
|
|
10789
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10790
|
+
*
|
|
10791
|
+
*
|
|
10792
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10793
|
+
* https://openapi-generator.tech
|
|
10794
|
+
* Do not edit the class manually.
|
|
10795
|
+
*/
|
|
10796
|
+
|
|
10797
|
+
/**
|
|
10798
|
+
*
|
|
10799
|
+
* @export
|
|
10800
|
+
* @interface Liststatus
|
|
10801
|
+
*/
|
|
10802
|
+
interface Liststatus {
|
|
10803
|
+
/**
|
|
10804
|
+
*
|
|
10805
|
+
* @type {number}
|
|
10806
|
+
* @memberof Liststatus
|
|
10807
|
+
*/
|
|
10808
|
+
E?: number;
|
|
10809
|
+
/**
|
|
10810
|
+
*
|
|
10811
|
+
* @type {string}
|
|
10812
|
+
* @memberof Liststatus
|
|
10813
|
+
*/
|
|
10814
|
+
s?: string;
|
|
10815
|
+
/**
|
|
10816
|
+
*
|
|
10817
|
+
* @type {number}
|
|
10818
|
+
* @memberof Liststatus
|
|
10819
|
+
*/
|
|
10820
|
+
g?: number;
|
|
10821
|
+
/**
|
|
10822
|
+
*
|
|
10823
|
+
* @type {string}
|
|
10824
|
+
* @memberof Liststatus
|
|
10825
|
+
*/
|
|
10826
|
+
c?: string;
|
|
10827
|
+
/**
|
|
10828
|
+
*
|
|
10829
|
+
* @type {string}
|
|
10830
|
+
* @memberof Liststatus
|
|
10831
|
+
*/
|
|
10832
|
+
l?: string;
|
|
10833
|
+
/**
|
|
10834
|
+
*
|
|
10835
|
+
* @type {string}
|
|
10836
|
+
* @memberof Liststatus
|
|
10837
|
+
*/
|
|
10838
|
+
L?: string;
|
|
10839
|
+
/**
|
|
10840
|
+
*
|
|
10841
|
+
* @type {string}
|
|
10842
|
+
* @memberof Liststatus
|
|
10843
|
+
*/
|
|
10844
|
+
r?: string;
|
|
10845
|
+
/**
|
|
10846
|
+
*
|
|
10847
|
+
* @type {string}
|
|
10848
|
+
* @memberof Liststatus
|
|
10849
|
+
*/
|
|
10850
|
+
C?: string;
|
|
10851
|
+
/**
|
|
10852
|
+
*
|
|
10853
|
+
* @type {number}
|
|
10854
|
+
* @memberof Liststatus
|
|
10855
|
+
*/
|
|
10856
|
+
T?: number;
|
|
10857
|
+
/**
|
|
10858
|
+
*
|
|
10859
|
+
* @type {Array<ListstatusOInner>}
|
|
10860
|
+
* @memberof Liststatus
|
|
10861
|
+
*/
|
|
10862
|
+
O?: Array<ListstatusOInner>;
|
|
10863
|
+
}
|
|
10864
|
+
|
|
10865
|
+
/**
|
|
10866
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
10867
|
+
*
|
|
10868
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
10869
|
+
*
|
|
10870
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10871
|
+
*
|
|
10872
|
+
*
|
|
10873
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10874
|
+
* https://openapi-generator.tech
|
|
10875
|
+
* Do not edit the class manually.
|
|
10876
|
+
*/
|
|
10877
|
+
/**
|
|
10878
|
+
*
|
|
10879
|
+
* @export
|
|
10880
|
+
* @interface MarginLevelStatusChange
|
|
10881
|
+
*/
|
|
10882
|
+
interface MarginLevelStatusChange {
|
|
10883
|
+
/**
|
|
10884
|
+
*
|
|
10885
|
+
* @type {number}
|
|
10886
|
+
* @memberof MarginLevelStatusChange
|
|
10887
|
+
*/
|
|
10888
|
+
E?: number;
|
|
10889
|
+
/**
|
|
10890
|
+
*
|
|
10891
|
+
* @type {string}
|
|
10892
|
+
* @memberof MarginLevelStatusChange
|
|
10893
|
+
*/
|
|
10894
|
+
l?: string;
|
|
10895
|
+
/**
|
|
10896
|
+
*
|
|
10897
|
+
* @type {string}
|
|
10898
|
+
* @memberof MarginLevelStatusChange
|
|
10899
|
+
*/
|
|
10900
|
+
s?: string;
|
|
10901
|
+
}
|
|
10902
|
+
|
|
10903
|
+
/**
|
|
10904
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
10905
|
+
*
|
|
10906
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
10907
|
+
*
|
|
10908
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10909
|
+
*
|
|
10910
|
+
*
|
|
10911
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10912
|
+
* https://openapi-generator.tech
|
|
10913
|
+
* Do not edit the class manually.
|
|
10914
|
+
*/
|
|
10915
|
+
/**
|
|
10916
|
+
*
|
|
10917
|
+
* @export
|
|
10918
|
+
* @interface OutboundaccountpositionBInner
|
|
10919
|
+
*/
|
|
10920
|
+
interface OutboundaccountpositionBInner {
|
|
10921
|
+
/**
|
|
10922
|
+
*
|
|
10923
|
+
* @type {string}
|
|
10924
|
+
* @memberof OutboundaccountpositionBInner
|
|
10925
|
+
*/
|
|
10926
|
+
a?: string;
|
|
10927
|
+
/**
|
|
10928
|
+
*
|
|
10929
|
+
* @type {string}
|
|
10930
|
+
* @memberof OutboundaccountpositionBInner
|
|
10931
|
+
*/
|
|
10932
|
+
f?: string;
|
|
10933
|
+
/**
|
|
10934
|
+
*
|
|
10935
|
+
* @type {string}
|
|
10936
|
+
* @memberof OutboundaccountpositionBInner
|
|
10937
|
+
*/
|
|
10938
|
+
l?: string;
|
|
10939
|
+
}
|
|
10940
|
+
|
|
10941
|
+
/**
|
|
10942
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
10943
|
+
*
|
|
10944
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
10945
|
+
*
|
|
10946
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10947
|
+
*
|
|
10948
|
+
*
|
|
10949
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10950
|
+
* https://openapi-generator.tech
|
|
10951
|
+
* Do not edit the class manually.
|
|
10952
|
+
*/
|
|
10953
|
+
|
|
10954
|
+
/**
|
|
10955
|
+
*
|
|
10956
|
+
* @export
|
|
10957
|
+
* @interface Outboundaccountposition
|
|
10958
|
+
*/
|
|
10959
|
+
interface Outboundaccountposition {
|
|
10960
|
+
/**
|
|
10961
|
+
*
|
|
10962
|
+
* @type {number}
|
|
10963
|
+
* @memberof Outboundaccountposition
|
|
10964
|
+
*/
|
|
10965
|
+
E?: number;
|
|
10966
|
+
/**
|
|
10967
|
+
*
|
|
10968
|
+
* @type {number}
|
|
10969
|
+
* @memberof Outboundaccountposition
|
|
10970
|
+
*/
|
|
10971
|
+
u?: number;
|
|
10972
|
+
/**
|
|
10973
|
+
*
|
|
10974
|
+
* @type {Array<OutboundaccountpositionBInner>}
|
|
10975
|
+
* @memberof Outboundaccountposition
|
|
10976
|
+
*/
|
|
10977
|
+
B?: Array<OutboundaccountpositionBInner>;
|
|
10978
|
+
}
|
|
10979
|
+
|
|
10980
|
+
/**
|
|
10981
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
10982
|
+
*
|
|
10983
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
10984
|
+
*
|
|
10985
|
+
* The version of the OpenAPI document: 1.0.0
|
|
10986
|
+
*
|
|
10987
|
+
*
|
|
10988
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10989
|
+
* https://openapi-generator.tech
|
|
10990
|
+
* Do not edit the class manually.
|
|
10991
|
+
*/
|
|
10992
|
+
/**
|
|
10993
|
+
*
|
|
10994
|
+
* @export
|
|
10995
|
+
* @interface UserLiabilityChange
|
|
10996
|
+
*/
|
|
10997
|
+
interface UserLiabilityChange {
|
|
10998
|
+
/**
|
|
10999
|
+
*
|
|
11000
|
+
* @type {number}
|
|
11001
|
+
* @memberof UserLiabilityChange
|
|
11002
|
+
*/
|
|
11003
|
+
E?: number;
|
|
11004
|
+
/**
|
|
11005
|
+
*
|
|
11006
|
+
* @type {string}
|
|
11007
|
+
* @memberof UserLiabilityChange
|
|
11008
|
+
*/
|
|
11009
|
+
a?: string;
|
|
11010
|
+
/**
|
|
11011
|
+
*
|
|
11012
|
+
* @type {string}
|
|
11013
|
+
* @memberof UserLiabilityChange
|
|
11014
|
+
*/
|
|
11015
|
+
t?: string;
|
|
11016
|
+
/**
|
|
11017
|
+
*
|
|
11018
|
+
* @type {string}
|
|
11019
|
+
* @memberof UserLiabilityChange
|
|
11020
|
+
*/
|
|
11021
|
+
p?: string;
|
|
11022
|
+
/**
|
|
11023
|
+
*
|
|
11024
|
+
* @type {string}
|
|
11025
|
+
* @memberof UserLiabilityChange
|
|
11026
|
+
*/
|
|
11027
|
+
i?: string;
|
|
11028
|
+
}
|
|
11029
|
+
|
|
11030
|
+
/**
|
|
11031
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
11032
|
+
*
|
|
11033
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
11034
|
+
*
|
|
11035
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11036
|
+
*
|
|
11037
|
+
*
|
|
11038
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11039
|
+
* https://openapi-generator.tech
|
|
11040
|
+
* Do not edit the class manually.
|
|
11041
|
+
*/
|
|
11042
|
+
|
|
11043
|
+
/**
|
|
11044
|
+
* @type RiskDataStreamEventsResponse
|
|
11045
|
+
* @export
|
|
11046
|
+
*/
|
|
11047
|
+
type RiskDataStreamEventsResponse = ({
|
|
11048
|
+
e: 'MARGIN_LEVEL_STATUS_CHANGE';
|
|
11049
|
+
} & MarginLevelStatusChange) | ({
|
|
11050
|
+
e: 'USER_LIABILITY_CHANGE';
|
|
11051
|
+
} & UserLiabilityChange);
|
|
11052
|
+
|
|
11053
|
+
/**
|
|
11054
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
11055
|
+
*
|
|
11056
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
11057
|
+
*
|
|
11058
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11059
|
+
*
|
|
11060
|
+
*
|
|
11061
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11062
|
+
* https://openapi-generator.tech
|
|
11063
|
+
* Do not edit the class manually.
|
|
11064
|
+
*/
|
|
11065
|
+
|
|
11066
|
+
/**
|
|
11067
|
+
* @type TradeDataStreamEventsResponse
|
|
11068
|
+
* @export
|
|
11069
|
+
*/
|
|
11070
|
+
type TradeDataStreamEventsResponse = ({
|
|
11071
|
+
e: 'balanceUpdate';
|
|
11072
|
+
} & Balanceupdate) | ({
|
|
11073
|
+
e: 'executionReport';
|
|
11074
|
+
} & Executionreport) | ({
|
|
11075
|
+
e: 'listStatus';
|
|
11076
|
+
} & Liststatus) | ({
|
|
11077
|
+
e: 'listenKeyExpired';
|
|
11078
|
+
} & Listenkeyexpired) | ({
|
|
11079
|
+
e: 'outboundAccountPosition';
|
|
11080
|
+
} & Outboundaccountposition);
|
|
11081
|
+
|
|
11082
|
+
/**
|
|
11083
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
11084
|
+
*
|
|
11085
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
11086
|
+
*
|
|
11087
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11088
|
+
*
|
|
11089
|
+
*
|
|
11090
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11091
|
+
* https://openapi-generator.tech
|
|
11092
|
+
* Do not edit the class manually.
|
|
11093
|
+
*/
|
|
11094
|
+
|
|
11095
|
+
declare class WebsocketStreamsConnection {
|
|
11096
|
+
private websocketBase;
|
|
11097
|
+
constructor(websocketBase: WebsocketStreamsBase);
|
|
11098
|
+
/**
|
|
11099
|
+
* Adds an event listener for the specified WebSocket event.
|
|
11100
|
+
* @param event - The WebSocket event to listen for, such as 'open', 'message', 'error', 'close', 'ping', or 'pong'.
|
|
11101
|
+
* @param listener - The callback function to be executed when the event is triggered. The function can accept any number of arguments.
|
|
11102
|
+
*/
|
|
11103
|
+
on(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
|
|
11104
|
+
/**
|
|
11105
|
+
* Removes an event listener for the specified WebSocket event.
|
|
11106
|
+
* @param event - The WebSocket event to stop listening for, such as 'open', 'message', 'error', 'close', 'ping', or 'pong'.
|
|
11107
|
+
* @param listener - The callback function that was previously added as the event listener.
|
|
11108
|
+
*/
|
|
11109
|
+
off(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
|
|
11110
|
+
/**
|
|
11111
|
+
* Disconnects from the WebSocket server.
|
|
11112
|
+
* If there is no active connection, a warning is logged.
|
|
11113
|
+
* Otherwise, all connections in the connection pool are closed gracefully,
|
|
11114
|
+
* and a message is logged indicating that the connection has been disconnected.
|
|
11115
|
+
* @returns A Promise that resolves when all connections have been closed.
|
|
11116
|
+
* @throws Error if the WebSocket client is not set.
|
|
11117
|
+
*/
|
|
11118
|
+
disconnect(): Promise<void>;
|
|
11119
|
+
/**
|
|
11120
|
+
* Checks if the WebSocket connection is currently open.
|
|
11121
|
+
* @returns `true` if the connection is open, `false` otherwise.
|
|
11122
|
+
*/
|
|
11123
|
+
isConnected(): boolean;
|
|
11124
|
+
/**
|
|
11125
|
+
* Sends a ping message to all connected Websocket servers in the pool.
|
|
11126
|
+
* If no connections are ready, a warning is logged.
|
|
11127
|
+
* For each active connection, the ping message is sent, and debug logs provide details.
|
|
11128
|
+
* @throws Error if a Websocket client is not set for a connection.
|
|
11129
|
+
*/
|
|
11130
|
+
pingServer(): void;
|
|
11131
|
+
/**
|
|
11132
|
+
* Subscribes to one or multiple WebSocket streams
|
|
11133
|
+
* Handles both single and pool modes
|
|
11134
|
+
* @param stream Single stream name or array of stream names to subscribe to
|
|
11135
|
+
* @param id Optional subscription ID
|
|
11136
|
+
* @returns void
|
|
11137
|
+
*/
|
|
11138
|
+
subscribe(stream: string | string[], id?: string): void;
|
|
11139
|
+
/**
|
|
11140
|
+
* Unsubscribes from one or multiple WebSocket streams
|
|
11141
|
+
* Handles both single and pool modes
|
|
11142
|
+
* @param stream Single stream name or array of stream names to unsubscribe from
|
|
11143
|
+
* @param id Optional unsubscription ID
|
|
11144
|
+
* @returns void
|
|
11145
|
+
*/
|
|
11146
|
+
unsubscribe(stream: string | string[], id?: string): void;
|
|
11147
|
+
/**
|
|
11148
|
+
* Checks if the WebSocket connection is subscribed to the specified stream.
|
|
11149
|
+
* @param stream The name of the WebSocket stream to check.
|
|
11150
|
+
* @returns `true` if the connection is subscribed to the stream, `false` otherwise.
|
|
11151
|
+
*/
|
|
11152
|
+
isSubscribed(stream: string): boolean;
|
|
11153
|
+
/**
|
|
11154
|
+
* Subscribes to the risk data WebSocket stream using the provided listen key.
|
|
11155
|
+
* @param listenKey - The listen key for the risk data WebSocket stream.
|
|
11156
|
+
* @param id - Optional risk data stream ID
|
|
11157
|
+
* @returns A WebSocket stream handler for the risk data stream.
|
|
11158
|
+
*/
|
|
11159
|
+
riskData(listenKey: string, id?: string): WebsocketStream<RiskDataStreamEventsResponse>;
|
|
11160
|
+
/**
|
|
11161
|
+
* Subscribes to the trade data WebSocket stream using the provided listen key.
|
|
11162
|
+
* @param listenKey - The listen key for the trade data WebSocket stream.
|
|
11163
|
+
* @param id - Optional trade data stream ID
|
|
11164
|
+
* @returns A WebSocket stream handler for the trade data stream.
|
|
11165
|
+
*/
|
|
11166
|
+
tradeData(listenKey: string, id?: string): WebsocketStream<TradeDataStreamEventsResponse>;
|
|
11167
|
+
}
|
|
11168
|
+
|
|
11169
|
+
/**
|
|
11170
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
11171
|
+
*
|
|
11172
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
11173
|
+
*
|
|
11174
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11175
|
+
*
|
|
11176
|
+
*
|
|
11177
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11178
|
+
* https://openapi-generator.tech
|
|
11179
|
+
* Do not edit the class manually.
|
|
11180
|
+
*/
|
|
11181
|
+
|
|
11182
|
+
declare class WebsocketStreams {
|
|
11183
|
+
private configuration;
|
|
11184
|
+
constructor(configuration: ConfigurationWebsocketStreams);
|
|
11185
|
+
/**
|
|
11186
|
+
* Connects to the Binance WebSocket streams and returns a `WebsocketStreamsConnection` instance.
|
|
11187
|
+
*
|
|
11188
|
+
* @param {object} [options] - Optional connection options.
|
|
11189
|
+
* @param {string|string[]} [options.stream] - The stream(s) to connect to.
|
|
11190
|
+
* @param {'single'|'pool'} [options.mode] - The connection mode, either 'single' or 'pool'. Overwrite the `mode` option in the configuration.
|
|
11191
|
+
* @param {number} [options.poolSize] - The number of connections to use in pool mode. Overwrite the `poolSize` option in the configuration.
|
|
11192
|
+
* @returns {Promise<WebsocketStreamsConnection>} - A promise that resolves to a `WebsocketStreamsConnection` instance.
|
|
11193
|
+
*/
|
|
11194
|
+
connect({ stream, mode, poolSize, }?: {
|
|
11195
|
+
stream?: string | string[];
|
|
11196
|
+
mode?: 'single' | 'pool';
|
|
11197
|
+
poolSize?: number;
|
|
11198
|
+
}): Promise<WebsocketStreamsConnection>;
|
|
11199
|
+
}
|
|
11200
|
+
|
|
11201
|
+
/**
|
|
11202
|
+
* Binance Margin Trading WebSocket Market Streams
|
|
11203
|
+
*
|
|
11204
|
+
* OpenAPI Specification for the Binance Margin Trading WebSocket Market Streams
|
|
11205
|
+
*
|
|
11206
|
+
* The version of the OpenAPI document: 1.0.0
|
|
11207
|
+
*
|
|
11208
|
+
*
|
|
11209
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11210
|
+
* https://openapi-generator.tech
|
|
11211
|
+
* Do not edit the class manually.
|
|
11212
|
+
*/
|
|
11213
|
+
|
|
11214
|
+
type index_Balanceupdate = Balanceupdate;
|
|
11215
|
+
type index_Executionreport = Executionreport;
|
|
11216
|
+
type index_Listenkeyexpired = Listenkeyexpired;
|
|
11217
|
+
type index_Liststatus = Liststatus;
|
|
11218
|
+
type index_ListstatusOInner = ListstatusOInner;
|
|
11219
|
+
type index_MarginLevelStatusChange = MarginLevelStatusChange;
|
|
11220
|
+
type index_Outboundaccountposition = Outboundaccountposition;
|
|
11221
|
+
type index_OutboundaccountpositionBInner = OutboundaccountpositionBInner;
|
|
11222
|
+
type index_RiskDataStreamEventsResponse = RiskDataStreamEventsResponse;
|
|
11223
|
+
type index_TradeDataStreamEventsResponse = TradeDataStreamEventsResponse;
|
|
11224
|
+
type index_UserLiabilityChange = UserLiabilityChange;
|
|
11225
|
+
type index_WebsocketStreams = WebsocketStreams;
|
|
11226
|
+
declare const index_WebsocketStreams: typeof WebsocketStreams;
|
|
11227
|
+
type index_WebsocketStreamsConnection = WebsocketStreamsConnection;
|
|
11228
|
+
declare const index_WebsocketStreamsConnection: typeof WebsocketStreamsConnection;
|
|
10346
11229
|
declare namespace index {
|
|
10347
|
-
export { index_AccountApi as AccountApi, type index_AccountApiInterface as AccountApiInterface, type index_AdjustCrossMarginMaxLeverageRequest as AdjustCrossMarginMaxLeverageRequest, type index_AdjustCrossMarginMaxLeverageResponse as AdjustCrossMarginMaxLeverageResponse, index_BorrowRepayApi as BorrowRepayApi, type index_BorrowRepayApiInterface as BorrowRepayApiInterface, type index_CloseIsolatedMarginUserDataStreamRequest as CloseIsolatedMarginUserDataStreamRequest, type index_CloseMarginUserDataStreamRequest as CloseMarginUserDataStreamRequest, type index_CreateSpecialKeyRequest as CreateSpecialKeyRequest, type index_CreateSpecialKeyResponse as CreateSpecialKeyResponse, type index_CrossMarginCollateralRatioResponse as CrossMarginCollateralRatioResponse, type index_CrossMarginCollateralRatioResponseInner as CrossMarginCollateralRatioResponseInner, type index_CrossMarginCollateralRatioResponseInnerCollateralsInner as CrossMarginCollateralRatioResponseInnerCollateralsInner, type index_DeleteSpecialKeyRequest as DeleteSpecialKeyRequest, type index_DisableIsolatedMarginAccountRequest as DisableIsolatedMarginAccountRequest, type index_DisableIsolatedMarginAccountResponse as DisableIsolatedMarginAccountResponse, type index_EditIpForSpecialKeyRequest as EditIpForSpecialKeyRequest, type index_EnableIsolatedMarginAccountRequest as EnableIsolatedMarginAccountRequest, type index_EnableIsolatedMarginAccountResponse as EnableIsolatedMarginAccountResponse, type index_GetAllCrossMarginPairsRequest as GetAllCrossMarginPairsRequest, type index_GetAllCrossMarginPairsResponse as GetAllCrossMarginPairsResponse, type index_GetAllCrossMarginPairsResponseInner as GetAllCrossMarginPairsResponseInner, type index_GetAllIsolatedMarginSymbolRequest as GetAllIsolatedMarginSymbolRequest, type index_GetAllIsolatedMarginSymbolResponse as GetAllIsolatedMarginSymbolResponse, type index_GetAllIsolatedMarginSymbolResponseInner as GetAllIsolatedMarginSymbolResponseInner, type index_GetAllMarginAssetsRequest as GetAllMarginAssetsRequest, type index_GetAllMarginAssetsResponse as GetAllMarginAssetsResponse, type index_GetAllMarginAssetsResponseInner as GetAllMarginAssetsResponseInner, type index_GetBnbBurnStatusRequest as GetBnbBurnStatusRequest, type index_GetBnbBurnStatusResponse as GetBnbBurnStatusResponse, type index_GetCrossMarginTransferHistoryRequest as GetCrossMarginTransferHistoryRequest, type index_GetCrossMarginTransferHistoryResponse as GetCrossMarginTransferHistoryResponse, type index_GetCrossMarginTransferHistoryResponseRowsInner as GetCrossMarginTransferHistoryResponseRowsInner, type index_GetDelistScheduleRequest as GetDelistScheduleRequest, type index_GetDelistScheduleResponse as GetDelistScheduleResponse, type index_GetDelistScheduleResponseInner as GetDelistScheduleResponseInner, type index_GetForceLiquidationRecordRequest as GetForceLiquidationRecordRequest, type index_GetForceLiquidationRecordResponse as GetForceLiquidationRecordResponse, type index_GetForceLiquidationRecordResponseRowsInner as GetForceLiquidationRecordResponseRowsInner, type index_GetFutureHourlyInterestRateRequest as GetFutureHourlyInterestRateRequest, type index_GetFutureHourlyInterestRateResponse as GetFutureHourlyInterestRateResponse, type index_GetFutureHourlyInterestRateResponseInner as GetFutureHourlyInterestRateResponseInner, type index_GetInterestHistoryRequest as GetInterestHistoryRequest, type index_GetInterestHistoryResponse as GetInterestHistoryResponse, type index_GetInterestHistoryResponseRowsInner as GetInterestHistoryResponseRowsInner, type index_GetListScheduleRequest as GetListScheduleRequest, type index_GetListScheduleResponse as GetListScheduleResponse, type index_GetListScheduleResponseInner as GetListScheduleResponseInner, type index_GetSmallLiabilityExchangeCoinListRequest as GetSmallLiabilityExchangeCoinListRequest, type index_GetSmallLiabilityExchangeCoinListResponse as GetSmallLiabilityExchangeCoinListResponse, type index_GetSmallLiabilityExchangeCoinListResponseInner as GetSmallLiabilityExchangeCoinListResponseInner, type index_GetSmallLiabilityExchangeHistoryRequest as GetSmallLiabilityExchangeHistoryRequest, type index_GetSmallLiabilityExchangeHistoryResponse as GetSmallLiabilityExchangeHistoryResponse, type index_GetSmallLiabilityExchangeHistoryResponseRowsInner as GetSmallLiabilityExchangeHistoryResponseRowsInner, type index_GetSummaryOfMarginAccountRequest as GetSummaryOfMarginAccountRequest, type index_GetSummaryOfMarginAccountResponse as GetSummaryOfMarginAccountResponse, type index_KeepaliveIsolatedMarginUserDataStreamRequest as KeepaliveIsolatedMarginUserDataStreamRequest, type index_KeepaliveMarginUserDataStreamRequest as KeepaliveMarginUserDataStreamRequest, type index_KeepaliveUserDataStreamRequest as KeepaliveUserDataStreamRequest, type index_MarginAccountBorrowRepayRequest as MarginAccountBorrowRepayRequest, type index_MarginAccountBorrowRepayResponse as MarginAccountBorrowRepayResponse, type index_MarginAccountCancelAllOpenOrdersOnASymbolRequest as MarginAccountCancelAllOpenOrdersOnASymbolRequest, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponse as MarginAccountCancelAllOpenOrdersOnASymbolResponse, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInner, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrderReportsInner, type index_MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner as MarginAccountCancelAllOpenOrdersOnASymbolResponseInnerOrdersInner, type index_MarginAccountCancelOcoRequest as MarginAccountCancelOcoRequest, type index_MarginAccountCancelOcoResponse as MarginAccountCancelOcoResponse, type index_MarginAccountCancelOcoResponseOrderReportsInner as MarginAccountCancelOcoResponseOrderReportsInner, type index_MarginAccountCancelOcoResponseOrdersInner as MarginAccountCancelOcoResponseOrdersInner, type index_MarginAccountCancelOrderRequest as MarginAccountCancelOrderRequest, type index_MarginAccountCancelOrderResponse as MarginAccountCancelOrderResponse, index_MarginAccountNewOcoNewOrderRespTypeEnum as MarginAccountNewOcoNewOrderRespTypeEnum, type index_MarginAccountNewOcoRequest as MarginAccountNewOcoRequest, type index_MarginAccountNewOcoResponse as MarginAccountNewOcoResponse, type index_MarginAccountNewOcoResponseOrderReportsInner as MarginAccountNewOcoResponseOrderReportsInner, type index_MarginAccountNewOcoResponseOrdersInner as MarginAccountNewOcoResponseOrdersInner, index_MarginAccountNewOcoSideEnum as MarginAccountNewOcoSideEnum, index_MarginAccountNewOrderNewOrderRespTypeEnum as MarginAccountNewOrderNewOrderRespTypeEnum, type index_MarginAccountNewOrderRequest as MarginAccountNewOrderRequest, type index_MarginAccountNewOrderResponse as MarginAccountNewOrderResponse, type index_MarginAccountNewOrderResponseFillsInner as MarginAccountNewOrderResponseFillsInner, index_MarginAccountNewOrderSideEnum as MarginAccountNewOrderSideEnum, index_MarginAccountNewOrderTimeInForceEnum as MarginAccountNewOrderTimeInForceEnum, index_MarginAccountNewOtoNewOrderRespTypeEnum as MarginAccountNewOtoNewOrderRespTypeEnum, type index_MarginAccountNewOtoRequest as MarginAccountNewOtoRequest, type index_MarginAccountNewOtoResponse as MarginAccountNewOtoResponse, type index_MarginAccountNewOtoResponseOrderReportsInner as MarginAccountNewOtoResponseOrderReportsInner, type index_MarginAccountNewOtoResponseOrdersInner as MarginAccountNewOtoResponseOrdersInner, index_MarginAccountNewOtocoNewOrderRespTypeEnum as MarginAccountNewOtocoNewOrderRespTypeEnum, type index_MarginAccountNewOtocoRequest as MarginAccountNewOtocoRequest, type index_MarginAccountNewOtocoResponse as MarginAccountNewOtocoResponse, type index_MarginAccountNewOtocoResponseOrderReportsInner as MarginAccountNewOtocoResponseOrderReportsInner, type index_MarginAccountNewOtocoResponseOrdersInner as MarginAccountNewOtocoResponseOrdersInner, type index_MarginManualLiquidationRequest as MarginManualLiquidationRequest, type index_MarginManualLiquidationResponse as MarginManualLiquidationResponse, index_MarketDataApi as MarketDataApi, type index_MarketDataApiInterface as MarketDataApiInterface, type index_QueryBorrowRepayRecordsInMarginAccountRequest as QueryBorrowRepayRecordsInMarginAccountRequest, type index_QueryBorrowRepayRecordsInMarginAccountResponse as QueryBorrowRepayRecordsInMarginAccountResponse, type index_QueryBorrowRepayRecordsInMarginAccountResponseRowsInner as QueryBorrowRepayRecordsInMarginAccountResponseRowsInner, type index_QueryCrossIsolatedMarginCapitalFlowRequest as QueryCrossIsolatedMarginCapitalFlowRequest, type index_QueryCrossIsolatedMarginCapitalFlowResponse as QueryCrossIsolatedMarginCapitalFlowResponse, type index_QueryCrossIsolatedMarginCapitalFlowResponseInner as QueryCrossIsolatedMarginCapitalFlowResponseInner, type index_QueryCrossMarginAccountDetailsRequest as QueryCrossMarginAccountDetailsRequest, type index_QueryCrossMarginAccountDetailsResponse as QueryCrossMarginAccountDetailsResponse, type index_QueryCrossMarginAccountDetailsResponseUserAssetsInner as QueryCrossMarginAccountDetailsResponseUserAssetsInner, type index_QueryCrossMarginFeeDataRequest as QueryCrossMarginFeeDataRequest, type index_QueryCrossMarginFeeDataResponse as QueryCrossMarginFeeDataResponse, type index_QueryCrossMarginFeeDataResponseInner as QueryCrossMarginFeeDataResponseInner, type index_QueryCurrentMarginOrderCountUsageRequest as QueryCurrentMarginOrderCountUsageRequest, type index_QueryCurrentMarginOrderCountUsageResponse as QueryCurrentMarginOrderCountUsageResponse, type index_QueryCurrentMarginOrderCountUsageResponseInner as QueryCurrentMarginOrderCountUsageResponseInner, type index_QueryEnabledIsolatedMarginAccountLimitRequest as QueryEnabledIsolatedMarginAccountLimitRequest, type index_QueryEnabledIsolatedMarginAccountLimitResponse as QueryEnabledIsolatedMarginAccountLimitResponse, type index_QueryIsolatedMarginAccountInfoRequest as QueryIsolatedMarginAccountInfoRequest, type index_QueryIsolatedMarginAccountInfoResponse as QueryIsolatedMarginAccountInfoResponse, type index_QueryIsolatedMarginAccountInfoResponseAssetsInner as QueryIsolatedMarginAccountInfoResponseAssetsInner, type index_QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset as QueryIsolatedMarginAccountInfoResponseAssetsInnerBaseAsset, type index_QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset as QueryIsolatedMarginAccountInfoResponseAssetsInnerQuoteAsset, type index_QueryIsolatedMarginFeeDataRequest as QueryIsolatedMarginFeeDataRequest, type index_QueryIsolatedMarginFeeDataResponse as QueryIsolatedMarginFeeDataResponse, type index_QueryIsolatedMarginFeeDataResponseInner as QueryIsolatedMarginFeeDataResponseInner, type index_QueryIsolatedMarginFeeDataResponseInnerDataInner as QueryIsolatedMarginFeeDataResponseInnerDataInner, type index_QueryIsolatedMarginTierDataRequest as QueryIsolatedMarginTierDataRequest, type index_QueryIsolatedMarginTierDataResponse as QueryIsolatedMarginTierDataResponse, type index_QueryIsolatedMarginTierDataResponseInner as QueryIsolatedMarginTierDataResponseInner, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponse, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInner, type index_QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner as QueryLiabilityCoinLeverageBracketInCrossMarginProModeResponseInnerBracketsInner, type index_QueryMarginAccountsAllOcoRequest as QueryMarginAccountsAllOcoRequest, type index_QueryMarginAccountsAllOcoResponse as QueryMarginAccountsAllOcoResponse, type index_QueryMarginAccountsAllOcoResponseInner as QueryMarginAccountsAllOcoResponseInner, type index_QueryMarginAccountsAllOcoResponseInnerOrdersInner as QueryMarginAccountsAllOcoResponseInnerOrdersInner, type index_QueryMarginAccountsAllOrdersRequest as QueryMarginAccountsAllOrdersRequest, type index_QueryMarginAccountsAllOrdersResponse as QueryMarginAccountsAllOrdersResponse, type index_QueryMarginAccountsAllOrdersResponseInner as QueryMarginAccountsAllOrdersResponseInner, type index_QueryMarginAccountsOcoRequest as QueryMarginAccountsOcoRequest, type index_QueryMarginAccountsOcoResponse as QueryMarginAccountsOcoResponse, type index_QueryMarginAccountsOcoResponseOrdersInner as QueryMarginAccountsOcoResponseOrdersInner, type index_QueryMarginAccountsOpenOcoRequest as QueryMarginAccountsOpenOcoRequest, type index_QueryMarginAccountsOpenOcoResponse as QueryMarginAccountsOpenOcoResponse, type index_QueryMarginAccountsOpenOcoResponseInner as QueryMarginAccountsOpenOcoResponseInner, type index_QueryMarginAccountsOpenOcoResponseInnerOrdersInner as QueryMarginAccountsOpenOcoResponseInnerOrdersInner, type index_QueryMarginAccountsOpenOrdersRequest as QueryMarginAccountsOpenOrdersRequest, type index_QueryMarginAccountsOpenOrdersResponse as QueryMarginAccountsOpenOrdersResponse, type index_QueryMarginAccountsOpenOrdersResponseInner as QueryMarginAccountsOpenOrdersResponseInner, type index_QueryMarginAccountsOrderRequest as QueryMarginAccountsOrderRequest, type index_QueryMarginAccountsOrderResponse as QueryMarginAccountsOrderResponse, type index_QueryMarginAccountsTradeListRequest as QueryMarginAccountsTradeListRequest, type index_QueryMarginAccountsTradeListResponse as QueryMarginAccountsTradeListResponse, type index_QueryMarginAccountsTradeListResponseInner as QueryMarginAccountsTradeListResponseInner, type index_QueryMarginAvailableInventoryRequest as QueryMarginAvailableInventoryRequest, type index_QueryMarginAvailableInventoryResponse as QueryMarginAvailableInventoryResponse, type index_QueryMarginAvailableInventoryResponseAssets as QueryMarginAvailableInventoryResponseAssets, type index_QueryMarginInterestRateHistoryRequest as QueryMarginInterestRateHistoryRequest, type index_QueryMarginInterestRateHistoryResponse as QueryMarginInterestRateHistoryResponse, type index_QueryMarginInterestRateHistoryResponseInner as QueryMarginInterestRateHistoryResponseInner, type index_QueryMarginPriceindexRequest as QueryMarginPriceindexRequest, type index_QueryMarginPriceindexResponse as QueryMarginPriceindexResponse, type index_QueryMaxBorrowRequest as QueryMaxBorrowRequest, type index_QueryMaxBorrowResponse as QueryMaxBorrowResponse, type index_QueryMaxTransferOutAmountRequest as QueryMaxTransferOutAmountRequest, type index_QueryMaxTransferOutAmountResponse as QueryMaxTransferOutAmountResponse, type index_QuerySpecialKeyListRequest as QuerySpecialKeyListRequest, type index_QuerySpecialKeyListResponse as QuerySpecialKeyListResponse, type index_QuerySpecialKeyListResponseInner as QuerySpecialKeyListResponseInner, type index_QuerySpecialKeyRequest as QuerySpecialKeyRequest, type index_QuerySpecialKeyResponse as QuerySpecialKeyResponse, index_RestAPI as RestAPI, index_RiskDataStreamApi as RiskDataStreamApi, type index_RiskDataStreamApiInterface as RiskDataStreamApiInterface, type index_SmallLiabilityExchangeRequest as SmallLiabilityExchangeRequest, type index_StartIsolatedMarginUserDataStreamRequest as StartIsolatedMarginUserDataStreamRequest, type index_StartIsolatedMarginUserDataStreamResponse as StartIsolatedMarginUserDataStreamResponse, type index_StartMarginUserDataStreamResponse as StartMarginUserDataStreamResponse, type index_StartUserDataStreamResponse as StartUserDataStreamResponse, index_TradeApi as TradeApi, type index_TradeApiInterface as TradeApiInterface, index_TradeDataStreamApi as TradeDataStreamApi, type index_TradeDataStreamApiInterface as TradeDataStreamApiInterface, index_TransferApi as TransferApi, type index_TransferApiInterface as TransferApiInterface };
|
|
11230
|
+
export { type index_Balanceupdate as Balanceupdate, type index_Executionreport as Executionreport, type index_Listenkeyexpired as Listenkeyexpired, type index_Liststatus as Liststatus, type index_ListstatusOInner as ListstatusOInner, type index_MarginLevelStatusChange as MarginLevelStatusChange, type index_Outboundaccountposition as Outboundaccountposition, type index_OutboundaccountpositionBInner as OutboundaccountpositionBInner, type index_RiskDataStreamEventsResponse as RiskDataStreamEventsResponse, type index_TradeDataStreamEventsResponse as TradeDataStreamEventsResponse, type index_UserLiabilityChange as UserLiabilityChange, index_WebsocketStreams as WebsocketStreams, index_WebsocketStreamsConnection as WebsocketStreamsConnection };
|
|
10348
11231
|
}
|
|
10349
11232
|
|
|
10350
11233
|
interface ConfigurationMarginTrading {
|
|
10351
11234
|
configurationRestAPI?: ConfigurationRestAPI;
|
|
11235
|
+
configurationWebsocketStreams?: ConfigurationWebsocketStreams;
|
|
10352
11236
|
}
|
|
10353
11237
|
declare class MarginTrading {
|
|
10354
11238
|
restAPI: RestAPI;
|
|
11239
|
+
websocketStreams: WebsocketStreams;
|
|
10355
11240
|
constructor(config: ConfigurationMarginTrading);
|
|
10356
11241
|
}
|
|
10357
11242
|
|
|
10358
|
-
export { type ConfigurationMarginTrading, MarginTrading, index as MarginTradingRestAPI };
|
|
11243
|
+
export { type ConfigurationMarginTrading, MarginTrading, index$1 as MarginTradingRestAPI, index as MarginTradingWebsocketStreams };
|