anazimok Posted March 31, 2013 Share Posted March 31, 2013 (edited) Here is a Stock Quote workflow. It's using http://download.finance.yahoo.com. - To add symbol execute: 'stockadd EBAY' - To remove symbol execute: 'stockrm EBAY' Download: https://github.com/anazimok/stockworkflow/raw/master/Stock%20Quote.alfredworkflow Edited April 3, 2013 by anazimok bcometa and anazimok 2 Link to comment
Jefferson Posted April 22, 2013 Share Posted April 22, 2013 (edited) Very cool workflow, I really like it! I think your dropbox link is busted though, here is a direct link to github in case anyone wants it: https://github.com/anazimok/stockworkflow Any chance of adding after hours stock price info? I don't think Yahoo! provides it, but Google's API does: http://finance.google.com/finance/info?q=aapl Edited April 22, 2013 by Jefferson Link to comment
kopertop Posted August 24, 2013 Share Posted August 24, 2013 (edited) By changing the script just slightly, you can make this workflow also support looking up generic ticker symbols, making you go from just "stock" to allowing "stock goog" for example, showing the quote inline. You also need to set "argument optional" and check "with space" #!/bin/bash cat << EOB <?xml version="1.0"?> <items> EOB SYMBOLS="{query}" if [ -z "$SYMBOLS" ] then SYMBOLS=$(cat "$(pwd)/symbols" | sort -u | grep -v '^$'); fi Edited August 24, 2013 by kopertop Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now