ezyquant.creator.SETSignalCreator.is_banned#
- SETSignalCreator.is_banned() DataFrame #
Return True when stock has no close, last bid, last offer.
- Returns:
symbol : str as column
trade date : date as index
- Return type:
pd.DataFrame of boolean
Examples
>>> from ezyquant import SETSignalCreator >>> ssc = SETSignalCreator( ... start_date="2022-01-01", ... end_date="2022-01-10", ... index_list=[], ... symbol_list=["COM7", "MALEE", "THAI"], ... ) >>> ssc.is_banned() COM7 MALEE THAI 2022-01-04 False False True 2022-01-05 False False True 2022-01-06 False False True 2022-01-07 False False True 2022-01-10 False False True