Avoid immediate execution of a second position while first position is being executed

Created at 16 Mar 2017, 20:00
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!
IF

iForex2015

Joined 17.03.2015

Avoid immediate execution of a second position while first position is being executed
16 Mar 2017, 20:00


Hello Team

I am using Amazon AWS free tier vps for testing some bots on demo accounts and it is very slow for executing new positions. So when a position is being opened, another position is opened immediately too even though bot has logic to open only one position at a time by checking number of opened positions. How can I avoid opening a second positon based on signals while first position is being opened because of the slowness of the system?

Thanks


@iForex2015
Replies

... Deleted by UFO ...

iForex2015
22 Mar 2017, 02:38

Hi lucian,  

I changed the bot accordingly and its working fine so far. Thank you for your help .

 


@iForex2015