Git Product home page Git Product logo

trumponator's Introduction

Trumponator

Trumponator is tool to predict stock market development. It utilizes supervised machine learning to predict changes of Dow Jones Industrial Average by reading tweets of Donald Trump, the president of United States. Developed further, trumponator would be cabable to predict any stock market index based on any individual's (or group's of individuals) tweets.

This is a project work for Introduction to Data Science -course of University of Helsinki, 2018.

Trumponator in action

alt text

Visualization of some predictions drawn over the actual stock market index. Green arrows are the predictions that were given to the tweets that are written to the upper part of the animation. Red arrows represent predictions for which tweets are not shown in this animation.

How to use it

  1. Fork the trumponator project and clone it to your local machine.

  2. Install the FastText library to be able to run trumponator.

  3. Run trumponator.py using python3.

    python3 trumponator.py "write or paste here the tweet you want to predict from"

    alt text

    In the gif above the program is run in a conda virtual environment called "alphavantage", which has all the required dependencies installed. You can install the dependencies in any environment of your liking, or not to use virtual environment at all.

  4. Read the result, invest and profit $$$.

How to develop Trumponator for your own needs

  1. Fork the trumponator project, clone it and install the dependencies needed:
  1. Train different models using different datasets of stock market indexes and tweets.

  2. Predict, invest, profit $$$.

Links:

Report

FastText tutorial

Alpha Vantage API documentation

Wrangling tweets example

trumponator's People

Contributors

stiirika avatar vihaton avatar

Stargazers

Sonam Sharma avatar

Forkers

stiirika vihaton

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.