feed forward, rnn, lstm built from scratch using only numpy to predict stock prices
1. Installation guide check
2. How to run website
3. How to use website
4. How to run python files from terminal
-
Before proceeding please ensure you have completed all the relevant steps set out in the installation guide in the technical specification to be able to run and use the software.
-
-
Open a terminal
-
Cd into the code/Website directory
-
If Windows enter the command below:
app.py
If macOs or Linux enter the command below:
python3 app.py
-
Open a browser
-
In the url type "localhost:3000"
-
Click Enter
This website should now be displayed on screen.
-
-
-
Click the Neural Network button in the top left of screen as shown in the image below.
-
Select a Neural Network to use for the prediction.
-
Click on the dates boxes located next to the “from” and “to” text and select a valid date range as shown in the image below.
Note : you may also type the date within the box in the following format “mm/dd/yyyy”
-
Enter a valid ticker in the search box as shown in the image below:
-
Click the predict button
The button will now display a loading icon within it to indicate that the Neural Network is processing as shown below:
-
Once the loading icon fades, the results will be updated on the graph as shown in the image below.
-
-
In addition to using the website above you may also run each of the python files listed below separately by navigating to the code directory in a terminal and entering the command beside the name of the file you wish to run into the terminal.
Note : the windows commands are just the name of the file.
Files: macOS/Linux command:
- FeedFoward_main.py
python3 FeedForward_main.py
- RNN_main.py
python3 RNN_main.py
- rnn_v2_main.py
python3 rnn_v2_main.py
- LSTM_main.py
python3 LSTM_main.py
- FeedFoward_main.py