YM is not a valid ticker.  I suspect you mean YM___EXP07-ECBOT-FUT
where _==<space>(3) and EXP==<expiry month> e.g. YM   SEP07-ECBOT-FUT

Snap

In [email protected], "eric tao" <[EMAIL PROTECTED]> wrote:
>
> Hi Guys,
> 
> I get following error when I try to place a bracket order using IB
> Controler. Help please.
> 
> //--------------------------------------
> // this one succeed
> pid = ibc.PlaceOrder(YM, "SELL", 1, "MKT", 0, 0, "Day", False );
> 
> // this one failed, it says:
> // COM method/function 'PlaceOrder' call failed.
> ibc.PlaceOrder(YM, "BUY", 1, "LMT", L-10, 0, "GTC", False, 100, "",
pid);
> 
> // this one failed too, same error message
> ibc.PlaceOrder(YM, "BUY", 1, "STP", 0, L+5, "GTC", True, 100, "",
> pid);    
> 
> //--------------------------------------
> 
> Thank you in advance.
> Eric
>


Reply via email to