Alpaca-backtrader-api gives threading error on running sample code

The error seems to point to this line in stream2.py:

IF you want to go comment out line 27 and replace it with(or add the lines):

self.loop = asyncio.new_event_loop()
asyncio.set_event_loop(self.loop)

It will run.

Here is a great description of the problem: