Skip to content
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

"GC=F" doesn't work sometimes #16

Open
ghost opened this issue Aug 12, 2022 · 0 comments
Open

"GC=F" doesn't work sometimes #16

ghost opened this issue Aug 12, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 12, 2022

Hello, I just tested your library for my simple project and I found two problem :

(1)I had to use downgrade package protobuf==3.20.*
I reinstalled the package.

(2)I found "JPY=X" work successfully on this time.
and "GC=F", "AAPL", "SI=F" is not working.
I know if its out of trading hours it is not working.
but when I go to yahoo finance I found "GC=F" is alive.

https://finance.yahoo.com/quote/GC%3DF/history?p=GC%3DF

you can see message "As of 09:34PM EDT. Market open."
and yliveticker cannot get "GC=F" price

I will paste my code here :
`
import yliveticker #Descriptors cannot be created directly error

def on_new_msg(ws,msg):
print(msg)

if name == 'main':
yliveticker.YLiveTicker(on_ticker=on_new_msg, ticker_names=["GC=F"])
`

this code output this message only:

[2022-08-12 10:46:19.526405] ### connection is open ###


for your reference, my time is korea standard time(KST, UTC+09:00)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants