I cloned this basic algorithm from the tutorials and the only thing i edited was the :
vwap=data[context.aapl].vwap(x), where i took x and ran five different backtests with x being 1, 3, 5, 7, 15. What I found was that the more i increased x, the higher returns i would get, so much so that my returns went from 3% with x as 2 to 65% with x as 15. Why is it that with AAPL, a simple momentum trading algorithm like this, where the only variable i change, the Volume Weighted Average Price, can bring back such high returns compared to the benchmark? Am i doing something wrong?