Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Stocks.pl 'Missing Symbols List' Error #427

Merged
merged 3 commits into from
Jul 16, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion code/common/stocks.pl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# More info on how this magic url was derived can be found here:
# http://www.padz.net/~djpadz/YahooQuote/
my $stock_url = 'http://quote.yahoo.com/d?f=snl1d1t1c1p2va2bapomwerr1dyj1x\&s=' . join('%20', @stock_symbols);
my $stock_url = 'http://download.finance.yahoo.com/d?f=snl1d1t1c1p2va2bapomwerr1dyj1x\&s=' . join('%20', @stock_symbols);
my @stock_keys = ('SName', 'LName', 'Last', 'Date', 'Time', 'Change', 'PChange',
'Volume', 'Avg Volume', 'Bid', 'Ask', 'Prev Close', 'Open',
'Day Range', '52-Week Range', 'EPS', 'P/E Ratio', 'Div Pay Date',
Expand Down Expand Up @@ -198,6 +198,8 @@
unless &trigger_get('get stocks');
}

# 07 Jul 14, Jared J. Fernandez
# Updated stocks URL due to change by Yahoo.

# 27 Dec 05, David Norwood
# Someone else also added back the stock alerts in the last release. I removed the duplicate code.
Expand Down