Navigator Exchange
Launch app
  • Navigator Exchange
    • Platform Overview
    • Tokenomics
  • Rewards
  • Earn
    • NLP
    • NSLP
  • Trade
    • Isolated Margin
      • Crypto Pool
      • Stable pool
    • Cross Margin
      • Open Position
    • Platform Mechanics
      • Pyth Price Feed
      • Fees
      • Risk Mitigation
  • Trading Assets & Rules
    • Cryptocurrencies
    • Forex
    • Metals
    • Equity
  • Navi-X Swap
  • COMMUNITY
    • Navigator NFT
      • Capy Guardians Club
      • Exclusive Benefits for NFT Holders
      • The early bird gets the fat worm
      • Capy Guardians Club Sale Details
      • How to buy Capy Guardians Club NFT
      • How to stake and earn Real Yield with Capy Guardians Club NFT
      • NFT migration
    • Social Features
      • Referrals
      • Position Share
    • Helpful Guides
      • Online Issues
      • Trade Guide
        • Deposit/ Withdraw Collateral
        • Open/ Close a position
      • Connect Wallet
        • Connect with MetaMask
        • Backup RPC URLs
      • Buy and Stake NSLP/NLP
    • Community Groups
  • SUPPORT
    • Resources (Links)
  • Contracts
    • Contract Crypto Pool
    • Contract Stable Pool
  • Terms Of Use
  • Brand Kit
  • Audit
  • Legal
    • Privacy Policy
    • Restricted Countries
Powered by GitBook
On this page
  • Realized Profit and Losses
  • Unrealized Profit and Losses
  • Return on Investment (ROI)
  1. Trade
  2. Isolated Margin
  3. Stable pool

Profit, Loss, and ROI

Last updated 18 days ago

Realized Profit and Losses

Realized Profit and Loss (rPnL) are used to convey a position's total profit/ loss that has been resolved (paid or received). This includes all accumulated paid fees, such as the Open Position Fee, and is calculated as follows for each i ii of all NNNpartial closes.

rPnL=paidFees+∑i=1N{(closePricei−avgEntryPricei)×posQtyiif LONG(avgEntryPricei−closePricei)×posQtyiif SHORTrPnL = paidFees + \sum_{i=1}^N \begin{cases} (closePrice_i - avgEntryPrice_i)\times posQty_i &\text{if } LONG \\ (avgEntryPrice_i - closePrice_i)\times posQty_i &\text{if } SHORT\end{cases} rPnL=paidFees+i=1∑N​{(closePricei​−avgEntryPricei​)×posQtyi​(avgEntryPricei​−closePricei​)×posQtyi​​if LONGif SHORT​

Unrealized Profit and Losses

Unrealized Profit and Loss (uPnL) track the profit or loss of an open position, taking into account all unpaid accrued fees.

uPnL=accruedFees+{(markPrice−avgEntryPrice)×posQtyif LONG(avgEntryPrice−markPrice)×posQtyif SHORTuPnL = accruedFees + \begin{cases} (markPrice - avgEntryPrice)\times posQty &\text{if } LONG \\ (avgEntryPrice - markPrice)\times posQty &\text{if } SHORT\end{cases} uPnL=accruedFees+{(markPrice−avgEntryPrice)×posQty(avgEntryPrice−markPrice)×posQty​if LONGif SHORT​

Note: Paid fees and/or accrued fees can be either negative (losses to trader) or positive (profits to trader) which occurs in cases where the funding rate is negative (ie: Short position when LongOI > ShortOI).

Return on Investment (ROI)

Return on Investment is used to establish how profitable a given trade is, and is a key metric in showcasing a trader's ability during competitions. We use the following calculation to determine position ROI for rPnL where max collateral is determined by the greatest number the collateral has reached for the position up until the time of each partial iii rPnL.

ROI(rPnL)=∑i=1NrPnli/maxCollateraliROI (rPnL) = \sum_{i=1}^N rPnl_i/maxCollateral_iROI(rPnL)=i=1∑N​rPnli​/maxCollaterali​

The ROI for uPnL is simply calculated as follows:

ROI(uPnL)=uPnl/positionCollateralROI (uPnL) = uPnl/positionCollateralROI(uPnL)=uPnl/positionCollateral