Hi Tomasz,

I have re-tested the scenario from my original message with the latest IB 
Controller and IB plug-in and it still gives the same error. It seems like a 
bug to me. Could you investigate when you get a chance?

Thanks,
Nick


--- In amibroker@yahoogroups.com, "nick...@..." <nick...@...> wrote:
>
> Hello All,
> 
> I am trying to submit an order for ZF contract via IB Controller and keep 
> getting the following error message:
> 110. The price does not conform to the minimum price variation for this 
> contract.
> 
> I have tried the following variations of the code:
> 
> PlaceOrder("ZF   SEP 10-ECBOT-FUT", "BUY", 1, "LMT", 116.0078125, 0, "DAY", 
> True, 78.125);
> 
> PlaceOrder("ZF   SEP 10-ECBOT-FUT", "BUY", 1, "LMT", 116.0078125, 0, "DAY", 
> True, 1);
> 
> PlaceOrder("ZF   SEP 10-ECBOT-FUT", "BUY", 1, "LMT", 116.0078125, 0, "DAY", 
> True, 0.001);
> 
> PlaceOrder("ZF   SEP 10-ECBOT-FUT", "BUY", 1, "LMT", 116.0078125, 0, "DAY", 
> True, 0.0001);
> 
> It did not make any difference– all variations return the same error.
> 
> The tick size for ZF contract is 0.0078125. It seems to me that when the 
> order is transmitted to TWS, the price is truncated and not all decimals are 
> passed.
> 
> Does anybody know how to work around this problem?
> 
> Thanks,
> Nick
>


Reply via email to