-
Notifications
You must be signed in to change notification settings - Fork 0
StreamingQuoteType
adasThePrime edited this page Apr 13, 2026
·
2 revisions
Quote type codes used in WebSocket PricingData messages.
These are integer codes used by the protobuf stream, different from the string-based QuoteType used by REST endpoints.
from pyahoo import StreamingQuoteType
# or
from pyahoo.enums import StreamingQuoteType-
NONE:
0- No quote type. -
ALTSYMBOL:
5- Alternative symbol. -
HEARTBEAT:
7- Heartbeat message. -
EQUITY:
8- Equity quote. -
INDEX:
9- Index quote. -
MUTUALFUND:
11- Mutual fund quote. -
MONEYMARKET:
12- Money market quote. -
OPTION:
13- Option quote. -
CURRENCY:
14- Currency quote. -
WARRANT:
15- Warrant quote. -
BOND:
17- Bond quote. -
FUTURE:
18- Future quote. -
ETF:
20- Exchange-traded fund quote. -
COMMODITY:
23- Commodity quote. -
ECNQUOTE:
28- ECN quote. -
CRYPTOCURRENCY:
41- Cryptocurrency quote. -
INDICATOR:
42- Indicator quote. -
INDUSTRY:
1000- Industry quote.