getPositionInfo
Retrieve real-time position data, including position size and cumulative realized PNL, for linear, inverse, and option contracts. Filter by symbol, base coin, or settle coin to view current holdings.
Instructions
Query real-time position data, such as position size, cumulative realizedPNL.
Unified account covers: USDT perpetual / USDC contract / Inverse contract / Options
Classic account covers: USDT perpetual / Inverse contract
Unified account:
For
linear, eithersymbolorsettleCoinis requiredFor
inverse, eithersymbolorsettleCoinis requiredFor
option,baseCoinis optional; if not passed, returns all option positions
Info:
If the position is in one-way mode and the position side is empty, it means no position is held in this symbol
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| symbol | No | ||
| baseCoin | No | ||
| category | Yes | ||
| settleCoin | No |