Sign inSign up

haraldu/marketdatasim

By haraldu

•Updated over 3 years ago

Container Image für DHBW Portfolioprüfung

Image
0

238

haraldu/marketdatasim repository overview

⁠USAGE

docker run --name marketdata -d -p 8080:8080 haraldu/marketdatasim:1

Open browser at http://127.0.0.1:8001/v1/marketdata?apikey=12345

apikey is always 12345.

Output will be a JSON object where .data is an array containing up to 24 datasets, start_timestamp and end_timestamp are beginning and end time of an 1 hour long time slot, they are represented as Unix epoch seconds with milliseconds, marketprice is a simulated price for electrical energy for the given time slot in €/MWh.

The list is "updated" at 13:00 CET. Of course there is no real update, the simulator will always show the same prices for a given time of day. From 13:00 CET the list will have 24 entries for the next 24 hours until 1:00 CET. Then the list will have one entry less for every consecutive hour until 12:00 CET where it has only 12 entries left.

This image simulates the marketdata API of aWATTar GmbH and is used for educational purposes.

Tag summary

Content type

Image

Digest

sha256:3e78ad598…

Size

30.1 MB

Last updated

over 3 years ago

docker pull haraldu/marketdatasim:1