filmov
tv
Extract any stock's data and visualize the data using Python (No need to install Python or a IDE)

Показать описание
In this video, you'll learn how to extract data of any stock from Yahoo Finance, visualize the data by constructing a chart and also download the stock's data to an excel sheet using Python.
You can implement the code using a Python IDE or by simply using Google Colaboratory (link given below) as instructed in the video.
Instructor: Chirag Chhatbar
Code:
-------------------------------------------------------------------------------------------------
#Import the libraries
import math
import pandas_datareader as web
import numpy as np
import pandas as pd
#Get the stock quote
df = web.DataReader('RELIANCE.NS', data_source='yahoo', start='2014-01-01', end='2020-01-02')
#Show the data
df
#Visualize the closing price history
-------------------------------------------------------------------------------------------------
Thanks for watching! Hope you could learn something from this tutorial. If the video was useful, please like and share the video, and subscribe to our channel for more such informative videos.
If you know a better way to extract stock's data using python or have any feedback, please comment below.
You can implement the code using a Python IDE or by simply using Google Colaboratory (link given below) as instructed in the video.
Instructor: Chirag Chhatbar
Code:
-------------------------------------------------------------------------------------------------
#Import the libraries
import math
import pandas_datareader as web
import numpy as np
import pandas as pd
#Get the stock quote
df = web.DataReader('RELIANCE.NS', data_source='yahoo', start='2014-01-01', end='2020-01-02')
#Show the data
df
#Visualize the closing price history
-------------------------------------------------------------------------------------------------
Thanks for watching! Hope you could learn something from this tutorial. If the video was useful, please like and share the video, and subscribe to our channel for more such informative videos.
If you know a better way to extract stock's data using python or have any feedback, please comment below.