Skip to content

Commit 29ecabc

Browse files
Added indices to market status (#416)
1 parent adc6b2a commit 29ecabc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

polygon/rest/models/markets.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ def from_dict(d):
8080
exchanges=None
8181
if "exchanges" not in d
8282
else MarketExchanges.from_dict(d["exchanges"]),
83+
indicesGroups=None
84+
if "indicesGroups" not in d
85+
else MarketIndices.from_dict(d["indicesGroups"]),
8386
market=d.get("market", None),
8487
server_time=d.get("serverTime", None),
8588
)

0 commit comments

Comments
 (0)