ezyquant.reader.SETDataReader.get_sign_posting#
- SETDataReader.get_sign_posting(symbol_list: List[str] | None = None, start_date: str | None = None, end_date: str | None = None, sign_list: List[str] | None = None) DataFrame #
Data from table SIGN_POSTING.
- Parameters:
symbol_list (Optional[List[str]] = None) – N_SECURITY in symbol_list (must be unique).
start_date (Optional[str] = None) – start of hold_date (D_HOLD).
end_date (Optional[str] = None) – end of hold_date (D_HOLD).
sign_list (Optional[List[str]] = None,) –
- N_SIGN in sign_list.
C - Caution Flag
CM - Call Market
DS - Designated
H - Halt
NC - Non Compliance
NP - Notice Pending
SP - Suspension
ST - Stabilization
- Returns:
- sp dataframe contain columns:
symbol: str - SECURITY.N_SECURITY
hold_date: date - D_HOLD
release_date: date - D_RELEASE
sign: str - N_SIGN
- Return type:
pd.DataFrame
Examples
>>> from ezyquant import SETDataReader >>> sdr = SETDataReader() >>> sdr.get_sign_posting(symbol_list=["THAI"], start_date="2020-11-12", end_date="2021-02-25") symbol hold_date release_date sign 0 THAI 2020-11-12 2020-11-13 SP 1 THAI 2021-02-25 NaT SP