Profit or loss is always calculated in the collateral currency for the contract.
For Linear Contracts, the collateral is in the quote currency (USD), (e.g. FF_SOLUSD and PF_ETHUSD are collateralised in dollars).
Profit or loss is calculated as:
Profit or Loss in Base Currency = (Contract Exit Price - Contract Entry Price ) * Position Size
| EXAMPLE: LINEAR SOLANA-DOLLAR |
|
| EXAMPLE: LINEAR DOGE-DOLLAR |
|