Predict stock prices using neural networks trained on historical price data.
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.
predict
npm i -g stock-oracle
ENV reference
API_KEY - financialmodellingsprep API key
DB_URL - redis URL (Upstash)
npm uninstall stock-oracle
- Cache validation & updation
- Input credentials on first run
Contributions are welcome, feel free to open a PR.
AGPL-3.0 ©️ Zubin