I am using the great package ib_insync for building a project with IB. I am getting some live ticker data as follows (pseudo code):
ib_insync
IB
pseudo code