Problem with position taken twice

Created at 30 Jan 2015, 23:54
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!
Cbotprodevelopper's avatar

Cbotprodevelopper

Joined 29.01.2015

Problem with position taken twice
30 Jan 2015, 23:54


Hi there, I have a problems my bots takes some position twice I can't understand why. The code is good but randomly it happened that the position is taken twice at the same entry price


@Cbotprodevelopper
Replies

9718853
31 Jan 2015, 00:04

can you share the code? 

Is it the same cBot as your other code? Maybe a pending order happens to fall on the same price as another?


@9718853