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.
【Private】Position Channel
Get Position DataPushing Rules
- User login required
- After subscribing, then the changes will be pushed
- 10 seconds timed push
Request
Request
{"action":"subscribe","args":["<channel>"]}
- actions:
subscribe - channel: Channel name
futures/position, fixed value
Response
Response
| Field | Type | Description |
|---|---|---|
| symbol | String | Contract pair (e.g. BTCUSDT) |
| hold_volume | String | Number of positions |
| position_type | Int | Position type - 1=long- 2=short |
| open_type | Int | Open position type - 1=isolated- 2=cross |
| frozen_volume | String | Frozen volume |
| close_volume | String | Close volume |
| hold_avg_price | String | Average price of a position |
| close_avg_price | String | Average close price |
| open_avg_price | String | Average opening price |
| liquidate_price | String | Liquidation price |
| create_time | Long | Position created timestamp (ms) |
| update_time | Long | Position updated timestamp (ms) |
| position_mode | String | Position mode - hedge_mode- one_way_mode |