Alcor/WAX orderbook-vs-dex arbitrageing bot: simple and fishing.
Prerequisites:
- Firebase
- WAX node
Moving parts:
- Admin web interface (VUE)
- Pool watcher/Orderbook watcher
- Blockchain listener
- Trading bot
yarn install
yarn serve
yarn build
yarn lint
docker build -t alcorarb .
docker run --name alcorarb_updater --rm -i -t alcorarb:latest npm run updater
docker run --name alcorarb_trader --rm -i -t alcorarb:latest npm run trader
{
"rules": {
".read": "auth.uid != null && auth.provider == 'google' && auth.token.email.endsWith('@mydomain.tld')"
".write": "auth.uid != null && auth.provider == 'google' && auth.token.email.endsWith('@mydomain.tld')",
}
}
{
"rules": {
".read": "auth.email == '[email protected]'",
".write": "auth.email == '[email protected]'",
"queue": {
".indexOn": "_state"
}
}
}
while true; do timeout 600s npm run follower; done
while true; do timeout 60s npm run updater; done
while true; do timeout 600s npm run trader_fishing; done