pstadler / Ticker.sh
Licence: mit
Real-time stock tickers from the command-line.
Stars: ✭ 392
Projects that are alternatives of or similar to Ticker.sh
Stonks
Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal. See how fast your stonks will crash.
Stars: ✭ 405 (+3.32%)
Mutual labels: cli, stocks
Oq
A performant, and portable jq wrapper to facilitate the consumption and output of formats other than JSON; using jq filters to transform the data.
Stars: ✭ 132 (-66.33%)
Mutual labels: cli, jq
Yq
Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
Stars: ✭ 1,688 (+330.61%)
Mutual labels: cli, jq
Data Science At The Command Line
Data Science at the Command Line
Stars: ✭ 3,174 (+709.69%)
Mutual labels: cli, jq
Ava
Node.js test runner that lets you develop with confidence 🚀
Stars: ✭ 19,458 (+4863.78%)
Mutual labels: cli
Pipupgrade
🗽 Like yarn outdated/upgrade, but for pip. Upgrade all your pip packages and automate your Python Dependency Management.
Stars: ✭ 391 (-0.26%)
Mutual labels: cli
Cinf
Command line tool to view namespaces and cgroups, useful for low-level container prodding
Stars: ✭ 389 (-0.77%)
Mutual labels: cli
Flow Typed
A central repository for Flow library definitions
Stars: ✭ 3,772 (+862.24%)
Mutual labels: cli
Python Fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
Stars: ✭ 20,499 (+5129.34%)
Mutual labels: cli
Beats
A command-line drum machine. Convert a beat notated in YAML into a *.wav file.
Stars: ✭ 389 (-0.77%)
Mutual labels: cli
Visidata
A terminal spreadsheet multitool for discovering and arranging data
Stars: ✭ 4,606 (+1075%)
Mutual labels: cli
ticker.sh
Real-time stock tickers from the command-line.
ticker.sh
is a simple shell script using the Yahoo Finance API as a data source. It features colored output and is able to display pre- and post-market prices (denoted with *
).
Install
$ curl -o ticker.sh https://raw.githubusercontent.com/pstadler/ticker.sh/master/ticker.sh
Make sure to install jq, a versatile command-line JSON processor.
Usage
# Single symbol:
$ ./ticker.sh AAPL
# Multiple symbols:
$ ./ticker.sh AAPL MSFT GOOG BTC-USD
# Read from file:
$ echo "AAPL MSFT GOOG BTC-USD" > ~/.ticker.conf
$ ./ticker.sh $(cat ~/.ticker.conf)
# Use different colors:
$ COLOR_BOLD="\e[38;5;248m" \
COLOR_GREEN="\e[38;5;154m" \
COLOR_RED="\e[38;5;202m" \
./ticker.sh AAPL
# Disable colors:
$ NO_COLOR=1 ./ticker.sh AAPL
# Update every five seconds:
$ watch -n 5 -t -c ./ticker.sh AAPL MSFT GOOG BTC-USD
# Or if `watch` is not available:
$ while true; do clear; ./ticker.sh AAPL MSFT GOOG BTC-USD; sleep 5; done
This script works well with GeekTool and similar software:
PATH=/usr/local/bin:$PATH # make sure to include the path where jq is located
~/GitHub/ticker.sh/ticker.sh AAPL MSFT GOOG BTC-USD
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].