Skip to main content
GET
/
trading
/
positions
List outstanding trading positions
curl --request GET \
  --url https://api.anchorage-staging.com/v2/trading/positions \
  --header 'Api-Access-Key: <api-key>'
{
  "data": [
    {
      "positionAmount": {
        "assetType": "BTC",
        "quantity": "30.54447726"
      }
    },
    {
      "positionAmount": {
        "assetType": "ETH",
        "quantity": "8391"
      }
    },
    {
      "positionAmount": {
        "assetType": "USD",
        "quantity": "-100276.38"
      }
    }
  ]
}

Authorizations

Api-Access-Key
string
header
required

An API key associated with a security role

Response

Successfully returned the list of outstanding trading positions

data
TradingPosition · object[]
required