IB native python API for dummies

Discussion in 'Automated Trading' started by globalarbtrader, Mar 24, 2017.

  1. Yes there is. If you define a futures instrument without specifying an expiry date then you will get a list of all contracts which fit your description.
    Example: if you specify a contract by only the symbol (ZN), the security type (FUT), the exchange (ECBOT) and the currency (USD) and then use reqContractDetails(contract) you will get all futures contracts which match this incomplete contract specification. This information is sent by IB to the method contractDetails() which you need to override for your purposes.
     
    #21     May 14, 2019
    tommcginnis and Cyrix like this.
  2. Cyrix

    Cyrix

    Thank you.
     
    #22     May 14, 2019
  3. Wow thanks for posting this! I have been learning Python and messing around with Alpaca's API but I want to keep all my future live trading with IB. I will definitely be looking into this.
     
    #23     Jul 9, 2019
  4. Do you still use Python with IB now?
     
    #24     Dec 17, 2020
  5. Yes, but I'm using IB INSYNC as the layer between my trading code and IB

    GAT
     
    #25     Dec 17, 2020
  6. I find out you share a lot in internet community and thanks for your contribution.

    Recently I finish reading a new book about Japanese trader CIS. He wrote the book and talked about how he earned over 1 billions US dollars from almost zero with aggressive trend following style. He doesnt disclose his face and never try to earn from marketing or whatever. I think normal human can only try to copy his style with automated system since the daily psychology part is too hard to overcome.
     
    #26     Dec 17, 2020
  7. Could you tell me what is the title of the book? I hope it is in English. Thank you.
     
    #27     Dec 17, 2020
  8. Here is the Chinese version:
    https://www.books.com.tw/products/0010841394
    The original version was written in Japanese.

    I guess there isnt English version.
     
    #28     Dec 17, 2020