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 memonolog, Today, 01:29 AM
    0 responses
    1 view
    0 likes
    Last Post memonolog  
    Started by BennyNewtony, Today, 12:13 AM
    0 responses
    4 views
    0 likes
    Last Post BennyNewtony  
    Started by thgeenlifesd, Today, 12:13 AM
    0 responses
    8 views
    0 likes
    Last Post thgeenlifesd  
    Started by thgeenlifesd, Today, 12:10 AM
    0 responses
    3 views
    0 likes
    Last Post thgeenlifesd  
    Started by Amandayuioa, Yesterday, 11:47 PM
    0 responses
    5 views
    0 likes
    Last Post Amandayuioa  
    Working...
    X