@@ -9,7 +9,7 @@ def change_position_mode(self, dualSidePosition: str, **kwargs):
9
9
| *Change user's position mode (Hedge Mode or One-way Mode) on EVERY symbol*
10
10
11
11
:API endpoint: ``POST /dapi/v1/positionSide/dual``
12
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#change-position-mode- trade
12
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ trade/Change-Position-Mode
13
13
14
14
:parameter dualSidePosition: string
15
15
:parameter recvWindow: optional int
@@ -29,7 +29,7 @@ def get_position_mode(self, **kwargs):
29
29
| *Get user's position mode (Hedge Mode or One-way Mode) on EVERY symbol*
30
30
31
31
:API endpoint: ``GET /dapi/v1/positionSide/dual``
32
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#get-current-position-mode-user_data
32
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/account/Get-Current-Position-Mode
33
33
34
34
:parameter recvWindow: optional int
35
35
|
@@ -47,7 +47,7 @@ def new_order(self, symbol: str, side: str, type: str, **kwargs):
47
47
| *Send a new order*
48
48
49
49
:API endpoint: ``POST /dapi/v1/order``
50
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#new-order- trade
50
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ trade/New-Order
51
51
52
52
:parameter symbol: string
53
53
:parameter side: string
@@ -89,7 +89,7 @@ def modify_order(
89
89
| *Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue.*
90
90
91
91
:API endpoint: ``POST /dapi/v1/order``
92
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#modify-order- trade
92
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ trade/Modify-Order
93
93
94
94
:parameter symbol: string
95
95
:parameter side: string
@@ -135,7 +135,7 @@ def new_batch_order(self, batchOrders: list):
135
135
| *Post a new batch order*
136
136
137
137
:API endpoint: ``POST /dapi/v1/batchOrders``
138
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#place-multiple-orders- trade
138
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ trade/Place-Multiple-Orders
139
139
140
140
:parameter batchOrders: list
141
141
:parameter recvWindow: optional int
@@ -162,7 +162,7 @@ def modify_batch_order(self, batchOrders: list):
162
162
| *Post a new batch order*
163
163
164
164
:API endpoint: ``PUT /dapi/v1/batchOrders``
165
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#modify-multiple-orders- trade
165
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ trade/Modify-Multiple-Orders
166
166
167
167
:parameter batchOrders: list
168
168
:parameter recvWindow: optional int
@@ -191,7 +191,7 @@ def order_modify_history(
191
191
| *Get order modification history*
192
192
193
193
:API endpoint: ``GET /dapi/v1/orderAmendment``
194
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#get-order-modify-history-user_data
194
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Get-Order-Modify-History
195
195
196
196
:parameter symbol: string
197
197
:parameter orderId: optional int
@@ -231,7 +231,7 @@ def query_order(
231
231
| *Query a order*
232
232
233
233
:API endpoint: ``GET /dapi/v1/order``
234
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#query-order-user_data
234
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Query-Order
235
235
236
236
:parameter symbol: string
237
237
:parameter orderId: optional string
@@ -268,7 +268,7 @@ def cancel_order(
268
268
| *Cancel an active order.*
269
269
270
270
:API endpoint: ``DELETE /dapi/v1/order``
271
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#cancel-order- trade
271
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ trade/Cancel-Order
272
272
273
273
:parameter symbol: string
274
274
:parameter orderId: optional string
@@ -303,7 +303,7 @@ def cancel_open_orders(self, symbol: str, **kwargs):
303
303
| **Cancel All Open Orders (TRADE)**
304
304
305
305
:API endpoint: ``DELETE /dapi/v1/allOpenOrders``
306
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#cancel-all-open-orders-trade
306
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Cancel-All-Open-Orders
307
307
308
308
:parameter symbol: string
309
309
:parameter recvWindow: optional int, the value cannot be greater than 60000
@@ -325,7 +325,7 @@ def cancel_batch_order(
325
325
| *Cancel a new batch order*
326
326
327
327
:API endpoint: ``DELETE /dapi/v1/batchOrders``
328
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#cancel-multiple-orders- trade
328
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ trade/Cancel-Multiple-Orders
329
329
330
330
:parameter symbol: string
331
331
:parameter orderIdList: int list, max length 10 e.g. [1234567,2345678]
@@ -367,7 +367,7 @@ def countdown_cancel_order(self, symbol: str, countdownTime: int, **kwargs):
367
367
| *Cancel all open orders of the specified symbol at the end of the specified countdown.*
368
368
369
369
:API endpoint: ``POST /dapi/v1/countdownCancelAll``
370
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#auto-cancel-all-open-orders-trade
370
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Auto-Cancel-All-Open-Orders
371
371
372
372
:parameter symbol: string
373
373
:parameter countdownTime: int list, countdown time, 1000 for 1 second. 0 to cancel the timer
@@ -400,7 +400,7 @@ def get_open_orders(
400
400
| *Get all open orders on a symbol.*
401
401
402
402
:API endpoint: ``GET /dapi/v1/openOrder``
403
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#query-current-open-order-user_data
403
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Query-Current-Open-Order
404
404
405
405
:parameter symbol: string
406
406
:parameter orderId: optional string
@@ -440,7 +440,7 @@ def get_orders(self, **kwargs):
440
440
| *If the symbol is not sent, orders for all symbols will be returned in an array.*
441
441
442
442
:API endpoint: ``GET /dapi/v1/openOrders``
443
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#current-all-open-orders-user_data
443
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Current-All-Open-Orders
444
444
445
445
:parameter symbol: string
446
446
:parameter recvWindow: optional int, the value cannot be greater than 60000
@@ -460,7 +460,7 @@ def get_all_orders(self, **kwargs):
460
460
| *Get all account orders; active, canceled, or filled.*
461
461
462
462
:API endpoint: ``GET /dapi/v1/allOrders``
463
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#all-orders-user_data
463
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/All-Orders
464
464
465
465
:parameter symbol: string
466
466
:parameter orderId: optional int
@@ -484,7 +484,7 @@ def balance(self, **kwargs):
484
484
| *Get current account balance*
485
485
486
486
:API endpoint: ``GET /dapi/v1/balance``
487
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#futures- account-balance-user_data
487
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ account/Futures-Account-Balance
488
488
489
489
:parameter recvWindow: optional int
490
490
|
@@ -501,7 +501,7 @@ def account(self, **kwargs):
501
501
| *Get current account information*
502
502
503
503
:API endpoint: ``GET /dapi/v1/account``
504
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/# account-information-user_data
504
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ account/Account-Information
505
505
506
506
:parameter recvWindow: optional int
507
507
@@ -523,7 +523,7 @@ def change_leverage(self, symbol: str, leverage: int, **kwargs):
523
523
| *For Hedge Mode, LONG and SHORT positions of one symbol use the same initial leverage and share a total notional value.*
524
524
525
525
:API endpoint: ``POST /dapi/v1/leverage``
526
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#change-initial-leverage- trade
526
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ trade/Change-Initial-Leverage
527
527
528
528
:parameter symbol: string
529
529
:parameter leverage: int; target initial leverage: int from 1 to 125
@@ -545,7 +545,7 @@ def change_margin_type(self, symbol: str, marginType: str, **kwargs):
545
545
| *With ISOLATED margin type, margins of the LONG and SHORT positions are isolated from each other.*
546
546
547
547
:API endpoint: ``POST /dapi/v1/marginType``
548
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#change-margin-type- trade
548
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ trade/Change-Margin-Type
549
549
550
550
:parameter symbol: string
551
551
:parameter leverage: string; ISOLATED, CROSSED
@@ -567,7 +567,7 @@ def modify_isolated_position_margin(
567
567
| **Modify Isolated Position Margin (TRADE)**
568
568
569
569
:API endpoint: ``POST /dapi/v1/positionMargin``
570
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#modify-isolated-position-margin-trade
570
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Modify-Isolated-Position-Margin
571
571
572
572
:parameter symbol: string
573
573
:parameter amount: float
@@ -590,7 +590,7 @@ def get_position_margin_history(self, symbol: str, **kwargs):
590
590
| *Get position margin history on a symbol.*
591
591
592
592
:API endpoint: ``GET /dapi/v1/positionMargin/history``
593
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#get-position-margin-change-history-trade
593
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Get-Position-Margin-Change-History
594
594
595
595
:parameter symbol: string
596
596
:parameter type: optional int; 1: Add position margin,2: Reduce position margin
@@ -615,7 +615,7 @@ def get_position_risk(self, **kwargs):
615
615
| *Get current position information.*
616
616
617
617
:API endpoint: ``GET /dapi/v1/positionRisk``
618
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#position-information-user_data
618
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Position-Information
619
619
620
620
:parameter symbol: string
621
621
:parameter recvWindow: optional int
@@ -635,7 +635,7 @@ def get_account_trades(self, **kwargs):
635
635
| *Get trades for a specific account and symbol.*
636
636
637
637
:API endpoint: ``GET /dapi/v1/userTrades``
638
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#account- trade-list-user_data
638
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/ trade/Account-Trade-List
639
639
640
640
:parameter symbol: optional string
641
641
:parameter pair: optional string
@@ -667,7 +667,7 @@ def get_income_history(self, **kwargs):
667
667
| *Get trades for a specific account and symbol.*
668
668
669
669
:API endpoint: ``GET /dapi/v1/income``
670
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#get-income-history-user_data
670
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/account/Get-Income-History
671
671
672
672
:parameter symbol: optional string
673
673
:parameter incomeType: optional string; "TRANSFER", "WELCOME_BONUS", "REALIZED_PNL", "FUNDING_FEE", "COMMISSION" and "INSURANCE_CLEAR"
@@ -695,10 +695,10 @@ def leverage_brackets(self, symbol: str = None, pair: str = None, **kwargs):
695
695
| *Get notional and leverage bracket.*
696
696
697
697
:API endpoint: ``GET /dapi/v1/leverageBracket``
698
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#notional-bracket -for-pair-user_data
698
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/account/Notional-Bracket -for-Pair
699
699
700
700
:API endpoint: ``GET /dapi/v2/leverageBracket``
701
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#notional-bracket -for-pair-user_data-2
701
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/account/Notional-Bracket -for-Symbol
702
702
703
703
:parameter symbol: optional string
704
704
:parameter pair: optional string
@@ -729,7 +729,7 @@ def adl_quantile(self, **kwargs):
729
729
| *Get Position ADL Quantile Estimation*
730
730
731
731
:API endpoint: ``GET /dapi/v1/adlQuantile``
732
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#position-adl-quantile-estimation-user_data
732
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Position-ADL-Quantile-Estimation
733
733
734
734
:parameter symbol: optional string
735
735
:parameter recvWindow: optional int
@@ -757,7 +757,7 @@ def force_orders(self, **kwargs):
757
757
| *Get User's Force Orders*
758
758
759
759
:API endpoint: ``GET /dapi/v1/forceOrders``
760
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#user-39-s-force-orders-user_data
760
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/trade/Users-Force-Orders
761
761
762
762
:parameter symbol: optional string
763
763
:parameter autoCloseType: optional string; "LIQUIDATION" for liquidation orders, "ADL" for ADL orders.
@@ -785,7 +785,7 @@ def commission_rate(self, symbol: str, **kwargs):
785
785
| *Get commission rate of symbol*
786
786
787
787
:API endpoint: ``GET /dapi/v1/commissionRate``
788
- :API doc: https://binance-docs.github.io/apidocs/delivery/en/#user-commission-rate-user_data
788
+ :API doc: https://developers. binance.com/docs/derivatives/coin-margined-futures/account/User-Commission-Rate
789
789
790
790
:parameter symbol: optional string
791
791
:parameter recvWindow: optional int
0 commit comments