Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

multi-instrument strategy failed to execute

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

    #16
    Originally posted by Josh View Post
    2. Storing real-time bars and requesting historical bars are independent of each other. Once your strategy is done loading up it will proceed in updating the OnBarUpdate() of each instrument as data flows in. This data is never set in stone in ordering. It will come in sequence however the tick data flows. If SPY decides to update twice in a row without ES updating, it will do that.

    If your strategy lost connection you would need to manually handle it. The general approach is to just cancel the strategy. You will want to reinstate it manually. NT will load data automatically. You won't be able to tell it to reload. Whenever it is running it will have the proper data.
    Just to confirm: you are saying there is no way within a running strategy to update/correct erroneous or missing previous bars. e.g. if while running my data feed drops and I lose the 1:24 bar, I am stuck with that until I restart my strategy.

    Also to confirm: no amount of "Advanced Order" programming can circumvent this. I am willing to write whatever code I need to to handle error conditions, but if there is no hook in NT to do this, then I am out of luck.

    Comment


      #17
      Unfortunately that is the case. Once streaming data is missed you will need to reload the strategy to repopulate it.
      Josh P.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by daniel_weber8, Today, 01:21 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_ChristopherS  
      Started by jungsoohuh, Today, 12:07 PM
      1 response
      24 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by SharonSS, Today, 11:54 AM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by crystalet, Today, 11:20 AM
      3 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by SuperDude123, Today, 09:23 AM
      1 response
      34 views
      0 likes
      Last Post NinjaTrader_JustinD  
      Working...
      X