API Documentation

⌘K
Get free key
GET/api/1/market/analytics/risk/{identifier}

Risk & Return Analytics API

Returns volatility, max drawdown, Sharpe ratio, and return statistics for a stock

Defaults

range=1yriskFreeRate=4.5

Parameters

Required first. Documented defaults are selected — Test Request matches a bare call.

3
identifierstringrequired
path

Security identifier: ISIN, ticker, CUSIP, SEDOL, or WKN (e.g. US0378331005, AAPL, 037833100)

rangestringdefault 1y
query

Time range: 1m, 3m, 6m, 1y, 2y, 5y (default 1y)

One of: 1m, 3m, 6m, 1y, 2y, 5y · Default 1y

riskFreeRatenumberdefault 4.5
query

Annual risk-free rate in % (default 4.5)

Default 4.5

Responses

Was this helpful?
Request
curl -X GET \
  'https://api.eulerpool.com/api/1/market/analytics/risk/US0378331005?range=1y&riskFreeRate=4.5' \
  -H 'Accept: application/json'
200 Response
{
  "isin": "string",
  "range": "string",
  "dataPoints": 0,
  "totalReturn": 15.3,
  "annualizedReturn": 15.3,
  "dailyVolatility": 1.82,
  "annualizedVolatility": 28.9,
  "sharpeRatio": 0.85,
  "sortinoRatio": 1.12,
  "maxDrawdown": -18.4,
  "maxDrawdownStart": 0,
  "maxDrawdownEnd": 0,
  "variance": 0,
  "skewness": 0,
  "kurtosis": 0,
  "bestDay": 5.2,
  "worstDay": -4.8
}