Skip to content

zargaripour/realPNL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

realPNL

It's an userscript for Tampermonkey

PNL in Binance's Futures is an "Unrealized" PNL based on Mark Price. It's useful for many things like liquidation. But as you may know, Your real profit depends on Binance Futures price itself. this script calculates your real PNL and shows your profit and loss.


Requirements

Demo

Real PNL If you have a position like this, Your unrealized PNL would be 1810$[mark 1], real PNL whould be 1900$[mark 2], but you will get something around 1348$ after cutting commission[mark 3].
As you may know, commissions depends on many factors like making order, taking order, BNB level and may other things. Considering all these things needs so many calculations. however, may not have big difference. so we can take top commission, that is 0.04% of each transaction. then you will get "pure profit" or maybe a little bit better.


Installation

  1. Install Temper Monkey
  2. in "Tempermonkey" dashboard, go to "Utilities" tab
  3. insert the below link in "Install from URL":
  4. press "Install"

that's it. once you have a position on binance futures, the "realPNL" box will be appear.
and it will update automaticly...