-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BackTesting #252
Comments
I know the problem. Now I use the following workaround. In the Trading APP I calculate the maximum time in minutes of the backtest. Set a SafeEnd = maxtime-10min Here some code as help(MatLab) Generate dates:
|
I want to clarify the available functionality of BackTesting (MtApi5).
As I could check, these options are absent for MtApi5 if compare with MQL experts:
If I am wrong here or you have some other details, please share them with us.
And what I found is really missing for backtesting is there is no event in MtApi5 that says that backtesting is finishing.
https://www.mql5.com/ru/docs/event_handlers/ontesterdeinit
As a result Client.GetHistory.. methods returns "No connection" exception after auto-disconnecting.
Also is it possible to add the following method?
https://www.mql5.com/en/docs/common/testerstatistics
The text was updated successfully, but these errors were encountered: