Compare commits

..

No commits in common. "5da62a6b54144ba64ca006a0de6dbdcd39ec6bbc" and "a83247b4cae41c3e230fbacc7cdfcc65ab873a95" have entirely different histories.

4 changed files with 6 additions and 17 deletions

2
.gitignore vendored
View File

@ -13,5 +13,3 @@
/home/.dabo-bot.sh.lock /home/.dabo-bot.sh.lock
/analyze-* /analyze-*
*.del *.del
/env
/genpw.sh

View File

@ -162,22 +162,13 @@ strategies/buy.mannover-sulu-1.conf
strategies/sell.command-kirk-3.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
Set Rights (UID 10000 for non-root-User in running container): Set Rights (UID 10000 for non-root-User in running container):
``` ```
chown -R 10000:10000 dabo data home strategies dabo-bot.conf watch-assets.csv chown -R 10000:10000 dabo data home strategies dabo-bot.conf
``` ```
## Operational commands ## Operational commands
Run/Restart: Run/Restart:
``` ```

View File

@ -4,16 +4,16 @@
URL="mydabobot.mydomain" URL="mydabobot.mydomain"
# The exchange we use for using the correct API (BINANCE or BITPANDA) # The exchange we use for using the correct API (BINANCE or BITPANDA)
STOCK_EXCHANGE="NONE" STOCK_EXCHANGE="BITPANDA"
# fee per trade in percentage on exchange (taker and maker added) # fee per trade in percentage on exchange (taker and maker added)
FEE="0.5" FEE="0.5"
# Interval in seconds # Interval in seconds
INTERVAL="300" INTERVAL="150"
## Currency used for trading ## Currency used for trading
CURRENCY="USDT" CURRENCY="EUR"
TRANSFER_CURRENCY="NONE" TRANSFER_CURRENCY="NONE"
# Only use currencies under the first X currencies sorted by market capitalization # Only use currencies under the first X currencies sorted by market capitalization

View File

@ -49,8 +49,8 @@ do
rm -f firstloop rm -f firstloop
else else
LOOP_INTERVAL=30 # 60s max free coingecko API interval + 30s puffer LOOP_INTERVAL=30 # 60s max free coingecko API interval + 30s puffer
time_to_interval=$((${LOOP_INTERVAL} - $(date +%s) % ${LOOP_INTERVAL}))
time_to_full_interval=$((${INTERVAL} - $(date +%s) % ${INTERVAL})) time_to_full_interval=$((${INTERVAL} - $(date +%s) % ${INTERVAL}))
time_to_interval=$((${LOOP_INTERVAL} - $(date +%s) % ${LOOP_INTERVAL}))
# Check for next general interval # Check for next general interval
g_echo_note "NEXT LOOP in ${time_to_interval} seconds (Interval=${LOOP_INTERVAL}s)" 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)" g_echo_note "NEXT FULL LOOP in ${time_to_full_interval} seconds (Interval=${INTERVAL}s)"