Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    26 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 04-23-2024, 09:53 PM
    2 responses
    49 views
    0 likes
    Last Post wzgy0920  
    Started by Kensonprib, 04-28-2021, 10:11 AM
    5 responses
    193 views
    0 likes
    Last Post Hasadafa  
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,235 views
    0 likes
    Last Post xiinteractive  
    Working...
    X