Mt5 python api code

 
Hi,
I have been using python module of mt5 succefully to trade fx. Recently, I added equity stocks to my portfolio and made changes to my python cods to do 'ordersend' for trading equities as well.however, the order send function is failing to execute. I have used exactly same function that I use for fx trading, but somehow it doesn't work for equities. 
Can anyone advice if it's possible to trade equities using mt5 in python? 
 
Hi I am struggling with the exact problem at first I got a reterror=10030 invalided filling type but it does that with all brokers i try
 

General information in one thread:

MetaTrader 5 Python User Group - the summary
MetaTrader 5 Python User Group - the summary
  • 2019.03.14
  • www.mql5.com
The Main Study MetaTrader module for integration with Python - documentation Python Releases for Windows - website MetaTrader5 : Python Package - w...