Coder Social home page Coder Social logo

shashankraider / stock-predictor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jasti/stock-predictor

0.0 1.0 0.0 330 KB

Listens for Stock news on Twitter, performs sentiment analysis by mining information from an online news source, performs supervised predictive modeling and suggests buy or sell decisions of the stock. Computes portfolio returns over time.

Python 100.00%

stock-predictor's Introduction

Project that listens on a news source and makes a prediction on the sentiment. Based on the sentiment, allows one to make a decision.
Once decision is made, the project allows one to go out to a historical ticker source to see if the action yielded any profits.

Project consists of three packages :

1. Twitter api and related parsing
Goes out to twitter and listens on interesting news from  Reuters via the Twitter streaming API
Also filters on the information that we are interested in and the time of the day. 
The news is captured and written to  output.


2. Sentiment 

The sentiment analysis takes the input from package 1 and looks up the sentiment using a sentiment analysis API
Based on the score back from the API, we will make a decision to execute or not

3. Stock analyser

After a gap of 5 mins ( Assuming this is the time it takes for information to flow to the general market), we will query a finance API just after executing the query and 5 mins after. 
If we decided to previously buy the stock ( based on a positive sentiment) and there is an increase in the stock price, we are in profit and vice-versa.






   

stock-predictor's People

Contributors

jasti avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.