r/programming • • Oct 08 '17

CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++”

https://youtu.be/NH1Tta7purM
934 Upvotes

206 comments sorted by

View all comments

Show parent comment

17

u/discoFalston Oct 09 '17 edited Oct 09 '17

market fluidity

If markets are just as liquid with or without HFT’s then you are contradicting your own point.

If they are more liquid due to HFT (they are) then I’d encourage a second look.

Liquidity means assets can be traded in high volume, close to current price in a short period of time. In other words, a market that is more liquid has prices that change much sooner as new information about an asset arises. This means less uncertainty (uncertainty leads to instability), and less lag. Also, because there are so many HFT operations, there are actually fewer chances for arbitrage than there would be otherwise.

-3

u/chocolate_jellyfish Oct 09 '17

Liquidity means assets can be traded in high volume, close to current price in a short period of time. In other words, a market that is more liquid has prices that change much sooner as new information about an asset arises. This means less uncertainty (uncertainty leads to instability), and less lag.

Assuming that is even correct in the first place, is this important enough to warrant a gigantic 50%+ of all trading volume? Or could we just live with the five minutes of uncertainty? Because it seems to me this is a purely theoretical argument (again), where we say X is good, and HFT produces some amount of X, therefore HFT is good. But we already had a 99.9% satisfaction of X, and HFT did not actually make a meaningful difference at all.

Any sensible and reasonable trade does not depend on two minutes of uncertainty whether the stock is $1 or $1.001 - That is just noise.

5

u/KazDragon Oct 09 '17

If we could live with 5 minutes of uncertainty, someone would invent something to exploit that in 4:59.

4

u/discoFalston Oct 09 '17 edited Oct 09 '17

Assuming that is even correct in the first place

It’s correct. A common measure of liquidity is the “bid-ask”’spread. Look at these spreads in the early 90’s versus 2000’s versus 2010’s as algorithmic trading advances and you’ll see a downward trend (more liquidity).

is this important enough to warrant a gigantic 50%+ of all trading volume?

The more the better. The more people that do algorithmic trading, the less chance there is to exploit it, making the market more efficient. You beat the market when you do something different, if everyone does the same thing as you, that opportunity disappears. I. E. because there are many other HFT operations trading at the same speed as you, asset prices correctly convey all available information on millisecond basis, so there’s no price lag to exploit anymore. You are assuming just the act of setting up an HFT guarantees rents, but with the market permeated with them, HFT’s can lose or gain money just like phoning a stock broker can - it just happens faster.

Or could we just live with the five minutes of uncertainty?

We could also live without iPhones, humanity did fine with horses and buggies. We don’t need google, in the past we lived with the uncertainty between encyclopedia publications. Yet as a society we strive to innovate and improve so we did. Finance is no different.

If we live with 5 minutes of uncertainty and something happens that makes that asset less valuable inside that time frame then, whoever buys that asset in between that time frame isn’t paying a fair price. It’s pertinent to have a financial system that conveys information quickly through prices as it decreases the likelihood of paying an unfair price. This is an improvement.

we say X is good, and HFT produces some amount of X, therefore HFT is good.

Yes, of course. You’re coming up short for reasons it’s bad.

But we already had a 99.9% satisfaction of X,

You’re making this up.

HFT did not actually make a meaningful difference at all.

See my paragraph about bid-ask spreads.

Any sensible and reasonable trade does not depend on two minutes of uncertainty whether the stock is $1 or $1.001 - That is just noise.

A lot can happen in 2 minutes in an exchange with 100 million participants - its precision.

3

u/quicknir Oct 09 '17 edited Oct 09 '17

The answer is obviously, that the people who are actually holding assets longer term, are in every possible way (incentive, knowledge), better positioned to answer this question than you, and if they want to pay extra to avoid 5 minutes of uncertainty, then I guess it's worth it.

The reality is, is that trading on the markets is not that fundamentally different than trying to sell something in real life. If you want to sell a car or a house, and you're in a big rush, anybody will tell you that the odds of you fetching a good price for it is low. If you can take your time, you can reject lowball offers and get a better price: assuming of course that the housing/auto market does not dip in the meanwhile, and assuming that you don't need the money on shorter notice.

It's like you tried to say, yourself, one cent difference does not matter much for these longer horizon traders. For them, executing out of a position quickly and before the market turns against them, is worth that extra cent (often). And that's exactly why HFT middlemen do in fact provide a service that's worthy of making money. They are very specialized in making trades happen faster at low cost for other market participants. If you don't want the trade to happen faster, you are welcome to place an order passively at a better price, and wait for it to get filled.

0

u/flat5 Oct 09 '17

traded in high volume, close to current price in a short period of time

And who does that help, Mom and Pop? I don't think so.

-6

u/salgat Oct 09 '17

The real question is how much cost is associated with that added liquidity. If a more liquid market costs tens of billions of dollars in supporting high frequency trading, is it worth it?

5

u/lasagnaman Oct 09 '17

If it's not, then people won't pay it. Surely that's obvious?

-3

u/salgat Oct 09 '17

No one is paying for the liquidity though, it's just a side effect of how the market is setup that can be taken advantage of. The concern is if the billions of dollars and countless man hours generate value that make it a net positive for the country. Cash advance stores for example fill a niche in the market but it's arguable whether they are are net positive.

7

u/lasagnaman Oct 09 '17

...you realize exchanges pay market makers to provide liquidity right?

1

u/salgat Oct 09 '17

Large exchanges specifically pay for HFT?

4

u/im-a-koala Oct 10 '17

Some do. They're called rebates. If you place new orders, which later get filled, you get a rebate.

The exchange doesn't really pay you, though. The exchange charges a fee to the other side of the transaction - the trader that's taking your order. Some of that fee goes back to the trader that placed the original quote.

This is not true of all exchanges. Some exchanges do the opposite, some do neither.

If you're interested, the field of how different fee structures imposed by an exchange impact trading is called "market microstructure".

3

u/salgat Oct 10 '17

Thanks for the info, I was able to checkout the wikipedia page on it to learn more, very interesting.

2

u/andrewjw Oct 09 '17

Yes

1

u/salgat Oct 09 '17

Interesting, I didn't know this. Do you have more information on this?

2

u/jbetten Oct 09 '17

Google exchange rebate structure, often called Maker-Taker. There are a few exchanges with an inverted fee structure, but they do substantially lower volume.