get_pnl
Get account P&L including unrealized P&L per position, account-level unrealized P&L, bonus credit, and net profit from closed positions.
Instructions
Account P&L: portfolio snapshot with unrealized P&L per position.
Returns credit (available trading balance, USD), bonusCredit, the account-level unrealizedPnl (sum across open positions, account currency), and open positions each carrying an unrealizedPnl figure in the account currency, plus mirror summaries with closedPositionsNetProfit. Total P&L = sum of position unrealizedPnl (own and mirror positions) + sum of mirror closedPositionsNetProfit. Rate limit: shares a 60 requests/60s pool with get_portfolio and get_portfolio_breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum positions returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||