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,377 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 3 posts
    2. attach_file 1 attachments




 
Search this Thread
  #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)
https://nexusfi.com/download/ninjatrader-7/strategies/599-download.html?view

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?
Historical data for Kospi and Nikkei Index
NinjaTrader
is there a better Trade Performance tool for NinjaTrader?
NinjaTrader
What You Know vs How much you know about it
Traders Hideout
MC Advanced Simulated Trading.
MultiCharts
How to plot a custom icon for crossover
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
HumbleTraders next chapter
63 thanks
Tao te Trade: way of the WLD
45 thanks
ApexTraderFunding.com experience and review
26 thanks
What is Markets Chat (markets.chat) real-time trading ro …
21 thanks
1 Minute Man
19 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,621 since Jun 2009
Thanks Given: 33,356
Thanks Received: 101,989

Check this thread:



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

Mike



Join the free Markets Chat beta: Real-time Trading Insights

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 - Sitemap - Downloads - Top
no new posts