legacy_equity_security
Returns stats associated with a specific MerQube security
Returns stats associated with a specific MerQube security
get/security/equity_legacy/{secname}/stats
Request
- Base URLhttps://api.merqube.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
secnamestring required
name of the security for which the data is requested
Query parameters
Start date for the results/computation
End date for the results/computation
metricstring
Metric to compute stats on (default: total_return)
format'csv'
choose csv (Default json)
Response
200 response
Example response
{
"annual_volatility": 3.717606464173326,
"annualized_return": 6.665050717276233,
"cumulative_return": 2.7597506251556547,
"id": "YTD",
"max_drawdown": -1.3877029296510448,
"sharpe_ratio": 1.759543308780235
}Changes
No recorded changes to this operation across all 1 revision of this API.