Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

market orders after hours for equities in backtesting

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

    market orders after hours for equities in backtesting

    Hello,

    I was just wondering, does ninja trader know not to trigger market orders after hours for equities in backtesting? I am developing a US equity strat that primary places limit orders that are filled after hours, then it places a limit target order and stop market order for each entry. I was wondering if NT knew to trigger the limit target order during after hours, but not to trigger the stop market orders until the regular trading session while backtesting.

    Thanks!

    #2
    Hello RobotSyndicate,

    Orders can be placed with any available data.

    Are you seeing bars on the Chart display in the after hours (meaning you are using a Trading hours template that includes these hours)?

    If so, orders can be placed in that data that is appearing on the chart.

    A time filter can be used to place certain order types at certain times.
    https://ninjatrader.com/support/help...to_limit_t.htm

    A sessionIterator can be used to get the times of a session to design logic around the trading hours template.
    https://ninjatrader.com/support/help...oniterator.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NinjaTrader_BrandonH, Today, 09:55 AM
    0 responses
    5 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by AH369, Yesterday, 05:37 AM
    3 responses
    19 views
    0 likes
    Last Post NinjaTrader_RyanS  
    Started by NinjaTrader_BrandonH, Today, 09:51 AM
    0 responses
    20 views
    1 like
    Last Post NinjaTrader_BrandonH  
    Started by caveat_lector, Today, 08:55 AM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by aligator, Today, 09:02 AM
    3 responses
    14 views
    0 likes
    Last Post NinjaTrader_Eleanore  
    Working...
    X