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
Copy file name to clipboardExpand all lines: docs/AccountApi.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -354,7 +354,7 @@ Name | Type | Description | Notes
354
354
[[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** | Account total balance amount | [optional]
8
8
**currency** | **str** | Currency | [optional]
9
+
**unrealised_pnl** | **str** | Unrealised_pnl, this field will only appear in futures, options, delivery, and total accounts | [optional]
10
+
**borrowed** | **str** | Borrowed,this field will only appear in margin and cross_margin accounts | [optional]
9
11
10
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)
**amend_text** | **str** | The custom data that the user remarked when amending the order | [optional]
7
9
**text** | **str** | User defined information. If not empty, must follow the rules below: 1. prefixed with `t-` 2. no longer than 28 bytes without `t-` prefix 3. can only include 0-9, A-Z, a-z, underscore(_), hyphen(-) or dot(.) | [optional]
8
10
**succeeded** | **bool** | Whether the batch of orders succeeded | [optional]
9
11
**label** | **str** | Error label, if any, otherwise an empty string | [optional]
@@ -23,10 +25,12 @@ Name | Type | Description | Notes
23
25
**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 - fok: FillOrKill, fill either completely or none | [optional][default to 'gtc']
24
26
**iceberg** | **str** | Amount to display for the iceberg order. Null or 0 for normal orders. Hiding all amount is not supported. | [optional]
25
27
**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]
28
+
**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`can be both set to true in one order. | [optional]
27
29
**left** | **str** | Amount left to fill | [optional][readonly]
30
+
**filled_amount** | **str** | Amount traded to fill | [optional][readonly]
28
31
**fill_price** | **str** | Total filled in quote currency. Deprecated in favor of `filled_total` | [optional][readonly]
29
32
**filled_total** | **str** | Total filled in quote currency | [optional][readonly]
33
+
**avg_deal_price** | **str** | Average fill price | [optional][readonly]
**left_repay_usdt** | **str** | Value of left total repayments amount in USDT | [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)
**list** | [**list[BrokerCommission1]**](BrokerCommission1.md) | List of comission history | [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)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**list** | [**list[BrokerTransaction1]**](BrokerTransaction1.md) | List of transaction history | [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)
[[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/CancelBatchOrder.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
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
**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
9
**account** | **str** | If cancelled order is cross margin order or is portfolio margin account's API key, this field must be set and can only be `cross_margin`If cancelled order is cross margin order, this field must be set and can only be `cross_margin` | [optional]
10
+
**action_mode** | **str** | Processing Mode: When placing an order, different fields are returned based on action_mode. This field is only valid during the request and is not included in the response result ACK: Asynchronous mode, only returns key order fields RESULT: No clearing information FULL: Full mode (default) | [optional]
10
11
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)
0 commit comments