PerpetualState represent the complete state of Abacus
data class PerpetualState(
val assets: Map<String, Asset>?,
val marketsSummary: PerpetualMarketSummary?,
val orderbooks: Map<String, MarketOrderbook>?,
val candles: Map<String, MarketCandles>?,
val trades: Map<String, MarketTrades>?,
val historicalFundings: Map<String, MarketHistoricalFundings>?,
val wallet: Wallet?,
val account: Account?,
val historicalPnl: Map<String, SubaccountHistoricalPNLs>?,
val fills: Map<String, SubaccountFills>?,
val transfers: Map<String, SubaccountTransfers>?,
val fundingPayments: Map<String, SubaccountFundingPayments>?,
val configs: Configs?,
val input: Input?,
val availableSubaccountNumbers: Array,
val transferStatuses: Map<String, TransferStatus>?
)
A sorted list of SubaccountHistoricalPNL
A sorted list of SubaccountFill
A sorted list of SubaccountTransfer
A sorted list of SubaccountFundingPayment