<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Download Historical Stock Data from Google Into Matlab</title>
	<atom:link href="http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm</link>
	<description>Stock-picking is an art.  I have sympathy for all who attempt it.</description>
	<lastBuildDate>Thu, 24 May 2012 06:06:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Lumilog</title>
		<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/comment-page-1#comment-2900</link>
		<dc:creator>Lumilog</dc:creator>
		<pubDate>Wed, 12 Oct 2011 10:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://luminouslogic.com/?p=1411#comment-2900</guid>
		<description>Mike - since these are technical indicators computed from the stock price, I think your best best is to look up the formula for each and reproduce them yourself.

Best,
- Lumi</description>
		<content:encoded><![CDATA[<p>Mike &#8211; since these are technical indicators computed from the stock price, I think your best best is to look up the formula for each and reproduce them yourself.</p>
<p>Best,<br />
- Lumi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/comment-page-1#comment-2899</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Wed, 12 Oct 2011 04:22:52 +0000</pubDate>
		<guid isPermaLink="false">http://luminouslogic.com/?p=1411#comment-2899</guid>
		<description>Everyone has end of day stock prices.  I am looking for stock indicator/index data - past four days of values for RSI, ADX,  PPO  and Money Flow Index.
Can you please help me and suggest one or more places I can access this data to be downloaded/exported to  my Ecal spreadsheet.
Thanks for your help!
Mike</description>
		<content:encoded><![CDATA[<p>Everyone has end of day stock prices.  I am looking for stock indicator/index data &#8211; past four days of values for RSI, ADX,  PPO  and Money Flow Index.<br />
Can you please help me and suggest one or more places I can access this data to be downloaded/exported to  my Ecal spreadsheet.<br />
Thanks for your help!<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: terry dylan</title>
		<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/comment-page-1#comment-2834</link>
		<dc:creator>terry dylan</dc:creator>
		<pubDate>Sun, 31 Jul 2011 01:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://luminouslogic.com/?p=1411#comment-2834</guid>
		<description>Hi Guys, 

i am trying to download financial data (balance sheet, income statement)from CNBC, i.e., from the following site:
http://data.cnbc.com/quotes/AAPL/tab/7

the site&#039;s source code does not contain any information listed in the financial tables, I guess the table information is hidden behind some links. However, I can view the source code of the table section with IE source code viewer, right click on the table only, the text editor shows me a much shorter source code, containing the quarterly and annual financial data listed in the table.   

Do you guys know how to download the source code for the table? 

Cheers
terry</description>
		<content:encoded><![CDATA[<p>Hi Guys, </p>
<p>i am trying to download financial data (balance sheet, income statement)from CNBC, i.e., from the following site:<br />
<a href="http://data.cnbc.com/quotes/AAPL/tab/7" rel="nofollow">http://data.cnbc.com/quotes/AAPL/tab/7</a></p>
<p>the site&#8217;s source code does not contain any information listed in the financial tables, I guess the table information is hidden behind some links. However, I can view the source code of the table section with IE source code viewer, right click on the table only, the text editor shows me a much shorter source code, containing the quarterly and annual financial data listed in the table.   </p>
<p>Do you guys know how to download the source code for the table? </p>
<p>Cheers<br />
terry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lumilog</title>
		<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/comment-page-1#comment-2815</link>
		<dc:creator>Lumilog</dc:creator>
		<pubDate>Fri, 01 Jul 2011 11:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://luminouslogic.com/?p=1411#comment-2815</guid>
		<description>Hi Xiaobai - thanks for taking the time to post a comment.  I don&#039;t think I&#039;ve ever been able to find a free source of historical option data on the web.  If you happen to come across one, let me know and we&#039;ll see what we can do about the funny tickers.

- lumi</description>
		<content:encoded><![CDATA[<p>Hi Xiaobai &#8211; thanks for taking the time to post a comment.  I don&#8217;t think I&#8217;ve ever been able to find a free source of historical option data on the web.  If you happen to come across one, let me know and we&#8217;ll see what we can do about the funny tickers.</p>
<p>- lumi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baixiao</title>
		<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/comment-page-1#comment-2814</link>
		<dc:creator>Baixiao</dc:creator>
		<pubDate>Thu, 30 Jun 2011 05:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://luminouslogic.com/?p=1411#comment-2814</guid>
		<description>Lumi,

Great, great tool even though I haven&#039;t started to use it yet because I just came cross this today. But I can feel it will help me a lot. I too have experience with Matlab, FFT, etc and have been thinking about some mechanical trading development. But never started and I think your tool is the last element I need for my financial freedom journey :D

One specific question: I am thinking to get historical and daily option data as well. Do you have experience with this? One tricky thing I can think of right now is that option has different symbols from stock ticker.

Thanks a lot in advance and I will come back often.

xiaobai</description>
		<content:encoded><![CDATA[<p>Lumi,</p>
<p>Great, great tool even though I haven&#8217;t started to use it yet because I just came cross this today. But I can feel it will help me a lot. I too have experience with Matlab, FFT, etc and have been thinking about some mechanical trading development. But never started and I think your tool is the last element I need for my financial freedom journey <img src='http://luminouslogic.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>One specific question: I am thinking to get historical and daily option data as well. Do you have experience with this? One tricky thing I can think of right now is that option has different symbols from stock ticker.</p>
<p>Thanks a lot in advance and I will come back often.</p>
<p>xiaobai</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lumilog</title>
		<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/comment-page-1#comment-2580</link>
		<dc:creator>Lumilog</dc:creator>
		<pubDate>Sun, 26 Dec 2010 19:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://luminouslogic.com/?p=1411#comment-2580</guid>
		<description>Velappan - it&#039;s been a while since I wrote the script so it&#039;s possible Google has made a small change that broke the script.  However you should be using text for your stock string argument.  So instead of &lt;i&gt;nyse:ibm&lt;/i&gt; try &lt;i&gt;&#039;nyse:ibm&#039;&lt;/i&gt; or maybe just &lt;i&gt;&#039;ibm&#039;&lt;/i&gt;.  Either way, you need those little quote marks around the ticker you&#039;re passing.  If neither of those work let me know, because it probably means I need to update the script.

Thanks - lumi</description>
		<content:encoded><![CDATA[<p>Velappan &#8211; it&#8217;s been a while since I wrote the script so it&#8217;s possible Google has made a small change that broke the script.  However you should be using text for your stock string argument.  So instead of <i>nyse:ibm</i> try <i>&#8216;nyse:ibm&#8217;</i> or maybe just <i>&#8216;ibm&#8217;</i>.  Either way, you need those little quote marks around the ticker you&#8217;re passing.  If neither of those work let me know, because it probably means I need to update the script.</p>
<p>Thanks &#8211; lumi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: velappan periasamy</title>
		<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/comment-page-1#comment-2567</link>
		<dc:creator>velappan periasamy</dc:creator>
		<pubDate>Sun, 28 Nov 2010 16:36:02 +0000</pubDate>
		<guid isPermaLink="false">http://luminouslogic.com/?p=1411#comment-2567</guid>
		<description>Hi
Lumilog on April 15, 2009

I am trying to get hist quote of IBM 
by using  the     get_last_trade_google.m

my fuction statement is:
[hist_date, hist_high, hist_low, hist_open, hist_close, hist_vol] = get_hist_google_stock_data(nyse:ibm) 

While running this function I am getting the following errors
--------------------------------------------------------------------------
??? Input argument &quot;stock_symbol&quot; is undefined.

Error in ==&gt; get_hist_google_stock_data at 18
url_string = strcat(url_string, upper(stock_symbol), &#039;&amp;output=csv&#039;);

----------------------------------------------------------------------------
Kindly provide me the correct function statement to get the price of IBM stock

With regards
veepsirtt</description>
		<content:encoded><![CDATA[<p>Hi<br />
Lumilog on April 15, 2009</p>
<p>I am trying to get hist quote of IBM<br />
by using  the     get_last_trade_google.m</p>
<p>my fuction statement is:<br />
[hist_date, hist_high, hist_low, hist_open, hist_close, hist_vol] = get_hist_google_stock_data(nyse:ibm) </p>
<p>While running this function I am getting the following errors<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
??? Input argument &#8220;stock_symbol&#8221; is undefined.</p>
<p>Error in ==&gt; get_hist_google_stock_data at 18<br />
url_string = strcat(url_string, upper(stock_symbol), &#8216;&amp;output=csv&#8217;);</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Kindly provide me the correct function statement to get the price of IBM stock</p>
<p>With regards<br />
veepsirtt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lumilog</title>
		<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/comment-page-1#comment-2557</link>
		<dc:creator>Lumilog</dc:creator>
		<pubDate>Fri, 12 Nov 2010 18:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://luminouslogic.com/?p=1411#comment-2557</guid>
		<description>Hi Alec - thanks for the comments. :) 

I am constantly battling these Matlab pauses when retrieving data from the web.  In google&#039;s case, I think if you query too often via Matlab it might redirect you to a captcha.

I don&#039;t have a 100% solution for these but sometimes I can add some additional code that tests to see whether what comes back from the query is a NaN or empty matrix instead of the data I&#039;m expecting.  Put this inside a while loop and keep repeating the query after a short pause until you get a valid return, then kick out of the while loop.

As I said, this doesn&#039;t work perfectly and but does handle a lot of cases for the various scripts I use (I actually don&#039;t use the google one here though - was written by request).

I&#039;ve also found that the pauses happen more in some versions of Matlab than others.  In older versions of Matlab I sometimes have to kill Matlab entirely as CTRL-C won&#039;t break the long pause.  Doesn&#039;t seem to happen as much in newer versions, but still happens frequently. :( 

Hope this helps!
Lumi</description>
		<content:encoded><![CDATA[<p>Hi Alec &#8211; thanks for the comments. <img src='http://luminouslogic.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>I am constantly battling these Matlab pauses when retrieving data from the web.  In google&#8217;s case, I think if you query too often via Matlab it might redirect you to a captcha.</p>
<p>I don&#8217;t have a 100% solution for these but sometimes I can add some additional code that tests to see whether what comes back from the query is a NaN or empty matrix instead of the data I&#8217;m expecting.  Put this inside a while loop and keep repeating the query after a short pause until you get a valid return, then kick out of the while loop.</p>
<p>As I said, this doesn&#8217;t work perfectly and but does handle a lot of cases for the various scripts I use (I actually don&#8217;t use the google one here though &#8211; was written by request).</p>
<p>I&#8217;ve also found that the pauses happen more in some versions of Matlab than others.  In older versions of Matlab I sometimes have to kill Matlab entirely as CTRL-C won&#8217;t break the long pause.  Doesn&#8217;t seem to happen as much in newer versions, but still happens frequently. <img src='http://luminouslogic.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  </p>
<p>Hope this helps!<br />
Lumi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec Jeffery</title>
		<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/comment-page-1#comment-2551</link>
		<dc:creator>Alec Jeffery</dc:creator>
		<pubDate>Fri, 05 Nov 2010 21:58:27 +0000</pubDate>
		<guid isPermaLink="false">http://luminouslogic.com/?p=1411#comment-2551</guid>
		<description>Hey How are you doing?

I really enjoy this blog, and I must say I&#039;ve seen you&#039;re adept market coding improve over the last year. I&#039;ve got a question about the get_stock_data_google function. I&#039;ve thrown it into a timer object embedded within a pairs trading algorithim to provide entry and exit signals throughout the work day so that I don&#039;t have to keep my finger on the market pulse whilst day-jobbing it. I&#039;ve found that once in every couple of hundred times the code will just pause as it is waiting for data to come back from google... it is lost somewhere in the while loop at line 22, or trying to open a connection. I cannot ascertain where it is getting stuck because I cannot break the code either.

Do you have any suggestions as to how I may embed something within the code to kick out of the function if it fails to retrieve data after a few seconds?

Once again, cheers on a solid blog.

A.</description>
		<content:encoded><![CDATA[<p>Hey How are you doing?</p>
<p>I really enjoy this blog, and I must say I&#8217;ve seen you&#8217;re adept market coding improve over the last year. I&#8217;ve got a question about the get_stock_data_google function. I&#8217;ve thrown it into a timer object embedded within a pairs trading algorithim to provide entry and exit signals throughout the work day so that I don&#8217;t have to keep my finger on the market pulse whilst day-jobbing it. I&#8217;ve found that once in every couple of hundred times the code will just pause as it is waiting for data to come back from google&#8230; it is lost somewhere in the while loop at line 22, or trying to open a connection. I cannot ascertain where it is getting stuck because I cannot break the code either.</p>
<p>Do you have any suggestions as to how I may embed something within the code to kick out of the function if it fails to retrieve data after a few seconds?</p>
<p>Once again, cheers on a solid blog.</p>
<p>A.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lumilog</title>
		<link>http://luminouslogic.com/how-download-historical-stock-data-google-matlab.htm/comment-page-1#comment-2227</link>
		<dc:creator>Lumilog</dc:creator>
		<pubDate>Fri, 17 Jul 2009 14:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://luminouslogic.com/?p=1411#comment-2227</guid>
		<description>hi rigby,

i wrote a quick matlab script to retrieve the last trade (real-time) from Google.  here&#039;s a link to it:

&lt;a href=&quot;http://luminouslogic.com/matlab_stock_scripts/get_last_trade_google.m&quot; rel=&quot;nofollow&quot;&gt;get_last_trade_google.m&lt;/a&gt;

i think matlab&#039;s line-by-line execution doesn&#039;t let you retrieve multiple tickers &lt;i&gt;simultaneously&lt;/i&gt; though.

best -
- lumi</description>
		<content:encoded><![CDATA[<p>hi rigby,</p>
<p>i wrote a quick matlab script to retrieve the last trade (real-time) from Google.  here&#8217;s a link to it:</p>
<p><a href="http://luminouslogic.com/matlab_stock_scripts/get_last_trade_google.m" rel="nofollow">get_last_trade_google.m</a></p>
<p>i think matlab&#8217;s line-by-line execution doesn&#8217;t let you retrieve multiple tickers <i>simultaneously</i> though.</p>
<p>best -<br />
- lumi</p>
]]></content:encoded>
	</item>
</channel>
</rss>

