Foundation for the development of custom stock market indicators & alarms. The analysis is based on real stock data imported into an InfluxDB and a Grafana frontend.
First you need to get your own API-Key from https://www.alphavantage.co/support/#api-key and store it into the configuration file.
Then start the development infrastructure:
infrastructure/dev/run-docker-based-infrastructure.sh
and the program with:
sbt "run l"
This will import the available history of the daily quotes of all S&P500 companies into an influx database and create the custom indicators.
To continue the import, based on an existing database, this can be done by:
sbt "run c"
Applying indicators only (to an already created database), can be done by:
sbt "run i"
When using the docker based development environment, the Grafana frontend (not yet configured) is available under http://localhost:3000 Default credentials are "admin/admin"
As a datasource please use: InfluxDB at http://influxdb:8086 with database "mmon".
Then create a dashboard with panels there using the available data
Already working dashboards can be found under src/main/grafana Please note: Grafana frontend is still work in progress - but you can create your own dashboards on the available data.
- docker
- sbt
- internet connection
As this project is a foundation for custom indicators, it shall be easy to add new ones. New indicators can be added via coding into Indicator.scala. There is a base-trait called Indicator, which the final Indicator needs to implemented.
for a description of already implemented indices please see file "Indices.md"