Lendbot for Kucoin with Grafana Dashboard, Pushover and Slack Support
- Runtime: Make, Docker, Docker Compose
- Development: Python3, openssl (brew)
- copy
config/config.demo
toconfig/config
- kucoin: api_key, api_secret, api_passphrase
- only kucoin api key v2 supported
- correction:
- funding market variation limit
- default_interest:
- default daily interest if funding market is empty
- charge:
- charge orders with some additional amount
- interval:
- kubot run interval in seconds
- currencies
- currency specific settings
- optional: minimum_rate
- unset: minimum lending limit would be disabled
- optional: pushover user_key, api_token
- optional: slack api_token, channel
make
to list all makefile targets
- Start Kubot Suite:
make compose
- Open Dashboard:
http://localhost:3000
- Stop Kubot Suite:
make stop
- Production:
make build
- Environment Variables:
- TARGETPLATFORM: [linux/amd64, linux/arm/v7]
- Environment Variables:
- Development:
make build-dev
make venv
make install
make development
source venv/bin/activate && python3 kubot.py
PGPASSWORD=kubot psql -h localhost -p 5433 -U kubot
make test
- Go to slack apps and create an app in a workspace you own.
- Enter the
OAuth & Permission
page and add a scope withchat:write
permissions to your app. - Create an api token and add into kubot config.
Per default the messages will be posted to the #general
channel.
If you would like to post to a different channel add an existing channel name
to the config under channel
.
- Go to pushover apps signup and purchase pushover one time payment.
- Create Kubot application.
- Add user key and created application token into kubot config.