Finandy Docs
English
Finandy Docs
English
  • 📈Manual trading
    • Create order/grid
      • Single order
      • Order grid
      • Fibonacci grid (levels)
      • Order types
        • Limit order
        • Floating order
        • Market order
        • Stop order
        • Trailing order
        • Virtual order
      • Customisable volumes
    • Stop Loss (SL)
    • Trailing Stop (SLX)
    • Take Profit (TP)
    • Settings templates
    • Trade Reports
  • 🖥️Interface
    • User Interface
    • Chart
    • Position list
    • Signal log
    • Other blocks
      • Position settings
      • Market (currency pairs)
      • Order book
      • Notifications
  • 🤖Algo-trading
    • TradingView Signals
      • Signal interface
        • Open position
        • Averaging (DCA)
        • Close / Reverse
        • Stop Loss (SL)
        • Trailing (SLX)
        • Take Profit (TP)
      • Connection and configuration
        • Connecting the TradingView indicator or strategy to Binance / OKX
        • Position opening
        • Position Averaging
        • Closing Position
        • Position Reversal
        • Hedging
      • Signal processing logic
      • Signal testing
      • Signal copying
      • Controlling an option in the signal
      • Update settings by signal
      • {{Placeholders}}
      • Common errors
      • FAQ
  • 🌀Copy trading
    • I want to signal (copy trading Binance)
    • I want to copy trades (copy trading Binance)
  • ⚙️Settings
    • Account
      • Profiles
      • API Keys
      • 2FA
      • Telegram Bot
      • Change password
      • Secret word
      • Sessions
      • Account restart
    • Settings
      • Interface
        • General settings
        • Order creation panel
        • Stop loss (SL)
        • Trailing (SLX)
        • Take Profit (TP)
      • Trading
        • Position price calculation
        • Position PNL Calculation
        • Position Reversal
        • Position Closing
        • Auto-switching from Limit to Stop order
        • Floating order
      • Chart
        • DCA´s Average line
        • TP´s Average line
        • Show/hide orders on chart
    • Others
      • Functions
      • FAQ
      • Desktop app for MAC
      • Error codes and solutions
  • 🏛️Trading platform
    • OKX (via API-key)
    • Finandy (exchange)
      • Deposit
      • Transfer between markets
      • Liquidity
      • Withdrawals
      • Trading Fees
      • Account verification
      • API keys
      • About futures
        • Trading Rules
        • Leverage and Margin
        • Differences Between a Perpetual Contract and a Traditional Futures Contract
        • Mark Price in USDⓈ-M futures
        • Liquidation
    • Binanсe (via API-key)
      • Trade via API
      • Adding an API Key
  • 💲Earn
    • Finandy Referral Program
      • Token Bonus
  • 📖Legal
    • Whitepaper
    • Roadmap 1.0
    • Roadmap 2.0
    • Finandy Futures Agreement
    • AML Policy
    • Term of use
    • Chat Rules in Telegram
    • Сopy trading terms of use
    • Disclaimer (FIN token)
    • Privacy Policy
Powered by GitBook
On this page
  • 1. Based on all orders
  • 2. Based on remaining position coins
  • Additional information
  • FAQ
  1. Settings
  2. Settings
  3. Trading

Position PNL Calculation

✔ Learn the settings for calculating PNL position in Finandy. A detailed guide to trading parameters to accurately calculate profits and losses in your account.

PreviousPosition price calculationNextPosition Reversal

Last updated 10 months ago

Profit calculation is based on all orders or remaining tokens in the position.

PNL calculation process varies based on the position type. Below are the formulas for each type.

1. Based on all orders

PnL includes ALL realized profit/loss from partial position closing + the estimated profit/loss that would be realized if the position were closed at the current price.

PNL = [(Partial closing volume + (Current price x Position quantity)) - Opening volume] x Direction - Commission + Funding

Direction = 1 if LONG Direction = -1 if SHORT

Example with a 0.1% commission:

  1. trader buys 1 BTC at 20.000 USDT.

  2. sells 0.8 BTC at 25,000 USDT (partial profit will be 4,000 excluding commissions).

Total position PnL at current exchange rate 22,000 USDT will be calculated as follows:

PnL = (25 000 x 0.8 + 22 000 x 0.2 - 20 000 x 1 ) x 1 - ( 25 000 x 0.8 + 22 000 x 0.2 + 20 000 x 1 ) x 0.001 = 4355.6 USDT

In this example, with no funding rate, the profit would either increase or decrease based on the sign of the funding amount.

2. Based on remaining position coins

PnL is calculated based only on the remaining coins in the position when it is closed at the current price.

PNL = (Current Price - Position Price) x Position Quantity) - Commission + Funding

Direction = 1 if LONG Direction = -1 if SHORT

Example with 0.1% commission:

  1. trader buys 1 BTC at 20,000 USDT.

  2. sells 0.8 BTC at 25,000 USDT (partial profit will be 4,000 excluding commissions).

  3. The position price is equal to the entry price (if the position price calculation formula excluding partial closing is enabled).

The PnL for the remaining 0.2 BTC, at the current exchange rate of the currency pair, which is 22,000 USDT, will be calculated as follows:

PnL = (22 000 - 20 000) x 0.2 - 22 000 x 0.2 х 0.001 х 2 = 391.2 USDT

In this example, with no funding rate, the profit would either increase or decrease based on the sign of the funding amount.

Additional information

  • Funding rate in hedging mode will be divided in half if both Long and Short positions are open simultaneously on the same currency pair.

  • PNL will not be displayed correctly if a position mismatch has occurred. These positions cannot be considered for trading and the trader must manually define the PNL position.

FAQ

If I have an open position on BTC, how can I buy a portion of BTC and withdraw it without affecting the overall PNL of the position?

This option is not available in the terminal.

Do you have any questions? We can help you in our Telegram chat.

⚙️
If I have an open position in BTC, how can I buy some BTC and withdraw them without affecting the total PNL of the position?
Finandy Exchange + Binance trading terminalTelegram
Logo