One reading of an account. Money fields are in currency; absent means the provider did not say.

interface AccountSnapshot {
    accountId: string;
    asOf: number;
    balance?: number;
    currency?: string;
    equity?: number;
    leverage?: number;
    marginAvailable?: number;
    marginUsed?: number;
    mode: TradeMode;
    realizedPnl?: number;
    unrealizedPnl?: number;
}

Properties

accountId: string
asOf: number

When the provider took the reading, UTC seconds (fractions allowed). Orders readings.

balance?: number
currency?: string
equity?: number
leverage?: number
marginAvailable?: number
marginUsed?: number
mode: TradeMode
realizedPnl?: number
unrealizedPnl?: number