Get a combined portfolio overview: balance, positions, and win rate.
cURL
curl --request GET \ --url https://api.example.com/v1/account/portfolio \ --header 'X-API-Key: <x-api-key>'
{ "balance": { "balance": "<string>", "currency": "<string>", "unrealized_pnl": "<string>", "total_value": "<string>", "starting_balance": "<string>" }, "positions": [ { "id": 123, "market_id": "<string>", "outcome": "<string>", "quantity": "<string>", "avg_entry_price": "<string>", "status": "<string>", "current_price": "<string>", "unrealized_pnl": "<string>", "market_value": "<string>", "market_question": "<string>" } ], "total_trades": 123, "win_rate": "<string>" }
Your PolySimulator API key
Successful Response
Show child attributes
Was this page helpful?