Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.
/ mmon Public archive

market monitor

Notifications You must be signed in to change notification settings

bitmagier/mmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Market Monitor

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.

Usage

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" 

Grafana

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.

Requirements

  • docker
  • sbt
  • internet connection

Exampe output

Custom indices

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"

About

market monitor

Resources

Stars

Watchers

Forks

Packages

No packages published