To see errors in console, set NODE_ENV=develop
to .env
file.
To turn on debuging for Degiro module, set DEGIRO_DEBUG=true
to .env
file.
- Check quota limit in fixer.io
- Fill missing ratios with
curl -X PUT localhost:4000/fill-ratios
- Check the gap in
stocks_by_daily
table withselect distinct date from stocks_by_daily where ratio is null;
- Remove incomplete data with ($DATE - 1 before of oldes date in previous command)
delete from stocks_by_daily where date > '$DATE';
- Compute missing data with
curl -X PUT localhost:4000/fill-daily