NexusFi: Find Your Edge


Home Menu

 





Possible to Access Trades Collection from Inside Optimization Method? (Monte Carlo)


Discussion in NinjaTrader

Updated
    1. trending_up 1,334 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 3 posts
    2. attach_file 1 attachments




 
Search this Thread

Possible to Access Trades Collection from Inside Optimization Method? (Monte Carlo)

  #1 (permalink)
 kbeary33 
Calgary AB
 
Experience: Intermediate
Platform: AmiBroker, IB
Broker: Interactive Brokers
Trading: Stocks
Posts: 10 since Mar 2013
Thanks Given: 5
Thanks Received: 2

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.

I think that I have all the logic in place for it to work, but I have not been able to access the system performance data from inside the optimization method. (I have been working off of the optimizer built by TraderDJB)


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.

Attached Files
Elite Membership required to download: DBDefaultBootStrappedOptimize.cs
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
REcommedations for programming help
Sierra Chart
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #3 (permalink)
 kbeary33 
Calgary AB
 
Experience: Intermediate
Platform: AmiBroker, IB
Broker: Interactive Brokers
Trading: Stocks
Posts: 10 since Mar 2013
Thanks Given: 5
Thanks Received: 2


bump... any help at all would be appreciated!

Started this thread Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

Check this thread:



I think some of the many optimizers posted there do this already.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on August 13, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts