API Documentation

⌘K
POST/api/1/portfolio-risk/stress-test/{portfolioId}

Stress Test

Applies predefined and custom stress scenarios to portfolio positions. Predefined: GFC 2008, COVID Crash, Rate Shock +200bp, Tech Selloff -30%, EM Crisis

Parameters

1
portfolioIdstringrequired
path

Portfolio UUID

Responses

Was this helpful?
Request
curl -X POST \
  'https://api.eulerpool.com/api/1/portfolio-risk/stress-test/{portfolioId}' \
  -H 'Accept: application/json'
200 Response
{
  "scenarios": {
    "name": "string",
    "portfolioImpact": 0,
    "positionImpacts": {
      "ticker": "string",
      "impact": 0
    }
  }
}