Skip to content

Webscrape nasdaq.com for headline news sentiment in csv format.

Notifications You must be signed in to change notification settings

ericanderson333/Nasdaq_News_Sentiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

NASDAQ STOCK HEADLINE NEWS SENTIMENT

This program uses scraped webpages from 'nasdaq.com' for stock news. This data can be used to attach to existing stock historical data and be a feature for predicting stock change for new sentiment. Most stock news from free api's only date back so far. This program scrapes as far as when the NASDAQ first created news sentiment for the stock, and compiles all news into one column.
Ex. SPY - dating back to 2016

Packages

  • Pandas
  • Numpy
  • Datetime
  • BeautifulSoup4
  • os
  • Requests

Example Results (SPY)

Index Date News Headline
0 2016-06-03 "Mattress Firm Holding Enters Oversold Territory (MFRM).
100 2016-10-11 "New York Times Enters Oversold Territory (NYT). Axalta Coating Systems is Now Oversold (AXTA). Universal Display Becomes Oversold (OLED).
1106 2020-08-11 ANALYSIS-'Bull everything' rally leaves investors wondering what to own
  • Note that all "News Headlines" are combined together. They are separated by periods (.)

Contact

Phone: (971) 708-4444
Email: [email protected]
Linkedin: https://www.linkedin.com/in/ericanderson333
Please contact me and send me any questions/advice! Thanks!

About

Webscrape nasdaq.com for headline news sentiment in csv format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages