Author

Topic: PSA: Bitstamp order matching engine is broken. (Read 2101 times)

legendary
Activity: 2940
Merit: 1333
It looks like a lot more than 10% error.

1) Looks about 10% to me, e.g. 151/137 ~= 1.102

Ha, yes.  I was looking at the labels on the left of the OP's chart.  They're for the volume bars, not the price...
legendary
Activity: 1470
Merit: 1007
I just remember btc-24 used to have similar inexplicable spikes. And we all know how that story ended :/

With their bank account being closed? I don't see how that's related  ;D

The btc-24 story is probably a bit more complex than "German government closed their accounts", isn't it. Last time I checked the relevant threads, the consensus seemed to be that some disgruntled user(s) probably started pressing charges against Simon, which brought the full might of the German Staatsanwaltschaft on poor Simon's ass :P And if I understood correctly, there's a good chance those users were disgruntled in the first place because of irregularities with btc-24's trade engine.
sr. member
Activity: 308
Merit: 250
Jack of oh so many trades.
I just remember btc-24 used to have similar inexplicable spikes. And we all know how that story ended :/

With their bank account being closed? I don't see how that's related  Grin
legendary
Activity: 1470
Merit: 1007
See those 3 red spikes and 1 green spike? They're not errors in bitcoinity, but trades going through at around +-10% from the spot price. Note that there is are no volume spikes; the orderbook obviously wasn't cleared, it's just one or a few trades.

It looks like a lot more than 10% error.

I remember britcoin (remember them?) used to have the same problem, a couple of years ago.  I contacted them about it a couple of times without it being fixed, then fixed it myself and sent them a patch.  They sent me 10 BTC for doing so (which was probably worth about $50 total at the time).

I wonder if bitstamp uses the same buggy code.  Is bitstamp open source software?  I've not looked into that exchange much at all.

1) Looks about 10% to me, e.g. 151/137 ~= 1.102

2) I just remember btc-24 used to have similar inexplicable spikes. And we all know how that story ended :/
legendary
Activity: 1470
Merit: 1007
Note 1: I'm trading on bitstamp, and have been quite happy with the exchange so far.

Note 2: bitstamp is currently doing some maintenance. Maybe they'll fix those issues, but even if so, it would be nice to get a response from them in this thread.

A few days ago I opened a thread myself in which I asked hazek (forum member and bitstamp employee? owner?) if he is aware of the issues with the bitstamp order matching algorithm, and the generally quite lacking trading interface. Here's the thread. Hazek responded, and talked about increasing the "capacity of their servers" but didn't address my other points.

So, one more time.

bitstamp/hazek, are you aware of:

(a) the apparent problems with order matching on bitstamp, as shown in the charts above

and can you

(b) explain what is the cause of those strange orders. Is it buggy code, or not a bug per se but an artifact of the way your matching algorithm works. If the latter, please explain to us how exactly it works so we at least can avoid such bad orders.


sr. member
Activity: 462
Merit: 250
Clown prophet
Okay, this is really impossible within such market depth! Time is GMT+3

Quote
bitstampUSD 2013-04-29 12:04:58 137.86 3.03
bitstampUSD 2013-04-29 12:05:02 137.87 0.39
bitstampUSD 2013-04-29 12:05:02 137.87 0.99
bitstampUSD 2013-04-29 12:05:02 137.87 0.99
bitstampUSD 2013-04-29 12:05:02 137.87 0.99
bitstampUSD 2013-04-29 12:05:02 137.87 1.0
bitstampUSD 2013-04-29 12:05:02 137.87 8.9
bitstampUSD 2013-04-29 12:05:02 137.9 1.02
bitstampUSD 2013-04-29 12:05:03 137.9 0.83
bitstampUSD 2013-04-29 12:05:03 137.91 0.99
bitstampUSD 2013-04-29 12:05:03 137.92 0.99
bitstampUSD 2013-04-29 12:05:03 137.92 0.99
bitstampUSD 2013-04-29 12:05:03 137.93 5.0
bitstampUSD 2013-04-29 12:05:03 137.96 0.99
bitstampUSD 2013-04-29 12:05:03 137.96 0.99
bitstampUSD 2013-04-29 12:05:04 137.97 0.98
bitstampUSD 2013-04-29 12:05:04 137.97 0.09
bitstampUSD 2013-04-29 12:05:04 137.97 0.99
bitstampUSD 2013-04-29 12:05:04 137.97 0.99
bitstampUSD 2013-04-29 12:05:04 137.97 0.99
bitstampUSD 2013-04-29 12:05:04 137.97 0.87
bitstampUSD 2013-04-29 12:05:09 151.65 0.5
bitstampUSD 2013-04-29 12:05:24 137.82 1.0
bitstampUSD 2013-04-29 12:05:30 137.82 0.08
bitstampUSD 2013-04-29 12:05:38 137.82 0.12
bitstampUSD 2013-04-29 12:05:42 137.82 0.76



