An Alfred workflow to show stock information from Yahoo Finance using an unofficial API
- Alfred with Powerpack license
- Python3 (howto here)
- API key (sign up for an API key here. A free plan allows 500 requests/month)
- Download the most recent release of
alfred-tickerfrom Github and double-click to install - Get your API key
- In Alfred, open the 'Configure Workflow and Variables' window in
alfred-tickerpreferences- set the
API_KEYvariable to the API key retrieved in Step 2 - Optional: set the emoji you want to show when the ticker is down (
SYMBOL_DOWN, default: ⬇️) or up (SYMBOL_UP, default: ⬆️) - Optional: set your watch list variable
WATCHLIST(comma-separated list of ticker symbols)
- set the
- Optional: Setup a hotkey to launch alfred-ticker
- Optional: Change the keyword to launch alfred-ticker (currently set to
!t)
Check your watchlist by typing your keyword or using your hotkey...
... or type stock symbols separated by comma
Pressing Enter will open the stock page on Yahoo Finance.
- Dean Jackson and Vitor Galvão for their incredible help on the Alfred mailing list.
- Icon by Iconka from icon-icons.com
- 11-30-2022: version 1.0 ready for Alfred 5
- 03-01-2022: version 0.2 removed
requestsdependency - 02-04-2022: version 0.1