<p>The problem might be that TradeHill adds orders to the Orderbook before processing them.
For example, this happened today:</p>

<ul>
<li><p>Around 18h10 UTC, the highest bid was 4.842524 and the lowest ask was 4.840000</p></li>
<li><p>Around 22h00 UTC, the highest bid was 4.820000 and the lowest ask was 4.819900</p></li>
</ul>

<p>I have also detected similar situations at ExchangeBitcoins.com.  CampBX  and MtGox seem to be matching orders before displaying them so you shouldn't have these problems there.</p>

<p>If you don't want to risk putting an order that will never go through, you should detect situations like this in your code and wait for the orders to solve. If the lowest ask is lower than the highest bid, something is not right.</p>

CC BY-SA 3.0
2011-09-29T15:02:11.490Z
Yes, i've just spotted that. I tried making an order for the quoted price and never went through even though I refreshed the ticker and the price was the same.

That's complete garbage, why do TradeHill do it that way?

Good tip on spotting the spread, i'll add that now. What kind of threshold should I have that could be considered safe for putting an order?
jim
CC BY-SA 3.0
2011-09-29T15:34:44.953Z
I noticed that you are using the ticker. I am talking about market depth so I am not sure how the ticker behaves in this situation... Anyway, I always wait until this is solved in the order book before placing an order. I have seen things like lowest_ask=12 / highest_bid=14 so I won't trust the numbers until they sort it out. Most APIs are **very** unpolished. I have found lots of other annoying tiny details.
nmat
CC BY-SA 3.0
2011-09-29T15:42:16.787Z
[Here](https://bitcointalk.org/index.php?topic=38949)'s a post I made at bitcointalk regarding the issue.
nmat
CC BY-SA 3.0
2011-09-27T01:31:18.953Z
2011-09-27T01:31:18.953Z
nmat
<p>I've just launched a trading app that trades on MTGox and TradeHill.</p>

<p>I'm noticing something strange on TradeHill though. Basically I get my quote and place an order directly after. The order never gets filled as the price has already moved. I don't notice this on MTGox which is a surprise because there are higher volumes there and one would think that the price would move quicker there. Also, if I log on to TradeHill myself and fill the order form manually using the quoted price my order has been filled by the time my browser reloads the page?</p>

<p>Have any of you guys noticed this? These orders are being made when there is an arbitrage opporunity between MTGox and TradeHill.. Could this be the reason for the momentary volatility.. i.e. lot's of bots place orders to exploit the difference?</p>

<p>Any ideas on this appreciated.</p>

<p>Thanks :)</p>

<p>P.S. I forgot to mention that there is often a pretty large spread between bids/asks on TradeHill.</p>

<p>EDIT:
I'm using the ticker API to grab buy/sell quotes. I will then place an order for 1BTC to buy/sell at the quoted price. I'm not currently looking at market depth. I have planned on looking at it later to figure out the max volume I could use any given time.</p>

<p>Also, yes, that was silly of me high volume = low volatility.</p>

CC BY-SA 3.0
2011-09-26T19:45:05.757Z
Can you be more precise about what quote your getting and what order you're placing? Are you trying to buy a particular offer you see in the market depth? (Also, higher volumes tend to mean less volatility.)
David Schwartz
<mtgox><arbitrage><tradehill>
Pricing TradeHill compared to MTGox
jim
# Pricing TradeHill compared to MTGox

(Asked by: username_0 on 2011-09-26)

I've just launched a trading app that trades on MTGox and TradeHill.

I'm noticing something strange on TradeHill though. Basically I get my quote and place an order directly after. The order never gets filled as the price has already moved. I don't notice this on MTGox which is a surprise because there are higher volumes there and one would think that the price would move quicker there. Also, if I log on to TradeHill myself and fill the order form manually using the quoted price my order has been filled by the time my browser reloads the page?

Have any of you guys noticed this? These orders are being made when there is an arbitrage opporunity between MTGox and TradeHill.. Could this be the reason for the momentary volatility.. i.e. lot's of bots place orders to exploit the difference?

Any ideas on this appreciated.

Thanks :)

P.S. I forgot to mention that there is often a pretty large spread between bids/asks on TradeHill.

EDIT:
I'm using the ticker API to grab buy/sell quotes. I will then place an order for 1BTC to buy/sell at the quoted price. I'm not currently looking at market depth. I have planned on looking at it later to figure out the max volume I could use any given time.

Also, yes, that was silly of me high volume = low volatility.

**Tags:** mtgox, arbitrage, tradehill

> **Comments:**
> **username_1**: Can you be more precise about what quote your getting and what order you're placing? Are you trying to buy a particular offer you see in the market depth? (Also, higher volumes tend to mean less volatility.)  

---

## 1 answers

### Answer by username_2 on 2011-09-27. Score: 4

The problem might be that TradeHill adds orders to the Orderbook before processing them.
For example, this happened today:

* Around 18h10 UTC, the highest bid was 4.842524 and the lowest ask was 4.840000
* Around 22h00 UTC, the highest bid was 4.820000 and the lowest ask was 4.819900

I have also detected similar situations at ExchangeBitcoins.com. CampBX and MtGox seem to be matching orders before displaying them so you shouldn't have these problems there.

If you don't want to risk putting an order that will never go through, you should detect situations like this in your code and wait for the orders to solve. If the lowest ask is lower than the highest bid, something is not right.

> **Comments:**
> **username_0**: Yes, i've just spotted that. I tried making an order for the quoted price and never went through even though I refreshed the ticker and the price was the same.  That's complete garbage, why do TradeHill do it that way?  Good tip on spotting the spread, i'll add that now. What kind of threshold should I have that could be considered safe for putting an order?  
> **username_2**: I noticed that you are using the ticker. I am talking about market depth so I am not sure how the ticker behaves in this situation... Anyway, I always wait until this is solved in the order book before placing an order. I have seen things like lowest_ask=12 / highest_bid=14 so I won't trust the numbers until they sort it out. Most APIs are **very** unpolished. I have found lots of other annoying tiny details.  
> **username_2**: [Here](https://bitcointalk.org/index.php?topic=38949)'s a post I made at bitcointalk regarding the issue.  

---

