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 DanielTynera, Today, 01:14 AM
    0 responses
    2 views
    0 likes
    Last Post DanielTynera  
    Started by yertle, 04-18-2024, 08:38 AM
    9 responses
    40 views
    0 likes
    Last Post yertle
    by yertle
     
    Started by techgetgame, Yesterday, 11:42 PM
    0 responses
    11 views
    0 likes
    Last Post techgetgame  
    Started by sephichapdson, Yesterday, 11:36 PM
    0 responses
    2 views
    0 likes
    Last Post sephichapdson  
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,615 views
    0 likes
    Last Post aligator  
    Working...
    X