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[]required

    A list containing structures with information on open positions.

    The list is sorted descending by fillTime.

  • Array [
  • symbol stringrequired

    The symbol of the Futures.

    side stringrequired

    Possible values: [long, short]

    The direction of the position.

    size doublerequired

    The size of the position.

    price doublerequired

    The average price at which the position was entered into.

    fillTime stringrequired

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

    unrealizedFunding doublerequired

    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 position Greeks, if this is an option position.

    iv doublerequired

    The implied volatility.

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

    Possible values: [success]

    serverTime date-timerequired

    Server time in Coordinated Universal Time (UTC)

Loading...