The PnL displayed on the app represents the gain or loss you would make if closing the position. It is computed net of fees.
PnL=cash out amount - initial margin
PnL=gross PnL - closing fee
Margin Ratio Formula In Angle, the margin ratio is computed as:
margin ratio=position sizecash out amount
Est. APR on open positions
In perpetuals/open position page of the app
ANGLE rewards for position holders depends on the Position Size, as what matters for the protocol is how much collateral is hedged. However, the APR is computed from the initial margin, as this is what users bring to the protocol.
Margin: 10,000 DAI
Position Size: 100,000 DAI
Rewards distribution: 5 ANGLE / week / 1,000 DAI in position
ANGLE price: 0.80 DAI
Depositing Liquidity (SLP)
In the Yield page of the appBoth the Slippage and SlippageFee can vary depending on the collateral/stablecoin pair.
SLP can face a slippage when withdrawing funds depending on the collateral ratio of the pool they are withdrawing from. This is put in place to incentivize them to stay in the protocol while it gets re-collateralized.
amnt received=amnt withdrawn×(1−slippage)
The current slippage for SLP can be consulted in the analytics by selecting a pool and looking at Slippage in the Fee Info > SLP section.
Slippage on Fees for SLP
When the protocol gets close to be under-collateralized, it progressively keeps a bigger portion of the fees usually going to SLPs to grow the suplus and be able to pay back stable holders. Note that this doesn't impact the initial deposits of SLPs nor the fees earned up until the start of the slippageFee.
fees received=fees to SLPs×(1−slippage fee)
The current slippageFee for SLP can be consulted in the analytics by selecting a pool and looking at SlippageFee in the Fee Info > SLP section.
If you want to know the current protocol parameters in place, you can have a look at the analytics at analytics.angle.money or directly in the SDK.