RichKid
PlanYourTrade > TradeYourPlan
- Joined
- 18 June 2004
- Posts
- 3,031
- Reactions
- 5
Yes, we're on the same path here, I'm happy for it to be separate from the charting. My understanding of backtesting is it looks at figures from trades you would have taken had certain criteria been met (as specified in the formula eg 24 day EMA crosses over 70EMA=buy, opposite =sell...etc). That's why the charting programmes are integrated with the portfolio testing since they rely on each other but we don't need it here if we record all the figures ourselves as they are the result of a particular strategy (it doesn't matter what strategy it is so we don't need charting software as you would to backtest a crossover method for example)GreatPig said:RichKid,
When I've had a chance to read that Van Tharp book, I'll have a look at what else I can add to the program. Remember though that it's just a portfolio manager, not a charting program. It doesn't do back testing. I use AmiBroker for that.
What the stats from your programme will be doing is extracting the information from your ACTUAL trades, as recored in the portfolio.
So if you had three different trades for say AZR, BHP, OST and they led to returns (profit/loss) of $100, -$90, $20 etc then the average win for example would have been $60 and average loss would be $90. That data would hence be in the portfolio under the profit and loss for each of the stocks (once position closed). That's just a very basic example of one set of data. As Van Tharp explains in the Video tutes referred to earlier you need to calculate your expectancy value too, again the tutes will show that than can be done via existing data. You'll know once you see the tutes. There may be an issue as to recording amount risked via stop loss setting but we can take that on later.
The transaction history files give all the data necessary for tax returns (I hope - I haven't got up to doing one yet to see if I'm missing anything). While they don't isolate each financial year, it should be very easy to generate the annual figures using formula in Excel that only sum over the cells for that one year. Alternatively the year's worth of data could be copy and pasted to another page to give a report for just that year.
Thanks GP.
Now that you mention it though, it would be good to be able to generate annual reports, perhaps as formatted RTF files. And for the portfolio financial and transaction figures, it would probably be good too to keep annual versions as well as lifetime versions. I'll have to look at doing that.
Cheers,
GP
Sounds good, look forward to the results, fortunately we've got a few months before it's all due. Thanks for the effort, enjoy VAn Tharp!