Account Equity resets on disconnection

Created at 17 May 2016, 16:33
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!
GoldnOil750's avatar

GoldnOil750

Joined 07.04.2015

Account Equity resets on disconnection
17 May 2016, 16:33


Dear Spotware,

there is a serious Issue or ERROR !!  When the cTRADER account disconnects from the server and is trying to reconnect the (1) Account BALANCE and (2) Account EQUITY amounts become equal.

Problem arises as our cBOT is working on Account Equity Value and since it has increase it closes positions.  THIS PROBLEM IS QUITE FREQUENT WHEN DISCONNECTIONS HAPPENS.

Secondly, when using "myFXBook" to monitor our account profile, this is same problem arises as the highest Equity reached value recorded by myFXBOOK is wrong due to this disconnection. And then when it re-connects, it gets the updated Account Equity and hence we see a lot of drawdown in equity and wrong analysis on Pips earned and everything.

 

Can SPOTWARE fix this error that when disconnection occurs and cTRADER is trying to re-connect, never ever to set the Account Equity Value to the Account Balance.  It (equity) should stay zero or blank and wait for the cTRADER to connect to the server and display the correct Account Equity.

waiting for your positive reply.

Thank you.

///S.Khan

 

 

 

 


@GoldnOil750
Replies

Spotware
17 May 2016, 16:50

Dear Trader,

As you most probably already know, when cTrader connects to the cServer, it receives all values of your trading account. A certain period of time of some milliseconds is necessary for the platforms to communicate and exchange the details of a user's trading account. We recommend you to add a delay of some milliseconds to your code, as a work around of your issue. Nevertheless, we understand your complaint and we will take it into consideration four our future plans. 


@Spotware

... Deleted by UFO ...

... Deleted by UFO ...

Spotware
19 May 2016, 09:48

Dear Trader,

Please have a look at the Thread.Sleep() method.


@Spotware

moneybiz
03 Jun 2016, 21:44

RE:

Spotware said:

Dear Trader,

As you most probably already know, when cTrader connects to the cServer, it receives all values of your trading account. A certain period of time of some milliseconds is necessary for the platforms to communicate and exchange the details of a user's trading account. We recommend you to add a delay of some milliseconds to your code, as a work around of your issue. Nevertheless, we understand your complaint and we will take it into consideration four our future plans. 

 

This is serious issue. Anybody who uses some percentage of the equity to open a position is at risk.
I just noticed that today it happened 7 times to me.

If cTrader receives all the values of the trading acount how come the balance comes earlier and sets it equal to equity without receiving the position values.
You should not let the bots run until all the information is in sync.


@moneybiz