TDEX Analytics provides historical data about balances and prices of Liquidity Providers registered in the tdex-registry.
It periodically polls Liquidity Provider's registry and fetches all available markets and their market price and balances and fills a time-series DB with data that are accessible through gRPC & JSON HTTP APIs.
API specifications can be found in here.
Below is a list of commands you will probably find useful for development.
Builds tdexad
as static binary in the ./bin
folder
$ make build
Builds tdexa
as static binary in the ./bin
folder
$ make build-cli
Build docker image and runs the project with other dependencies with default configuration.
$ make dev
$ make testall
Configure CLI:
./bin/tdexa config
List market's id's to be passed to prices/balances cmd's:
./bin/tdexa markets
List balances for last hour:
./bin/tdexa balances --predefined_period 1
List prices for last hour:
./bin/tdexa prices --predefined_period 1
Precompiled binaries are published with each release.
This project is licensed under the MIT License - see the LICENSE file for details.