I am using IB API to send orders, say, 100 shares to buy AAPL. Someone constantly sells me one share each time. I tried to specify minQty=100 in the order class, but it did not work. any solution?
ib holds aon order on their server until There are enough shares on ask to hit for me. I want someone hit me with 100 shares.
unfortunately with IB API, the commission is 1 dollar even for 1 share since I want to specify exchange instead of using IB smart routing.
%% TRY a good limit or even a market order/rather than miss the move; since all get paid on volume. [For sure I dont want $1 commission for one share; I never have gotten a bad fill on a generous limit order]With a real liquid stock like AAPL==that's even worse]
You could look into using a FOK (fill or kill) or AON order (all or none). https://www.interactivebrokers.com/en/index.php?f=586 https://www.interactivebrokers.com/en/index.php?f=577