Skip to main content

Get open positions

GET /v1/positions

Get current open positions across all or single exchange.

Query Parameters
  • exchange_id string

    Filter the balances to the specific exchange.

Responses

Collection of positons.

Schema
  • Array [
  • exchange_id string

    Exchange identifier used to identify the routing destination.

  • data object[]
  • Array [
  • symbol_id_exchange string

    Exchange symbol.

  • symbol_id_coinapi string

    CoinAPI symbol.

  • avg_entry_price number

    Calculated average price of all fills on this position.

  • quantity number

    The current position quantity.

  • side OrdSide

    Possible values: [BUY, SELL]

    Side of order.

  • unrealized_pnl number

    Unrealised profit or loss (PNL) of this position.

  • leverage number

    Leverage for this position reported by the exchange.

  • cross_margin boolean

    Is cross margin mode enable for this position?

  • liquidation_price number

    Liquidation price. If mark price will reach this value, the position will be liquidated.

  • raw_data object
  • ]
  • ]
Loading...