Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.45 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.45 KB

ksei-exporter

Prometheus exporter for KSEI financial data as metrics. Using GoKSEI library for API client.

Go Report Card GitHub go.mod Go version Go Build Docker Build Code License

Features

  • Aggregating multiple KSEI accounts in a single exporter
  • Supports Equity, Bond, Mutual Funds, and RDN cash balances

Example metrics (redacted)

ksei_asset_value{asset_name="GOTO GOJEK TOKOPEDIA Tbk",asset_symbol="GOTO",asset_type="equity",currency="IDR",ksei_account="***@gmail.com",security_account="XL001******",security_name="PT. Stockbit Sekuritas Digital"} 99999

Configuration

ksei-exporter is configured using enviroment variables:

SERVER_BIND_HOST=0.0.0.0
SERVER_BIND_PORT=8080

KSEI_ACCOUNTS="
[email protected]:johnsaltedpassword
[email protected]:janesaltedpassword
"
KSEI_AUTH_DIR=.goksei.auth

TODO

  • Support cash balance
  • Docker image build
  • Setup instruction
  • Grafana dashboard example