OpenTrader
OpenTrader copied to clipboard
Pythonic "trading functions" API
I think it would be nice to have a python style api just like TradePlatform.NET has a C# wrapper over trading functions:
https://tradeplatform.codeplex.com/SourceControl/latest#TradePlatform.MT4.SDK/TradePlatform.MT4.SDK.API/TradingFunctions.cs
This python api could be used both in embedded python and have an implementation that runs externally that uses zeromq to send the commands.
I know about do_order perhaps this api could just call do_order for the external zeromq powered implementation?: https://github.com/OpenTrading/OpenTrader/blob/6b9625ec2b672ba73f0b846913a3d52ae1f1b659/OpenTrader/OTCmd2.py#L789
Link to the embedded issue:
https://github.com/OpenTrading/OTMql4Py/issues/3