IB Rep,
The night before, using the api, I used to recognize the "insufficient shares" message and progressively enter smaller orders until I reached the number available. Now, as far as I can tell, the api does not provide any method of doing this. In fact the api cannot even tell when...