Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 503 Bytes

File metadata and controls

23 lines (16 loc) · 503 Bytes

easyTradeContentCreator

Java service that creates the pricing data each minute.

Technologies used

  • Docker
  • Java
  • SQL
  • Stock exchange information - candle data

Local build instructions

docker build -t IMAGE_NAME .
docker run -d --name SERVICE_NAME IMAGE_NAME

Logic

  1. ONCE: Clear the database.
  2. ONCE: Generate data for the last 24h.
  3. REPEAT: Generate 1 row for each instrument. If we generated second 24h of data, remove last days data. Wait 60 seconds.