Spaces:
Running
Running
| from dataclasses import dataclass | |
| from datetime import date as date_type | |
| from typing import Optional | |
| 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 | |