Developing a Private MetaAPI Python Lib for MetaTrader Trading
Finally!
Using this library, we will be able to make trades to MetaTrader directly from our Python system, without having to even install a MetaTrader terminal. For those who reached out to me saying that Oanda does not have good support for US traders, but also do not know how to code in MQL or want to use the MetaTrader environment - this is the perfect solution for you. We can do everything natively in Python only and still execute our trades.
We release the paper today for building a metatrader broker service, for use in retrieving data, trade execution and portfolio management. This will be used in the paper next week where we build an order executor handling thousands of trades. After the order executor, we will go into keeping logs and analysing the trades in streamlit. This will sum up our quant toolkit development. For those of you who want to follow along, do sign up!
Here is the free 20 page version with code -
and for paid readers, the full version. I think there are some excellent code examples in the paper, so I do encourage all readers to give the full paper a read.