Skip to content

Commit 71ee87e

Browse files
committed
Add dividend and split ids
1 parent 7fe4e37 commit 71ee87e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

polygon/rest/models/dividends.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
@modelclass
66
class Dividend:
77
"Dividend contains data for a historical cash dividend, including the ticker symbol, declaration date, ex-dividend date, record date, pay date, frequency, and amount."
8+
id: Optional[int] = None
89
cash_amount: Optional[float] = None
910
currency: Optional[str] = None
1011
declaration_date: Optional[str] = None

polygon/rest/models/splits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
@modelclass
66
class Split:
77
"Split contains data for a historical stock split, including the ticker symbol, the execution date, and the factors of the split ratio."
8+
id: Optional[int] = None
89
execution_date: Optional[str] = None
910
split_from: Optional[int] = None
1011
split_to: Optional[int] = None

0 commit comments

Comments
 (0)