vdemydiuk / mtapi

MetaTrader API (terminal bridge)
http://mtapi4.net/
MIT License
523 stars 282 forks source link

BackTest MT5 strategy tester - full speed #118

Open mbandu opened 6 years ago

mbandu commented 6 years ago

Hi,

When i run strategy tester with faster speed, i got the following error.

An exception of type 'System.ServiceModel.CommunicationException' occurred in MTApiService.dll but was not handled in user code Service connection failed! The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

When i run it slow speed in strategy tester or run live data on MT5, it working fine.

Can you suggest me, how should i run strategy tester full speed?

thank you,

Bandu

vdemydiuk commented 6 years ago

Hi, I need to investigate this problem. I will let you know about any result soon.

vdemydiuk commented 6 years ago

I have tested MtApi (MT5) with backtesting in the fastest mode and I have not got the error. What specification has your PC where backtesting is running? Can you try to test last version of MtApi (1.0.19). I have made some changes of backtesting in this version.