Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.27 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.27 KB

peer-trade-bot

Peer trade bot helps you to get simple Telegram notifications about Binance P2P trades you are interested in. Bot repeatedly polls Binance API for available P2P trades and notifies you in Telegram chat when desired conditions reached or changed. See configuration properties in application.yaml

Implementation details

Peer trade bot is a Quarkus-based application written in pure Kotlin. Gradle is used as a build tool. Dockerfile is used in order to build a container that runs the Quarkus application in native (no JVM) mode. It uses a micro base image, tuned for Quarkus native executables. It reduces the size of the resulting container image

How to use

In order to launch bot on your machine you only need to have Docker installed. Build Docker image by running

docker build -f Dockerfile.native-micro -t ru.an1s9n/peer-trade-bot:1.0.0 .

Prepare application.yaml configuration file, put it into config folder (create it) and use compose.yaml to launch the bot (see docker compose reference for details). That`s it!