By default the max lot size is 10000000/LotAmout. The manual was a bit outdated here. The Oanda API has LotAmount 1, so the limit is in fact 10,000,000 units.