Ticker
Terminal stock watcher and stock position tracker
Features
- Live stock price quotes
- Track value of your stock positions
- Support for multiple cost basis lots
Install
Download the pre-compiled binaries from the releases page and copy to a location in PATH
or see quick installs below
mac
brew install achannarasappa/tap/ticker
linux
curl -Ls https://api.github.com/repos/achannarasappa/ticker/releases/latest \
| grep -wo "https.*linux-amd64*.tar.gz" \
| wget -qi - \
&& tar -xf ticker*.tar.gz \
&& chmod +x ./ticker \
&& sudo mv ticker /usr/local/bin/
Quick Start
ticker -w NET,AAPL,TSLA
Usage
Alias | Flag | Default | Description |
---|---|---|---|
--config | ~/.ticker.yaml |
config with watchlist and positions | |
-i, | --interval | 5 |
Refresh interval in seconds |
-w, | --watchlist | comma separated list of symbols to watch |
Configuration
Configuration is not required to watch stock price but is helpful when always watching the same stocks. Configuration can also be used to set cost basis lots which will in turn be used to show daily gain or loss on any position.
# ~/.ticker.yaml
watchlist:
- NET
- TEAM
- ESTC
- BTC-USD
lots:
- symbol: "ABNB"
quantity: 35.0
unit_cost: 146.00
- symbol: "ARKW"
quantity: 20.0
unit_cost: 152.25
- symbol: "ARKW"
quantity: 20.0
unit_cost: 145.35
- Symbols not on the watchlist that exists in
lots
will automatically be watched watchlist
andlots
are both optional properties
Notes
- Quotes are pulled from Yahoo finance which, like other financial news sources, provides delayed stock quotes as opposed to real-time quotes - information in
ticker
is appropriate for casual use cases such as position tracking and price watching but not for active trading where up to the minute/second pricing matters