Inspect realized position returns
Inspect a closed position whose 20 USDT closing profit is reduced by 1.25 USDT in trading fees.
Endpoint & access
GET
/api/v1/usdt/position_pnl_detailWhitelist Required
Request whitelist approval for your API key. This endpoint is available only after approval.
Query parameters
| Field | Data type | Required | Meaning |
|---|---|---|---|
| position_id | long | NO | Position ID. |
This endpoint requires a signed request.
Returned fields
| Field | Data type | Meaning |
|---|---|---|
| position_id | integer | Position ID. |
| realised_pnl | string | Realized profit or loss. |
| closed_pnl | string | Profit or loss from closing trades. |
| funding_fee | string | Funding fee. |
| trading_fee | string | Trading fee. |