gotti_signal_gen / src /calendar_scraper /models /stock_split_calendar.py
Papaflessas's picture
Deploy Signal Generator app
3fe0726
from dataclasses import dataclass
from datetime import date as date_type
from typing import Optional
@dataclass
class StockSplitEvent:
"""Represents a stock split event"""
date: date_type
company: str
ticker: str
ratio: str
option_symbol: Optional[str] = ""
announcement_date: Optional[date_type] = None
ex_date: Optional[date_type] = None
record_date: Optional[date_type] = None
payable_date: Optional[date_type] = None