Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Two step execution

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

    Two step execution

    Hi everyone

    I'm working with 1min bars and currently I'm backtesting executing at market price.
    I'd like to put an order between bid/ask, and then, after 30 secs, if I didn't get filled, to execute at market price.
    Can I backtest this? If I can, how?

    Thank you

    #2
    You can not backtest this since historical bid/ask data does not exist on a bar basis, only OHLC, Volume and Time are known in a historical backtest.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thank you.

      When I backtest a strategy with Market execution, the strategy is supposed to use bid/ask prices though. Am I correct?

      Comment


        #4
        No since ask/bid data is not present on a OHLC bar.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        637 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        366 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        107 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        569 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        571 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X