Account.Currency becomes null after ctrader re connection

Created at 30 Apr 2020, 05: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!
EO

eofe

Joined 18.06.2019

Account.Currency becomes null after ctrader re connection
30 Apr 2020, 05:33


Hi,

1) Run this code to reproduce bug.

        protected override void OnTick()
        {
            Print(Account.Currency);
        }

2) Disconnect ctrader and reconnect it.

3) You will observe account currency is now null.

 

Is there a workaround you can suggest please before the bug is rectified?


@eofe
Replies

eofe
30 Apr 2020, 13:42

RE:

eofe said:

Hi,

1) Run this code to reproduce bug.

        protected override void OnTick()
        {
            Print(Account.Currency);
        }

2) Disconnect ctrader and reconnect it.

3) You will observe account currency is now null.

 

Is there a workaround you can suggest please before the bug is rectified?

Strangely this problem does not affect demo account. It affects Live accounts.

cTrader support did you manage to replicate this bug?


@eofe

PanagiotisCharalampous
30 Apr 2020, 16:33

Hi eofe,

The team is investigating this issue.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous