Closed Thie1e closed 2 years ago
I just realized that with trade_buffer = 0
the average annual turnovers from the two functions are very similar. They only differ if a trade buffer is set.
Sorry, now I understood that the behavior of trade_buffer
changes depending on the commission model. This does not seem to be explained in the help files, only in the readme on Github. But I got it now.
Hi Kris,
I have noticed that the backtest functions
fixed_commission_backtest
andmin_commission_backtest
lead to different estimates of the average annual turnover.For the below example, I have set costs to zero and use the same data. So I would expect the average annual turnover to be identical. However, also with other periods of my data, the turnover estimation from the
min_commission_backtest
is always about 1.5 times as high as the one fromfixed_commission_backtest
.As reported in another issue, I had to tamper a bit with the column names that are returned by
fixed_commission_backtest
to make the downstream functions work, but I am not sure if this is the problem here. I have attached the necessary data.Thanks again!
reprexdat.zip