diff --git a/examples/rest/stocks-short_interest.py b/examples/rest/stocks-short_interest.py index ddd40fc9..8f5b1cf4 100644 --- a/examples/rest/stocks-short_interest.py +++ b/examples/rest/stocks-short_interest.py @@ -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) diff --git a/polygon/rest/models/tickers.py b/polygon/rest/models/tickers.py index bec48959..e1b48d40 100644 --- a/polygon/rest/models/tickers.py +++ b/polygon/rest/models/tickers.py @@ -254,6 +254,7 @@ class TickerChangeResults: def from_dict(d): return TickerChangeResults(**d) + @modelclass class ShortInterest: """ @@ -284,6 +285,7 @@ def from_dict(d): us_code=d.get("us_code"), ) + @modelclass class IPOListing: """