Loading...
Searching...
No Matches
StockSlot Struct Reference

One quote slot. When ok is false the symbol field carries a short status word ("RATE LIMIT" and friends) instead of a ticker so the watch has something to show. More...

#include <stock_wire.h>

Data Fields

char symbol [STOCK_SYMBOL_LEN]
 Ticker, or status text when ok is false, or empty when there is none.
int price_cents
 Last price times 100.
int change_pct
 Percent change times 100, can be negative.
bool ok
 True for a live reading, false for a status message.

Detailed Description

One quote slot. When ok is false the symbol field carries a short status word ("RATE LIMIT" and friends) instead of a ticker so the watch has something to show.


The documentation for this struct was generated from the following file: