Position Being filled and Cancelled straight away. Demo Account

Created at 01 Apr 2020, 22:25
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!
CT

ctid1412177

Joined 02.03.2020

Position Being filled and Cancelled straight away. Demo Account
01 Apr 2020, 22:25


Dear Team,
On several occasions, my system has opened an order then immediately attempted to close the position with 15 milliseconds.  

01/04/2020 14:09:19.600 | → Order OID36017435 is FILLED at 1.09407, position PID20367190 closed (01/04/2020 14:09:19.310 UTC+0)
01/04/2020 14:09:19.366 | → Request to close position PID20367190 is ACCEPTED, order OID36017435 created (01/04/2020 14:09:19.098 UTC+0)
01/04/2020 14:09:18.866 | Request to close position PID20367190 is sent to server
01/04/2020 14:09:18.710 | → Limit order to SELL € 500k EURUSD OID36016133 is FILLED at 1.09406, position PID20367190 (01/04/2020 14:09:18.439 UTC+0)
01/04/2020 14:08:58.460 | → Failed to close position PID20367190 with error "POSITION_LOCKED"
01/04/2020 14:08:58.210 | → Order OID36017421 is FILLED at 1.09406, position PID20367190 closed (01/04/2020 14:08:57.944 UTC+0)
01/04/2020 14:08:57.975 | → Request to close position PID20367190 is ACCEPTED, order OID36017421 created (01/04/2020 14:08:57.712 UTC+0)
01/04/2020 14:08:57.475 | Request to close position PID20367190 is sent to server
01/04/2020 14:08:57.475 | Request to close position PID20367190 is sent to server
01/04/2020 14:08:57.460 | → Limit order OID36016133 to SELL € 500k EURUSD is PARTIALLY FILLED for € 100k at 1.09406, position PID20367190 (01/04/2020 14:08:57.193 UTC+0)
 

The account is a demo account ctid1412177.  Could you please advise?

Many thanks,

 

 


@ctid1412177
Replies

PanagiotisCharalampous
02 Apr 2020, 08:50

Hi there,

Can you provide us with the cBot code and instructions how to reproduce this behavior?

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

ctid1412177
02 Apr 2020, 09:42

RE:

PanagiotisCharalampous said:

Hi there,

Can you provide us with the cBot code and instructions how to reproduce this behavior?

Best Regards,

Panagiotis 

Join us on Telegram

Hi,

Sent an email to your account with instructions.  Just so we are clear this is not a backtest problem but when it runs in ON mode.
Thannks,


@ctid1412177