@binance/derivatives-trading-options 8.0.1 → 9.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/dist/index.d.mts +339 -284
- package/dist/index.d.ts +339 -284
- package/dist/index.js +56 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +56 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -43,7 +43,7 @@ var import_common11 = require("@binance/common");
|
|
|
43
43
|
|
|
44
44
|
// package.json
|
|
45
45
|
var name = "@binance/derivatives-trading-options";
|
|
46
|
-
var version = "
|
|
46
|
+
var version = "9.0.0";
|
|
47
47
|
|
|
48
48
|
// src/rest-api/index.ts
|
|
49
49
|
var rest_api_exports = {};
|
|
@@ -3005,6 +3005,7 @@ var RestAPI = class {
|
|
|
3005
3005
|
*
|
|
3006
3006
|
* @summary Account Funding Flow (USER_DATA)
|
|
3007
3007
|
* @param {AccountFundingFlowRequest} requestParameters Request parameters.
|
|
3008
|
+
*
|
|
3008
3009
|
* @returns {Promise<RestApiResponse<AccountFundingFlowResponse>>}
|
|
3009
3010
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3010
3011
|
* @see {@link https://developers.binance.com/docs/derivatives/option/account/Account-Funding-Flow Binance API Documentation}
|
|
@@ -3022,6 +3023,7 @@ var RestAPI = class {
|
|
|
3022
3023
|
*
|
|
3023
3024
|
* @summary Get Download Id For Option Transaction History (USER_DATA)
|
|
3024
3025
|
* @param {GetDownloadIdForOptionTransactionHistoryRequest} requestParameters Request parameters.
|
|
3026
|
+
*
|
|
3025
3027
|
* @returns {Promise<RestApiResponse<GetDownloadIdForOptionTransactionHistoryResponse>>}
|
|
3026
3028
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3027
3029
|
* @see {@link https://developers.binance.com/docs/derivatives/option/account/Get-Download-Id-For-Option-Transaction-History Binance API Documentation}
|
|
@@ -3038,6 +3040,7 @@ var RestAPI = class {
|
|
|
3038
3040
|
*
|
|
3039
3041
|
* @summary Get Option Transaction History Download Link by Id (USER_DATA)
|
|
3040
3042
|
* @param {GetOptionTransactionHistoryDownloadLinkByIdRequest} requestParameters Request parameters.
|
|
3043
|
+
*
|
|
3041
3044
|
* @returns {Promise<RestApiResponse<GetOptionTransactionHistoryDownloadLinkByIdResponse>>}
|
|
3042
3045
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3043
3046
|
* @see {@link https://developers.binance.com/docs/derivatives/option/account/Get-Option-Transaction-History-Download-Link-by-Id Binance API Documentation}
|
|
@@ -3052,6 +3055,7 @@ var RestAPI = class {
|
|
|
3052
3055
|
*
|
|
3053
3056
|
* @summary Option Account Information(TRADE)
|
|
3054
3057
|
* @param {OptionAccountInformationRequest} requestParameters Request parameters.
|
|
3058
|
+
*
|
|
3055
3059
|
* @returns {Promise<RestApiResponse<OptionAccountInformationResponse>>}
|
|
3056
3060
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3057
3061
|
* @see {@link https://developers.binance.com/docs/derivatives/option/account/Option-Account-Information Binance API Documentation}
|
|
@@ -3066,6 +3070,7 @@ var RestAPI = class {
|
|
|
3066
3070
|
*
|
|
3067
3071
|
* @summary Option Margin Account Information (USER_DATA)
|
|
3068
3072
|
* @param {OptionMarginAccountInformationRequest} requestParameters Request parameters.
|
|
3073
|
+
*
|
|
3069
3074
|
* @returns {Promise<RestApiResponse<OptionMarginAccountInformationResponse>>}
|
|
3070
3075
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3071
3076
|
* @see {@link https://developers.binance.com/docs/derivatives/option/account/Option-Margin-Account-Information Binance API Documentation}
|
|
@@ -3079,6 +3084,7 @@ var RestAPI = class {
|
|
|
3079
3084
|
* Weight: 1
|
|
3080
3085
|
*
|
|
3081
3086
|
* @summary Check Server Time
|
|
3087
|
+
*
|
|
3082
3088
|
* @returns {Promise<RestApiResponse<CheckServerTimeResponse>>}
|
|
3083
3089
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3084
3090
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Check-Server-Time Binance API Documentation}
|
|
@@ -3092,6 +3098,7 @@ var RestAPI = class {
|
|
|
3092
3098
|
* Weight: 1
|
|
3093
3099
|
*
|
|
3094
3100
|
* @summary Exchange Information
|
|
3101
|
+
*
|
|
3095
3102
|
* @returns {Promise<RestApiResponse<ExchangeInformationResponse>>}
|
|
3096
3103
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3097
3104
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Exchange-Information Binance API Documentation}
|
|
@@ -3108,6 +3115,7 @@ var RestAPI = class {
|
|
|
3108
3115
|
*
|
|
3109
3116
|
* @summary Historical Exercise Records
|
|
3110
3117
|
* @param {HistoricalExerciseRecordsRequest} requestParameters Request parameters.
|
|
3118
|
+
*
|
|
3111
3119
|
* @returns {Promise<RestApiResponse<HistoricalExerciseRecordsResponse>>}
|
|
3112
3120
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3113
3121
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Historical-Exercise-Records Binance API Documentation}
|
|
@@ -3125,6 +3133,7 @@ var RestAPI = class {
|
|
|
3125
3133
|
*
|
|
3126
3134
|
* @summary Kline/Candlestick Data
|
|
3127
3135
|
* @param {KlineCandlestickDataRequest} requestParameters Request parameters.
|
|
3136
|
+
*
|
|
3128
3137
|
* @returns {Promise<RestApiResponse<KlineCandlestickDataResponse>>}
|
|
3129
3138
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3130
3139
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Kline-Candlestick-Data Binance API Documentation}
|
|
@@ -3139,6 +3148,7 @@ var RestAPI = class {
|
|
|
3139
3148
|
*
|
|
3140
3149
|
* @summary Old Trades Lookup (MARKET_DATA)
|
|
3141
3150
|
* @param {OldTradesLookupRequest} requestParameters Request parameters.
|
|
3151
|
+
*
|
|
3142
3152
|
* @returns {Promise<RestApiResponse<OldTradesLookupResponse>>}
|
|
3143
3153
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3144
3154
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Old-Trades-Lookup Binance API Documentation}
|
|
@@ -3153,6 +3163,7 @@ var RestAPI = class {
|
|
|
3153
3163
|
*
|
|
3154
3164
|
* @summary Open Interest
|
|
3155
3165
|
* @param {OpenInterestRequest} requestParameters Request parameters.
|
|
3166
|
+
*
|
|
3156
3167
|
* @returns {Promise<RestApiResponse<OpenInterestResponse>>}
|
|
3157
3168
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3158
3169
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Open-Interest Binance API Documentation}
|
|
@@ -3167,6 +3178,7 @@ var RestAPI = class {
|
|
|
3167
3178
|
*
|
|
3168
3179
|
* @summary Option Mark Price
|
|
3169
3180
|
* @param {OptionMarkPriceRequest} requestParameters Request parameters.
|
|
3181
|
+
*
|
|
3170
3182
|
* @returns {Promise<RestApiResponse<OptionMarkPriceResponse>>}
|
|
3171
3183
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3172
3184
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Option-Mark-Price Binance API Documentation}
|
|
@@ -3186,6 +3198,7 @@ var RestAPI = class {
|
|
|
3186
3198
|
*
|
|
3187
3199
|
* @summary Order Book
|
|
3188
3200
|
* @param {OrderBookRequest} requestParameters Request parameters.
|
|
3201
|
+
*
|
|
3189
3202
|
* @returns {Promise<RestApiResponse<OrderBookResponse>>}
|
|
3190
3203
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3191
3204
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Order-Book Binance API Documentation}
|
|
@@ -3200,6 +3213,7 @@ var RestAPI = class {
|
|
|
3200
3213
|
*
|
|
3201
3214
|
* @summary Recent Block Trades List
|
|
3202
3215
|
* @param {RecentBlockTradesListRequest} requestParameters Request parameters.
|
|
3216
|
+
*
|
|
3203
3217
|
* @returns {Promise<RestApiResponse<RecentBlockTradesListResponse>>}
|
|
3204
3218
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3205
3219
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Recent-Block-Trade-List Binance API Documentation}
|
|
@@ -3214,6 +3228,7 @@ var RestAPI = class {
|
|
|
3214
3228
|
*
|
|
3215
3229
|
* @summary Recent Trades List
|
|
3216
3230
|
* @param {RecentTradesListRequest} requestParameters Request parameters.
|
|
3231
|
+
*
|
|
3217
3232
|
* @returns {Promise<RestApiResponse<RecentTradesListResponse>>}
|
|
3218
3233
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3219
3234
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Recent-Trades-List Binance API Documentation}
|
|
@@ -3228,6 +3243,7 @@ var RestAPI = class {
|
|
|
3228
3243
|
*
|
|
3229
3244
|
* @summary Symbol Price Ticker
|
|
3230
3245
|
* @param {SymbolPriceTickerRequest} requestParameters Request parameters.
|
|
3246
|
+
*
|
|
3231
3247
|
* @returns {Promise<RestApiResponse<SymbolPriceTickerResponse>>}
|
|
3232
3248
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3233
3249
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Symbol-Price-Ticker Binance API Documentation}
|
|
@@ -3241,6 +3257,7 @@ var RestAPI = class {
|
|
|
3241
3257
|
* Weight: 1
|
|
3242
3258
|
*
|
|
3243
3259
|
* @summary Test Connectivity
|
|
3260
|
+
*
|
|
3244
3261
|
* @returns {Promise<RestApiResponse<void>>}
|
|
3245
3262
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3246
3263
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/Test-Connectivity Binance API Documentation}
|
|
@@ -3255,6 +3272,7 @@ var RestAPI = class {
|
|
|
3255
3272
|
*
|
|
3256
3273
|
* @summary 24hr Ticker Price Change Statistics
|
|
3257
3274
|
* @param {Ticker24hrPriceChangeStatisticsRequest} requestParameters Request parameters.
|
|
3275
|
+
*
|
|
3258
3276
|
* @returns {Promise<RestApiResponse<Ticker24hrPriceChangeStatisticsResponse>>}
|
|
3259
3277
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3260
3278
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-data/24hr-Ticker-Price-Change-Statistics Binance API Documentation}
|
|
@@ -3269,6 +3287,7 @@ var RestAPI = class {
|
|
|
3269
3287
|
*
|
|
3270
3288
|
* @summary Accept Block Trade Order (TRADE)
|
|
3271
3289
|
* @param {AcceptBlockTradeOrderRequest} requestParameters Request parameters.
|
|
3290
|
+
*
|
|
3272
3291
|
* @returns {Promise<RestApiResponse<AcceptBlockTradeOrderResponse>>}
|
|
3273
3292
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3274
3293
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Accept-Block-Trade-Order Binance API Documentation}
|
|
@@ -3283,6 +3302,7 @@ var RestAPI = class {
|
|
|
3283
3302
|
*
|
|
3284
3303
|
* @summary Account Block Trade List (USER_DATA)
|
|
3285
3304
|
* @param {AccountBlockTradeListRequest} requestParameters Request parameters.
|
|
3305
|
+
*
|
|
3286
3306
|
* @returns {Promise<RestApiResponse<AccountBlockTradeListResponse>>}
|
|
3287
3307
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3288
3308
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Account-Block-Trade-List Binance API Documentation}
|
|
@@ -3297,6 +3317,7 @@ var RestAPI = class {
|
|
|
3297
3317
|
*
|
|
3298
3318
|
* @summary Cancel Block Trade Order (TRADE)
|
|
3299
3319
|
* @param {CancelBlockTradeOrderRequest} requestParameters Request parameters.
|
|
3320
|
+
*
|
|
3300
3321
|
* @returns {Promise<RestApiResponse<void>>}
|
|
3301
3322
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3302
3323
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Cancel-Block-Trade-Order Binance API Documentation}
|
|
@@ -3311,6 +3332,7 @@ var RestAPI = class {
|
|
|
3311
3332
|
*
|
|
3312
3333
|
* @summary Extend Block Trade Order (TRADE)
|
|
3313
3334
|
* @param {ExtendBlockTradeOrderRequest} requestParameters Request parameters.
|
|
3335
|
+
*
|
|
3314
3336
|
* @returns {Promise<RestApiResponse<ExtendBlockTradeOrderResponse>>}
|
|
3315
3337
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3316
3338
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Extend-Block-Trade-Order Binance API Documentation}
|
|
@@ -3325,6 +3347,7 @@ var RestAPI = class {
|
|
|
3325
3347
|
*
|
|
3326
3348
|
* @summary New Block Trade Order (TRADE)
|
|
3327
3349
|
* @param {NewBlockTradeOrderRequest} requestParameters Request parameters.
|
|
3350
|
+
*
|
|
3328
3351
|
* @returns {Promise<RestApiResponse<NewBlockTradeOrderResponse>>}
|
|
3329
3352
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3330
3353
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/New-Block-Trade-Order Binance API Documentation}
|
|
@@ -3339,6 +3362,7 @@ var RestAPI = class {
|
|
|
3339
3362
|
*
|
|
3340
3363
|
* @summary Query Block Trade Details (USER_DATA)
|
|
3341
3364
|
* @param {QueryBlockTradeDetailsRequest} requestParameters Request parameters.
|
|
3365
|
+
*
|
|
3342
3366
|
* @returns {Promise<RestApiResponse<QueryBlockTradeDetailsResponse>>}
|
|
3343
3367
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3344
3368
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Query-Block-Trade-Detail Binance API Documentation}
|
|
@@ -3353,6 +3377,7 @@ var RestAPI = class {
|
|
|
3353
3377
|
*
|
|
3354
3378
|
* @summary Query Block Trade Order (TRADE)
|
|
3355
3379
|
* @param {QueryBlockTradeOrderRequest} requestParameters Request parameters.
|
|
3380
|
+
*
|
|
3356
3381
|
* @returns {Promise<RestApiResponse<QueryBlockTradeOrderResponse>>}
|
|
3357
3382
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3358
3383
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-block-trade/Query-Block-Trade-Order Binance API Documentation}
|
|
@@ -3369,6 +3394,7 @@ var RestAPI = class {
|
|
|
3369
3394
|
*
|
|
3370
3395
|
* @summary Auto-Cancel All Open Orders (Kill-Switch) Heartbeat (TRADE)
|
|
3371
3396
|
* @param {AutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
|
|
3397
|
+
*
|
|
3372
3398
|
* @returns {Promise<RestApiResponse<AutoCancelAllOpenOrdersResponse>>}
|
|
3373
3399
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3374
3400
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Auto-Cancel-All-Open-Orders-Heartbeat Binance API Documentation}
|
|
@@ -3385,6 +3411,7 @@ var RestAPI = class {
|
|
|
3385
3411
|
*
|
|
3386
3412
|
* @summary Get Auto-Cancel All Open Orders (Kill-Switch) Config (TRADE)
|
|
3387
3413
|
* @param {GetAutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
|
|
3414
|
+
*
|
|
3388
3415
|
* @returns {Promise<RestApiResponse<GetAutoCancelAllOpenOrdersResponse>>}
|
|
3389
3416
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3390
3417
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Get-Auto-Cancel-All-Open-Orders-Config Binance API Documentation}
|
|
@@ -3399,6 +3426,7 @@ var RestAPI = class {
|
|
|
3399
3426
|
*
|
|
3400
3427
|
* @summary Get Market Maker Protection Config (TRADE)
|
|
3401
3428
|
* @param {GetMarketMakerProtectionConfigRequest} requestParameters Request parameters.
|
|
3429
|
+
*
|
|
3402
3430
|
* @returns {Promise<RestApiResponse<GetMarketMakerProtectionConfigResponse>>}
|
|
3403
3431
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3404
3432
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Get-Market-Maker-Protection-Config Binance API Documentation}
|
|
@@ -3413,6 +3441,7 @@ var RestAPI = class {
|
|
|
3413
3441
|
*
|
|
3414
3442
|
* @summary Reset Market Maker Protection Config (TRADE)
|
|
3415
3443
|
* @param {ResetMarketMakerProtectionConfigRequest} requestParameters Request parameters.
|
|
3444
|
+
*
|
|
3416
3445
|
* @returns {Promise<RestApiResponse<ResetMarketMakerProtectionConfigResponse>>}
|
|
3417
3446
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3418
3447
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Reset-Market-Maker-Protection-Config Binance API Documentation}
|
|
@@ -3433,6 +3462,7 @@ var RestAPI = class {
|
|
|
3433
3462
|
*
|
|
3434
3463
|
* @summary Set Auto-Cancel All Open Orders (Kill-Switch) Config (TRADE)
|
|
3435
3464
|
* @param {SetAutoCancelAllOpenOrdersRequest} requestParameters Request parameters.
|
|
3465
|
+
*
|
|
3436
3466
|
* @returns {Promise<RestApiResponse<SetAutoCancelAllOpenOrdersResponse>>}
|
|
3437
3467
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3438
3468
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Set-Auto-Cancel-All-Open-Orders-Config Binance API Documentation}
|
|
@@ -3448,6 +3478,7 @@ var RestAPI = class {
|
|
|
3448
3478
|
*
|
|
3449
3479
|
* @summary Set Market Maker Protection Config (TRADE)
|
|
3450
3480
|
* @param {SetMarketMakerProtectionConfigRequest} requestParameters Request parameters.
|
|
3481
|
+
*
|
|
3451
3482
|
* @returns {Promise<RestApiResponse<SetMarketMakerProtectionConfigResponse>>}
|
|
3452
3483
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3453
3484
|
* @see {@link https://developers.binance.com/docs/derivatives/option/market-maker-endpoints/Set-Market-Maker-Protection-Config Binance API Documentation}
|
|
@@ -3462,6 +3493,7 @@ var RestAPI = class {
|
|
|
3462
3493
|
*
|
|
3463
3494
|
* @summary Account Trade List (USER_DATA)
|
|
3464
3495
|
* @param {AccountTradeListRequest} requestParameters Request parameters.
|
|
3496
|
+
*
|
|
3465
3497
|
* @returns {Promise<RestApiResponse<AccountTradeListResponse>>}
|
|
3466
3498
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3467
3499
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/Account-Trade-List Binance API Documentation}
|
|
@@ -3476,6 +3508,7 @@ var RestAPI = class {
|
|
|
3476
3508
|
*
|
|
3477
3509
|
* @summary Cancel All Option Orders By Underlying (TRADE)
|
|
3478
3510
|
* @param {CancelAllOptionOrdersByUnderlyingRequest} requestParameters Request parameters.
|
|
3511
|
+
*
|
|
3479
3512
|
* @returns {Promise<RestApiResponse<CancelAllOptionOrdersByUnderlyingResponse>>}
|
|
3480
3513
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3481
3514
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-All-Option-Orders-By-Underlying Binance API Documentation}
|
|
@@ -3490,6 +3523,7 @@ var RestAPI = class {
|
|
|
3490
3523
|
*
|
|
3491
3524
|
* @summary Cancel all Option orders on specific symbol (TRADE)
|
|
3492
3525
|
* @param {CancelAllOptionOrdersOnSpecificSymbolRequest} requestParameters Request parameters.
|
|
3526
|
+
*
|
|
3493
3527
|
* @returns {Promise<RestApiResponse<CancelAllOptionOrdersOnSpecificSymbolResponse>>}
|
|
3494
3528
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3495
3529
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-all-Option-orders-on-specific-symbol Binance API Documentation}
|
|
@@ -3506,6 +3540,7 @@ var RestAPI = class {
|
|
|
3506
3540
|
*
|
|
3507
3541
|
* @summary Cancel Multiple Option Orders (TRADE)
|
|
3508
3542
|
* @param {CancelMultipleOptionOrdersRequest} requestParameters Request parameters.
|
|
3543
|
+
*
|
|
3509
3544
|
* @returns {Promise<RestApiResponse<CancelMultipleOptionOrdersResponse>>}
|
|
3510
3545
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3511
3546
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-Multiple-Option-Orders Binance API Documentation}
|
|
@@ -3522,6 +3557,7 @@ var RestAPI = class {
|
|
|
3522
3557
|
*
|
|
3523
3558
|
* @summary Cancel Option Order (TRADE)
|
|
3524
3559
|
* @param {CancelOptionOrderRequest} requestParameters Request parameters.
|
|
3560
|
+
*
|
|
3525
3561
|
* @returns {Promise<RestApiResponse<CancelOptionOrderResponse>>}
|
|
3526
3562
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3527
3563
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/Cancel-Option-Order Binance API Documentation}
|
|
@@ -3536,6 +3572,7 @@ var RestAPI = class {
|
|
|
3536
3572
|
*
|
|
3537
3573
|
* @summary New Order (TRADE)
|
|
3538
3574
|
* @param {NewOrderRequest} requestParameters Request parameters.
|
|
3575
|
+
*
|
|
3539
3576
|
* @returns {Promise<RestApiResponse<NewOrderResponse>>}
|
|
3540
3577
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3541
3578
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/New-Order Binance API Documentation}
|
|
@@ -3550,6 +3587,7 @@ var RestAPI = class {
|
|
|
3550
3587
|
*
|
|
3551
3588
|
* @summary Option Position Information (USER_DATA)
|
|
3552
3589
|
* @param {OptionPositionInformationRequest} requestParameters Request parameters.
|
|
3590
|
+
*
|
|
3553
3591
|
* @returns {Promise<RestApiResponse<OptionPositionInformationResponse>>}
|
|
3554
3592
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3555
3593
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/Option-Position-Information Binance API Documentation}
|
|
@@ -3567,6 +3605,7 @@ var RestAPI = class {
|
|
|
3567
3605
|
*
|
|
3568
3606
|
* @summary Place Multiple Orders(TRADE)
|
|
3569
3607
|
* @param {PlaceMultipleOrdersRequest} requestParameters Request parameters.
|
|
3608
|
+
*
|
|
3570
3609
|
* @returns {Promise<RestApiResponse<PlaceMultipleOrdersResponse>>}
|
|
3571
3610
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3572
3611
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/Place-Multiple-Orders Binance API Documentation}
|
|
@@ -3581,6 +3620,7 @@ var RestAPI = class {
|
|
|
3581
3620
|
*
|
|
3582
3621
|
* @summary Query Current Open Option Orders (USER_DATA)
|
|
3583
3622
|
* @param {QueryCurrentOpenOptionOrdersRequest} requestParameters Request parameters.
|
|
3623
|
+
*
|
|
3584
3624
|
* @returns {Promise<RestApiResponse<QueryCurrentOpenOptionOrdersResponse>>}
|
|
3585
3625
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3586
3626
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/Query-Current-Open-Option-Orders Binance API Documentation}
|
|
@@ -3595,6 +3635,7 @@ var RestAPI = class {
|
|
|
3595
3635
|
*
|
|
3596
3636
|
* @summary Query Option Order History (TRADE)
|
|
3597
3637
|
* @param {QueryOptionOrderHistoryRequest} requestParameters Request parameters.
|
|
3638
|
+
*
|
|
3598
3639
|
* @returns {Promise<RestApiResponse<QueryOptionOrderHistoryResponse>>}
|
|
3599
3640
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3600
3641
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/Query-Option-Order-History Binance API Documentation}
|
|
@@ -3617,6 +3658,7 @@ var RestAPI = class {
|
|
|
3617
3658
|
*
|
|
3618
3659
|
* @summary Query Single Order (TRADE)
|
|
3619
3660
|
* @param {QuerySingleOrderRequest} requestParameters Request parameters.
|
|
3661
|
+
*
|
|
3620
3662
|
* @returns {Promise<RestApiResponse<QuerySingleOrderResponse>>}
|
|
3621
3663
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3622
3664
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/Query-Single-Order Binance API Documentation}
|
|
@@ -3631,6 +3673,7 @@ var RestAPI = class {
|
|
|
3631
3673
|
*
|
|
3632
3674
|
* @summary User Exercise Record (USER_DATA)
|
|
3633
3675
|
* @param {UserExerciseRecordRequest} requestParameters Request parameters.
|
|
3676
|
+
*
|
|
3634
3677
|
* @returns {Promise<RestApiResponse<UserExerciseRecordResponse>>}
|
|
3635
3678
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3636
3679
|
* @see {@link https://developers.binance.com/docs/derivatives/option/trade/User-Exercise-Record Binance API Documentation}
|
|
@@ -3644,6 +3687,7 @@ var RestAPI = class {
|
|
|
3644
3687
|
* Weight: 1
|
|
3645
3688
|
*
|
|
3646
3689
|
* @summary Close User Data Stream (USER_STREAM)
|
|
3690
|
+
*
|
|
3647
3691
|
* @returns {Promise<RestApiResponse<void>>}
|
|
3648
3692
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3649
3693
|
* @see {@link https://developers.binance.com/docs/derivatives/option/user-data-streams/Close-User-Data-Stream Binance API Documentation}
|
|
@@ -3657,6 +3701,7 @@ var RestAPI = class {
|
|
|
3657
3701
|
* Weight: 1
|
|
3658
3702
|
*
|
|
3659
3703
|
* @summary Keepalive User Data Stream (USER_STREAM)
|
|
3704
|
+
*
|
|
3660
3705
|
* @returns {Promise<RestApiResponse<void>>}
|
|
3661
3706
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3662
3707
|
* @see {@link https://developers.binance.com/docs/derivatives/option/user-data-streams/Keepalive-User-Data-Stream Binance API Documentation}
|
|
@@ -3670,6 +3715,7 @@ var RestAPI = class {
|
|
|
3670
3715
|
* Weight: 1
|
|
3671
3716
|
*
|
|
3672
3717
|
* @summary Start User Data Stream (USER_STREAM)
|
|
3718
|
+
*
|
|
3673
3719
|
* @returns {Promise<RestApiResponse<StartUserDataStreamResponse>>}
|
|
3674
3720
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
3675
3721
|
* @see {@link https://developers.binance.com/docs/derivatives/option/user-data-streams/Start-User-Data-Stream Binance API Documentation}
|
|
@@ -4172,6 +4218,7 @@ var WebsocketStreamsConnection = class {
|
|
|
4172
4218
|
*
|
|
4173
4219
|
* @summary Index Price Streams
|
|
4174
4220
|
* @param {IndexPriceStreamsRequest} requestParameters Request parameters.
|
|
4221
|
+
*
|
|
4175
4222
|
* @returns {WebsocketStream<IndexPriceStreamsResponse>}
|
|
4176
4223
|
* @throws {RequiredError}
|
|
4177
4224
|
* @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Index-Price-Streams Binance API Documentation}
|
|
@@ -4186,6 +4233,7 @@ var WebsocketStreamsConnection = class {
|
|
|
4186
4233
|
*
|
|
4187
4234
|
* @summary Kline/Candlestick Streams
|
|
4188
4235
|
* @param {KlineCandlestickStreamsRequest} requestParameters Request parameters.
|
|
4236
|
+
*
|
|
4189
4237
|
* @returns {WebsocketStream<KlineCandlestickStreamsResponse>}
|
|
4190
4238
|
* @throws {RequiredError}
|
|
4191
4239
|
* @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Kline-Candlestick-Streams Binance API Documentation}
|
|
@@ -4200,6 +4248,7 @@ var WebsocketStreamsConnection = class {
|
|
|
4200
4248
|
*
|
|
4201
4249
|
* @summary Mark Price
|
|
4202
4250
|
* @param {MarkPriceRequest} requestParameters Request parameters.
|
|
4251
|
+
*
|
|
4203
4252
|
* @returns {WebsocketStream<MarkPriceResponse>}
|
|
4204
4253
|
* @throws {RequiredError}
|
|
4205
4254
|
* @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Mark-Price Binance API Documentation}
|
|
@@ -4214,6 +4263,7 @@ var WebsocketStreamsConnection = class {
|
|
|
4214
4263
|
*
|
|
4215
4264
|
* @summary New Symbol Info
|
|
4216
4265
|
* @param {NewSymbolInfoRequest} requestParameters Request parameters.
|
|
4266
|
+
*
|
|
4217
4267
|
* @returns {WebsocketStream<NewSymbolInfoResponse>}
|
|
4218
4268
|
* @throws {RequiredError}
|
|
4219
4269
|
* @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/New-Symbol-Info Binance API Documentation}
|
|
@@ -4228,6 +4278,7 @@ var WebsocketStreamsConnection = class {
|
|
|
4228
4278
|
*
|
|
4229
4279
|
* @summary Open Interest
|
|
4230
4280
|
* @param {OpenInterestRequest} requestParameters Request parameters.
|
|
4281
|
+
*
|
|
4231
4282
|
* @returns {WebsocketStream<OpenInterestResponse>}
|
|
4232
4283
|
* @throws {RequiredError}
|
|
4233
4284
|
* @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Open-Interest Binance API Documentation}
|
|
@@ -4242,6 +4293,7 @@ var WebsocketStreamsConnection = class {
|
|
|
4242
4293
|
*
|
|
4243
4294
|
* @summary Partial Book Depth Streams
|
|
4244
4295
|
* @param {PartialBookDepthStreamsRequest} requestParameters Request parameters.
|
|
4296
|
+
*
|
|
4245
4297
|
* @returns {WebsocketStream<PartialBookDepthStreamsResponse>}
|
|
4246
4298
|
* @throws {RequiredError}
|
|
4247
4299
|
* @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Partial-Book-Depth-Streams Binance API Documentation}
|
|
@@ -4256,6 +4308,7 @@ var WebsocketStreamsConnection = class {
|
|
|
4256
4308
|
*
|
|
4257
4309
|
* @summary 24-hour TICKER
|
|
4258
4310
|
* @param {Ticker24HourRequest} requestParameters Request parameters.
|
|
4311
|
+
*
|
|
4259
4312
|
* @returns {WebsocketStream<Ticker24HourResponse>}
|
|
4260
4313
|
* @throws {RequiredError}
|
|
4261
4314
|
* @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/24-hour-TICKER Binance API Documentation}
|
|
@@ -4270,6 +4323,7 @@ var WebsocketStreamsConnection = class {
|
|
|
4270
4323
|
*
|
|
4271
4324
|
* @summary 24-hour TICKER by underlying asset and expiration data
|
|
4272
4325
|
* @param {Ticker24HourByUnderlyingAssetAndExpirationDataRequest} requestParameters Request parameters.
|
|
4326
|
+
*
|
|
4273
4327
|
* @returns {WebsocketStream<Ticker24HourByUnderlyingAssetAndExpirationDataResponse>}
|
|
4274
4328
|
* @throws {RequiredError}
|
|
4275
4329
|
* @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/24-hour-TICKER-by-underlying-asset-and-expiration-data Binance API Documentation}
|
|
@@ -4286,6 +4340,7 @@ var WebsocketStreamsConnection = class {
|
|
|
4286
4340
|
*
|
|
4287
4341
|
* @summary Trade Streams
|
|
4288
4342
|
* @param {TradeStreamsRequest} requestParameters Request parameters.
|
|
4343
|
+
*
|
|
4289
4344
|
* @returns {WebsocketStream<TradeStreamsResponse>}
|
|
4290
4345
|
* @throws {RequiredError}
|
|
4291
4346
|
* @see {@link https://developers.binance.com/docs/derivatives/option/websocket-market-streams/Trade-Streams Binance API Documentation}
|