-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stopped working #10
Comments
I'm looking into it. Do you get any errors? |
No errors. Just blank - no output. |
Fixed in new release v0.2.8. Update the package and feel free to reopen the issue if the problem persists. |
Still not working. I do get the message "### connection is open ###" but no updates after that. Details below
The code is same as you posted in examples:
|
@krazykoder thanks for posting. The issue was no longer with the package itself, but with the example in readme. Please, check the new client code or readme example. So, instead of the old code snippet, use this: import yliveticker
# this function is called on each ticker update
def on_new_msg(ws, msg):
print(msg)
yliveticker.YLiveTicker(on_ticker=on_new_msg, ticker_names=[
"BTC=X", "^GSPC", "^DJI", "^IXIC", "^RUT", "CL=F", "GC=F", "SI=F", "EURUSD=X", "^TNX", "^VIX", "GBPUSD=X", "JPY=X", "BTC-USD", "^CMC200", "^FTSE", "^N225"]) And also don't forget to update to v0.2.9
Please, let me know if it worked for you. |
It worked. thanks for help me out. Appreciate it. |
Seems like this library stopped working. I am not sure if this is python version or changes in the data format. Can you please help. Do you see similar issues.
I am using python 3.8.
The text was updated successfully, but these errors were encountered: