Skip to content

GinRedfield/Roff

Repository files navigation

Logo Laravel Breeze

Introduction


Roff is a webapp that integrate deep neural network machine learning model to forecast security prices based on financial report data. Roff is designed to be user-friendly and intuitive, with a clean and modern user interface.
The application is built on top of the Laravel PHP framework, and utilize Laravel Breeze as authentication module.
Roff retrieves its data from SimFin, and the DNN model requires its data as input to make predictions.

Environment


To get this app to work, the necessary environment must be installed first.
Roff requires

  1. A local host webserver (e.g., XAMPP)
  2. Local python3 environment (with numpy, pandas, tensorflow)
  3. Composer
  4. Node.js
  5. SimFin Account
  6. An existing SMTP service

Setup


After setting up the environment, follow the steps below:

  1. Copy your simfin api key, e.g., ROFF/app/Http/Controllers/StockController.php under store() and dashboard(), find them by searching "YOUR_API_KEY"
  2. Under the project directory, run
    composer install
    npm install
    php artisan key:generate
    npm run build
    
  3. To setup database, with your server on, run
    php artisan migrate
    
  4. Setup up your own STMP service and database connection in the generated .env file
  5. With python installed, remember to run pip install commands to install python modules:
    pip install numpy
    pip install pandas
    pip install tensorflow
    
  6. Github seems to keep making changes to the saved keras DNN model therefore to ensure the python model works, under Roff/public/roff_model/..., delete the roff_model folder. Then there is a zip file also named roff_model in the same folder, extract that folder and make sure its structures as such: Roff/public/roff_model/roff_model/assets
  7. To start the application, run:
    php artisan serve
    

    The webapp depend on your setups should be opened via: http://127.0.0.1:8000

License


Roff is open-sourced software licensed under the MIT license.

About

A Machine Learning Equity Forecasting Platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors