API Documentation
POST
/api/1/portfolio-risk/stress-test/{portfolioId}Stress Test API
Applies predefined and custom stress scenarios to portfolio positions. Predefined: GFC 2008, COVID Crash, Rate Shock +200bp, Tech Selloff -30%, EM Crisis
Parameters
Required first. Documented defaults are selected — Test Request matches a bare call.
portfolioIdstringrequiredPortfolio 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
}
}
}