Possible to Access Trades Collection from Inside Optimization Method? (Monte Carlo)
I have been trying to develop a Monte Carlo simulator that will evaluate the effect of data mining on the combined output of an optimization run.
> Please see "Evidence Based Technical Analysis" by David Aronson for a discussion of the goals/methods of this.
Note: I am applying a strategy to a basket of stocks, so I've also tried to make the Monte Carlo take asset allocation into account.
Essentially, what I need is:
- A collection of the trades taken by each parameter set in the optimization run
- I think that I could do this using an optimization type and passing the data in/out of excel, but I would like to keep it all contained in one location of at all possible.
I would greatly appreciate it if one of the Ninja experts out there could take a look at my code and make any recommendations! Please ignore the troubleshooting print outputs splayed all over the place in it right now, I will clean it up as soon as it's working.
I think that this should be a great addition to anyone that is optimizing a system, so I will also post the working final once the kinks are ironed out.
I think some of the many optimizers posted there do this already.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.