Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SetStopLoss() in Concurrency situation?

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

    SetStopLoss() in Concurrency situation?

    In extremely fast market, is it possible that Stoploss order is being trigged while another command is being received to change its price?The result is that after the changing, even though the stoploss order is filled, it still generate another stoploss order and position is already flatted?
    Last edited by steinberg123; 11-11-2024, 03:42 AM.

    #2
    Hello steinberg123,

    Yes that is possible, if the position has not yet updated when you call the method again it could potentially submit a new order.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Working...
    X