Compare commits
2 Commits
a83247b4ca
...
5da62a6b54
Author | SHA1 | Date | |
---|---|---|---|
5da62a6b54 | |||
c07fa6a98f |
2
.gitignore
vendored
2
.gitignore
vendored
@ -13,3 +13,5 @@
|
||||
/home/.dabo-bot.sh.lock
|
||||
/analyze-*
|
||||
*.del
|
||||
/env
|
||||
/genpw.sh
|
||||
|
13
README.md
13
README.md
@ -162,13 +162,22 @@ strategies/buy.mannover-sulu-1.conf
|
||||
strategies/sell.command-kirk-3.conf
|
||||
```
|
||||
|
||||
## Create individual watch-assets.csv
|
||||
```
|
||||
cp dabo/watch-assets.csv watch-assets.csv
|
||||
```
|
||||
Optional:
|
||||
You can edit this file if you want do generate warnings or track your asstes/trades.
|
||||
```
|
||||
nano watch-assets.csv
|
||||
```
|
||||
|
||||
## Set Rights
|
||||
Set Rights (UID 10000 for non-root-User in running container):
|
||||
```
|
||||
chown -R 10000:10000 dabo data home strategies dabo-bot.conf
|
||||
chown -R 10000:10000 dabo data home strategies dabo-bot.conf watch-assets.csv
|
||||
```
|
||||
|
||||
|
||||
## Operational commands
|
||||
Run/Restart:
|
||||
```
|
||||
|
@ -4,16 +4,16 @@
|
||||
URL="mydabobot.mydomain"
|
||||
|
||||
# The exchange we use for using the correct API (BINANCE or BITPANDA)
|
||||
STOCK_EXCHANGE="BITPANDA"
|
||||
STOCK_EXCHANGE="NONE"
|
||||
|
||||
# fee per trade in percentage on exchange (taker and maker added)
|
||||
FEE="0.5"
|
||||
|
||||
# Interval in seconds
|
||||
INTERVAL="150"
|
||||
INTERVAL="300"
|
||||
|
||||
## Currency used for trading
|
||||
CURRENCY="EUR"
|
||||
CURRENCY="USDT"
|
||||
TRANSFER_CURRENCY="NONE"
|
||||
|
||||
# Only use currencies under the first X currencies sorted by market capitalization
|
||||
|
@ -49,8 +49,8 @@ do
|
||||
rm -f firstloop
|
||||
else
|
||||
LOOP_INTERVAL=30 # 60s max free coingecko API interval + 30s puffer
|
||||
time_to_full_interval=$((${INTERVAL} - $(date +%s) % ${INTERVAL}))
|
||||
time_to_interval=$((${LOOP_INTERVAL} - $(date +%s) % ${LOOP_INTERVAL}))
|
||||
time_to_full_interval=$((${INTERVAL} - $(date +%s) % ${INTERVAL}))
|
||||
# Check for next general interval
|
||||
g_echo_note "NEXT LOOP in ${time_to_interval} seconds (Interval=${LOOP_INTERVAL}s)"
|
||||
g_echo_note "NEXT FULL LOOP in ${time_to_full_interval} seconds (Interval=${INTERVAL}s)"
|
||||
|
Loading…
Reference in New Issue
Block a user