financialdatapy.stocklist module¶
This module retrieves stock lists.
- class financialdatapy.stocklist.StockList[source]¶
Bases:
ABCAbstract class representing stock list of a stock exchange.
- property stock_list: DataFrame¶
- class financialdatapy.stocklist.UsStockList[source]¶
Bases:
StockListClass representing stock list in US exchange.
- class financialdatapy.stocklist.KorStockList[source]¶
Bases:
StockListThis class represents stock list in KOR exchange.
- get_stock_list() DataFrame[source]¶
Retrieve company code list of stocks listed in Korea Exchange.
- Raises:
DartError – Failed in getting data from opendart.fss.or.kr.
- Returns:
List of company codes.
- Return type:
pandas.DataFrame