Websockets were not installed in python
install websockets using the following code.
Go to terminal type the following code
pip install websockets
after installation re run the code you will get the same message “no holdings”
hope this will solve your problem
2 Likes