Please help, 'price': -9999999 from the sample

#2 · closed · 4 comments

View on GitHub ↗

P-Rainbow

Dear author, Can you please me with a question on the use below? It returns invalid data when running at a trading day time? Thank you. `{'code': '07200', 'name': '', 'price': -9999999, 'time': ''} {'code': '07200', 'name': '', 'price': -9999999, 'time': ''} {'code': '07200', 'name': '', 'price': -9999999, 'time': ''}` `from RealtimeStock import sinaQuote, futuQuote, tigerQuote,xueqiuQuote, tencentQuote, getQuote print(xueqiuQuote('hk','07200')) print(tigerQuote('hk','07200')) print(getQuote('hk','07200'))`

Comments

HurinHu

Hi, it seems the endpoint of the source was changed, may need to update the package later.

P-Rainbow

@HurinHu , thank you for the note. Looking forward to see the update!

HurinHu

I have double checked the API, it seems most of them are already deprecated or upgraded and required login, currently no alternative solution for this, so this library may not work anymore.

P-Rainbow

@HurinHu thank you for checking and follow-up. You're amazing!