mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-22 12:36:29 +01:00
15 lines
412 B
Bash
15 lines
412 B
Bash
#!/bin/bah
|
|
|
|
echo "Starting"
|
|
|
|
if [ ! -f /data/config.json ]; then
|
|
echo "building userdir"
|
|
freqtrade create-userdir --userdir /data \
|
|
echo "building initial config"
|
|
freqtrade new-config --config /data/config.json \
|
|
fi
|
|
|
|
echo "Starting app"
|
|
pause 36000000
|
|
#bash freqtrade trade --logfile /data/logs/freqtrade.log --db-url sqlite://///data/tradesv3.sqlite --config /data/config.json --strategy SampleStrategy
|