order cancellation

goradiasagar72
can someone help me with the code for ...
senario-
there are 2 orders which is place and executed both are cover orders i want to code that if stop loss of one order gets hit than immediately other open orders should get exited is that even possible to do ??????
plzz someone help me with this or give me the way to go about
  • Imran
    hii @goradiasagar72

    1.While placing both orders store their order id.
    2.keep monitoring if stop-loss has been triggered or not.
    2. if it's triggered then cancel the other by canceling its order id.
  • goradiasagar72
    Thanks bro for the suggestion ...
    But the point is to not monitor manually
    Is there any way possible to automate this process ...!!
  • Imran
    @goradiasagar72
    the steps above can be programmed...maybe we missed the point
  • vihan13singh
    Greetings @goradiasagar72!

    I'm Vihan Singh, founder & CEO at Blackrose Technologies. We're an investment & technology development firm focused on building black-box trading systems for financial markets using statistical learning theory.

    From the requirements you've described, I'm assuming you're trying to implement a pairs trading/statistical arbitrage strategy. What you're looking for is definitely possible and we'd be happy to help you with this.

    Feel free to call us on +91-9810171088 or email us at [email protected] if you would like to connect.

    Cheers!
Sign In or Register to comment.