Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Last price fill orders

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

    Last price fill orders

    Is there any way to force ninjatrader to fill all orders at the current last price instead of at the bid/ask. I'm testing a strategy in market replay and I need both long and short, exit and entry orders to all be placed on the Last price, not anything else.

    #2
    Hello magnatauren,

    Thank you for your post.

    This is not something that can be forced in Market Replay. More advanced testing features will be added for playback in the next major release of NinjaTrader. You can take a look at the major enhancements at the following link: http://www.ninjatrader.com/downloads...njaTrader8.pdf

    Comment


      #3
      Originally posted by magnatauren View Post
      Is there any way to force ninjatrader to fill all orders at the current last price instead of at the bid/ask. I'm testing a strategy in market replay and I need both long and short, exit and entry orders to all be placed on the Last price, not anything else.
      The last price is Close[0]. You place a limit order at that price.

      Comment


        #4
        The last price is Close[0]. You place a limit order at that price.
        Won't the limit order only trigger once the price crosses through that limit order though? I need it to get out at an exact moment, not price.

        Edit: I guess I kinda need it to get out at the right price too which is why I'm asking this question in the first place. But It's sending multiple orders per 5 minutes and that's the issue that I think i would run into if it doesn't close out when the timer goes off.
        Last edited by magnatauren; 04-01-2015, 03:24 PM.

        Comment


          #5
          Originally posted by magnatauren View Post
          Won't the limit order only trigger once the price crosses through that limit order though? I need it to get out at an exact moment, not price.
          That depends on the market conditions. I have had orders filled when touched, but yes, generally speaking, limit orders fill when traded through. Then again, the only way to force a price is with a limit order. You did ask for a forced price equal to the Last price.

          This is what you asked: "Is there any way to force ninjatrader to fill all orders at the current last price instead of at the bid/ask." (emphasis mine)

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          26 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 02-22-2024, 01:11 AM
          5 responses
          32 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, Yesterday, 09:53 PM
          2 responses
          49 views
          0 likes
          Last Post wzgy0920  
          Started by Kensonprib, 04-28-2021, 10:11 AM
          5 responses
          191 views
          0 likes
          Last Post Hasadafa  
          Started by GussJ, 03-04-2020, 03:11 PM
          11 responses
          3,231 views
          0 likes
          Last Post xiinteractive  
          Working...
          X