Hi, There are a few order types that I am interested in, for example 'all or none', 'minimum quantity', 'hidden', would it be possible to submit these sort of orders using API? If it is possible, what are the parameters to be passed? The complete list of advanced orders is here https://www.interactivebrokers.com/...guidebook/ordertypes/advanced_order_types.htm Thanks
I have not encountered an order type that you can't do with the API (but I could be wrong). I believe all the fields you are interested in are in the order structure you pass into the "submit order" function. Look up the API docs to double check this.
I'm having trouble when using the IB Gateway in receiving market data for inter-commodity spreads (for instance, RB - CL). These are considered "Advanced Order Types" in TWS and to see them native in TWS you must check under "Features" in TWS Configuration. The setting is unavailable in IB Gateway's Configuration and, likely accordingly, the spreads' market data do not pass thru (using C++ here). It's mildly annoying. The simple calendar spreads work fine with IB Gateway, and I note these same spreads were pre-enabled on TWS without checking "Features."