Recent content by rudj87

  1. R

    Backtrader:Can't connect to live data

    I tried to study the ib API, but I'm a beginner, at the moment I can't understand that documentation. Anyway, I've just noticed that with the TWS it works well, I don't understand why with ibgateway it works just sometimes...
  2. R

    Backtrader:Can't connect to live data

    according to the Backtrader documentation, it's in DELAYED mode when it's downloading the historical data and when it finishes it switches to LIVE. I'm using IbPY because was in the Backtrader documentation. Is there any test that I can do to find out what's the problem?
  3. R

    Backtrader:Can't connect to live data

    Do you mean because of the timeframe in seconds?
  4. R

    Backtrader:Can't connect to live data

    Hi, I just started learning programming in python for trading with backtrader, now I'm doing some connection tests with IB Gateway-Backtrader with IbPY API. I can't understand why sometimes it works but most of the time the program seems that it can't download historical data to go and use live...
  5. R

    Can't connect to API interactive brokers

    I don’t think i will send trade orders, my target is just get my opened position to an excel file ;) thanks for the advice :)
  6. R

    Can't connect to API interactive brokers

    yeah! now it works with the port 7496 :) thanks otctrade :)
  7. R

    Can't connect to API interactive brokers

    Thanks for the answers, yes, i enabled Activex and socket client where can i check if the IP is the same as the configuration IP in the tws settings?
  8. R

    Can't connect to API interactive brokers

    Hi, i'm trying to learn using python to access to IB, but i got stuck before i start. I copied this script from the documentation of IB for a test: from ib_insync import * ib = IB() ib.connect('127.0.0.1', 7497, clientId=1) and i have this error: API connection failed...
Back
Top