Skip to content

Commit

Permalink
Merge pull request #295 from brunerm99/corporate-action-non-optional-…
Browse files Browse the repository at this point in the history
…fields

Fix #291 by making target_symbol, target_original_cusip optional in CorporateActionAnnouncement
  • Loading branch information
haxdds authored Jul 17, 2023
2 parents af1de82 + b3e55c2 commit 695f23d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alpaca/trading/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,8 @@ class CorporateActionAnnouncement(BaseModel):
ca_sub_type: CorporateActionSubType
initiating_symbol: str
initiating_original_cusip: str
target_symbol: str
target_original_cusip: str
target_symbol: Optional[str]
target_original_cusip: Optional[str]
declaration_date: Optional[date]
ex_date: Optional[date]
record_date: date
Expand Down

0 comments on commit 695f23d

Please sign in to comment.