Description Usage Arguments Examples
This function is meant to calculate the strategy payoff and expected payoff plus the hit ratio and the total trades occured in a strategy.
1 |
ret |
a xts object vector of trading returns |
signals |
a xts object vector containing all long/short signals. |
roll |
Setting on "TRUE" for rolling purposes, you are given the extract payoff and expected payoff. Setting on "FALSE" you are given all statistica such as max drawdown, total returns, Profit Factor, Expected Payoff, hit ratio, trades total number and the win percetnage rate. ( |
digits |
digits numbers to use in output statistics |
commiss |
Set on "TRUE" to take account of comissions calculated as spread on every single trade. |
spread |
spread commisison to calculate when "commiss"" is set to TRUE.It subtract the spread cost value to each trade. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.