RateX
  • Welcome to RateX
  • RateX Protocol
    • Basic Concepts of Yield Trading
      • ST (Standard Token)
      • YT (Yield Token)
      • PT(Principal Token)
      • Yield Distribution
    • Mechanism of Leveraged Yield Trading
      • Leveraged Yield Trading
      • Minting of ST&YT
      • RateX AMM
      • Liquidity Provision
        • LP APY Methodology
      • Earn Fixed Yield
      • Synthetic Points Trading
      • Liquidations
  • Getting Started
    • Yield Trading
      • Yield Trading Guide
      • Profit and Loss (PnL)
      • Margin Modes
      • Protocol Parameters
    • Liquidity Provision
    • Earn
    • FAQ
    • JLP Yield Trading
    • Track your Ethena Points
    • Contracts Addresses
  • Resources
    • Audit Report
    • Home Page
    • RateX Litepaper
    • Links
    • Term of Use
    • Privacy Policy
    • Disclaimer
Powered by GitBook
On this page
  1. Getting Started
  2. Yield Trading

Profit and Loss (PnL)

PreviousYield Trading GuideNextMargin Modes

Last updated 1 year ago

PnL of Leveraged Yield Trading Positions

The PnL (Profit or Loss) of a position can be calculated by summing the changes in the value of Standard Tokens (STs) and Yield Tokens (YTs). Since changes in ST value are already reflected in the entry price, the PnL can be more easily derived solely from the change in YT prices. The following equations illustrate this concept:

For Long Yield Positions:

Unrealized PnL=AmountYT×(CurrentPrice−EntryPrice)\text{Unrealized PnL} = \text{AmountYT} \times (\text{CurrentPrice} - \text{EntryPrice}) Unrealized PnL=AmountYT×(CurrentPrice−EntryPrice)

For Short Yield Positions:

Unrealized PnL=AmountYT×(EntryPrice−CurrentPrice)\text{Unrealized PnL} = \text{AmountYT} \times (\text{EntryPrice} - \text{CurrentPrice}) Unrealized PnL=AmountYT×(EntryPrice−CurrentPrice)