Skip to main content

Get open positions

GET 

/openpositions

This endpoint returns the size and average entry price of all open positions in Futures contracts. This includes Futures contracts that have matured but have not yet been settled.

Responses

Schema
    oneOf
    openPositions object[]

    A list containing structures with information on open positions.

    The list is sorted descending by fillTime.

  • Array [
  • symbol string

    The symbol of the Futures.

    side string

    Possible values: [long, short]

    The direction of the position.

    size double

    The size of the position.

    price double

    The average price at which the position was entered into.

    fillTime string

    The date and time the position was entered into (Deprecated field, fills endpoint for fill time is recommended).

    unrealizedFunding double

    Unrealised funding on the position.

    pnlCurrency stringnull

    Possible values: [USD, EUR, GBP, USDC, USDT, BTC, ETH]

    Selected pnl currency for the position (default: USD)

    maxFixedLeverage double

    Max leverage selected for isolated position.

    greeks object

    The current Greeks, if this is an option position

    iv doublerequired
    delta doublerequired
    gamma doublerequired
    vega doublerequired
    theta doublerequired
    rho doublerequired
  • ]
  • result stringrequired

    Possible values: [success]

    serverTime date-timerequired

    Server time in Coordinated Universal Time (UTC)

Loading...