Dealing with Partial Fills?
- Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6.
- Trading Loops?
- What happens with a partial filled order and its position ticket
After you get a valid ticket number, do an OrderSelect() and compare OrderLots() to what you want.
very few brokers say they do partial fills.
After you get a valid ticket number, do an OrderSelect() and compare OrderLots() to what you want.
very few brokers say they do partial fills.
I was Googling for something unrelated but made the following notes:
mbTrading.com states that commission field is only for a single entry, but ECN brokers have two - on open and close. Therefor they add an extra trade entry in history has a credit/debit at the time of order close.
http://www.mbtrading.com/metatrader4.aspx FAQ states that partial fills are possible on ECN/STP environments https://forum.mql4.com/31514, resulting in multiple ticket IDs.
OANDA MetaTrader4 giving 2 orders in History Pool to Each Order Closed - MQL4 forum https://www.mql5.com/en/forum/137639