Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization with Stop Order Entries much slower than with Market Order Entries

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

    Optimization with Stop Order Entries much slower than with Market Order Entries

    Hi!

    Why is the optimization with stop order entries much slower than with market order entries? Is there a way to boost the perfomance with stop order entries? I already have instantiated on each optimization iteration set to false.

    Thanks!

    Kirk

    #2
    Hello Kirk,

    Thank you for your post.

    There are many items that may affect the performance of Strategy Analyzer optimizations. You already pointed out the IsInstantiatedOnEachOptimizationIteration property. It is important to keep in mind that when this is set to false, objects created in your code have to be reset accordingly. This is noted in the help guide with an example showing how to reset objects:



    Other items that can impact the performance of an optimization include the "Keep best # results", IncludeTradeHistoryInBacktest, the number of iterations or the range of the optimization you are using, and whether the historical data needed for the instruments and dates involved is already cached or not.

    As a test, please try running an optimization on the SampleMACrossover strategy with the same/similar settings and see if you are getting the same results or a noticeably longer processing time. If so, please provide a screenshot of your settings for the optimization so we may further investigate and see if we are able to reproduce on our end.

    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X