You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*MarginApi* | [**repay_loan**](docs/MarginApi.md#repay_loan) | **POST** /margin/loans/{loan_id}/repayment | Repay a loan
137
137
*MarginApi* | [**update_loan**](docs/MarginApi.md#update_loan) | **PATCH** /margin/loans/{loan_id} | Modify a loan
138
138
*MarginApi* | [**update_loan_record**](docs/MarginApi.md#update_loan_record) | **PATCH** /margin/loan_records/{loan_record_id} | Modify a loan record
139
+
*SpotApi* | [**cancel_batch_orders**](docs/SpotApi.md#cancel_batch_orders) | **POST** /spot/cancel_batch_orders | Cancel a batch of orders with an ID list
139
140
*SpotApi* | [**cancel_order**](docs/SpotApi.md#cancel_order) | **DELETE** /spot/orders/{order_id} | Cancel a single order
140
141
*SpotApi* | [**cancel_orders**](docs/SpotApi.md#cancel_orders) | **DELETE** /spot/orders | Cancel all `open` orders in specified currency pair
141
142
*SpotApi* | [**create_batch_orders**](docs/SpotApi.md#create_batch_orders) | **POST** /spot/batch_orders | Create a batch of orders
Copy file name to clipboardExpand all lines: docs/BatchOrder.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
18
18
**amount** | **str** | Trade amount | [optional]
19
19
**price** | **str** | Order price | [optional]
20
20
**time_in_force** | **str** | Time in force | [optional][default to 'gtc']
21
+
**auto_borrow** | **bool** | Used in margin trading(e.g. `account` is `margin`) to allow automatic loan of lacked part if balance is not enough. | [optional]
21
22
**left** | **str** | Amount left to fill | [optional]
22
23
**fill_price** | **str** | Fill price of the order | [optional]
**currency_pair** | **str** | Order currency pair |
7
+
**id** | **str** | Order ID |
8
+
9
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**label** | **str** | Error label when failed to cancel the order; emtpy if succeeded | [optional]
10
+
**message** | **str** | Error message when failed to cancel the order; empty if succeeded | [optional]
11
+
12
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/Order.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
**amount** | **str** | Trade amount |
16
16
**price** | **str** | Order price |
17
17
**time_in_force** | **str** | Time in force | [optional][default to 'gtc']
18
+
**auto_borrow** | **bool** | Used in margin trading(e.g. `account` is `margin`) to allow automatic loan of lacked part if balance is not enough. | [optional]
18
19
**left** | **str** | Amount left to fill | [optional]
19
20
**fill_price** | **str** | Total filled in quote currency | [optional]
Authentication with API key and secret is required
67
+
68
+
### HTTP request headers
69
+
70
+
-**Content-Type**: application/json
71
+
-**Accept**: application/json
72
+
73
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
0 commit comments