Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Tp, Sl , Order book & Slippage : Beginner's question

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

    Tp, Sl , Order book & Slippage : Beginner's question

    Hello
    I'm new here and this is my first post and I don't know if I'm in the right category.
    I would like you to confirm ( or deny) that when a strategy places an order with TP and SL, we enter at the market price, so we suffer slippage but the TP and SL are placed automatically in the order book so no slippage.
    Thanks for the information​

    #2
    Hello RookyNT8,

    Thank you for your post and welcome to the NinjaTrader forum community!

    Whether slippage is possible for an order does not have to do with whether it is an entry order or a Stop Loss/Profit Target order. It has to do with the order type. If an entry is a market order (as you mentioned entering at market price) then slippage could apply. Whether slippage could apply to a stop loss or profit target depends on the order type. For example, a limit order would not experience slippage, though it is also not guaranteed to fill. A stop market order, even if it is an order "placed in the order book" would still be subject to slippage as once the stop price is hit, it converts to a market order which could experience slippage. For a strategy, it would be important to understand what order types are being used for your entries and exits to get a deeper understanding of which orders could be subject to slippage or not.
    For more information regarding different order types and slippage, please see the following publicly available resources:

    Understanding order types is an important step in learning how to trade futures. Learn the function of three basic futures order types.


    Please let us know if we may be of further assistance.
    Emily C.NinjaTrader Customer Service

    Comment


      #3
      Hello RookyNT8,

      Thanks for your post and welcome to the Forums!

      To avoid slippage on a stop order, you would want to use a stop limit order (such as ExitLongStoipLimit()) with no offset, meaning the stop price and the limit price are the same.

      To avoid slippage on a target order, you could use a limit order such as ExitLongLimit().

      Please note that the NinjaTrader platform does not have any control over the execution of live orders. Once orders have an Accepted or Working status, they reside at the exchange and will execute as per market dynamics

      Managed Approach: https://ninjatrader.com/support/help...d_approach.htm
      Brandon H.NinjaTrader Customer Service

      Comment


        #4
        Thank you for your answers. I will follow these links.
        Considering what you have written, if I understand correctly, the orders are on the "exchange server". I can therefore cut NT8 once the order has been placed and when the price reaches the Sl or TP, the position will be closed automatically and I will possibly suffer a slip depending on the type of order I have placed.
        Can you confirm that I have understood correctly please.

        Comment


          #5
          Originally posted by RookyNT8 View Post
          Thank you for your answers. I will follow these links.
          Considering what you have written, if I understand correctly, the orders are on the "exchange server". I can therefore cut NT8 once the order has been placed and when the price reaches the Sl or TP, the position will be closed automatically and I will possibly suffer a slip depending on the type of order I have placed.
          Can you confirm that I have understood correctly please.
          More info on where your orders reside based on the order state as well as order state definitions may be found at the following links:



          With that said, if you close NinjaTrader your automated strategy will no longer be active to monitor your position and submit additional executions. Some strategy's have logic in place to submit and entry with an attached stop loss and profit target. They might also have logic in place that if something else happens, the stop loss and profit target are canceled and the position is exited, or they may have modifications to the stop loss and profit target in place for behaviors such as a breakeven or trailing stop. If NinjaTrader is not open and connected with the strategy enabled, these actions are not able to take place to manage the position automatically.

          Whether you will "probably" suffer a slip ultimately depends on the order type and market dynamics and is not determined by NinjaTrader when trading on a live account. It may be more likely in times of higher volatility/fast market movement.

          Please let us know if we may be of further assistance.
          Emily C.NinjaTrader Customer Service

          Comment


            #6
            thank you, I understand everything

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by fx.practic, 10-15-2013, 12:53 AM
            5 responses
            5,404 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by Shai Samuel, 07-02-2022, 02:46 PM
            4 responses
            95 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by DJ888, Yesterday, 10:57 PM
            0 responses
            8 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by MacDad, 02-25-2024, 11:48 PM
            7 responses
            159 views
            0 likes
            Last Post loganjarosz123  
            Started by Belfortbucks, Yesterday, 09:29 PM
            0 responses
            8 views
            0 likes
            Last Post Belfortbucks  
            Working...
            X