Bluefin
  • Bluefin Exchange
    • Introduction
    • Roadmap
    • Getting Started
      • Onboarding
      • Depositing & Set Up
      • Tutorials
      • Perpetual Swaps
    • Trading
      • Order Types
        • TP/SL Orders
      • Orderbook Design
      • Isolated Margining
      • PnL Calculation
      • Oracle and Index Price
      • Risk Engine
        • Liquidation Process
        • Insurance Fund
        • ADL
      • Funding
      • Trading Fees
      • Gas Fees
      • Contract Specs
    • Perps API Docs
    • Pre-Launch Markets
  • Bluefin Spot CLMM
    • Introduction
    • Getting Started
    • Protocol Features
      • Swap
        • Limit Orders
      • Liquidity Pools
    • BluefinX
    • Tutorials
      • Exploring the Pools
      • Adding Liquidity (Creating a Position)
      • Managing a Position and Claiming Fees/Rewards
      • Auto-Rebalancing
      • Swapping
      • Placing Limit Orders
      • Switching from Spot to Perps Account
    • Spot API Docs
    • FAQs
  • Lending on Bluefin
    • Introduction
    • Protocol Features
    • Tutorials
      • Supply and Borrow Assets
  • Bluefin Airdrop
    • Bluefin Airdrop Explained
    • Bluefin Foundation Statement
    • Claiming and Rewards Post-TGE
    • FAQs
  • Users
    • Rewards
      • Trading Rewards
      • Bluefin Vaults
      • Leagues
      • Sui Wallet on Mobile Giveaway
      • Sui Wallet Campaign
        • List of Winners
      • Walrus Campaigns
        • Walrus LP & Trading Competition
        • Walrus Trade & Earn Campaign
  • Other
    • BLUE Token
    • On-Ramping directly to Bluefin
    • Security
      • Code Audits
      • Spot Audits
    • Governance
      • Bluefin DAO
    • Bluefin Vanguard Ambassador Program
    • Terms of Use and Privacy Policy
      • Vulnerability Disclosure Policy
      • Wash Trading
      • Address Screening
      • Risk Information
    • FAQs
      • USD vs USDC
Powered by GitBook
On this page
  1. Bluefin Exchange
  2. Trading

PnL Calculation

PreviousIsolated MarginingNextOracle and Index Price

Last updated 5 months ago

Understanding Profit and Loss (PnL) is crucial to managing investments and making informed decisions. Traders have insight into the PnL of their past trades in the 'History' tab of their portfolio page at .

Unrealized PnL: The profit and loss not yet realized from an open position. It is calculated as the difference between the entry and current mid-market prices multiplied by the position quantity.

Unrealized PnL={Position Size×(Mid-Market Price−Entry Price)if Long,Position Size×(Entry Price−Mid-Market Price)if Short.\text{Unrealized PnL} = \begin{cases} \text{Position Size}\times \big(\text{Mid-Market Price} - \text{Entry Price}\big) \quad &\text{if Long}, \\ \text{Position Size}\times \big(\text{Entry Price} - \text{Mid-Market Price}\big) \quad &\text{if Short}.\end{cases}Unrealized PnL={Position Size×(Mid-Market Price−Entry Price)Position Size×(Entry Price−Mid-Market Price)​if Long,if Short.​

Realized PnL: The profit and loss that has already been realized from partially or fully closing the position. It is calculated as the difference between the entry and exit prices multiplied by the quantity closed.

Realized PnL={Size Closed×(Exit Price−Entry Price)if Long,Size Closed×(Entry Price−Exit Price)if Short.\text{Realized PnL} = \begin{cases} \text{Size Closed}\times \big(\text{Exit Price} - \text{Entry Price}\big) \quad &\text{if Long}, \\ \text{Size Closed}\times \big(\text{Entry Price} - \text{Exit Price}\big) \quad &\text{if Short}.\end{cases}Realized PnL={Size Closed×(Exit Price−Entry Price)Size Closed×(Entry Price−Exit Price)​if Long,if Short.​

How to View PnL on Bluefin

You can access current and historical PnL metrics on Bluefin by visiting the account page . Bluefin provides a user-friendly interface to view and manage your PnL across all open and closed perpetual positions.

To view your PnL metrics:

  1. Access your account at

  2. To view realized PnL, navigate to the Account History for a breakdown of all trades at

  3. To view unrealized position PnL, check the Positions table.

https://trade.bluefin.io/portfolio/history
https://trade.bluefin.io/account
https://trade.bluefin.io
https://trade.bluefin.io/account/history