I am having some issues with Interactive Brokers API: when I request the contract details by using
110 The price does not conform to the minimum price variation for this contract.
I got in touch with IB's tech support and this is what they had to say about the minTick property for a contract:
user: Hello, I'm trying to obtain the minimum price for a given stock but I am having some issues: when I obtain the data from reqContractDetails, I get consistently a minTick of 1.0E-4, but when I place an order with an increment of 0.0001, I get the error: The price does not conform to the minimum price variation for this contract.
user: I have verified this with stocks such as VLTC and PBMD
user: it only allows me to place an order with a price increment of 0.01, which is not consistent with minTick
IB Agent: The minimum price from contractDetails() is not a complete information.
IB Agent: Unfortunately, it won't provide more information
IB Agent: you need to examine the
user: so there is no programmatic way to obtain the minimum tick price for a given stock
IB Agent: In using our API, no
IB Agent: is this US stocks?
IB Agent: normally it is above $1, then the price increment is .01
In other words, minTick for the IB API is not a reliable way to know the min tick size for a given stock and some other way must be considered to perform this task.