<p>What goes wrong is that you make a profit on every trade, but you are holding lots of bitcoin when it goes down and lots of whatevercoin when it goes down. Adverse selection causes you to take huge losses when you <em>aren't</em> trading! When bitcoin is going down, everybody wants you to take theirs. When bitcoin is going up, everybody wants yours.</p>

CC BY-SA 4.0
2021-02-18T23:03:33.963Z
Sorry, but I don't understand what you mean.
Cleaver
CC BY-SA 4.0
2021-02-19T00:57:04.697Z
When you aren't trading, the value of the assets you hold is changing. You will find that when bitcoin goes down, you are holding a lot of it and when it goes up you are holding much less. Ditto for every other asset you hold. (People want to sell bitcoin when it's going down, so you wind up buying to from them. They want to but it when it's going up, so you wind up selling it then.) This causes you to suffer a net loss that is not due to your trades. This is called "adverse selection".
David Schwartz
CC BY-SA 4.0
2021-02-18T22:48:20.270Z
2021-02-19T00:51:25.267Z
2021-02-19T00:51:25.267Z
David Schwartz
<p>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.</p>
<p>If I do the following:</p>
<ol>
<li>Manually put 0.01 BTC into my Bisq account.</li>
<li>Start my bot loop which connects every minute or something similar to the Bisq API to check the price of Bitcoin.</li>
<li>Note the current price of Bitcoin.</li>
<li>Wait a minute.</li>
<li>Check the price of Bitcoin versus whatevercoin.</li>
<li>If the difference to Bitcoin's benefit is larger than arbitrary small amount, buy predetermined arbitrary small amount of whatevercoins for Bitcoin.</li>
<li>If the difference to Bitcoin's benefit is smaller than arbitrary small amount, buy predetermined arbitrary small amount of Bitcoin for whatevercoins.</li>
<li>If the Bitcoin price goes up too much in a too short period of time, pause trading until it's become stable again.</li>
<li>Regularly send out some Bitcoin profits from Bisq to my normal wallet, always keeping at least 0.01 BTC in there.</li>
</ol>
<p>This logic seems way too basic and naive to ever work. There must be something I'm missing. Would this not <em>guarantee</em> 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?</p>
<p>Even including &quot;expensive&quot; 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.</p>
<p>Would this not guarantee constant profits? In what scenario would this not guarantee that your coins slowly but surely increase all the time?</p>
<p>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?</p>

<trading><decentralization><decentralized-exchanges><automation><bisq>
Assuming a decentralized exchange like this, wouldn't this basic logic guarantee profits every single day?
Cleaver
# Assuming a decentralized exchange like this, wouldn't this basic logic guarantee profits every single day?

(Asked by: username_0 on 2021-02-18)

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:

1. Manually put 0.01 BTC into my Bisq account.
2. Start my bot loop which connects every minute or something similar to the Bisq API to check the price of Bitcoin.
3. Note the current price of Bitcoin.
4. Wait a minute.
5. Check the price of Bitcoin versus whatevercoin.
6. If the difference to Bitcoin's benefit is larger than arbitrary small amount, buy predetermined arbitrary small amount of whatevercoins for Bitcoin.
7. If the difference to Bitcoin's benefit is smaller than arbitrary small amount, buy predetermined arbitrary small amount of Bitcoin for whatevercoins.
8. If the Bitcoin price goes up too much in a too short period of time, pause trading until it's become stable again.
9. 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?

**Tags:** trading, decentralization, decentralized-exchanges, automation, bisq


---

## 1 answers

### Answer by username_1 on 2021-02-18. Score: 1

What goes wrong is that you make a profit on every trade, but you are holding lots of bitcoin when it goes down and lots of whatevercoin when it goes down. Adverse selection causes you to take huge losses when you *aren't* trading! When bitcoin is going down, everybody wants you to take theirs. When bitcoin is going up, everybody wants yours.

> **Comments:**
> **username_0**: Sorry, but I don't understand what you mean.  
> **username_1**: When you aren't trading, the value of the assets you hold is changing. You will find that when bitcoin goes down, you are holding a lot of it and when it goes up you are holding much less. Ditto for every other asset you hold. (People want to sell bitcoin when it's going down, so you wind up buying to from them. They want to but it when it's going up, so you wind up selling it then.) This causes you to suffer a net loss that is not due to your trades. This is called "adverse selection".  

---

