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 V2 (KEYED)
Applicable for checking the position details a specified contract
Request URL
GET https://cloud-api.wooxpro.com/contract/private/position-v2
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(default)- copy_trading |
Note
- If
symbolis not provided, data will only be returned for trading pairs with existing positions; trading pairs without positions will not return any data. - If
symbolis provided, data will be returned regardless of whether there is a position. If the user has no position, the position-related fields will be displayed as zero.
Response Data
For One-way position mode:
For Hedge position mode:
| 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_price | String | Mark price |
| mark_value | String | Position value based on 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 |
| open_type | String | Position margin type - cross- isolated |
| position_side | String | Position side - long- short- both |
| liquidation_price | String | Liquidation price |
| max_notional_value | String | Maximum notional value currently allowed |
| current_amount | String | Current position amount |
| position_amount | String | Current position direction amount - Hedge mode=always positive- One-way mode=positive represent long, negative represent short |
| unrealized_pnl | String | Unrealized PnL |
| realized_value | String | Realized PnL |
| initial_margin | String | Position margin |
| account | String | Trading account - futures- copy_trading |
| timestamp | Long | Current timestamp(ms) |