PerpPosition
Represents a perpetual futures position.Size of the position in base asset units (positive for long, negative for short)
Quote asset amount for the position (tracks notional value)
Quote entry amount (used for PnL calculation)
Quote break-even amount including fees
Index of the perpetual market
Last cumulative funding rate applied to this position
Number of open orders for this market
Total bid amount from open orders
Total ask amount from open orders
Settled profit and loss for this position
Liquidity provider shares for this market
Maximum margin ratio for this position
Position flags (isolated, being liquidated, etc.)
SpotPosition
Represents a spot market position (deposit or borrow).Index of the spot market
Whether this is a DEPOSIT or BORROW position
Scaled balance (multiply by cumulative interest to get actual balance)
Number of open orders for this market
Total bid amount from open orders
Total ask amount from open orders
Cumulative deposits over lifetime
PoolBalance
Represents a balance in a pool (fee pool, PnL pool, etc.).Scaled balance amount
Market index this pool belongs to
HealthComponent
Breakdown of health calculation components.Market index for this component
Size of the position or balance
Value in quote asset
Weight applied (asset or liability weight)
Final weighted value
HealthComponents
Complete breakdown of account health calculation.Array of deposit components
Array of borrow components
Array of perpetual position components
Array of perpetual PnL components
AccountLiquidatableStatus
Indicates whether an account can be liquidated.Whether the account is eligible for liquidation
Total margin requirement for the account
Total collateral value
LiquidationRecord
Record of a liquidation event.Timestamp of liquidation
User being liquidated
Liquidator account
Type of liquidation
Margin requirement at time of liquidation
Total collateral at time of liquidation
Margin freed by liquidation
Whether the account was bankrupt
SettlePnlRecord
Record of a PnL settlement event.Timestamp of settlement
User account
Market index
Settled PnL amount
Base asset amount of position
Quote asset amount after settlement
Price at which settlement occurred
Reason for settlement
FundingPaymentRecord
Record of a funding payment.Timestamp of funding payment
User authority
User account
Market index
Funding payment amount (positive = paid, negative = received)
Position size at time of payment