NexusFi: Find Your Edge


Home Menu

 





Optimizer iteration result insertion & extraction


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
jjmmg
Madrid
 
Posts: 6 since Nov 2010
Thanks Given: 2
Thanks Received: 1

When optimizing, I need to know the result of every iteration just when it's executed, to export it to another app, and where it is added to the optimization results to add new ones. The final result, when the optimization is finished, is unusefull for me. Is there a way to make it? I've implemented my own optimizer, and I noticed a mehod, RunIteration, where it could be done, but to overload it (if possible) I would need to know its code. If this is not a possibility, could someone tell me how I could achieve it?


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
SEC Chairman Calls for New Golden Age of SEC-CFTC Regula …
Traders Hideout
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Iran War Prediction Markets: Ceasefire 16%, Ground Invas …
Prediction Markets & Event Contracts
Iran Ceasefire Surges to 19.5% on US 15-Point Plan -- 82 …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #3 (permalink)
 
Trader.Jon's Avatar
 Trader.Jon 
Near the BEuTiFULL Horse Shoe
 
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184


It seems you might going down the road to something like View360 .... here is a thread to see what another trader did with the same needs
Problem writing to file during strategy optimisation - NinjaTrader Support Forum

Jon


Reply With Quote
Thanked by:
  #4 (permalink)
jjmmg
Madrid
 
Posts: 6 since Nov 2010
Thanks Given: 2
Thanks Received: 1

I think it's an optimizer problem, not a strategy one. My research, up to date, is that the performance for each iteration can be found on IterationCompleted(object individual, double performanceValue) in OptimizerMethod.


Reply With Quote
  #5 (permalink)
jjmmg
Madrid
 
Posts: 6 since Nov 2010
Thanks Given: 2
Thanks Received: 1

In RunIteration(Iterationcomplete, Object) I can get the performance of the iteration, which solves one problem.

But I don't know how to modify the performance before NT stores it. I think that if I could look at the code of RunIteration method, I could get to the point where it's done, and overload it to change it. Any idea of how to make it? It's difficult, as these are unsupported methods, but the improvement in optimization time execution is worthy.


Reply With Quote




Last Updated on February 9, 2011


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