PNL calculation
Anny now connects to the exchange's price stream to provide accurate real-time PNL calculations based on the "market price", which represents the last traded price of the symbol.
In this article:
-
PNL calculation for active positions
-
The "Investment" column sums up the investment of all trades.
- The "Yield" column fluctuates because the positions are active. It sums the yield of all trades.
- The "PNL" column provides an estimated PNL for active positions since they are still open.
The calculation formula is: PNL = (Return / Investment) * 100. -
This PNL considers estimated exchange fees
- Anny's estimated PNL is based on the "Market price," ensuring a closer approximation to the actual profit compared to the "Mark price" used by Binance.
-
-
PNL calculation for closed positions
- The "Investment" column sums the investment of all closed positions.
- The "Yield" column sums the yield of all closed positions.
- The "PNL over volume" column indicates the gains obtained over the trading volume for a given period.
The calculation formula is: PNL over volume = (Yield / Investment) * 100.
Fee disclaimer: This PNL accounts for fees charged by the asset used in the trade but does not discount fees paid with other assets, such as BNB.
👉 Example: trade on BTCUSDT, fees on BTC are discounted, but if the fees were paid using BNB, they will not be discounted.
👉 Binance BNB fees, Futures margin fees or any other fees not reported by the exchange, are not discounted. - The "PNL over capital" column shows the gains obtained over the allocated capital in a signal group, copy trading, or bot.
For this column, the total is the sum of the results of all trades.
The PNL over the capital calculation for each trade is:
% of investment * (PNL over volume / 100).
For example, using the DOGE trade (from the print below) the calculation is:
PNL= 5.01 * 0.49 / 100
PNL = 0.02%
Out-of-sync trades are not computed in the analytics. Trades can get out of sync when the user makes changes in the exchange or when there are communication failures between Anny and the Exchange.
-
-
Closed positions vs Analytics: Closed positions will show all closed positions for the day. But the PNL shown will only be added to the performance results (shown on top) at the end of the day when they are archived and go to the analytics tab.
But you can always click on "Compound results" to aggregate your closed positions into your performance history.
-
-
Analytics
- Analytics represents the performance results over a specific period.
- The PNL considers the fees informed by the exchange.
- Performance is shown over the trading volume and allocated capital.
- PNL over the trading volume is calculated as Yield / Investment * 100.
Using the information from the picture: 22.81/ 3021.38 x 100 = 0.76% - PNL over the allocated capital: the result is the simple sum of PNLs over the capital of each trade.
- PNL over the allocated capital is obtained by multiplying PNL over the trading volume by the investment percentage and dividing by 100.
Using the information from the picture, trade BTC/USDT: 2 x 5.30 /100 = 0.11%
- PNL over the trading volume is calculated as Yield / Investment * 100.
- As a reference, it shows the total investment for a certain period and also the capital allocation and the return.
- With the filters, you are free to generate the report as you wish, do your own analysis and export the result in csv file.
- date picker: The platform allows users to customize the date range for analytics, including options like custom, last 10 days, last 30 days, this week, current month, and previous month. Up to 3 months of data can be accessed.
- Users can choose between BTC, USDT, USD or view data for all pairs.
- Analytics provide insights into trade results, including the success rate, best and worst signal performance, planned and realized R/R (Risk/Reward) ratio.
- Planned R/R: is the ratio between the risk (stop-loss) and target 1.
- Executed R/R: is the ratio between the risk (stop-loss) and the actual profit obtained, considering the target or stop-loss if there was no profit.
- The success rate required to break even with the executed R/R ratio is determined and displayed.
Using the example in the figure to illustrate:
- Success ratio: 28/59 (47.46%)
- Best performing: SANDUSDT (2 wins)
- Worst performing: FLMUSDT (2 losses)
- Planned R/R ratio:
1:0.8729
This R/R ratio requires a success rate above 53.3900% - Realized R/R ratio:
1:0.7329
This R/R ratio requires a success rate above 57.7100%
For example, a required success rate above 57.71% means that trades need to be successful more than 57.71% of the time to break even with the current R/R ratio.
Related articles: