Flask web application that utilizes...
- TTL Cache
- The Unofficial Finviz API (with some minor tweaks)
to provide API access to Finviz.com
rate limit: 5 requests / route / hour
Returns a dictionary containing stock data.
:param ticker: stock symbol
:type ticker: str
:return dict
Returns a list of dictionaries containing all recent insider transactions.
:param ticker: stock symbol
:return: list
Returns a list of sets containing news headline and url
:param ticker: stock symbol
:return: list
Returns a list of dictionaries containing all analyst ratings and Price targets
- if any of 'price_from' or 'price_to' are not available in the DATA, then those values are set to default 0
:param ticker: stock symbol
:param last_ratings: most recent ratings to pull
:return: list
Using the library to acquire data from FinViz is against their Terms of Service and robots.txt. Use it responsibly and at your own risk. This library is built purely for educational purposes.