Skip to content
프로젝트

THINK989/Real-Time-Stock-Market-Prediction-using-Ensemble-DL-and-Rainbow-DQN

GitHub에서 보기

소개

This repository contains an implementation of ensemble deep learning models to forecast or predict stock price. We used Alpha Vantage API to pull stock data(open,high,low,close,volume) and scraped news headlines from inshorts to perform sentiment analysis.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Real Time Stock Market Forecasting

This repository contains an implementation of ensemble deep learning models to forecast or predict stock price. We used Alpha Vantage API to pull stock data(open,high,low,close,volume) and scraped news headlines from inshorts to perform sentiment analysis.

The code and the images of this repository are free to use as regulated by the licence and subject to proper attribution:

Shah, Raj and Tambe, Ashutosh and Bhatt, Tej and Rote, Uday, Real-Time Stock Market Forecasting using Ensemble Deep Learning and Rainbow DQN. 
Available at SSRN: https://ssrn.com/abstract=3586788 or http://dx.doi.org/10.2139/ssrn.3586788.

Architecture

Getting Started

It would be a better idea to create a conda environment and work in isolation

  • Create a virtual environment
conda create -n envname python=3.6.8 anaconda 
conda activate envname

Use conda deactivate to deactivate the environment

  • Clone this repository
git clone --depth 1 https://github.com/THINK989/Real-Time-Stock-Market-Prediction-using-Ensemble-DL-and-Rainbow-DQN.git && cd Real-Time-Stock-Market-Prediction-using-Ensemble-DL-and-Rainbow-DQN
  • Install the requirements
pip install -r requirements.txt
  • Get an Alpha Vantage API key

To run animate.py you require a free Alpha Vantage API Key. Enter the key in key='' parameter inside the animate.py file

ts = TimeSeries(key='',output_format='pandas')
  • Run python script

To vizualize the forecast. Remember the data pulled by the API will not update the plot if the market is closed.

python animate.py

To get heatmap visualization for correlation analysis on ^NSEI(Nifty50)

python heatmap.py

License

This repository is distributed under MIT License

and

respective LICENSE under directories

forecast/LICENSE
or 
rainbow/LICENSE

for thier independent code usage.

Acknowledgements

관련 프로젝트 살펴보기

불러오는 중…