Bug in cTrader: Method not found: 'Int32 cAlgo.API.Internals.IAccount.get_Number()'.
Created at 23 Jun 2014, 14:23
Bug in cTrader: Method not found: 'Int32 cAlgo.API.Internals.IAccount.get_Number()'.
23 Jun 2014, 14:23
Hi
I have a function in Bot:
if (specifiedaccount == true && Account.Number != allowedaccount) { Informer("Invalid Account Number!! Please contact bachapk@gmail.com"); Stop(); }
With the above code I am getting following error on cTrader .. Remember that it is running fine on cAlgo.
23/06/2014 11:19:24.419 | Swabi_1, EURUSD, m1 | Crashed in OnTick with MissingMethodException: Method not found: 'Int32 cAlgo.API.Internals.IAccount.get_Number()'.
I guess it is a bug in cTrader platform. Please take actions as soon as possible or advise.
Bacha
Spotware
23 Jun 2014, 14:29
Account.Number property was added in cAlgo/cTrader version 1.23. Probably you created your cBot in cAlgo 1.23, but trying to run it in cTrader 1.21. We plan to update all environments to 1.23 version during this week.
@Spotware