Giter Site home page Giter Site logo

snci / stock-forecasting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saradindusengupta/stock_price_forecasting_hybrid_model

0.0 2.0 0.0 3.12 MB

Stock closing and opening forecasting using Deep neural network and LSTM(technical indicators included)

License: GNU General Public License v3.0

Jupyter Notebook 99.12% Python 0.88%

stock-forecasting's Introduction

Stock closing and opening forecasting using Deep neural network and LSTM(technical indicators included)

Details about the indicators are here *https://github.com/saradindusengupta/technical_indicators_stock-market

Data :

*https://www.kaggle.com/souravroy1/stock-market-data/data The two py files

stock-forecast-lstm.py
stock-forecast-tweet.py

are for forecasting stock opening and closing prices from twitter and NYtimes using deep neural network and lstm. The notebook directory contains the results and ipynb files.

Results

![Alt text](Alt text

*Train Score: 0.00006 MSE (0.01 RMSE)

*Test Score: 0.00029 MSE (0.02 RMSE)

Future Improvements :

  1. Include more technical indicators from *https://github.com/saradindusengupta/technical_indicators_stock-market
  2. Use tweets for sentiment analysis more effectively
  3. More data
  4. More Indexes and better optimized hyperparameter

References:

  1. Bernal, A., Fok, S., & Pidaparthi, R. (2012). Financial Market Time Series Prediction with Recurrent Neural Networks.

  2. A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting CL Huang, CY Tsai - Expert Systems with Applications, 2009 - Elsevier

  3. Twitter mood predicts the stock market J Bollen, H Mao, X Zeng - Journal of computational science, 2011 - Elsevier

  4. Evaluating the impact of technical indicators on stock forecasting IEEE

  5. A hybrid stock trading framework integrating technical analysis with machine learning techniques Rajashree Dash Pradipta Kishore Dash

Dependencies :

Language - Python 3.5

keras : https://keras.io/

tensorflow : https://www.tensorflow.org/

sklearn: http://scikit-learn.org/stable

numpy : http://www.numpy.org/

pickle: https://docs.python.org/2/library/pickle.html

stock-forecasting's People

Watchers

James Cloos avatar LZ 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.