1.2 KiB
1.2 KiB
zfin quote
Show the latest quote for a symbol, with a price chart and recent history.
Usage: zfin quote <SYMBOL>
Prints the last price, the day's open/high/low, volume, and the
day-over-day change, followed by a 20-day chart. Quotes come from Yahoo
(TwelveData fallback) and are never cached -- so this command needs
network access and does nothing useful in --refresh-data=never mode.
Supports --export-chart <PATH> to render the chart as a 1920x1080
PNG instead of text (see export charts
and the projections page).
Example
ZFIN_HOME=examples/pre-retirement-both zfin quote SPY
SPY $746.74 (close)
========================================
Date: 2026-06-18
Open: $747.76
High: $748.23
Low: $743.86
Volume: 80,875,657
Change: +$5.78 (+0.78%)
... (20-day braille chart)
See also
perf-- trailing returns instead of a spot price.history-- the last 30 days as a table.- Caching -- why quotes need the network.