Interactive Broker python API Question

Discussion in 'Interactive Brokers' started by orangelam, Jan 30, 2019.

  1. it is quite difficult to play around with the official python API document. it break everything down to small component and didn't provide a full script for client from login to IB to execute order.

    can anyone provide me a sample script for entering position at market open and settle position right before market close?
     
    xappppp likes this.
  2. I find ib_insync to be a good library for use with Interactive Brokers. Better than the official garbage API anyway.

    What kind of moron decided you need to inherit from two different classes for a single API.
     
  3. thanks a lot!! could you tell me where can i find the useful study material/sample scripts? or which demo script you are using?
     
  4. i guess is here https://rawgit.com/erdewit/ib_insync/master/docs/html/index.html ?
     
    nooby_mcnoob likes this.
  5. d08

    d08

    Ibpythonic is another great option. It uses the components of the official API with an IbPy-like structure. Plenty of IbPy examples around.
     
  6. Ironically, ibpythonic is very unpythonic.
     
  7. tommcginnis

    tommcginnis

    "That is a dead parrot."

    :D
     
  8. 2rosy

    2rosy

    this might still work


     
    tommcginnis likes this.
  9. https://qoppac.blogspot.com/2017/03/interactive-brokers-native-python-api.html?m=1
     
    #10     Jan 31, 2019
    tommcginnis likes this.