Sign inSign up

bonan/avanza-exporter

By bonan

Updated about 9 years ago

Exports metrics from your Avanza account to Prometheus

Image
0

279

bonan/avanza-exporter repository overview

Source: https://github.com/bonan/avanza-exporter

docker run -d \
  --env EXCH_AZ_USERNAME=your_username \
  --env EXCH_AZ_PASSWORD=your_password \
  -p 8582:8582 \
  bonan/avanza-exporter

Four different metrics are exported:

# Last price per stock/fund (in SEK)
stock_rate{code="GOOG",exchange="avanza",name="Alphabet Inc Class C",type="stock"}
# Amount of stocks you have
stock_amount{code="GOOG",exchange="avanza",name="Alphabet Inc Class C",type="stock"}
# Value of your investment (in SEK)
stock_value{code="GOOG",exchange="avanza",name="Alphabet Inc Class C",type="stock"}
# Amount of money deposited
stock_cash{code="CASH",exchange="avanza",name="Cash deposit"}

Tag summary

Content type

Image

Digest

Size

257.2 MB

Last updated

about 9 years ago

docker pull bonan/avanza-exporter