PNL calculation
Anny now connects to the exchange's price stream to provide accurate realtime 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 column "Investment" sums up the investment of all trades.

In the column "Yield" the amount fluctuates because the positions are active. Sum the yield of all trades.

the column "PNL" is estimated because the positions are still active. Here the percentages are not added, see the calculation formula:
PNL = Return / Investment * 100 
The PNL on active positions considers estimated exchange fees.

Anny's estimated PNL is closer to the actual profit than Binance's because Anny is referenced by "Market price" and not "Mark price".


PNL calculation for closed positions
 the column "Investment" sums the investment of all positions.
 the column "Yield" sums the yield of all positionss.
 the column "PNL over volume" indicates the gains obtained over the trading volume for a given period. Percentages are not added, see the calculation formula:
PNL over volume = Yield / Investment * 100
Fee disclaimer: the closed PNL only discounts fees that were charged by the asset that took part in the trade.
👉 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 column "PNL over capital" indicates the gains obtained over the allocated capital into a given signal group, copy trading or bot. If the trade was created by you, it will refer to the gain obtained in relation to your account balance at the moment of the trade creation.
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:
NLP= 5.01 * 0.49 / 100
NLP = 0.02%
Outofsync 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 is the result of your performance over a certain period.
 The PNL considers the fees informed by the exchange.
 Anny informs you of the performance over the trading volume and also the performance over the allocated capital.
 Over the trading volume: Yield / Investment x 100
Using the information from the picture: 22.81/ 3021.38 x 100 = 0.76%  Over the allocated capital: the result is the simple sum of PNLs over the capital of each trade.
PNL over the allocated capital: PNL over the trading volume x investment % / 100
Using the information from the picture, trade BTC/USDT: 2 x 5.30 /100 = 0.11%
 Over the trading volume: Yield / Investment x 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 (custom, last 10 days, last 30 days, this week, current month, previous month). You have the ability to go back up to 3 months.
 choose parity (BTC, USDT or all)
 The statistics bring information regarding the results of your trades. Success rate, best and worst signal performance, planned and realized R/R ratio.
 Planned R/R: It's the ratio between the risk (stoploss) and the target 1.
 Executed R/R: it is the ratio between the risk (stoploss) and the profit obtained. If the trade did not make a profit, it is considered the target.
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%
This R/R ratio requires a success rate above 57.7100% > this is the success rate calculation needed to break even.
Related articles: