liquidator
docker run --rm -it –name=mango-explorer /var/mango-explorer/id.json:/home/jovyan/work/id.json opinionatedgeek/mango-explorer:latest liquidator
docker run --rm -it –name=mango-explorer /var/mango-explorer/id.json:/home/jovyan/work/id.json opinionatedgeek/mango-explorer:latest liquidator --target "BTC:0.05" --target "ETH:1"
alias mango-explorer="docker run --rm -it --name=mango-explorer -v /var/mango-explorer/id.json:/home/jovyan/work/id.json opinionatedgeek/mango-explorer:latest"
mango-explorer liquidator --target "BTC:0.05" --target "ETH:1"
--dry-run
parameter. This should help show you what actions the command will take, without actually performing those tasks.--target "BTC:33%"
(Note that it’s best to put quote marks around targets since the "%" is a wildcard/substitution character in some shells).
That says that rebalances should target the value of BTC in the wallet to be 33% of the total wallet value. This can cause unexpected decreases in other balances if the value of BTC rises, requiring additional funds from other tokens to maintain the 33% target.--target "BTC:0.1"
That says that rebalances should aim to keep 0.1BTC in the wallet, no more, no less. If a liquidation takes BTC, the next rebalance will try to buy BTC to make up the shortfall. If a liquidation returns BTC, the next rebalance will try to sell the excess BTC.--action-threshold 0.05
--notify-liquidations
--notify-successful-liquidations
--notify-failed-liquidations
--notify-errors
--notify-successful-liquidations NOTIFICATION-TARGET-1 --notify-successful-liquidations NOTIFICATION-TARGET-2 --notify-successful-liquidations NOTIFICATION-TARGET-3
discord:https://discord.com/api/webhooks/012345678901234567/ABCDE_fghij-KLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMN
telegram:[email protected]:ABCDEFGHijklmnop-qrstuvwxyzABCDEFGH
chown 1000:1000 /var/mango-explorer/report.csv
-v /var/mango-explorer/report.csv:/home/jovyan/work/report.csv
to your mango-explorer alias or docker command line.