<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebD &#187; Stock Market</title>
	<atom:link href="http://webdlabs.com/tag/stock-market/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdlabs.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 03 Jan 2012 08:03:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Live stock quotes in JSON or XML format at no cost</title>
		<link>http://webdlabs.com/2011/10/live-stock-quotes-in-json-or-xml-format-at-no-cost/</link>
		<comments>http://webdlabs.com/2011/10/live-stock-quotes-in-json-or-xml-format-at-no-cost/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 19:36:08 +0000</pubDate>
		<dc:creator>Akshay</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Stock Data]]></category>
		<category><![CDATA[Yahoo]]></category>
		<category><![CDATA[BSE]]></category>
		<category><![CDATA[NSE]]></category>
		<category><![CDATA[Stock Market]]></category>
		<category><![CDATA[YQL]]></category>

		<guid isPermaLink="false">http://webdlabs.com/?p=207</guid>
		<description><![CDATA[I feel like I have finally found the holy grail of true free access to near-realtime structured stock quotes of almost any symbol across the world. Fellow programmers in search of this for a while must be aware that Yahoo! Finance lets you download near-realtime quotes for many exchanges across the globe in CSV format. [...]]]></description>
			<content:encoded><![CDATA[<p>I feel like I have finally found the holy grail of true free access to near-realtime structured stock quotes of almost any symbol across the world. Fellow programmers in search of this for a while must be aware that Yahoo! Finance lets you <a title="Sample CSV download link for TCE on BSE" href="http://download.finance.yahoo.com/d/quotes.csv?s=TCS.BO&amp;f=sl1d1t1c1ohgv&amp;e=.csv" target="_blank">download</a> near-realtime quotes for many exchanges across the globe in CSV format. However, few are aware of <a href="http://developer.yahoo.com/yql/" target="_blank">YQL (Yahoo Query Language)</a> – yet another beautiful service from Yahoo! that lets you convert CSV data to JSON or XML on the fly!</p>
<p>You fuse these two services and what you get is a pure free API which lets you access <a href="http://help.yahoo.com/l/us/yahoo/finance/quotes/fitadelay.html" target="_blank">near-realtime</a> stock quotes! You may use this <a href="http://developer.yahoo.com/yql/console/#h=select%20*%20from%20csv%20where%20url%3D%27http%3A//download.finance.yahoo.com/d/quotes.csv%3Fs%3DINFY.BO%2CRELIANCE.NS%2CTCS.BO%26f%3Dsl1d1t1c1ohgv%26e%3D.csv%27%20and%20columns%3D%27symbol%2Cprice%2Cdate%2Ctime%2Cchange%2Ccol1%2Chigh%2Clow%2Ccol2%27" target="_blank">YQL console</a> as a starting point &#8230;and here’s how the output looks like in <a title="JSON example" href="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20csv%20where%20url%3D'http%3A%2F%2Fdownload.finance.yahoo.com%2Fd%2Fquotes.csv%3Fs%3DINFY.BO%2CRELIANCE.NS%2CTCS.BO%26f%3Dsl1d1t1c1ohgv%26e%3D.csv'%20and%20columns%3D'symbol%2Cprice%2Cdate%2Ctime%2Cchange%2Ccol1%2Chigh%2Clow%2Ccol2'&amp;format=json&amp;diagnostics=true&amp;callback=" target="_blank">JSON</a> &#8230;and here’s how it looks like in <a title="XML example" href="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20csv%20where%20url%3D'http%3A%2F%2Fdownload.finance.yahoo.com%2Fd%2Fquotes.csv%3Fs%3DINFY.BO%2CRELIANCE.NS%2CTCS.BO%26f%3Dsl1d1t1c1ohgv%26e%3D.csv'%20and%20columns%3D'symbol%2Cprice%2Cdate%2Ctime%2Cchange%2Ccol1%2Chigh%2Clow%2Ccol2'&amp;diagnostics=true" target="_blank">XML</a>:</p>
<p>Hope this helps developers like me who may not have enterprise level access to expensive data, but have the will to create cool apps given this access.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdlabs.com/2011/10/live-stock-quotes-in-json-or-xml-format-at-no-cost/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Stock Market Data API (Beta release)</title>
		<link>http://webdlabs.com/2009/06/stock-market-data-api-beta-release/</link>
		<comments>http://webdlabs.com/2009/06/stock-market-data-api-beta-release/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 14:26:12 +0000</pubDate>
		<dc:creator>Akshay</dc:creator>
				<category><![CDATA[API]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Stock Data]]></category>
		<category><![CDATA[BSE]]></category>
		<category><![CDATA[Feeds]]></category>
		<category><![CDATA[NASDAQ]]></category>
		<category><![CDATA[NSE]]></category>
		<category><![CDATA[NYSE]]></category>
		<category><![CDATA[Stock Market]]></category>

		<guid isPermaLink="false">http://webdlabs.com/?p=54</guid>
		<description><![CDATA[Stock Exchanges around the world currently publish datafeeds in CSV format. This is quite portable and easy to implement, however it cannot be directly used in your web applications without server side code. Also these official feeds are generally very expensive and affordable only by enterprise level developers. Thats where Stock Market Data (SMD) API [...]]]></description>
			<content:encoded><![CDATA[<p>Stock Exchanges around the world currently publish datafeeds in CSV format. This is quite portable and easy to implement, however it cannot be directly used in your web applications without server side code. Also these official feeds are generally very expensive and affordable only by enterprise level developers. Thats where <a href="http://smdapi.co.cc/" target="_blank">Stock Market Data (SMD) API</a> comes in place. This simple HTTP webservice presents a snapshot of the latest stock market data in various Web 2.0 formats such as <a href="http://www.json.org/" target="_blank">JSON</a>, <a href="http://en.wikipedia.org/wiki/RSS_%28file_format%29" target="_blank">RSS</a>, <a href="http://en.wikipedia.org/wiki/Atom_%28standard%29" target="_blank">ATOM</a>, <a href="http://www.mddl.org/" target="_blank">MDDL (Market Data Definition Language &#8211; XML for Market Data)</a> or a good old CSV. Currently SMDAPI supports NASDAQ Stock Exchange, New York Stock Exchange (NYSE), Bombay Stock Exchange (BSE) and National Stock Exchange, India (NSE) but we are actively working on supporting others soon.</p>
<p>Please note that SMD API is currently released as Beta and is quite unstable in nature. I am still experimenting with everything from the domain name of this service (smdapi.co.cc which is a temperory one) to the API structure itself. I am also very much open to ideas which I can incorporate in this project before it officially released.</p>
<p><em>Update: The API is currently no more supported in interest of <a href="http://webdlabs.com/2011/10/live-stock-quotes-in-json-or-xml-format-at-no-cost/" title="Live stock quotes in JSON or XML format at no cost">this method I lately discovered</a>. Please contact me at akshay[dot]raje[at]gmail.com if you need any help / consulting in this regard.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://webdlabs.com/2009/06/stock-market-data-api-beta-release/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WP Web Scraper &#8211; A WordPress Stock Market plugin</title>
		<link>http://webdlabs.com/2009/06/wp-web-scraper-a-wordpress-stock-market-plugin/</link>
		<comments>http://webdlabs.com/2009/06/wp-web-scraper-a-wordpress-stock-market-plugin/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 12:35:14 +0000</pubDate>
		<dc:creator>Akshay</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[NASDAQ]]></category>
		<category><![CDATA[NSE]]></category>
		<category><![CDATA[Stock Market]]></category>
		<category><![CDATA[webscraping]]></category>

		<guid isPermaLink="false">http://webdlabs.com/?p=50</guid>
		<description><![CDATA[This is probably a major milestone in the lifecycle of WP Web Scraper WordPress plugin. Technically speaking, the plugin gets in own ‘module architecture’ to incorporate unlimited extensions without touching the core codebase. Speaking non-technically, this opens WP Web Scraper to a non-techie WordPress user. To startoff, this mod extends the plugin with a specific [...]]]></description>
			<content:encoded><![CDATA[<p>This is probably a major milestone in the lifecycle of <a href="http://wordpress.org/extend/plugins/wp-web-scrapper" target="_blank">WP Web Scraper WordPress plugin</a>. Technically speaking, the plugin gets in own ‘module architecture’ to incorporate unlimited extensions without touching the core codebase. Speaking non-technically, this opens WP Web Scraper to a non-techie WordPress user. To startoff, this mod extends the plugin with a specific shortcode to get stock market data from NSE and NASDAQ (to start off with, more exchanges soon to come). The data is scraped with a cache interval of a minute (which can be further increased as per your requirement) and includes data types such as Open, High, Low, Last Price, Previous Close, Change, Change Percentage and Volume information for all active symbols on these exchanges.</p>
<p>The plugin API will provides a simple shortcode. For example &#8211; [<code>wpws_market_data market="nse" symbol="acc" datatype="last"</code>] or [<code>wpws_market_data market="nasdaq" symbol="csco" datatype="open"</code>]. NSE data is currently scraped from nseindia.com and NASDAQ data is scraped from reuters.com. The immediate plan is to implement all major stock markets in this API. Later, I plan to extend this modular architecture to other categories of scraps such as Weather, Sports scores etc too.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdlabs.com/2009/06/wp-web-scraper-a-wordpress-stock-market-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Plan of action for WP Web Scraper</title>
		<link>http://webdlabs.com/2009/05/plan-of-action-for-wp-web-scraper/</link>
		<comments>http://webdlabs.com/2009/05/plan-of-action-for-wp-web-scraper/#comments</comments>
		<pubDate>Wed, 27 May 2009 06:50:24 +0000</pubDate>
		<dc:creator>Akshay</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[BSE]]></category>
		<category><![CDATA[NASDAQ]]></category>
		<category><![CDATA[NSE]]></category>
		<category><![CDATA[Stock Market]]></category>
		<category><![CDATA[webscraping]]></category>

		<guid isPermaLink="false">http://webdlabs.com/?p=48</guid>
		<description><![CDATA[My latest WordPress plugin for web scraping &#8211; WP Web Scrapper was a grand launch. It recorded more than 200 downloads in the first two days itself! Thanks for all the appreciation and comments. This post is mainly to list down my plan to extend WP Web Scrapper into a standard scraping framework. Apart from [...]]]></description>
			<content:encoded><![CDATA[<p>My latest WordPress plugin for web scraping &#8211; <a href="http://webdlabs.com/projects/wp-web-scraper/" target="_self">WP Web Scrapper</a> was a grand launch. It recorded more than 200 downloads in the first two days itself! Thanks for all the appreciation and comments. This post is mainly to list down my plan to extend WP Web Scrapper into a standard scraping framework. Apart from being a flexible framework, I also plan to introduce some pre-built modules to make specific and highly desired scraping tasks easy. First such module will be a stock market data grabber. This module will extend the plugin to get stock market data from various big exchange websites easily (planning to support NSE, BSE and NASDAQ to start off with). The data will be almost realtime (delay ranging between 1 to 10 mins) and will include Open, High, Low, Last Price, Previous Close, Change, Change Percentage and Volume information for all active symbols on these exchanges.</p>
<p>The plugin API will provide a shortcode something like this &#8211; [<code>wpws mod="nse" symbol="acc" datatype="last"</code>] should output the latest price for <a href="http://nseindia.com/marketinfo/equities/cmquote_tab.jsp?key=ACCEQN&amp;symbol=ACC&amp;flag=0" target="_blank">ACC listed at NSE</a>. The aim is to make it an extendable module framework and hence I am taking time to code it well. Apart from this features, I am also planning to improve the core scrapper with functionalities like a regex powered cleanup function to remove all unwanted text strings from the scrap and also a more flexible algorithm to query html tables returned by the scrap.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdlabs.com/2009/05/plan-of-action-for-wp-web-scraper/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>More on BSE / NSE feeds project</title>
		<link>http://webdlabs.com/2009/05/more-on-bse-nse-feeds-project/</link>
		<comments>http://webdlabs.com/2009/05/more-on-bse-nse-feeds-project/#comments</comments>
		<pubDate>Tue, 19 May 2009 13:19:19 +0000</pubDate>
		<dc:creator>Akshay</dc:creator>
				<category><![CDATA[Ideas]]></category>
		<category><![CDATA[BSE]]></category>
		<category><![CDATA[Feeds]]></category>
		<category><![CDATA[NSE]]></category>
		<category><![CDATA[Stock Market]]></category>

		<guid isPermaLink="false">http://webdlabs.com/?p=39</guid>
		<description><![CDATA[This is in continuation to my concept note on BSE and NSE syndication feeds. Here are some more sketchy details about the planned service. Data source: Currently I am considering to scrap the stock exchange website pages using cURL and then parsing the DOM structure of the raw source. Once the service grows big enough, [...]]]></description>
			<content:encoded><![CDATA[<p>This is in continuation to my concept note on <a href="http://webdlabs.com/2009/05/bse-and-nse-syndication-feeds/" target="_self">BSE and NSE syndication feeds</a>. Here are some more sketchy details about the planned service.</p>
<p><strong>Data source:</strong> Currently I am considering to scrap the stock exchange website pages using cURL and then parsing the DOM structure of the raw source. Once the service grows big enough, a subscription to an official data feed can be considered.</p>
<p><strong>Output formats: </strong>I realized that RSS was a bad idea after all, however I discovered a very evolved XML specification for market data representation called <a href="http://www.mddl.org/" target="_blank">Market Data Definition Language (MDDL)</a>. Apart from MDDL the other output formats could be a simpler XML (home grown format); good old csv (light, easy and time tested) and JSON (for direct use in client side apps). As <a href="http://bob.pythonmac.org/archives/2005/12/05/remote-json-jsonp/" target="_blank">JSONP</a> is natively cross domain, it can be easily integrated without any server side technology. This means that users of this service can start their own ‘Get Quote’ apps on their website irrespective of the server or the host they use&#8230; just plain javascript code.</p>
<p>Lets get down to an example here. This is the current get quote output from <a href="http://nseindia.com/marketinfo/equities/cmquote_tab.jsp?key=ACCEQN&amp;symbol=ACC&amp;flag=0" target="_blank">NSE (exchange) for ACC (stock)</a>. An example output in MDDL would look like this <a href="http://webdlabs.com/wp-content/uploads/2009/05/nse-acc.xml" target="_blank">sample mddl-xml</a>. This as such is the plan and I am eagerly awaiting some feedback on this one before I start off with the actual code.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdlabs.com/2009/05/more-on-bse-nse-feeds-project/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BSE and NSE syndication feeds</title>
		<link>http://webdlabs.com/2009/05/bse-and-nse-syndication-feeds/</link>
		<comments>http://webdlabs.com/2009/05/bse-and-nse-syndication-feeds/#comments</comments>
		<pubDate>Thu, 14 May 2009 19:27:17 +0000</pubDate>
		<dc:creator>Akshay</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[BSE]]></category>
		<category><![CDATA[Feeds]]></category>
		<category><![CDATA[NSE]]></category>
		<category><![CDATA[Stock Market]]></category>

		<guid isPermaLink="false">http://webdlabs.com/?p=33</guid>
		<description><![CDATA[Consider this. Our stock market sites gear themselves as Web 2.0 services and start publishing data in the form of RSS, XML or JSON feeds. Imagine receiving corporate announcements in your RSS aggregator or even better… track your portfolio thru your aggregator. Further, picture what the developer community can do using this. Stock feeds can [...]]]></description>
			<content:encoded><![CDATA[<p>Consider this. Our stock market sites gear themselves as Web 2.0 services and start publishing data in the form of RSS, XML or JSON feeds. Imagine receiving corporate announcements in your RSS aggregator or even better… track your portfolio thru your aggregator. Further, picture what the developer community can do using this. Stock feeds can be parsed using widget frameworks like Google Gadgets, OpenSocial or plugin architectures to be dispayed on sites, blogs or social networking profile pages. Basically the possibilities are limitless.</p>
<p>But the reality is that our stock markets won’t do it. Not at least so soon. To fill in this gap I am planning to start a service which will parse BSE or NSE pages and convert them into RSS, XML or JSON feeds. It will be a simple HTTP service which will answer your request in the desired format. I will start work as soon I find a some time off my current projects. Till then, give it a thought and let me know what do you think of this.</p>
]]></content:encoded>
			<wfw:commentRss>http://webdlabs.com/2009/05/bse-and-nse-syndication-feeds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

