Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpolygon committed Oct 9, 2024
1 parent 4ef6f13 commit 7acc4ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/rest/stocks-short_interest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

short_interest = []
for si in client.list_short_interest(
identifier="AMD",
identifier="AMD",
identifier_type="ticker",
params={
"date.gte": "2024-10-07",
"date.lte": "2024-10-07",
},
limit=100
limit=100,
):
short_interest.append(si)

Expand Down
2 changes: 2 additions & 0 deletions polygon/rest/models/tickers.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ class TickerChangeResults:
def from_dict(d):
return TickerChangeResults(**d)


@modelclass
class ShortInterest:
"""
Expand Down Expand Up @@ -284,6 +285,7 @@ def from_dict(d):
us_code=d.get("us_code"),
)


@modelclass
class IPOListing:
"""
Expand Down

0 comments on commit 7acc4ad

Please sign in to comment.