StopTriggerMethod
StopTriggerMethod
12 Feb 2020, 06:34
Hi,
Has anyone used this parameter in the ExecuteMarketOrder API. According to the documentation setting this parameter will close the present order and open a new order when the direction of the movement changes but i have tried using this API with and without stop loss but it does not seem to have any effect.
Thanks in advance,
Warm Regards,
Vipin.
Replies
driftingprogrammer
19 Feb 2020, 06:14
Made a guess
Hi,
Since there is no documentation I just made a guess reading a sentence each for the 4 types in the API.
My understanding is that when the stop loss is hit then this property will open a new trade in the opposite direction based on certain condition.
Is that not correct?
Thanks in advance,
Warm Regards,
Vipin
@driftingprogrammer
PanagiotisCharalampous
19 Feb 2020, 08:39
Hi Vipin,
No that is not the case. The StopTriggerMethod defines when a stop loss will be triggered. If you go to the order screen and hover on top of the respective button you will get the description of each option.
Best Regards,
Panagiotis
@PanagiotisCharalampous
driftingprogrammer
19 Feb 2020, 10:32
Thanks a lot
It all makes sense now. Thanks.
@driftingprogrammer
PanagiotisCharalampous
12 Feb 2020, 08:46
Hi Vipin,
The StopTriggerMethod is for stop losses so it will have no effect when a stop loss is not set. Can you tell me which documentation part led you to this conclusion?
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous