Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trading Hours and orders outside those times

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

    Trading Hours and orders outside those times

    Hi,
    I am wondering if Ninja will send orders outside the times dictated by the TradingHours template.
    For example the "CME US Index Futures ETH" template finishes at 4pm and restarts at 5pm.

    If a strategy got a signal bang on the end of the session, e.g. at 4pm, and placed a market order to enter, would Ninja immediately place the order, or wait until 5pm?
    Is it at all possible that ticks can arrive to the strategy between 4pm and 5pm using this TradingHours template?

    Apologies for the basic questions - on this side we are trying to pin down the reason for an 'out of hours' problem with a broker.

    Cheers,
    saltminer

    #2
    Hello saltminer,

    OnBarUpdate and OnMarketUpdate are data driven. When the time is outside of the hours defined in the Trading hours template, the data stops being driven and these methods do not trigger.

    Which means there isn't anything to drive order placement.

    Theoretically you could use a timer to continue sending orders though..
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X