ezyquant.creator.SETSignalCreator.get_symbols_by_trading_sign#
- SETSignalCreator.get_symbols_by_trading_sign(start_date: str | None = None, end_date: str | None = None, sign_list: List[str] | None = None) List[str] #
Get list of symbol that has trading sign in given date range.
- Parameters:
start_date (Optional[str]) – start of sign date.
end_date (Optional[str]) – end of sign date.
sign_list (Optional[List[str]]) –
- list of sign.
- Right benefit
CD - Cash dividend
SD - Stock dividend
XR - Excluding Right
XM - Excluding Meetings
XI - Excluding Interest
XE - Excluding Exercise
ND - No dividend
XC - Exclude Conversion
CR - Capital Reduction
PP - Private Placement
PO - Public Offering
CA - Capital Announce
XN - Excluding Capital Return
XB - Excluding Other Benefit
- Sign posting
C - Caution Flag
CM - Call Market
DS - Designated
H - Halt
NC - Non Compliance
NP - Notice Pending
SP - Suspension
ST - Stabilization
- Returns:
list of symbol.
- Return type:
List[str]
Examples
>>> from ezyquant import SETSignalCreator >>> ssc = SETSignalCreator( ... start_date="2022-01-01", ... end_date="2022-01-10", ... index_list=["SET100"], ... ) >>> ssc.get_symbols_by_trading_sign( ... sign_list=["CD", "SD"], ... start_date="2020-01-01", ... end_date="2020-02-01", ... ) ['BTS', 'SCBB']