Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question on OrderActions

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

    Question on OrderActions

    Hi
    this is probably a dummy question, but suppose I want to send 2 limit orders to buy and sell but I don't know which one will be executed first. Basically one is the entry and the other one the exit but we don't know yet which is which.

    If the names are irrelevant then I send directly one Buy Limit and One SellShort Limit and don't care about which one is executed first. That would mean SellShort is equivalent to a Sell when I am Long. And Buy is equivalent to BuyToCover when I am short.I hope that is the case.

    However if the name are relevant (for whom? NT or Broker?), then I need to detect which one is executed first, cancel the other one and send the adequate exit order.

    For example if ShortSell is executed first, I cancel the buy and send a BuyToCover. Hence I will have to use OCO orders.

    Thanks in advance for your answer

    #2
    Hello jakjak74,

    Yes, if your buy limit order executes first, the sell limit would close your long position when it executes (and vice versa). The name is irrelevant.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    557 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X