YahooFinance Stocks

免费增值
通过 integraatio | 已更新 hace un año | Finance
人气

9.6 / 10

延迟

1,556ms

服务等级

97%

返回所有讨论

Sometime I get empty data?

avatar
jibeex-Nm-WeS1S5PZ
hace 6 meses

like some times everyday, I get empty data from the api of getting yearly statement. Is there an solution for that?

avatar
jibeex-Nm-WeS1S5PZ commented hace 6 meses

That can happen more frequently if I download a few more data, e.g. data from 50 companyies. It seems to be related to access rate? I am using a normal fiber internet connection from France & access it via Python + requests.

avatar
integraatio commented hace 6 meses

Hello. To follow up on this, I don’t see any errors logged in the Rapid API infrastructure, nor in the internal infrastructure either. I haven’t been able to reproduce the experience you are having, so while I continue monitoring/testing, my suggestions would be that perhaps the connectivity to the end source occasionally misbehaves, so you could try putting some check/logic in your downloader to detect these empty fields and then pause for a short time before resuming downloads?

I haven’t had any reports from other users about this issue, so any details you can give about your location / network / setup, might be useful.

regards

avatar
integraatio commented hace 6 meses

thanks for the info, I’ll do some investigation and let you know if/when i can find a cause.

avatar
jibeex-Nm-WeS1S5PZ commented hace 6 meses

When I request

https://yahoofinance-stocks1.p.rapidapi.com/stock-statistics

for VICI now, I have this as response, which contains only empty data.

{“result”:{“currency”:“USD”,“quarterlyValuationMeasures”:[{“period”:“Current”,“label”:“Market Cap (intraday)”,“value”:""},{“period”:“Current”,“label”:“Enterprise Value”,“value”:""},{“period”:“Current”,“label”:“Trailing P/E”,“value”:""},{“period”:“Current”,“label”:“Forward P/E”,“value”:""},{“period”:“Current”,“label”:“PEG Ratio (5 yr expected)”,“value”:""},{“period”:“Current”,“label”:“Price/Sales”,“value”:""},{“period”:“Current”,“label”:“Price/Book”,“value”:""},{“period”:“Current”,“label”:“Enterprise Value/Revenue”,“value”:""},{“period”:“Current”,“label”:“Enterprise Value/EBITDA”,“value”:""}]},“responseStatus”:null}

avatar
jibeex-Nm-WeS1S5PZ commented hace 6 meses

I am using all these apis

https://yahoofinance-stocks1.p.rapidapi.com/stock-statistics
https://yahoofinance-stocks1.p.rapidapi.com/financialstatements/annual-income
https://yahoofinance-stocks1.p.rapidapi.com/financialstatements/quarterly-income

It seems working for me now. It wasn’t working 1 hour ago, so I said sometimes, which means it is not 100% reliable. It you have some kinds of logging, you will find that it was giving sometimes the empty results like the following:

{“result”:{“currency”:“USD”,“quarterlyValuationMeasures”:[]},“responseStatus”:null}
{“total”:0,“offset”:0,“results”:[],“responseStatus”:null}

avatar
integraatio commented hace 6 meses

i just requested BABA from statistics endpoint and it returned 40+ items.

please try again, but it seems to be working fine for me.

avatar
integraatio commented hace 6 meses

these responses say quarterly, but you asked about yearly? can you confirm what request type you are sending and confirm that it’s the one you intend to send?

avatar
jibeex-Nm-WeS1S5PZ commented hace 6 meses

And https://yahoofinance-stocks1.p.rapidapi.com/stock-statistics is returning empty data to every stock now.
Take BABA as example.

{“result”:{“currency”:“USD”,“quarterlyValuationMeasures”:[]},“responseStatus”:null}

avatar
jibeex-Nm-WeS1S5PZ commented hace 6 meses

Same problem for ACMR.

{“result”:{“currency”:“USD”,“quarterlyValuationMeasures”:[]},“responseStatus”:null}
{“total”:0,“offset”:0,“results”:[],“responseStatus”:null}

avatar
jibeex-Nm-WeS1S5PZ commented hace 6 meses

Like IIPR

I got this.

{“result”:{“currency”:“USD”,“quarterlyValuationMeasures”:[]},“responseStatus”:null}
{“total”:0,“offset”:0,“results”:[],“responseStatus”:null}

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论
打分:4 - 投票:2