Skip to content

A bot that automatically scrapes news articles from the web and parses them if they contain company/stock names. Eventually will incorporate machine learning with this data alongside daily historical data to predict movement of stock.

Notifications You must be signed in to change notification settings

ConnorLanglois/sap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

SAP : Stock Analyst and Predictor

A bot that automatically scrapes news articles from the web and parses them if they contain company/stock names. Eventually will incorporate machine learning with this data alongside daily historical data to predict movement of stock.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Python
newspaper
googletrans
nltk

Installing

Clone the repo.

Running

Steps:

  1. Place each news source on a new line in file:

    resources/sources.txt
    
  2. Place each stock as "symbol:name,name,..." on a new line in file:

    resources/sources.txt
    
  3. Run the main file:

    src/sap.py
    

Authors

License

This project is not licensed.

About

A bot that automatically scrapes news articles from the web and parses them if they contain company/stock names. Eventually will incorporate machine learning with this data alongside daily historical data to predict movement of stock.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages