Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .polygon/websocket.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,14 @@
"type": "integer",
"description": "The condition."
},
"i": {
"type": "array",
"description": "The indicators. For more information, see our glossary of [Conditions and\nIndicators](https://polygon.io/glossary/us/stocks/conditions-indicators).\n",
"items": {
"type": "integer",
"description": "The indicator code.\n"
}
},
"t": {
"type": "integer",
"description": "The Timestamp in Unix MS."
Expand All @@ -312,6 +320,9 @@
"ap": 114.128,
"as": 160,
"c": 0,
"i": [
604
],
"t": 1536036818784,
"z": 3
}
Expand Down Expand Up @@ -2282,6 +2293,14 @@
"type": "integer",
"description": "The condition."
},
"i": {
"type": "array",
"description": "The indicators. For more information, see our glossary of [Conditions and\nIndicators](https://polygon.io/glossary/us/stocks/conditions-indicators).\n",
"items": {
"type": "integer",
"description": "The indicator code.\n"
}
},
"t": {
"type": "integer",
"description": "The Timestamp in Unix MS."
Expand Down
2 changes: 2 additions & 0 deletions polygon/websocket/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class EquityQuote:
ask_price: Optional[float] = None
ask_size: Optional[int] = None
condition: Optional[int] = None
indicators: Optional[List[int]] = None
timestamp: Optional[int] = None
tape: Optional[int] = None
sequence_number: Optional[int] = None
Expand All @@ -161,6 +162,7 @@ def from_dict(d):
d.get("ap", None),
d.get("as", None),
d.get("c", None),
d.get("i", None),
d.get("t", None),
d.get("z", None),
d.get("q", None),
Expand Down