Get current trading account with equity and P&L
Returns the primary trading account for the authenticated user.
Includes real-time equity calculated from current_balance + unrealized P&L across all open positions. Also returns the linked trading rule (profit target, loss limits, max contracts), daily P&L, drawdown from high-water mark, and current lockout status if any.
Use this to display account overview, equity curve, and rule progress in your UI.
Response
Account details with real-time equity
Trading account summary with real-time equity
Example Response
Human-readable account number (e.g., "HP-12345")
"HP-12345"
Current realized balance (not including open positions)
50250
Current drawdown amount from high water mark
125
Today's realized P&L (current_balance - daily_starting_balance)
375
Balance at start of current trading day
50000
Drawdown from high water mark (equity - HWM, always >= 0)
125
Current equity = current_balance + unrealized_pnl
50375
Highest equity reached (for drawdown calculation)
50500
Unique account identifier
"550e8400-e29b-41d4-a716-446655440000"
Starting balance when evaluation began
50000
Account status: "Active", "InProgress", "Completed", "Violated"
"Active"
Total realized P&L from closed trades
250
Unrealized P&L from open positions (real-time)
125
Trading rules and limits for an evaluation account
Defines the profit targets, loss limits, and position constraints. All monetary values are in dollars, percentages are whole numbers (e.g., 5 = 5%).
Example
ISO 8601 timestamp when evaluation started
"2024-01-15T10:00:00Z"
Reason for violation (if status is "Violated")
null
Related topics
Real-time WebSocket for trading eventsGet open positions with real-time P&LReconcile a trading day in one callGet end-of-day account snapshotsGet a specific trading account