Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi-Instrument Strategy No Calls to OnBarUpdate()

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

    Multi-Instrument Strategy No Calls to OnBarUpdate()

    Hi,

    I develop a multi-instrument strategy that load a significant amount of instruments.
    When I debug the strategy I see that the Initialize() is called and all the instruments are loaded but then I get a second call to the Initialize() function and then the strategy terminate without calling OnStartUp(),OnBarUpdate(), OnTermination().

    There are no Errors in the log window.
    When I decrease the number of Instruments the strategy works fine.

    I guess the problem is with one of the instrument I'm trying to load but without getting an error I cannot find this instruments.

    Please advise.

    TX,
    Roy

    #2
    Hello Roy,
    Can you send a toy code* replicating the exact scenario to support[AT]ninjatrader[DOT]com.

    Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

    I look forward to assisting you further.

    *The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    637 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    571 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X