Bitcoin Forum
May 07, 2024, 09:34:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Buyer Beware. Proposal for a non high-frequency manipulatable exchange.  (Read 2595 times)
cbeast
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
December 21, 2011, 01:25:33 AM
 #21

I believe that HFT pump and dump bots cause the instability of Bitcoin price. Why don't we just make Bitcoin a decentralized fiat currency with greater stability?

good question... but how ?
Even though it is decentralized, Bitcoin does have an authority with the ability to impose its price. Math itself can set the price. I've proposed this several times before that we should statistically analyze the variance of price and predict its value as a mean. A reported price this way will serve as a psychological dampener to the volatility.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
1715074477
Hero Member
*
Offline Offline

Posts: 1715074477

View Profile Personal Message (Offline)

Ignore
1715074477
Reply with quote  #2

1715074477
Report to moderator
1715074477
Hero Member
*
Offline Offline

Posts: 1715074477

View Profile Personal Message (Offline)

Ignore
1715074477
Reply with quote  #2

1715074477
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715074477
Hero Member
*
Offline Offline

Posts: 1715074477

View Profile Personal Message (Offline)

Ignore
1715074477
Reply with quote  #2

1715074477
Report to moderator
1715074477
Hero Member
*
Offline Offline

Posts: 1715074477

View Profile Personal Message (Offline)

Ignore
1715074477
Reply with quote  #2

1715074477
Report to moderator
1715074477
Hero Member
*
Offline Offline

Posts: 1715074477

View Profile Personal Message (Offline)

Ignore
1715074477
Reply with quote  #2

1715074477
Report to moderator
Herodes
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
December 21, 2011, 02:50:48 AM
 #22

mtGox is know to not always provide accurate data through their API. The last months, there's been several glitches when trades has been done far over or far below current market value. Also, I don't think mtgoxlive.com is your fastest source for mtGox information. I once watched mtgoxlive.com next to a feed using the websocket, and the websocket feed was always faster.

Also when making assumptions, accusations or suggestions, it never hurts to be more technically accurate. What you 'feel' happened is hardly any real evidence. But for the record, I've had lot's of incidences that seemed 'weird' with mtGox trading the last months, but I won't complain about it unless I can back it up with hard facts. Human error may often be the cause of a percieved glitch as well.

I'd add to that I'd also like the extremely small trades to not be allowed either. Perhaps 0.1 BTC should be the smallest allowed amount for a mtGox trade?

As for bots, I see nothing wrong with them, they're just like humans, only thing is that they have more stamina, don't get tired and are 100% diciplined 100% of the time.
Isosceles (OP)
Member
**
Offline Offline

Activity: 71
Merit: 10


View Profile
December 21, 2011, 02:56:48 AM
 #23

Lots of great posts, lots of interest. To summarize, my goal is to make trading BTC fairer, more stable, and less expensive.

I strongly suspect both MtGox and Bitcoinica's matching engines have a weakness. For example,
 - From my Bitcoinica outage experience yesterday (previous post), I was able to cancel Bitcoinica orders whilst the matching engine is busy.
 - Similar outages have been observed at MtGox, e.g. the infamous time when the price dropped to 0.00001 took several hours. The MtGox engine was filling one super order. I could make & cancel new orders as it was being filled. This is a critical weakness.

This is how I expect the HFT manipulates the market :
1) Spam exchanges with lots of small orders or trades. Keep their matching engines very busy to slow down orders.
2) Place large market orders up and down to clear out the existing static order book
3) Place your own orders to fill up the book. You now control the price.
4) When a significant buy order is placed by another person, (e.g. buy @ $4, best offer is $3.5), the matching engine will start to fill the trade. This will take time, especially if you've populated the order book with 1000 tiny orders.
5) Knowing that a big order is in progress, you can cancel your outstanding orders in the book, forcing the other person to pay a much higher price than they expected to trade. If the exchange forced you to keep the existing order, you could withdraw funds instead (which is probably not blocked on the matching engine thread).
6) After their order is filled, you can push the price down immediately by adding more (fake) sell orders to the book.

They could also get a timing advantage by being closer to the exchange, or by delaying/DOSing the market data that other participants rely on (MtGoxLive, MtGox websockets, etc)

BTW, calling it HFT is a poor comparison to the real-world HFTs, but my manual trading lag time is probably 10-30 seconds including human reaction, data entry & internet lag time

Auction Exchange : The advantage of choosing a longer time before the auction occurs is to build up a bigger at-the-money order book. Assuming the exchange is non-profit (low transaction fees was the main idea of bitcoin, remember?), a larger number of filled orders would be crossable, so you could fill large orders without moving the market and people would have more confidence in the value of the currency. I would prefer to buy a large number of BTC with a super-long auction than drip-feed it in to MtGox. One additional restriction, the auction order book can't be visible before its executed. Otherwise it would lose its value.
Another way of looking at it, what do you gain if you were only able to trade every ~10 seconds? What would you lose? If you can't value it, you're the free lunch. Same reason Facebook is free.

