Skip to content

Commit

Permalink
Merge pull request #43 from rcholic/exp
Browse files Browse the repository at this point in the history
fix to expiration date format
  • Loading branch information
rcholic authored Sep 7, 2024
2 parents cbd9150 + 5684ba1 commit 4d24fd0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cschwabpy"
version = "0.1.4.2"
version = "0.1.4.3"
description = ""
authors = ["Tony Wang <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="CSchwabPy",
version="0.1.4.2",
version="0.1.4.3",
description="Charles Schwab Stock & Option Trade API Client for Python.",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 4d24fd0

Please sign in to comment.