IB ActiveX API and Extended Order Attributes

Discussion in 'Automated Trading' started by Matt8200, Feb 20, 2006.

  1. Does anyone here use ActiveX to connect to IBs API?

    I can't figure out how to use the extended order attributes. I am using Matlab to call the ActiveX events and methods. The code I use to place an order is:

    tws.placeOrder(id, action, quantity, symbol, secType, expiry, strike, right, multiplier, exchange,'', currency, orderType, lmtprice, auxPrice, goodAfterTime, faGroup, faMethod, faPercentage,faProfile,goodTillDate);

    Where do the extended order attributes fit into this or what method do I use to set them?

    I am new to ActiveX. All the programing I've ever done has been in Matlab.
     
  2. francis1

    francis1 ET Sponsor

    Hi Matt,

    You can do this by setting the properties of the ActiveX instance directly. But this question should be posted on the TWS API forum.

    Francis
     
  3. Yeah, I just figured out how to do that.

    Thanks