Sending a futures option order through TWS excel API

Discussion in 'Options' started by TraDaToR, Mar 9, 2009.

  1. TraDaToR

    TraDaToR

    Hello,

    I have a problem. I have never been able to send a single futures option
    order with TWS excel API( I have no problem sending futures and stock orders ).I was hoping some here use IB and submit orders through DDE api.

    It's not a problem of id. It's not a problem of
    transmission since I can request datas with DDE and place orders manually.

    Here's the kind of code I use:

    =myname|ord!'id6689?place?BUY_1_CL_FOP_
    200905_60_C_NYMEX_USD_LMT_0.92_{}_DAY_{}_{\}_O_0_HelloWorld_1_{}_0_0_0_0_0_0'


    I tried to get a sample through twsddebeginner but their example didn't work
    either. Please can you tell me where the problem is or send me a working order code
    for any future option?

    Thanks a lot for your help.
     
  2. You are running the API version and the TWS version that have a bug. Update to the newest versions and you will be fine.
     
  3. TraDaToR

    TraDaToR

    Thanks a lot Maestro,

    I just hope there haven't been API "enhancements" since that will make my futures systems bug... I am just scared of those upgrades when everything works fine.

    Did you have this problem?
     
  4. YES, everybody had this problem. Just roll to the new version.
     
  5. TraDaToR

    TraDaToR

    ok , will do it tonight.

    Thanks.
     
  6. TraDaToR

    TraDaToR

    I have downloaded latest version of TWS and API 9.6, but it still doesn't work.

    There must be something in the order syntax. If someone can place a working order line for any future option, I would be really grateful.

    Thanks in advance.
     
  7. TraDaToR

    TraDaToR

    It's OK, I found the problem.It's working now.

    there was an extra space before the expiry...
     
  8. I was just about to say that. It happens often when the eSignal type of symbols are used in TWS.
     
  9. TraDaToR

    TraDaToR

    No need of e signal to mess up the code , I usually do it myself...LOL

    Thanks for the updating recommendation by the way, I just realized how much TWS has evolved since my last update.