documentation

This commit is contained in:
olli 2023-05-09 11:14:32 +02:00
parent 34ab8b2790
commit b6a515774d

View File

@ -105,6 +105,15 @@ networks:
' >docker-compose.override.yml ' >docker-compose.override.yml
``` ```
Optional: If you use signal-cli (https://gitea.ds9.dedyn.io/olli/debian.ansible.signal-cli.client) and want do receive Signal-Messages from the bot you can create an SSH-Key to allow sending Signal-Messages e.g.:
```
ssh-keygen -f home/.ssh/id_ed25519 -N "" -t ed25519
cat home/.ssh/id_ed25519.pub
```
and add Key on your signal-cli-Server to the authorized_keys of the signal-User
Create Secrets file for your API Key(s) Create Secrets file for your API Key(s)
``` ```
# for Bitpanda # for Bitpanda
@ -115,12 +124,14 @@ echo 'local API_SECRET="YOUR_LONG_API_SECRET_FROM_BINANCE"
local API_KEY="YOUR_LONG_API_KEY_FROM_BINANCE" '>dabo/.binance-secrets local API_KEY="YOUR_LONG_API_KEY_FROM_BINANCE" '>dabo/.binance-secrets
``` ```
Edit your Config Edit your Config
Especially change URL, STOCK_EXCHANGE, FEE, CURRENCY,... to fit your needs. Especially change URL, STOCK_EXCHANGE, FEE, CURRENCY,... to fit your needs.
``` ```
vim dabo/dabo-bot.conf vim dabo/dabo-bot.conf
``` ```
Prepare/Create a stretegy Prepare/Create a stretegy
IMPORTANT!!! THE DEFAULT STRATEGY MAY NOT FIT YOUR NEEDS OR WORK FPR YOU PROPERLY. SO YOU CAN LOOSE ALL YOUR MONEY!!! USE ON YOUR OWN RISK!!! IMPORTANT!!! THE DEFAULT STRATEGY MAY NOT FIT YOUR NEEDS OR WORK FPR YOU PROPERLY. SO YOU CAN LOOSE ALL YOUR MONEY!!! USE ON YOUR OWN RISK!!!
@ -132,6 +143,7 @@ docker-compose down # if an old instance is running
docker-compose up -d docker-compose up -d
``` ```
Logs/Output: Logs/Output:
``` ```
docker-compose logs -f docker-compose logs -f