Spent some time trying out ChatGPT, for example to connect to API - this took me hours to figure out when I started programming, now youre ready within a minute, awesome! Heres the suggested code for either using the native 'ibapi' or the 'ib insync' package.