From 84d921ce3bdd9a13ca6193e65181128be2f23b17 Mon Sep 17 00:00:00 2001 From: Michael Dvorkin Date: Sat, 16 May 2015 16:08:45 -0700 Subject: [PATCH] Updated Yahoo quotes URL --- yahoo_quotes.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/yahoo_quotes.go b/yahoo_quotes.go index 0ec20c8..7dd6e8e 100644 --- a/yahoo_quotes.go +++ b/yahoo_quotes.go @@ -19,7 +19,11 @@ import ( // ?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in(%22ALU%22,%22AAPL%22) // &env=http%3A%2F%2Fstockstables.org%2Falltables.env&format=json' -const quotesURL = `http://download.finance.yahoo.com/d/quotes.csv?s=%s&f=,l1c6k2oghjkva2r2rdyj3j1` +//const quotesURL = `http://download.finance.yahoo.com/d/quotes.csv?s=%s&f=sl1c6k2oghjkva2r2rdyj3j1` +// c2: realtime change vs c1: change +// k2: realtime change vs p2: change +// +const quotesURL = `http://download.finance.yahoo.com/d/quotes.csv?s=%s&f=sl1c1p2oghjkva2r2rdyj3j1` // Stock stores quote information for the particular stock ticker. The data // for all the fields except 'Advancing' is fetched using Yahoo market API.