Mt5 python api code

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? 
Tiger the  
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