Rate of Return Calculation
Rate of return is always calculated as max profit / max loss for all position types, where max loss is defined as the theoretical risk less any premium received.
![](https://cdn.prod.website-files.com/5fba23eb8789c3c7fcfb5f31/62bb0a9f69c387ff3b4838d6_Rate%20of%20Return.png)
% Premium Calculation
The formula for % premium increase/decreased is:
![](https://cdn.prod.website-files.com/5fba23eb8789c3c7fcfb5f31/62389df55d9bb74e7780101c_Premium%20Formula.png)
Where change percent is equal to the net change in position value divided by the openPrice of the position, defined as:
![](https://cdn.prod.website-files.com/5fba23eb8789c3c7fcfb5f31/62bb0a854f86f47124c3836a_Premium%20Calculation.png)
Return % Calculation
Percentage return measures the percentage gain or loss on an asset or portfolio relative to its starting value.
In the example above, the investor earned a $1,250 total dollar return on a $5,000 investment. To calculate the total return in percentage, simply divide the total gains ($1,250) by the starting value ($5,000) = 25%.
![Percentage return formula](https://cdn.prod.website-files.com/5fba23eb8789c3c7fcfb5f31/60d3bc7d4410c25409e7ef89_1091622_PercentageReturn_062321.jpg)
Total percent return can be a better indicator of return on investment because it shows growth relative to the initial investment.
Total P/L
The sum of open and closed P/L.
Total P/L %
The total P/L divided by the bot allocation.
Day P/L
The current intraday total P/L minus the previous days closing P/L value or $0 if no previous day.
Day P/L %
The day P/L divided by the previous day's closing new liquid or bot allocation if no previous day.
Closed P/L
The bot's P/L for all closed positions.
Win Rate
The bot's percentage of winning trades. Win Rate (win%) = number of wins divided by total number of closed trades.