Risk

Simulate a hypothetical portfolio.

post/risk/simulate/portfolio

Request

  • Base URL: https://testnet-api.hypercall.xyz
  • URL: https://testnet-api.hypercall.xyz/risk/simulate/portfolio
  • Auth: none declared

Request body

add_positionsboolean

Add quantities to current positions when true, otherwise replace them.

walletstring required

Account whose authoritative engine portfolio is simulated.

Example request

{
  "positions": [
    {
      "quantity": "1.25",
      "symbol": "BTC-20261231-100000-C"
    }
  ]
}

Response

Current and hypothetical risk

errorstring nullable
successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.