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* | [**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
Copy file name to clipboardExpand all lines: docs/BatchOrder.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,16 +11,19 @@ Name | Type | Description | Notes
11
11
**id** | **str** | Order ID | [optional][readonly]
12
12
**create_time** | **str** | Order creation time | [optional][readonly]
13
13
**update_time** | **str** | Order last modification time | [optional][readonly]
14
+
**create_time_ms** | **int** | Order creation time in milliseconds | [optional][readonly]
15
+
**update_time_ms** | **int** | Order last modification time in milliseconds | [optional][readonly]
14
16
**status** | **str** | Order status - `open`: to be filled - `closed`: filled - `cancelled`: cancelled | [optional][readonly]
**type** | **str** | Order type. limit - limit order | [optional][default to 'limit']
17
-
**account** | **str** | Account type. spot - use spot account; margin - use margin account | [optional][default to 'spot']
19
+
**account** | **str** | Account type. spot - use spot account; margin - use margin account; cross_margin - use cross margin account | [optional][default to 'spot']
18
20
**side** | **str** | Order side | [optional]
19
21
**amount** | **str** | Trade amount | [optional]
20
22
**price** | **str** | Order price | [optional]
21
23
**time_in_force** | **str** | Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, makes a post-only order that always enjoys a maker fee | [optional][default to 'gtc']
22
24
**iceberg** | **str** | Amount to display for the iceberg order. Null or 0 for normal orders. Set to -1 to hide the amount totally | [optional]
23
-
**auto_borrow** | **bool** | Used in margin trading(i.e. `account` is `margin`) to allow automatic loan of insufficient part if balance is not enough. | [optional]
25
+
**auto_borrow** | **bool** | Used in margin or cross margin trading to allow automatic loan of insufficient amount if balance is not enough. | [optional]
26
+
**auto_repay** | **bool** | Enable or disable automatic repayment for automatic borrow loan generated by cross margin order. Default is disabled. Note that: 1. This field is only effective for cross margin orders. Margin account does not support setting auto repayment for orders. 2. `auto_borrow` and `auto_repay` cannot be both set to true in one order. | [optional]
24
27
**left** | **str** | Amount left to fill | [optional][readonly]
25
28
**fill_price** | **str** | Total filled in quote currency. Deprecated in favor of `filled_total` | [optional][readonly]
26
29
**filled_total** | **str** | Total filled in quote currency | [optional][readonly]
**currency_pair** | **str** | Order currency pair |
8
8
**id** | **str** | Order ID or user custom ID. Custom ID are accepted only within 30 minutes after order creation |
9
+
**account** | **str** | If cancelled order is cross margin order, this field must be set and can only be `cross_margin` | [optional]
9
10
10
11
[[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]
11
11
**message** | **str** | Error message when failed to cancel the order; empty if succeeded | [optional]
12
+
**account** | **str** | Empty by default. If cancelled order is cross margin order, this field is set to `cross_margin` | [optional]
12
13
13
14
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**total** | **str** | Total account value in USDT, i.e., the sum of all currencies'`(available+freeze)*price*discount` | [optional]
10
+
**borrowed** | **str** | Total borrowed value in USDT, i.e., the sum of all currencies'`borrowed*price*discount` | [optional]
11
+
**interest** | **str** | Total unpaid interests in USDT, i.e., the sum of all currencies'`interest*price*discount` | [optional]
12
+
**risk** | **str** | Risk rate. When it belows 110%, liquidation will be triggered. Calculation formula: `total / (borrowed+interest)` | [optional]
13
+
14
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**discount** | **str** | Currency value discount, which is used in total value calculation | [optional]
10
+
**min_borrow_amount** | **str** | Minimum currency borrow amount. Unit is currency itself | [optional]
11
+
**user_max_borrow_amount** | **str** | Maximum borrow value allowed per user, in USDT | [optional]
12
+
**total_max_borrow_amount** | **str** | Maximum borrow value allowed for this currency, in USDT | [optional]
13
+
**price** | **str** | Price change between this currency and USDT | [optional]
14
+
15
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**unpaid_interest** | **str** | Interest not repaid | [optional][readonly]
16
+
17
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[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