IB API - get all expirys and strikes of a stock symbol

Discussion in 'Automated Trading' started by dangqiwu, Nov 12, 2013.

  1. dangqiwu

    dangqiwu

    Thanks Butterfly.

    Fortunately I solved this problem.

    I'm using the EWrapper from the old version.

    The old definition is
    void contractDetails(const ContractDetails &contractDetails);

    while the new one is
    void contractDetails(int reqId, const ContractDetails &contractDetails);

    My codes were written in the old one. Just move them to the new function and everything works.
     
    #11     Nov 13, 2013