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
1. You can set currency_pair as empty string for finished orders or trades query
2. Add margin and cross margin max transferable API support
3. Add futures position closes history query with time range support
4. Add withdraw fees on multiple chains
*MarginApi* | [**get_cross_margin_currency**](docs/MarginApi.md#get_cross_margin_currency) | **GET** /margin/cross/currencies/{currency} | Retrieve detail of one single currency supported by cross margin
**amount** | **str** | Max transferable amount | [optional]
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)
Copy file name to clipboardExpand all lines: docs/FuturesApi.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1974,7 +1974,7 @@ Name | Type | Description | Notes
1974
1974
[[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)
[**update_loan_record**](MarginApi.md#update_loan_record) | **PATCH** /margin/loan_records/{loan_record_id} | Modify a loan record
24
24
[**get_auto_repay_status**](MarginApi.md#get_auto_repay_status) | **GET** /margin/auto_repay | Retrieve user auto repayment setting
25
25
[**set_auto_repay**](MarginApi.md#set_auto_repay) | **POST** /margin/auto_repay | Update user's auto repayment setting
26
+
[**get_margin_transferable**](MarginApi.md#get_margin_transferable) | **GET** /margin/transferable | Max transferable amount for specified margin currency
26
27
[**list_cross_margin_currencies**](MarginApi.md#list_cross_margin_currencies) | **GET** /margin/cross/currencies | Currencies supported by cross margin.
27
28
[**get_cross_margin_currency**](MarginApi.md#get_cross_margin_currency) | **GET** /margin/cross/currencies/{currency} | Retrieve detail of one single currency supported by cross margin
[**get_cross_margin_transferable**](MarginApi.md#get_cross_margin_transferable) | **GET** /margin/cross/transferable | Max transferable amount for specified cross margin currency
35
37
36
38
37
39
# **list_margin_currency_pairs**
@@ -1324,6 +1326,75 @@ Name | Type | Description | Notes
1324
1326
1325
1327
[[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)
[[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)
@@ -1935,3 +2006,70 @@ Name | Type | Description | Notes
1935
2006
1936
2007
[[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)
[[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)
**amount** | **str** | Max transferable amount | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**currency_pair** | **str**| Retrieve results with specified currency pair. It is required for open orders, but optional for finished ones. |
845
845
**status** | **str**| List orders based on status `open` - order is waiting to be filled `finished` - order has been filled or cancelled |
846
846
**page** | **int**| Page number | [optional][default to 1]
847
847
**limit** | **int**| Maximum number of records returned. If `status` is `open`, maximum of `limit` is 100 | [optional][default to 100]
currency_pair ='BTC_USDT'# str | Retrieve results with specified currency pair. It is required for open orders, but optional for finished ones.
1259
1259
limit =100# int | Maximum number of records returned in one list (optional) (default to 100)
1260
1260
page =1# int | Page number (optional) (default to 1)
1261
-
order_id ='12345'# str | List all trades of specified order (optional)
1261
+
order_id ='12345'# str | Filter trades with specified order ID. `currency_pair` is also required if this field is present (optional)
1262
1262
account ='cross_margin'# str | Specify operation account. Default to spot and margin account if not specified. Set to `cross_margin` to operate against margin account (optional)
**currency_pair** | **str**| Retrieve results with specified currency pair. It is required for open orders, but optional for finished ones. |
1279
1279
**limit** | **int**| Maximum number of records returned in one list | [optional][default to 100]
1280
1280
**page** | **int**| Page number | [optional][default to 1]
1281
-
**order_id** | **str**| List all trades of specified order | [optional]
1281
+
**order_id** | **str**| Filter trades with specified order ID. `currency_pair` is also required if this field is present | [optional]
1282
1282
**account** | **str**| Specify operation account. Default to spot and margin account if not specified. Set to `cross_margin` to operate against margin account | [optional]
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments