<?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: Creating High Quality Stock Chart With Flash</title>
	<atom:link href="http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/</link>
	<description>People. Places. Things.</description>
	<lastBuildDate>Fri, 23 Dec 2011 16:15:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: TrevinoCecilia35</title>
		<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/comment-page-1/#comment-9314</link>
		<dc:creator>TrevinoCecilia35</dc:creator>
		<pubDate>Sat, 10 Dec 2011 22:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://polibou.com/?p=48#comment-9314</guid>
		<description>It is well known that cash can make us free. But what to do when somebody does not have money? The one way is to receive the &lt;a href=&quot;http://goodfinance-blog.com&quot; rel=&quot;nofollow&quot;&gt;loan&lt;/a&gt; and just collateral loan.</description>
		<content:encoded><![CDATA[<p>It is well known that cash can make us free. But what to do when somebody does not have money? The one way is to receive the <a href="http://goodfinance-blog.com" rel="nofollow">loan</a> and just collateral loan.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xaneth</title>
		<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/comment-page-1/#comment-9013</link>
		<dc:creator>xaneth</dc:creator>
		<pubDate>Fri, 25 Nov 2011 20:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://polibou.com/?p=48#comment-9013</guid>
		<description>I know this post is somewhat dated.  It might be a good idea to include these files in a zip format for people, as the swfobject.js that comes with the new amchart package is version 2.2 and breaks your solution right out of the box.  You must be using the same version you are using on this page, which is swfobject.js version 1.5.  Also, you code above, references /post-content/flashchart/data.php, which is not valid for anyone that has followed your instructions and put all files into the same folder.  It should simply be &quot;data.php&quot;, no leading path.</description>
		<content:encoded><![CDATA[<p>I know this post is somewhat dated.  It might be a good idea to include these files in a zip format for people, as the swfobject.js that comes with the new amchart package is version 2.2 and breaks your solution right out of the box.  You must be using the same version you are using on this page, which is swfobject.js version 1.5.  Also, you code above, references /post-content/flashchart/data.php, which is not valid for anyone that has followed your instructions and put all files into the same folder.  It should simply be &#8220;data.php&#8221;, no leading path.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xaneth</title>
		<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/comment-page-1/#comment-8982</link>
		<dc:creator>xaneth</dc:creator>
		<pubDate>Thu, 24 Nov 2011 01:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://polibou.com/?p=48#comment-8982</guid>
		<description>OK, so I got this solved, as I was editing the wrong file, needed to make sure that settings.php was in place, which it is now.  Error I am seeing now is &quot;no data&quot;.  I&#039;ve tried working with the line:

/post-content/flashchart/data.php?symbol=

As my data.php does not reside in /flashchart, but /stock, and I&#039;m still seeing the same error.  Settings.php should be calling data.php like it does on your site here, but it&#039;s not doing it right on my site.</description>
		<content:encoded><![CDATA[<p>OK, so I got this solved, as I was editing the wrong file, needed to make sure that settings.php was in place, which it is now.  Error I am seeing now is &#8220;no data&#8221;.  I&#8217;ve tried working with the line:</p>
<p>/post-content/flashchart/data.php?symbol=</p>
<p>As my data.php does not reside in /flashchart, but /stock, and I&#8217;m still seeing the same error.  Settings.php should be calling data.php like it does on your site here, but it&#8217;s not doing it right on my site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xaneth</title>
		<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/comment-page-1/#comment-8979</link>
		<dc:creator>xaneth</dc:creator>
		<pubDate>Wed, 23 Nov 2011 22:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://polibou.com/?p=48#comment-8979</guid>
		<description>Using Firebug I can see the following error:

SWFObject is not defined
Line 18

Line 18 is:
var so = new SWFObject(&quot;amstock.swf&quot;, &quot;amstock&quot;, &quot;550&quot;, &quot;300&quot;, &quot;8&quot;, &quot;#FFFFFF&quot;);</description>
		<content:encoded><![CDATA[<p>Using Firebug I can see the following error:</p>
<p>SWFObject is not defined<br />
Line 18</p>
<p>Line 18 is:<br />
var so = new SWFObject(&#8220;amstock.swf&#8221;, &#8220;amstock&#8221;, &#8220;550&#8243;, &#8220;300&#8243;, &#8220;8&#8243;, &#8220;#FFFFFF&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xaneth</title>
		<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/comment-page-1/#comment-8974</link>
		<dc:creator>xaneth</dc:creator>
		<pubDate>Wed, 23 Nov 2011 21:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://polibou.com/?p=48#comment-8974</guid>
		<description>This would be nice for my website if it worked.  I am getting &quot;You need to upgrade your flash player&quot;, and I have the latest version of flash on all my browsers as of this post.</description>
		<content:encoded><![CDATA[<p>This would be nice for my website if it worked.  I am getting &#8220;You need to upgrade your flash player&#8221;, and I have the latest version of flash on all my browsers as of this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharetipsinfo</title>
		<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/comment-page-1/#comment-5519</link>
		<dc:creator>sharetipsinfo</dc:creator>
		<pubDate>Wed, 10 Aug 2011 10:56:26 +0000</pubDate>
		<guid isPermaLink="false">http://polibou.com/?p=48#comment-5519</guid>
		<description>Nice blog would like to add that NSE and BSE are one of the most superior stock exchanges  of India. If you wish to earn good money from the share market then you need to understand  the functionality of the stock market properly.

 Indian stock market offers lot of earning opportunities still many less traders earn from  it. Now the question is who earns from the share trading? To be honest only those who rely  on stock research as no one can earn big by speculating in the market.

 Regards
 &lt;a href=&quot;http://www.sharetipsinfo.com&quot; title=&quot;SHARETIPSINFO TEAM&quot; rel=&quot;nofollow&quot;&gt;SHARETIPSINFO TEAM&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Nice blog would like to add that NSE and BSE are one of the most superior stock exchanges  of India. If you wish to earn good money from the share market then you need to understand  the functionality of the stock market properly.</p>
<p> Indian stock market offers lot of earning opportunities still many less traders earn from  it. Now the question is who earns from the share trading? To be honest only those who rely  on stock research as no one can earn big by speculating in the market.</p>
<p> Regards<br />
 <a href="http://www.sharetipsinfo.com" title="SHARETIPSINFO TEAM" rel="nofollow">SHARETIPSINFO TEAM</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharetipsinfo</title>
		<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/comment-page-1/#comment-5518</link>
		<dc:creator>sharetipsinfo</dc:creator>
		<pubDate>Wed, 10 Aug 2011 10:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://polibou.com/?p=48#comment-5518</guid>
		<description>http://pezis.com/ycharts.com</description>
		<content:encoded><![CDATA[<p><a href="http://pezis.com/ycharts.com" rel="nofollow">http://pezis.com/ycharts.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saurabh</title>
		<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/comment-page-1/#comment-5083</link>
		<dc:creator>saurabh</dc:creator>
		<pubDate>Fri, 17 Jun 2011 10:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://polibou.com/?p=48#comment-5083</guid>
		<description>Hi Poli,
 
Saw the updated page on your &quot;Creating High Quality Stock Chart With Flash&quot;. Thank you for the credit on your blog. I appreciate your efforts on sharing the implementation codes, its a lot of help to self learners like me.
 
Further also noted your comment on my post on your blog. After a lot of googling I had figured out two things:
 
1) The first 15 lines need to be deleted
2) Timestamp needs to be converted into Date format of YYYY-MM-DD hh:mm
 
For the first point I guess in the settings.php there is an option 15, would this do the trick? Don&#039;t know yet as my chart is still not rendering. 
I&#039;ll try your way of of doing a substr in the data.php itself, although currently I have no idea how to!!.... Google is like god to me :-0
 
For the second point (its a major issue) amcharts does not accept timestamps it only accepts date format of YYYY-MM-DD hh:mm, so how do I convert time stamp which is a 10digit number into YYYY-MM-DD hh:mm format.
 
If you have little time on your hand, maybe you can guide me.
 
regards
Saurabh</description>
		<content:encoded><![CDATA[<p>Hi Poli,</p>
<p>Saw the updated page on your &#8220;Creating High Quality Stock Chart With Flash&#8221;. Thank you for the credit on your blog. I appreciate your efforts on sharing the implementation codes, its a lot of help to self learners like me.</p>
<p>Further also noted your comment on my post on your blog. After a lot of googling I had figured out two things:</p>
<p>1) The first 15 lines need to be deleted<br />
2) Timestamp needs to be converted into Date format of YYYY-MM-DD hh:mm</p>
<p>For the first point I guess in the settings.php there is an option 15, would this do the trick? Don&#8217;t know yet as my chart is still not rendering.<br />
I&#8217;ll try your way of of doing a substr in the data.php itself, although currently I have no idea how to!!&#8230;. Google is like god to me :-0</p>
<p>For the second point (its a major issue) amcharts does not accept timestamps it only accepts date format of YYYY-MM-DD hh:mm, so how do I convert time stamp which is a 10digit number into YYYY-MM-DD hh:mm format.</p>
<p>If you have little time on your hand, maybe you can guide me.</p>
<p>regards<br />
Saurabh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Poli</title>
		<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/comment-page-1/#comment-4217</link>
		<dc:creator>Poli</dc:creator>
		<pubDate>Wed, 04 May 2011 19:29:37 +0000</pubDate>
		<guid isPermaLink="false">http://polibou.com/?p=48#comment-4217</guid>
		<description>Hi Saurabh,

Thanks for providing the intraday data link.  I never realized one was available.  I have updated my original post.

You are right, AM Chart cannot read the csv file since the data is formatted differently from the historical data csv.  You will need to modify the data.php to format the intraday csv.  There are a bunch of info before the series data start so you will have to remove the first 15 lines of the $output variable.  With the historical data it is easy to format we just remove the first line with a search and replace (ie: str_replace).  In the intraday data it is a bit harder because the first 15 lines aren&#039;t static strings so we cannot do a simple search and replace.  There are many ways to remove those first 15 lines.  One way is probably to count the first 15 newlines (&quot;\n&quot;) and do a substr(from the next character position of the 15th \n, to the character position off the last value in the csv). I&#039;ll leave you with the details of figuring that out. Below is a snippit of the csv and you&#039;ll see why you need to remove the first 15 lines.

uri:/instrument/1.0/amd/chartdata;type=quote;range=1d/csv/
ticker:amd
unit:MIN
timezone:EDT
currency:USD
gmtoffset:-14400
previous_close:8.8000
Timestamp:1304515800,1304539200
labels:1304517600,1304521200,1304524800,1304528400,1304532000,1304535600,1304539200
values:Timestamp,close,high,low,open,volume
close:8.6400,8.8200
high:8.6500,8.8200
low:8.6400,8.8107
open:8.6400,8.8200
volume:200,550600
1304515851,8.7900,8.8150,8.7800,8.8100,170000
1304515919,8.7200,8.7800,8.7200,8.7800,76600
1304515968,8.7300,8.7400,8.7200,8.7200,24600
1304516039,8.7300,8.7400,8.7300,8.7300,96500
1304516089,8.7400,8.7400,8.7300,8.7300,51600
1304516155,8.7300,8.7300,8.7300,8.7300,74600
1304516216,8.7600,8.7700,8.7300,8.7300,142900

After you use php to remove the first 15 lines you will also have to edit the columns in the settings.php file because the order of the data is different.  In the intraday the order is: Timestamp,close,high,low,open,volume.  Where in the historical csv it is: Date,Open,High,Low,Close,Volume,Adj Close.

Let me know if that helps.</description>
		<content:encoded><![CDATA[<p>Hi Saurabh,</p>
<p>Thanks for providing the intraday data link.  I never realized one was available.  I have updated my original post.</p>
<p>You are right, AM Chart cannot read the csv file since the data is formatted differently from the historical data csv.  You will need to modify the data.php to format the intraday csv.  There are a bunch of info before the series data start so you will have to remove the first 15 lines of the $output variable.  With the historical data it is easy to format we just remove the first line with a search and replace (ie: str_replace).  In the intraday data it is a bit harder because the first 15 lines aren&#8217;t static strings so we cannot do a simple search and replace.  There are many ways to remove those first 15 lines.  One way is probably to count the first 15 newlines (&#8220;\n&#8221;) and do a substr(from the next character position of the 15th \n, to the character position off the last value in the csv). I&#8217;ll leave you with the details of figuring that out. Below is a snippit of the csv and you&#8217;ll see why you need to remove the first 15 lines.</p>
<p>uri:/instrument/1.0/amd/chartdata;type=quote;range=1d/csv/<br />
ticker:amd<br />
unit:MIN<br />
timezone:EDT<br />
currency:USD<br />
gmtoffset:-14400<br />
previous_close:8.8000<br />
Timestamp:1304515800,1304539200<br />
labels:1304517600,1304521200,1304524800,1304528400,1304532000,1304535600,1304539200<br />
values:Timestamp,close,high,low,open,volume<br />
close:8.6400,8.8200<br />
high:8.6500,8.8200<br />
low:8.6400,8.8107<br />
open:8.6400,8.8200<br />
volume:200,550600<br />
1304515851,8.7900,8.8150,8.7800,8.8100,170000<br />
1304515919,8.7200,8.7800,8.7200,8.7800,76600<br />
1304515968,8.7300,8.7400,8.7200,8.7200,24600<br />
1304516039,8.7300,8.7400,8.7300,8.7300,96500<br />
1304516089,8.7400,8.7400,8.7300,8.7300,51600<br />
1304516155,8.7300,8.7300,8.7300,8.7300,74600<br />
1304516216,8.7600,8.7700,8.7300,8.7300,142900</p>
<p>After you use php to remove the first 15 lines you will also have to edit the columns in the settings.php file because the order of the data is different.  In the intraday the order is: Timestamp,close,high,low,open,volume.  Where in the historical csv it is: Date,Open,High,Low,Close,Volume,Adj Close.</p>
<p>Let me know if that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saurabh</title>
		<link>http://www.polibou.com/2009/03/20/creating-high-quality-historical-stock-chart-with-flash/comment-page-1/#comment-4208</link>
		<dc:creator>saurabh</dc:creator>
		<pubDate>Wed, 04 May 2011 09:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://polibou.com/?p=48#comment-4208</guid>
		<description>Hi Poli,

I have managed to get historical prices running in Joomla, using your above tutorial. Given that i&#039;m a total noob at php, i just followed your advice to the T and voila, historical charts are now working.

Now i wanted to get the intraday charts incorporated into the site and i just replaced:
http://ichart.finance.yahoo.com/table.csv?s=&quot;.$symbol
with 
ScrapePage(&quot;http://chartapi.finance.yahoo.com/instrument/1.0/. $symbol ./chartdata;type=quote;range=1d/csv/&quot;)

The chart is displaying but there are no lines (graphs) i believe the amchart is not reading the csv file correctly. 
I guess i have to ammend the settings.php, but cant seem to get a handle on this, Can you please kindly guide me to get this working.

regards
Saurabh</description>
		<content:encoded><![CDATA[<p>Hi Poli,</p>
<p>I have managed to get historical prices running in Joomla, using your above tutorial. Given that i&#8217;m a total noob at php, i just followed your advice to the T and voila, historical charts are now working.</p>
<p>Now i wanted to get the intraday charts incorporated into the site and i just replaced:<br />
<a href="http://ichart.finance.yahoo.com/table.csv?s=" rel="nofollow">http://ichart.finance.yahoo.com/table.csv?s=</a>&#8220;.$symbol<br />
with<br />
ScrapePage(&#8220;http://chartapi.finance.yahoo.com/instrument/1.0/. $symbol ./chartdata;type=quote;range=1d/csv/&#8221;)</p>
<p>The chart is displaying but there are no lines (graphs) i believe the amchart is not reading the csv file correctly.<br />
I guess i have to ammend the settings.php, but cant seem to get a handle on this, Can you please kindly guide me to get this working.</p>
<p>regards<br />
Saurabh</p>
]]></content:encoded>
	</item>
</channel>
</rss>

