Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Optimizer iteration result insertion & extraction
Collapse
X
-
Optimizer iteration result insertion & extraction
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? -
Bertrand, thanks for your prompt reply. I am creating my own optimization method, but I can't see anything about RunIterationCompleted method. I've search at http://www.ninjatrader-support.com/H....html?Overview, google, and different forums, but nothing about it.
It seems like it's exactly what I need. Where can I find a description of that method, or sample code, to look how and what kind of data is stored?
Correction: I've seen an "IterationCompleted" callback method in GeneticOptimizer. I guess it's what you meant, and what I need. I'll follow that way. Thanks.Last edited by jjmmg; 02-04-2011, 02:55 AM. Reason: Adding a correction to not overcharge NT support.
Comment
-
After having a look at it, I realized that this is the way to get the iteration performance to do whatever you want with it, but it's not what I meant. I suppose that NT stores the performance for the specific parameters set, and then passes it to the user through the callback method. Is there a way to acces to this performance before NT stores it, so I can modify it?
Comment
-
And what about overloading RunIteration method, where I suppose it's done? Is there any unsupported documentation about the implementation of this method? Once this is done we could achieve the improvement we want to add, many computers running blocks of the same optimization. Doen't it sound interesting?
Comment
-
jjmmg,
It occurs to me that the problem you are trying to solve might be something the programmers of the GO 's used in NT might be able to give some feedback to assist?!
Jon
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by andrewtrades, Today, 04:57 PM
|
1 response
5 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
3 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
7 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
19 views
0 likes
|
Last Post Today, 03:33 PM |
Comment