Get the equity curve from hourly portfolio snapshots.
cURL
curl --request GET \ --url https://api.example.com/v1/account/equity \ --header 'X-API-Key: <x-api-key>'
[ { "timestamp": "<string>", "cash_balance": "<string>", "position_value": "<string>", "total_value": "<string>", "pnl": "<string>" } ]
Your PolySimulator API key
Number of days of history
1 <= x <= 90
Successful Response
Was this page helpful?