Almost all stock trades are split up into partial fills/trades, 2 or more, mostly a one digit number like 1,2 or 4 shares and then the rest of the shares.
Since these orders are market orders, there should be no partial "trades" at all! (several executions or fills OK, but the Number of trades has to be only be one, since it is ONE market order = 1 trade, not many!)
Is there a way to suppress this behavior ? If I look at the account performance and see 500 trades instead of 100 - how am I supposed to calculate the true order/trade costs to verify the profitability... In backtest with historical data it works "correctly".
It makes any analysis of a realtime simulation worthless right now, I hope it has only to do with my coding... ?

Comment