Git Product home page Git Product logo

202112-37-predicting-real-time-stock-index-using-tweet's Introduction

2021-12-37-Predicting-Real-Time-Stock-Index-Using-Tweet

Please note, the path or directory name for some variables in our program in which they loads data from, may have changed. Please change accordingly if you get some error.

To reproduce our results in during training, please follow the steps below:

  1. run twitter_client and spark_test once for a streaming period of your choice. This determines how many data you will have for pretaining
  2. run bootstrap to increase data volume and update file_lst.pkl (For now, using the existent lst.pkl may yield an error as we modified the organization of this project, directory name may have changed. However, if you follow the given steps, there should be no problem)
  3. run pretraining to reproduce our model

To reproduce our results in the actual real-time prediction, please follow the steps below:

  1. Set up and make kafka and zookeeper running on the clusters your are using
  2. Change time-interval to your choice in the spark_actual, online_prediction, update_model
  3. Start twitter_client, get_price spark_actual, online_prediction, update_model simultaneously.
  4. Run our visualization program to query and see results.

To reproduce our results in the visualizaiton, please follow the steps below:

  1. Open the "final_project_visualization" folder as a django project.
  2. Open terminal, navigate to the folder.
  3. Make migrations in django to put the model in use.
  4. In the terminal, type "python manage.py runserver"
  5. Open browser and navigate to http://127.0.0.1:8000/overview.

202112-37-predicting-real-time-stock-index-using-tweet's People

Contributors

hengkan avatar yuzhaopan avatar

Watchers

Lev E. Givon avatar Bhavdeep Sethi avatar  avatar  avatar  avatar Yinglong Xia avatar  avatar Frank Ou Yang avatar  avatar  avatar  avatar Ghazal Fazelnia 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.