cURL
curl --request GET \ --url https://carboncopy.inc/api/v1/portfolio/pnl-by-market \ --header 'Authorization: Bearer <token>'
{ "breakdown": [ { "marketId": "will-trump-win-2024", "title": "Will Trump win the 2024 election?", "realizedPnl": -5.2, "totalVolume": 150, "tradeCount": 4 } ] }
Returns realised P&L and volume grouped by each market you have traded.
API key in the format cc_<64 hex characters>. Obtain from the Dashboard under Settings → API Keys.
cc_<64 hex characters>
P&L breakdown by market.
Show child attributes
Was this page helpful?