Question : Does MtGox use PHP for its matching engine as well as its API? It should be written in C, with someone dedicated looking for timing arbitrage problems like this.

@Fireball : The advantage you advocated for is provided by automated market making, not just HFT. Automated market making would also be available for a discrete time auction exchange. HFT can destroy for profit too, e.g. Nanex - The Disruptor http://www.nanex.net/Research/EMini2/EMini2.html

@cbeast : Worship of financial maths will get you as far as CDOs and mark-to-model. When the model fails, you'll need real people to untangle the expensive mess.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
December 21, 2011, 04:32:13 AM
 #24

You are sure about that? Let me know when it appears. I would like to set up my bot on it. It will just trade at whatever the exchange rate is on gox. If you try to filter it out with a captcha, there is a fine automated turk that will help me with that. The irony of using a human to serve a machine to serve a human to undercut other humans is too sweet to miss.

There are ways around that.  Issue a one time password device which displays the current one time passwords.  Randomly with a x% chance per trade input you need to enter the passcode.  Of course you could give the one time password device to your human turk ... of course the codes from the same device allows changing withdraw bank accounts, changing login password, and withdawing USD and BTC. Smiley

Of course Mt. Gox (or any exchange) would never do that.  They make money off volume.  More volume = more money.  They aren't going to do anything which may reduce volume.  Just pointing out that it is possible to put into place bot countermeasures if one wanted too.
markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
December 21, 2011, 07:23:16 AM
 #25

I am setting up my exchange to treat each asset (currency, coin, etc) as integer.

That not only eliminates the offers of 0.001 BTC, it also forces larger offers for larger numbers of decimals of price granularity. For example you can offer 1 BTC for 1, 2, 3, 4, 5 etc of something else, but to do fractions you have to make a larger offer, such as 10 BTC for 11, 12, 13 etc of something else, or 100 BTC for 101, 102, 103 etc of something else.

Comments on that idea are welcome. It is what I am actually currently doing but will anyone actually use such an exchange?

Its engine seems to tick every few seconds by the way; I suppose the rate of ticking could be adjusted too if need be.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
Steve
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1007



View Profile WWW
December 21, 2011, 03:15:43 PM
 #26

I think automated trading is good, but what's not desirable is the arms race for better and better connectivity and hardware to enable an ever increasing frequency of trading.  When I think about the big trading companies pouring tons of money into high speed hardware co-located with the matching engines…and paying very high rental rates for colo space next to exchanges, all I think about is waste.  They are pouring a lot of money into gaining an advantage over the competitors simply because of a design decision in the matching engine (continuous matching).  With a discrete time matching engine, you can eliminate the advantage to be had from high speed, low latency connections to the matching engine.  Make the time period long enough (and I think 1 second is plenty long enough) and you level the playing field for trading bots.  They don't need to be co-located near the matching engine because it won't give them any special advantage.  Some people might say that this wouldn't work because the automated traders couldn't make as much money, however, when the average traders realize that it's better for them to trade in a pool where there's a more level field, all the people that the big HFT take advantage of to make their money will simply be gone.  The exchange offering discrete trading will have an advantage over continuous exchanges because they'll attract more traders interested in the better designed platform.

Also, one thing that might be beneficial is if the tools and algorithms for automated trading were more readily available.  This would allow more people to throw a little extra money they have into a bot that essentially helps bring stability to the price of bitcoin.


(gasteve on IRC) Does your website accept cash? https://bitpay.com
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
December 21, 2011, 06:28:25 PM
 #27

You are right Steve but exchanges get paid on volume.  As HFT firms try to out bankrupt each other they rack up massive volume and that means lots of money for the exchanges.  So exchanges while they could level the playing field have absolutely no incentive to do so.
tvbcof
Legendary
*
Offline Offline

Activity: 4592
Merit: 1276


View Profile
December 21, 2011, 07:53:01 PM
 #28


To the limited extent that I understand things, I'm all for (or at least, not against) high frequency trading, but front-running is an entirely different matter.

One of the things I would be looking for in an exchange is that they allow orders to match before printing them to tape.  I sense that exchanges are sensitive about the time it takes for orders to be withdrawn and their book engines are optimized for this, but (IMHO) it would be at least negligent to provide actionable information on in-the-money buys in time for sells to be retracted (or vice versa).


sig spam anywhere and self-moderated threads on the pol&soc board are for losers.
Fireball
Hero Member
*****
Offline Offline

Activity: 674
Merit: 500


View Profile WWW
December 21, 2011, 08:21:28 PM
 #29

I think automated trading is good, but what's not desirable is the arms race for better and better connectivity and hardware to enable an ever increasing frequency of trading.

But it's their race, which does not affect non-HFT players that much. HFT traders affect the rate, but they don't define it. Actual demand and offer define the rate.

Margin trading platform OrderBook.net (ICBIT): https://orderbook.net
Follow us in Twitter: https://twitter.com/orderbooknet
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!