We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 910a874 commit f5d9974Copy full SHA for f5d9974
polygon/websocket/models/__init__.py
@@ -13,7 +13,7 @@ def parse_single(data: Dict[str, Any]):
13
return CurrencyAgg.from_dict(data)
14
elif event_type == EventType.EquityTrade.value:
15
return EquityTrade.from_dict(data)
16
- elif event_type == EventType.ForexTrade.value:
+ elif event_type == EventType.CryptoTrade.value:
17
return CryptoTrade.from_dict(data)
18
elif event_type == EventType.EquityQuote.value:
19
return EquityQuote.from_dict(data)
polygon/websocket/models/common.py
@@ -22,7 +22,7 @@ class EventType(Enum):
22
CryptoAgg = "CA"
23
ForexAgg = "XA"
24
EquityTrade = "T"
25
- ForexTrade = "XT"
+ CryptoTrade = "XT"
26
EquityQuote = "Q"
27
ForexQuote = "C"
28
CryptoQuote = "XQ"
0 commit comments