AminHP / gym-mtsim

A general-purpose, flexible, and easy-to-use simulator alongside an OpenAI Gym trading environment for MetaTrader 5 trading platform (Approved by OpenAI Gym)
MIT License
412 stars 101 forks source link

Run on MT5 #28

Closed nexon33 closed 1 year ago

nexon33 commented 1 year ago

Is it possible to run a created model on an actual MetaTrader5 Instance?

AminHP commented 1 year ago

Hi @nexon33, of course. You just need to download the MT5 data using its APIs in real-time. Then, feed that data to the model. Afterward, you can apply the decision made by the model using two MT5 APIs (create order and close order) in your actual account. Check out this link for more information about the MT5 APIs.