yes, shouldnt even be difficult, you literally have to pipe into the python ea not real time market but history, I honestly cant believe they are not able to do it, I guess this tool is not standing the test of time, any serious python framework to test?
Yes I would be very interested in that as well. I am currently doing some research to see if there any backtesting framework for python.
Did you guys find anything?
Perhaps it would be a good idea to build something like this.
An ideal setup would be
Python (backend) for trading ---> MT5 (frontend) for execution
and a backtester for the Python backend that uses the historical data and market behaviour from MT5.
That of course means one has to build/replicate the whole Strategy Tester functionality that exists in MT5 (like proper timings, slippage etc).
The advantage of course is that you can customize it. Even use a better optimisation algorithm than the generic genetic optimiser
the closest thing i've found
https://github.com/mkhushi/MQL5-Python-Backtesting
I think MetaQuotes must admit python in the strategy tester
- mkhushi
- github.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I've recently seen quite a few updates to Integration with Python, including various functions.
Does it can be used in back testing?
According MQL5 Reference, I found that there is no such function.