Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can NT8's new multi-threading capabilities be used to make optimizations quicker?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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?

    #2
    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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by yertle, Yesterday, 08:38 AM
    7 responses
    28 views
    0 likes
    Last Post yertle
    by yertle
     
    Started by bmartz, 03-12-2024, 06:12 AM
    2 responses
    21 views
    0 likes
    Last Post bmartz
    by bmartz
     
    Started by funk10101, Today, 12:02 AM
    0 responses
    4 views
    0 likes
    Last Post funk10101  
    Started by gravdigaz6, Yesterday, 11:40 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by MarianApalaghiei, Yesterday, 10:49 PM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X