yfinance icon indicating copy to clipboard operation
yfinance copied to clipboard

Is there any paid version of yfinance?

Open dushyant-chauhan opened this issue 4 years ago • 3 comments

I am new to downloading NSE stocks data for personal use.

I started with yfinance and was able to download data of 1K of stocks in a day for few months. But now it seems I have been blacklisted or rated down by yfinance as I can get data of only 10 or 20 stocks.

Is there any way I can get myself removed from blacklist or even if there is any reasonable paid version of yfinance, I am okay with that?

dushyant-chauhan avatar Jun 13 '21 11:06 dushyant-chauhan

@ValueRaider EDIT: RapidAPI links are dead, don't click, just in case compromised.


RapidAPI is a paid version of yfinance. However, they also have a limit, which may disappoint you (see https://rapidapi.com/apidojo/api/yahoo-finance1/pricing for the price). But if you are really serious about algorithmic trading using real money, I would recommend you use Alpha Vantage instead of yfinance.

yiwenxu6 avatar Jun 16 '21 06:06 yiwenxu6

Thanks yiwenxu6 for the reply.

I tried looking for NSE (National Stock Exchange - India) data in Alpha Vantage but sadly it is not there.

Let me just quickly check for RapidAPI for the NSE data and codes.

dushyant-chauhan avatar Jun 17 '21 04:06 dushyant-chauhan

@dushyant-chauhan you can use angle broking API, they provide free historical data with their smartapi, you will have to open an account to generate an API key.

koradiyakaushal avatar Mar 24 '22 10:03 koradiyakaushal

The trick is to cache data locally so you minimise web requests. Try my smart caching wrapper: https://github.com/ValueRaider/yfinance-cache

ValueRaider avatar Sep 20 '22 22:09 ValueRaider