Get trader
Handles GET /v1/view/trader/{pubkey} via get.v1.view.trader.by_pubkey.
Authorizations
Bearer access token issued by /v1/auth/* login endpoints.
Path Parameters
Base58 encoded trader account pubkey
Response
Phoenix Eternal trader
Trader view with all trading information
Accumulated funding amount.
Trader authority public key.
Margin threshold used for cancellation checks.
Derived capability matrix.
Collateral balance.
Discounted unrealized PnL used in risk calculations.
Effective collateral used for risk checks.
Effective collateral used for withdrawal checks.
Raw trader capability flags.
x >= 0Required initial margin.
Initial margin used for withdrawal checks.
Whether trader is currently in the active-trader buffer.
Last collateral deposit slot.
x >= 0Open limit orders grouped by symbol.
Required maintenance margin.
Maker fee multiplier (1.0 = default, <1.0 = discount, >1.0 = premium).
Maximum number of positions allowed.
x >= 0Number of markets where this trader has registered splines
x >= 0Current portfolio value.
Open positions.
Current risk state.
healthy, unhealthy, underwater, zeroCollateralNoPositions Current risk tier.
safe, atRisk, cancellable, liquidatable, backstopLiquidatable, highRisk Solana slot of the state snapshot used to build this trader view.
x >= 0Intra-slot sequence index of the state snapshot used to build this trader view.
x >= 0Derived high-level trader state.
uninitialized, cold, active, reduceOnly, frozen Taker fee multiplier (1.0 = default, <1.0 = discount, >1.0 = premium).
Trader PDA public key.
Trader PDA index under the authority.
x >= 0Trader subaccount index.
x >= 0Total unrealized PnL.
Unsettled funding amount owed to the trader.
- Positive value = funding you will receive when settled (increases collateral)
- Negative value = funding you owe when settled (decreases collateral)