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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    153 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    306 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    244 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    345 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    176 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X