I seem to remember IB has a hard max of 500,000 shares per order. More recently, they have dumb “liquidity / market impact” based maximums which vary based on recent trading volume, what type of order you’re trying to place, and I’m sure more stuff they didn’t bother to tell us. The latter can be somewhat annoying.