Skip to content

Latest commit

 

History

History
 
 

stock-forecasting-js

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Stock forecasting JS

LSTM Model for stock forecasting and buying simulation inside Tensorflow JS, so everyone can try!

Stack

Graphic library: Echarts, D3

CSV parsing: Papaparse JS

Linear algebra: numeric JS, numJS, Tensorflow JS

How-to

  1. Clone this folder and just open index.html,

Or, go to huseinhouse.com/stock-forecasting-js!

alt text

  1. Check hyper parameters you want to tune,

alt text

  1. You can upload any stock CSV, downloaded from Yahoo finance or any website. Any error, please open an issue.

  2. Train the model and wait it's fitting!

  3. After done training, it will predict where to buy and sell,

alt text

Comparing histogram and loss graph,

alt text