Documentation Index
Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt
Use this file to discover all available pages before exploring further.
Get Current Position (KEYED)
Applicable for checking the position details a specified contract
Request URL
GET https://cloud-api.wooxpro.com/contract/private/position
Request Limit
See Detailed Rate LimitRequest Parameter
Request
| Field | Type | Required? | Description |
|---|---|---|---|
| symbol | String | No | Symbol of the contract(like BTCUSDT) |
| account | String | No | Trading account - futures- copy_trading |
Response Data
Response
| Field | Type | Description |
|---|---|---|
| leverage | String | Leverage multiplier |
| symbol | String | Symbol of the contract |
| current_fee | String | Current position fees |
| open_timestamp | Long | Opening timestamp |
| current_value | String | Position value based on last price |
| mark_value | String | Position value based on mark price |
| mark_price | String | mark price |
| position_value | String | Position value based on entry price |
| open_avg_price | String | Open average price |
| close_avg_price | String | Close average price |
| entry_price | String | Average entry price of the position |
| close_vol | String | Close volume |
| position_cross | String | Margin calls to positions |
| maintenance_margin | String | Maintenance Margin |
| margin_type | String | Margin type of the position - Cross- Isolated |
| position_mode | String | Position mode - hedge_mode- one_way_mode |
| current_amount | String | Current position amount |
| unrealized_value | String | Unrealized PnL |
| realized_value | String | Realized PnL |
| position_type | Int | position type - 1=long- 2=short |
| account | String | Trading account - futures- copy_trading |
| timestamp | Long | Current timestamp(ms) |