Scenario (using quantstrat, blotter and portfolioanalytics)
- I have 10k initial equity
- I have a strategy that i want to backtest over 3000 symbol universe (stocks)
- Let say the strategy is a simple MA crossover
- Every time i get a buy crossover I buy 10k worth of stock and close position on the sell crossover
- For backtest purpose the strategy can trade without any portfolio restriction, therefore i may be holding 100+ positions at any point in time, therefore the initial equity shouldn't be considered.
I want to know the AVERAGE return of this strategy over all trades.
In reality if i only had 10k i would only be able to be in one trade at once, but i would like know statisctally what the average return would be.
I then want to compare this with the stock index benchmark.
- Do i SUM or MEAN the return stream of each symbol
- Is it the return of the portfolio, does this take into account the initial equity? - i don't want the return to be as a percentage of the initial equity or consider how may symbols are trading.