ezyquant.reader.SETDataReader.get_company_info#
- SETDataReader.get_company_info(symbol_list: List[str] | None = None) DataFrame #
Data from table COMPANY.
- Parameters:
symbol_list (Optional[List[str]] = None) – SECURITY.N_SECURITY in symbol_list (must be unique).
- Returns:
- company info dataframe contain columns:
company_id: int - I_COMPANY
symbol: str - SECURITY.N_SECURITY
company_name_t: str - N_COMPANY_T
company_name_e: str - N_COMPANY_E
- Return type:
pd.DataFrame
Examples
>>> from ezyquant import SETDataReader >>> sdr = SETDataReader() >>> sdr.get_company_info(symbol_list=["BBL", "PTT"]) company_id symbol company_name_t company_name_e 0 1 BBL ธนาคารกรุงเทพ จำกัด (มหาชน) BANGKOK BANK PUBLIC COMPANY LIMITED 1 646 PTT บริษัท ปตท. จำกัด (มหาชน) PTT PUBLIC COMPANY LIMITED