<?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>live market price Archives -</title>
	<atom:link href="https://mitindia.in/tag/live-market-price/feed/" rel="self" type="application/rss+xml" />
	<link>https://mitindia.in/tag/live-market-price/</link>
	<description></description>
	<lastBuildDate>Wed, 20 Apr 2022 05:49:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://mitindia.in/wp-content/uploads/2023/03/cropped-android-chrome-512x512-1-32x32.png</url>
	<title>live market price Archives -</title>
	<link>https://mitindia.in/tag/live-market-price/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Data Science &#8211; Web scraping (Access Share/BSE Market price)</title>
		<link>https://mitindia.in/data-science-web-scraping-access-share-bse-market-price/</link>
		
		<dc:creator><![CDATA[SKB]]></dc:creator>
		<pubDate>Wed, 20 Apr 2022 05:49:14 +0000</pubDate>
				<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[data science]]></category>
		<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[live market price]]></category>
		<guid isPermaLink="false">http://www.mitindia.in/?p=1149</guid>

					<description><![CDATA[<p>Retrieve Live Market Price Accessing Share and Bombay Stock Exchange (BSE) Market price using Web scraping with the help of Python&#8217;s Beautiful Soup Package. In this example we covered TCS share price as an example. Here is the Python code to perform the task. #data science with Python - TCS share and BSE Market price [&#8230;]</p>
<p>The post <a href="https://mitindia.in/data-science-web-scraping-access-share-bse-market-price/">Data Science &#8211; Web scraping (Access Share/BSE Market price)</a> appeared first on <a href="https://mitindia.in"></a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Retrieve Live Market Price</h1>
<p>Accessing Share and Bombay Stock Exchange (BSE) Market price using Web scraping with the help of Python&#8217;s Beautiful Soup Package.</p>
<p>In this example we covered TCS share price as an example.</p>
<p>Here is the Python code to perform the task.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">#data science with Python - TCS share and BSE Market price
import bs4 
import pandas as pd 
import requests 

url = 'https://www.google.com/finance/quote/TCS:NSE'
result = requests.get(url) 
soup = bs4.BeautifulSoup(result.text,'lxml') 

for row in soup.find_all('div',attrs={"class" : "YMlKec fxKbKc"}):
    print ("TCS Share price:", row.text)

url2='https://www.google.com/finance/quote/SENSEX:INDEXBOM'
result2 = requests.get(url2) 
soup2 = bs4.BeautifulSoup(result2.text,'lxml') 

for row2 in soup2.find_all('div',attrs={"class" : "YMlKec fxKbKc"}):
    print ("BSE Market price:", row2.text)
</pre>
<p>Output of the above code is :</p>
<blockquote><p><strong>TCS Share price: ₹3,562.20</strong><br />
<strong>BSE Market price: 56,988.59</strong></p>
<p>These values are retrieved live on any particular day when the market is open otherwise it shows previous day&#8217;s values.</p></blockquote>
<p><a class="a2a_button_whatsapp" href="https://www.addtoany.com/add_to/whatsapp?linkurl=https%3A%2F%2Fmitindia.in%2Fdata-science-web-scraping-access-share-bse-market-price%2F&amp;linkname=Data%20Science%20%E2%80%93%20Web%20scraping%20%28Access%20Share%2FBSE%20Market%20price%29" title="WhatsApp" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fmitindia.in%2Fdata-science-web-scraping-access-share-bse-market-price%2F&amp;linkname=Data%20Science%20%E2%80%93%20Web%20scraping%20%28Access%20Share%2FBSE%20Market%20price%29" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fmitindia.in%2Fdata-science-web-scraping-access-share-bse-market-price%2F&#038;title=Data%20Science%20%E2%80%93%20Web%20scraping%20%28Access%20Share%2FBSE%20Market%20price%29" data-a2a-url="https://mitindia.in/data-science-web-scraping-access-share-bse-market-price/" data-a2a-title="Data Science – Web scraping (Access Share/BSE Market price)"><img src="https://static.addtoany.com/buttons/favicon.png" alt="Share"></a></p><p>The post <a href="https://mitindia.in/data-science-web-scraping-access-share-bse-market-price/">Data Science &#8211; Web scraping (Access Share/BSE Market price)</a> appeared first on <a href="https://mitindia.in"></a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
