Cancelling Limit Order When Market Order Closed

Created at 16 Apr 2015, 14:48
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
KE

Kevin

Joined 05.12.2013

Cancelling Limit Order When Market Order Closed
16 Apr 2015, 14:48


Hey all, I asked this previously but had no response.

My robot places a market order and limit order at the same time when certain conditions are met, both with the same T/P value. Is there any way to cancel the limit order once the market order takes profit?


@Kevin
Replies

cjdduarte
16 Apr 2015, 16:24

RE:

/api/reference/positionclosedeventargs

/api/guides/trading_api#el8

 

Kevin said:

Hey all, I asked this previously but had no response.

My robot places a market order and limit order at the same time when certain conditions are met, both with the same T/P value. Is there any way to cancel the limit order once the market order takes profit?

 


@cjdduarte

Kevin
20 Apr 2015, 20:22

Thank you so much, this will be a great help!  :D


@Kevin