File size: 364 Bytes
3fe0726
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from dataclasses import dataclass
from datetime import date
from typing import Optional


@dataclass
class IPOEvent:
    """Represents an IPO event"""
    date: date
    company: str
    ticker: str
    exchange: str
    shares: Optional[str] = ""
    price_range: Optional[str] = ""
    market_cap: Optional[float] = None
    expected_to_trade: Optional[str] = ""