Skip to content

Commit

Permalink
fix to expiration date format
Browse files Browse the repository at this point in the history
  • Loading branch information
rcholic committed Sep 7, 2024
1 parent cbd9150 commit 95c7f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cschwabpy/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ def to_dataframe_row(self, strip_space: bool = False) -> List[Any]:
self.openInterest,
self.ask,
self.bid,
self.expirationDate,
util.ts_to_date_string(self.quoteTimeInLong),
self.expirationDate[: self.expirationDate.index("T")],
util.ts_to_datetime(self.quoteTimeInLong),
self.totalVolume,
self.quoteTimeInLong, # updated_at
self.gamma,
Expand Down

0 comments on commit 95c7f74

Please sign in to comment.