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
428 stars 107 forks source link

Fee is not the same as spread #42

Open andydoc opened 1 year ago

andydoc commented 1 year ago

It appears you have not considered the fee per lot charged on some asset classes by some brokers. Eg it is common in my experience for there to be zero commission on indices but a commission per lot per round turn of $6-7...

AminHP commented 1 year ago

The fee value is given through the create_order method. Isn't it possible to manually set the fee based on the asset terms?