Is there a way to code a strategy that will allow NT8 to distribute the optimization across multiple cores, and so allow it to go quicker?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Can NT8's new multi-threading capabilities be used to make optimizations quicker?
Collapse
X
-
Can NT8's new multi-threading capabilities be used to make optimizations quicker?
Is there a correct way to take NT8's new multi-threading capabilities into account when coding a strategy so that optimizations will go faster?
Is there a way to code a strategy that will allow NT8 to distribute the optimization across multiple cores, and so allow it to go quicker?Tags: None
-
Hello AnotherTrader,
Thanks for opening the thread.
Strategy Analyzer optimization backtests in NinjaTrader 8 will already use multiple cores/threads. You can witness this by running an optimization backtest with several parameters to optimize and observing the core utilization for each thread in the Windows Task Manager.
To improve backtesting performance and memory utilization, it would be advised to write the strategy so it can be used with IsInstantiatedOnEachOptimizatonIteration = false. To use this property, the strategy must reset all of its class level variables in State.DataLoaded.
IsInstantiatedOnEachOptimizatonIteration documentation — http://ninjatrader.com/support/helpG...niteration.htm
State Management Best Practices (please see Resetting class level variables for Strategy Analyzer Optimization) - https://ninjatrader.com/support/help...urceManagement
Please let us know if we can be of further assistance.JimNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Jimmyk, 01-26-2018, 05:19 AM
|
6 responses
835 views
0 likes
|
Last Post
by emuns
Today, 11:27 AM
|
||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
6 responses
3,291 views
1 like
|
Last Post
by jgualdronc
Today, 10:56 AM
|
||
Started by Touch-Ups, Today, 10:36 AM
|
0 responses
10 views
0 likes
|
Last Post
by Touch-Ups
Today, 10:36 AM
|
||
Started by geddyisodin, 04-25-2024, 05:20 AM
|
11 responses
62 views
0 likes
|
Last Post Today, 10:08 AM | ||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
0 responses
8 views
0 likes
|
Last Post Today, 09:55 AM |
Comment