Skip to content

losparviero/stock-oracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock Oracle

Predict stock prices using neural networks trained on historical price data.


Mechanism

Uses financialmodellingsprep data API (free upto 250 calls) to fetch historical records, caches data in redis to prevent duplicate calls, trains a NN using brain.js and then predicts future stock prices.


Usage

predict

Install

npm i -g stock-oracle
ENV reference
API_KEY - financialmodellingsprep API key

DB_URL - redis URL (Upstash)


Uninstall

npm uninstall stock-oracle

TBA

  1. Cache validation & updation
  2. Input credentials on first run

Contributions are welcome, feel free to open a PR.


License

AGPL-3.0 ©️ Zubin