I figured out how to make automatic option trades using IB API. I\'m just struggling with one thing. Instead of a predetermined number of contracts, I want to use a predeter