Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How limit order is defined FILLED???

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

    How limit order is defined FILLED???

    Hello Ninjas

    I'm developing an indicator that sends orders and I use PLAYBACK as a BACKTEST tool
    The indicator only sends LIMIT orders
    I'm verifying that the playback state machine sets ORDERS FILLED when the quote touches the order's limitPrice.
    I would like to know, if there is any way to adjust the playback so that it recognizes that the orders are FILLEDs when the quote goes beyond the limitPrice of the LIMIT order???

    Thnaks!!

    #2
    Hello MarceloF,

    The playback connection is going to fill orders much in the same way that a live broker would. If the price does not land on the limit or skips over it then it won't be filled. You would need to use a different type of order like a stop limit to give a range of prices where the order can be filled or stopped.

    You can read about how limit orders work on the public trading infomraion website investopedia: https://www.investopedia.com/terms/l/limitorder.asp

    Why Did My Limit Order Not Get Filled?
    A limit order may not get filled for a few reasons. First, your limit order will only trigger when market pricing meet your desired contract amount. If a security is trading above your buy order or below your sell order, it will likely not fill until there is price action on your security.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    222 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    138 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    154 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    237 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    195 views
    0 likes
    Last Post CarlTrading  
    Working...
    X