Vaults

Get vault positions

Get positions opened by the given vault.

get/vaults/positions

Query parameters

addressstring required

Vault Address

strategystring

Vault Strategy Address

Response

OK

Example response

{
  "results": [
    {
      "average_entry_price": "29001.34",
      "average_entry_price_usd": "29001.34",
      "average_exit_price": "29001.34",
      "cached_funding_index": "1234.3",
      "closed_at": 1681493939981,
      "cost": "-10005.4623",
      "cost_usd": "-10005.4623",
      "created_at": 1681493939981,
      "id": "1234234",
      "last_fill_id": "1234234",
      "last_updated_at": 1681493939981,
      "market": "BTC-USD-PERP",
      "realized_positional_funding_pnl": "12.234",
      "realized_positional_pnl": "-123.23",
      "seq_no": 1681471234972000000,
      "size": "-0.345",
      "unrealized_funding_pnl": "12.234",
      "unrealized_pnl": "-123.23"
    }
  ]
}

Changes

Changed in 1 of the 50 revisions of this API.2

    • added the media type application/json for the response with the status 200

      response-media-type-added

    • added the media type application/json for the response with the status 400

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog