Let's say that Bisq releases their API (which seems imminent) tomorrow. Now, we can automate talking to Bisq to trade between Bitcoin and whatevercoin.
If I do the following:
- Manually put 0.01 BTC into my Bisq account.
- Start my bot loop which connects every minute or something similar to the Bisq API to check the price of Bitcoin.
- Note the current price of Bitcoin.
- Wait a minute.
- Check the price of Bitcoin versus whatevercoin.
- If the difference to Bitcoin's benefit is larger than arbitrary small amount, buy predetermined arbitrary small amount of whatevercoins for Bitcoin.
- If the difference to Bitcoin's benefit is smaller than arbitrary small amount, buy predetermined arbitrary small amount of Bitcoin for whatevercoins.
- If the Bitcoin price goes up too much in a too short period of time, pause trading until it's become stable again.
- Regularly send out some Bitcoin profits from Bisq to my normal wallet, always keeping at least 0.01 BTC in there.
This logic seems way too basic and naive to ever work. There must be something I'm missing. Would this not guarantee constant profits since, with the exception of steep bull runs (which this bot would detect and pause for), the price goes up and down all the time during the day?
Even including "expensive" offers (not exactly market price), and Bisq trading fees, that could easily be accounted for to determine if it's meaningful to buy or if it has to wait another minute, etc.
Would this not guarantee constant profits? In what scenario would this not guarantee that your coins slowly but surely increase all the time?
Is this exactly what will happen when they release the API? Should I be not wasting one second right now but instead get to work to actually code together this script to be one of the first to take advantage of it when it's released? Or have I missed some basic point which would quickly drain my 0.01 BTC?