The maximum position size, whether long or short, depends on your available buying power and the maximum buying power permitted under your account rules.
Before placing an order, ensure you have sufficient buying power to open the position. Your available buying power may change as you open or close positions.