https://github.com/chickenzord/ksei-exporter
Prometheus exporter for KSEI financial data as metrics
https://github.com/chickenzord/ksei-exporter
Last synced: 7 months ago
JSON representation
Prometheus exporter for KSEI financial data as metrics
- Host: GitHub
- URL: https://github.com/chickenzord/ksei-exporter
- Owner: chickenzord
- License: mit
- Created: 2023-03-31T02:00:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-18T03:21:00.000Z (7 months ago)
- Last Synced: 2025-03-18T04:25:49.366Z (7 months ago)
- Language: Go
- Size: 115 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ksei-exporter
Prometheus exporter for KSEI financial data as metrics. Using [GoKSEI](https://github.com/chickenzord/goksei) library for API client.[](https://goreportcard.com/report/github.com/chickenzord/ksei-exporter)



## 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:
```sh
SERVER_BIND_HOST=0.0.0.0
SERVER_BIND_PORT=8080KSEI_ACCOUNTS="
john.doe@example.com:johnsaltedpassword
jane.doe@example.com:janesaltedpassword
"
KSEI_AUTH_DIR=.goksei.auth```
## TODO
- [x] Support cash balance
- [x] Docker image build
- [ ] Setup instruction
- [ ] Grafana dashboard example