Positions and risk

REST

https://api.sandbox.x.architect.co

Get Risk Snapshot

get
Query parameters
usernamestringRequired
Responses
200

Successful Response

application/json
Responseany of
or
nullOptional
get
GET /risk_manager/risk_snapshot?username=text HTTP/1.1
Host: 
Accept: */*
{
  "timestamp": "2025-09-27T21:22:45.202Z",
  "username": "text",
  "positions": [
    {
      "symbol": "text",
      "net_quantity": "text",
      "buy_quantity": "text",
      "buy_notional": "text",
      "realized_pnl": "text",
      "sell_quantity": "text",
      "sell_notional": "text",
      "buy_vwap": "text",
      "sell_vwap": "text",
      "unrealized_pnl": "text",
      "initial_margin": "text",
      "maintenance_margin": "text",
      "mark_price": "text"
    }
  ],
  "cash_balance": "text",
  "total_realized_pnl": "text",
  "total_unrealized_pnl": "text",
  "total_initial_margin": "text",
  "total_maintenance_margin": "text",
  "total_equity": "text",
  "available_initial_margin": "text",
  "available_maintenance_margin": "text"
}

Last updated