The deposit balance in the Pool. An undefined depositPosition
leads to a balance of 0.
The underlying AccountPosition that stores the deposit balance.
The deposit value in the Pool denominated in USD. An undefined depositPosition
leads to a value of 0.
An estimate of the amount of MarginTokenConfig collateral required to make it possible to end liquidation.
The loan balance in the Pool. An undefined loanPosition
leads to a balance of 0.
The underlying AccountPosition that stores the loan balance.
The loan value in the Pool denominated in USD. An undefined loanPosition
leads to a balance of 0.
An estimate of the maximum trade amounts possible. The estimates factor in available wallet balances, Pool liquidity, margin requirements and SETUP_LEVERAGE_FRACTION.
Optional
poolThe Pool that the position is associated with.
The MarginTokenConfig associated with the Pool token.
Generated using TypeDoc
A description of a position associated with a MarginAccount and Pool