For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get One Position Info

Get One Position Info

Returns position details for one symbol in the authenticated account.

Endpoint

GET /v1/position/{symbol}

Mainnet: GET https://api.orderly.org/v1/position/{symbol} Testnet: GET https://testnet-api.orderly.org/v1/position/{symbol}

Rate limit: 30 requests per 10 seconds per user.

Headers

  • orderly-timestamp (string, required): Signed request timestamp in milliseconds.

  • orderly-account-id (string, required): Authenticated account ID.

  • orderly-key (string, required): Public key used to sign the request.

  • orderly-signature (string, required): Signature of the request payload.

Path parameter

  • symbol (string, required): Trading symbol for the position.

Query parameter

  • margin_mode (enum string): CROSS or ISOLATED. Defaults to CROSS.

Response

HTTP 200 returns success, required data, and server timestamp. Position data includes numeric IMR_withdraw_orders, MMR_with_orders, average_open_price, cost_position, est_liq_price, fee_24_h, imr, last_sum_unitary_funding, mark_price, mmr, pending_long_qty, pending_short_qty, pnl_24_h, position_qty, settle_price, seq, timestamp (position entry creation time), updated_time, unsettled_pnl, margin, and accrued_funding_fee; symbol and margin_mode are strings, and leverage is an integer.

Last updated