Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Auto order cancellation with missing bars

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

    Auto order cancellation with missing bars

    Hi,
    A couple of questions regarding empty bars:
    • Will OnOrderUpdate() still be called for this time bar? (I'm guessing not)
    • Say I'm working with 1-min bars. When will an order be cancelled in the managed approach? 1 minute after placing, or when a real bar arrives?


    Thanks,
    Boaz

    #2
    Hi Boaz, the OnBarUpdate() would not be connected to the OnOrderUpdate().

    NT is event driven, so if there's no tick to close / open a new bar then the order would persist until you get a new bar update.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    15 responses
    3,270 views
    0 likes
    Last Post xiinteractive  
    Started by Tim-c, Today, 02:10 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    2 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    51 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    10 responses
    403 views
    1 like
    Last Post beobast
    by beobast
     
    Working...
    X