Skip to main content
Your positions, orders, and account state are available both live over the WebSocket and on demand via REST.

Positions

Each open position reports its size, cost basis, live valuation, margin, and PnL:
FieldDescription
marketContract name
sidelong or short
optionTypecall or put
qtyPosition quantity
valuePosition value
entryPriceAverage entry price
markPrice / markIVCurrent mark price and implied volatility
underlyingPriceUnderlying index price
breakEvenPriceBreak-even price
initialMarginInitial margin held for short positions (0 for long)
realizedPnl / unrealizedPnlRealized and unrealized PnL
Stream them on the Positions Stream or fetch them via Get Positions. See Margin & Liquidation for how margin is sized.

Account Summary

Your account-wide balances, margin usage, and PnL are available on the Account Summary Stream and via Get Account Summary:
FieldDescription
accountBalanceTotal account balance
availableBalanceBalance available for new orders
withdrawableBalanceBalance available to withdraw
totalEquityAccount balance plus unrealized PnL
marginUsedMargin currently in use
initialMargin / initialMarginRatioInitial margin requirement and its ratio to total equity
maintenanceMargin / maintenanceMarginRatioMaintenance margin requirement and its ratio to total equity
unrealizedPnl / pnlUnrealized PnL and cumulative realized PnL
fees / volumeCumulative fees and traded volume
Your Options balance is funded and withdrawn independently — see Deposit & Withdraw.