Skip to Content
Futures

Get Futures Open Positions

GET
/v1/account/futures/positions

Provides all open futures positions for the authenticated user. It provides detailed information about each position, including size, direction, notional value, realised PnL, and the most recent settlement (profit or loss, mark price and timestamp). Designed for users who want a consolidated view of their active positions, this endpoint ensures that real-time data is available, reflecting the platform’s minute-level settlements.

The settlement fields (last_settlement, last_settlement_timestamp, mark_price) are null when the position has not been settled in the last 2 minutes, e.g. for a newly opened position.

Authentication: Bearer token; any valid API key (no specific scope required). This endpoint is rate-limited.

Unknown query parameters are rejected with 400 UNEXPECTED_PARAMETERS.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key created in the One Trading UI, sent as Authorization: Bearer <token>. Each endpoint lists the key permission it needs.

Query Parameters

instrument_code?string

Optional single instrument code to get open futures positions for (case-sensitive). Must be an existing instrument code.

Response Body

OK

application/json
  1. response
positions*array<>
Example Request
curl -X GET 'https://api.onetrading.com/fast/v1/account/futures/positions?instrument_code=BTC_USD_P'
Example Response
{  "positions": [    {      "instrument_code": "BTC_USD_P",      "direction": "LONG",      "open_volume": "0.00186",      "open_position": "149.2689804",      "last_settlement": "0.0461466",      "mark_price": "80252.14",      "realised_pnl": "-0.496713",      "settlement_currency": "USD",      "last_settlement_timestamp": "2026-01-27T15:50:00.000Z",      "type": "DATED_FUTURE",      "contract_expiry_date": "2031-04-20",      "contract_duration": "5Y"    }  ]}