Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 755 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 755 Bytes

Developing on Kubernetes—stock market simulator

This repository contains two microservices that make up a stock market simulator application:

stock market simulator architecture

One microservice, the so called stock generator is written in Go and serves randomized stock data randomly via the HTTP endpoint stockdata/.

A second microservice, the so called stock consumer is written in Node.js and consumes the stock data generated by the Go microservice. It serves the following HTTP endpoints:

  1. average/$SYMBOL … calculates basic stats of stock symbol $SYMBOL
  2. gekko/$SYMBOL … provides a recommendation like sell/hold/buy for stock symbol $SYMBOL (not yet implemented)