<p>Most exchanges work with an order book. In this method, the two parties involved in the trade are slightly different.</p>

<p>The order book lists prices at which people want to buy and prices at which people want to sell.</p>

<p>You can see btc-e's order book on their <a href="https://btc-e.com/" rel="nofollow">homepage</a>. Let's assume the following simple order book:</p>

<pre><code>SELL ORDERS:
    person 1 wants to sell 3 BTC for 101 EUR/BTC
    person 2 wants to sell 1 BTC for 100 EUR/BTC
BUY ORDERS:
    person 3 wants to buy  2 BTC for  95 EUR/BTC
    person 4 wants to buy  5 BTC for  90 EUR/BTC
</code></pre>

<p>Note the ordering of the orders, it's on purpose. In all order books, the highers buy price is always lower than the lowest sell price.</p>

<p>Now, these people are passive traders (this is afaik not an official term), meaning that they are waiting for the price to reach a certain value in order to trade. Mostly, they do not need to buy/sell fast, but want to have a good price.</p>

<p>Then, there are active traders, that want to do their trades immediately. So, when I want to buy 1 BTC immediately ("at market price"), I will have to pay 100 EUR for it, as this is the best sell offer I can buy from. If I wanted to fast sell 1 BTC, I would get only 95 EUR for it, meeting the best buy order to sell at.</p>

<p>So in fact, when an active trader wants to <em>buy</em> 1 BTC, he actually creates a buy order for 1 BTC ar 100 EUR/BTC. This order will match the order from <code>person 2</code>, so they will trade. This means that the trade is initiated by the buy order from the active trader. For this reason, this trade will be logged as a <em>buy</em> trade.</p>

<p>Rounding up: <em>Trades are logged according to the type of trade the active trader did.</em></p>

<p>Some things that are useful to keep in mind:</p>

<ul>
<li>The bid/ask prices that most exchanges advertise, are the highest buy and lowest sell prices from the order book, respectively. </li>
<li>A buy trade will raise the lowest ask price (or keep it the same), while a sell trade will lower the highest bid price.</li>
</ul>

CC BY-SA 3.0
2013-05-13T23:22:54.607Z
2013-05-13T23:22:54.607Z
Steven Roose
<p>On <a href="https://btc-e.com/" rel="nofollow">BTC-E</a>, you can see the recent trade history for the different currency pairs. For example right now you see these recent trades:</p>

<pre><code>14.05.13 01:27  Sell    112.75 USD  4.77859 BTC     538.7860225 USD
14.05.13 01:27  Sell    112.76 USD  0.359638 BTC    40.55278088 USD
14.05.13 01:27  Sell    112.76 USD  0.122198 BTC    13.77904648 USD
14.05.13 01:27  Sell    112.76 USD  0.022195 BTC    2.5027082 USD
14.05.13 01:27  Sell    112.76 USD  0.0100155 BTC   1.12934778 USD
14.05.13 01:27  Sell    112.76 USD  1.20736 BTC     136.1419136 USD
14.05.13 01:27  Sell    112.76 USD  0.360915 BTC    40.6967754 USD
14.05.13 01:26  Buy     112.9 USD   1 BTC           112.9 USD
</code></pre>

<p>Shouldn't every trade of type "sell" match a trade of type "buy"? Or at least the amount of all recent sell-trades should match more or less the amount of all recent buy-trades? If you look at the history of the last 15 minutes right now, the amount of BTC in sell-trades is much higher then the amount of buy-trades. How can this be?</p>

<exchanges><trading>
Understanding trading history
tlo
# Understanding trading history

(Asked by: username_0 on 2013-05-13)

On [BTC-E](https://btc-e.com/), you can see the recent trade history for the different currency pairs. For example right now you see these recent trades:

```
14.05.13 01:27  Sell    112.75 USD  4.77859 BTC     538.7860225 USD
14.05.13 01:27  Sell    112.76 USD  0.359638 BTC    40.55278088 USD
14.05.13 01:27  Sell    112.76 USD  0.122198 BTC    13.77904648 USD
14.05.13 01:27  Sell    112.76 USD  0.022195 BTC    2.5027082 USD
14.05.13 01:27  Sell    112.76 USD  0.0100155 BTC   1.12934778 USD
14.05.13 01:27  Sell    112.76 USD  1.20736 BTC     136.1419136 USD
14.05.13 01:27  Sell    112.76 USD  0.360915 BTC    40.6967754 USD
14.05.13 01:26  Buy     112.9 USD   1 BTC           112.9 USD

```

Shouldn't every trade of type "sell" match a trade of type "buy"? Or at least the amount of all recent sell-trades should match more or less the amount of all recent buy-trades? If you look at the history of the last 15 minutes right now, the amount of BTC in sell-trades is much higher then the amount of buy-trades. How can this be?

**Tags:** exchanges, trading


---

## 1 answers

### Answer by username_1 on 2013-05-13. Score: 3 | Accepted answer

Most exchanges work with an order book. In this method, the two parties involved in the trade are slightly different.

The order book lists prices at which people want to buy and prices at which people want to sell.

You can see btc-e's order book on their [homepage](https://btc-e.com/). Let's assume the following simple order book:

```
SELL ORDERS:
    person 1 wants to sell 3 BTC for 101 EUR/BTC
    person 2 wants to sell 1 BTC for 100 EUR/BTC
BUY ORDERS:
    person 3 wants to buy  2 BTC for  95 EUR/BTC
    person 4 wants to buy  5 BTC for  90 EUR/BTC

```

Note the ordering of the orders, it's on purpose. In all order books, the highers buy price is always lower than the lowest sell price.

Now, these people are passive traders (this is afaik not an official term), meaning that they are waiting for the price to reach a certain value in order to trade. Mostly, they do not need to buy/sell fast, but want to have a good price.

Then, there are active traders, that want to do their trades immediately. So, when I want to buy 1 BTC immediately ("at market price"), I will have to pay 100 EUR for it, as this is the best sell offer I can buy from. If I wanted to fast sell 1 BTC, I would get only 95 EUR for it, meeting the best buy order to sell at.

So in fact, when an active trader wants to *buy* 1 BTC, he actually creates a buy order for 1 BTC ar 100 EUR/BTC. This order will match the order from `person 2`, so they will trade. This means that the trade is initiated by the buy order from the active trader. For this reason, this trade will be logged as a *buy* trade.

Rounding up: *Trades are logged according to the type of trade the active trader did.*

Some things that are useful to keep in mind:

* The bid/ask prices that most exchanges advertise, are the highest buy and lowest sell prices from the order book, respectively.
* A buy trade will raise the lowest ask price (or keep it the same), while a sell trade will lower the highest bid price.


---

