Skip to content

waleed318/ScrapingTeslaStocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ScrapingTeslaStocks

Problem

I am interested in buying a tesla but i would like to perform some market research first.

I know that any new technology has issues at first which are settled overtime.

which has a barplot/histogram that shows minor issues and major issues reported overtime

before making a decision i wanted to scrape the data load it into a pandas dataframe and plot a curve for minor against major issues (Because i dont like histograms)

But when i tried to scrape the data i found out that the values that i am trying to scrape

(e.g Minor Issues = 63.7,Major Issues = 10.0 for Jan 2018 and so on) are being generated dynamically i.e. by javascript and i am not able to see those values in html.

TeslaStocksOnBlombergSite

Solution

1. Extracted Data From Bloomberg site using selenium

a.Data only visible when we hover mouse over it.

b.I found out that data became visible when we hover mouse over a div tag names "rect".

2. Store Data in the form of Pandas DataFrame.

3.Visualized with seaborn library

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published