evilsyncope / candlestick-aggregator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

candlestick-aggregator

This app uses Spark Java to provide REST interface and to collect stock prices via websocket connection. All candlesticks are stored in memory. CandlestickStorage also could utilise some external key-value storage like Redis with minor adjustments.

How to use it:

The request format is GET http://localhost:8080/candlesticks?symbol=TSLA.

Gradle build: ./gradlew build

Build docker: docker build -t candlestick-aggregator .

Run this container: docker run -it --rm -p 8080:8080 candlestick-aggregator

About


Languages

Language:Java 86.9%Language:Groovy 12.5%Language:Dockerfile 0.6%