Program was running Friday. This morning I am getting above error.
I changed keys but this did not help. Also changed symbol and ran old copy of code that was working. No luck on either.
Here id the offending code:
def start_trading(self):
There was a change in SDK that now defaults to alpaca data stream unless you specify data_stream parameter to the initializer, and alpaca data stream does not support A channel. That is what the error message means but apparently it is still not clear.
Ah, same issue here, and I posted a question under programming. How do I specify data_stream parameter to the initializer, Hitoshi, would you please give an example? Thanks!
Hi Hitoshi,
My program stopped working yesterday. It gives this error “RuntimeError: This event loop is already running”
I removed all of my code and just left code from examples on the Alpaca site. It still gives the same error message.
Here is the code: It gives error on the con.run( line. Please please please. Tell me what is wrong? Thank you…Thomas