Blogs

Yahoo_fin Library Demo

Yahoo_fin library can be useful for working with fundamental data. It provides easy access to Yahoo Finance fundemantals. Data may not be reliable for trading, but it is free and easly accesable. It can be a useful tool for experimentation.

Here's the sample usage:

import yahoo_fin.stock_info as si

symbol = "FROTO.IS"

stats = si.get_stats(symbol)
quote_table = si.get_quote_table(symbol)
income_statement = si.get_income_statement(symbol)
balance_sheet = si.get_balance_sheet(symbol)
marketcap = si.get_quote_table(symbol)["Market Cap"]