sr. member
Activity: 462
Merit: 250
Clown prophet
This is not normal

sr. member
Activity: 280
Merit: 250
See those 3 red spikes and 1 green spike? They're not errors in bitcoinity, but trades going through at around +-10% from the spot price. Note that there is are no volume spikes; the orderbook obviously wasn't cleared, it's just one or a few trades.

It looks like a lot more than 10% error.

I remember britcoin (remember them?) used to have the same problem, a couple of years ago.  I contacted them about it a couple of times without it being fixed, then fixed it myself and sent them a patch.  They sent me 10 BTC for doing so (which was probably worth about $50 total at the time).

I wonder if bitstamp uses the same buggy code.  Is bitstamp open source software?  I've not looked into that exchange much at all.

I don't think Bitstamp is open source. I'd be happy to rewrite their matching code for 10 BTC! Though I'd probably have to learn some execrable scripting language like PHP. Noone under the age of 30 seems to know how to code in a proper language like C or FORTRAN.
legendary
Activity: 2940
Merit: 1333
See those 3 red spikes and 1 green spike? They're not errors in bitcoinity, but trades going through at around +-10% from the spot price. Note that there is are no volume spikes; the orderbook obviously wasn't cleared, it's just one or a few trades.

It looks like a lot more than 10% error.

I remember britcoin (remember them?) used to have the same problem, a couple of years ago.  I contacted them about it a couple of times without it being fixed, then fixed it myself and sent them a patch.  They sent me 10 BTC for doing so (which was probably worth about $50 total at the time).

I wonder if bitstamp uses the same buggy code.  Is bitstamp open source software?  I've not looked into that exchange much at all.
sr. member
Activity: 308
Merit: 250
Jack of oh so many trades.
Do you think this happens when people put in an extremely high/low price when placing their order just to ensure it gets filled asap?

For example, I have noticed when watching the order page that sometimes an order will appear at the top of the buy list for $40 more than the cheapest sell order and it stays there until I refresh the page.
sr. member
Activity: 280
Merit: 250
I submitted a ticket about this a couple of weeks ago, they said they're working on it.

However, they still haven't managed to fix the bug.

See those 3 red spikes and 1 green spike? They're not errors in bitcoinity, but trades going through at around +-10% from the spot price. Note that there is are no volume spikes; the orderbook obviously wasn't cleared, it's just one or a few trades.

It's pretty rare and I don't know exactly what triggers it, but it's rather serious. Be careful when doing limit orders in bitstamp, or your trade might go through at a bad price.

I've pointed that out already. It is not safe to simulate a market order by setting a low or high limit. There is a chance you will get matched at your limit even if there are hundreds of BTC in the order book at better prices.

The order matching algorithm is quite simple and it is a wonder that they could implement it wrongly.
hero member
Activity: 714
Merit: 500
Psi laju, karavani prolaze.
There are more bugs than this one. The most notable is the stealing via rounding fees. I told them about it a year ago, was said they gonna fix, but why fix money making bug, right? Then again, what can you expect from kids with css skills that are learning their entrepreneurial skills on your teeth.
member
Activity: 121
Merit: 10
I submitted a ticket about this a couple of weeks ago, they said they're working on it.

However, they still haven't managed to fix the bug.



See those 3 red spikes and 1 green spike? They're not errors in bitcoinity, but trades going through at around +-10% from the spot price. Note that there is are no volume spikes; the orderbook obviously wasn't cleared, it's just one or a few trades.

It's pretty rare and I don't know exactly what triggers it, but it's rather serious. Be careful when doing limit orders in bitstamp, or your trade might go through at a bad price.
Jump to: