Excel DDE and IB (2nd)

Discussion in 'Order Execution' started by prisma, Oct 11, 2002.

  1. fortuna

    fortuna

    I am totally ignorant of TWS API: could someone tells me how useful it can be ?


    Best Regards

    Do someone knows a website where I could find some VBA Excel programs for finance/database
     
    #11     Oct 27, 2002
  2. slb

    slb

    There's reason behind why conditional order in Excel demo does not work in real trading:)

    The code is basically a dead loop that checks the condition to submit the order constantly. This loop interferences with what else it is going on in Excel.

    The better logic would be that when market changes, it triggers the condition check, etc.

    The check also needs to be aware of any changes and skip the check while the changes are being made, so it won't submit order inadverdently.
     
    #12     Oct 27, 2002