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...