This sounds interesting. As I understand, IBKR does provide an API and examples. Although I am also a newbie, may be we can collaborate and try to write something like this together.
Have you tried to run the API examples or connect to IBKR using the API.