89 points · by jackgavigan · 10y ago · 128 comments
What is that ? How can that be the reflection of what's going on in the 'real' economy ?
I interviewed at an HFT firm once and they were doing kernel-bypass networking, latency measured in nanoseconds and all kinds of really low level systems programming tasks.
Interesting technical challenges. Except... what does that have to do with the economy ? Why is it that I can make money if my algo runs a microsecond faster than yours ?
Why is that time delta measured in money ? I know there's the very rational technical explanation of how the first to react executes the trade, but just step back and look at the bigger picture here - what the fuck are you guys really doing ?
Are the people writing these algorithms even remotely thinking that the trades can ruin or starve millions ?
Are you even considering that these high frequency "trading" systems have an actual impact on the planet, the air, the water, etc ?
Of course no. They don't give a fuck. In fact, you can only survive in this industry by not giving a single fuck. Otherwise you have to look at yourself and realize what a parasite you really are.
The stock market made sense when securities actually reflected the "real world" performance of companies.
Now it's all reversed - price determines company performance - it's like all companies work for the stock market itself.
I don't like these guys. A bunch of crooks and gamblers who have no idea what they are doing, while everyone thinks they do.
That's why the prognosis for the world economy is pretty bleak - because the insanity is institutionalized already and we have no idea how to stop it.
The market is these little packets bouncing off each other and summarized. High numbers of them are not unhealthy. On the contrary, it means more information is moving with less overhead loss to middlemen. (By analogy: What's more expensive, 100k tweets, 10 phone calls, or a FedEx envelope? If you say "clearly it's the tweets because there are so darn many" that would be a weird answer for an engineer to believe.)
If you believe the world economy is going to heck in a hand basket, there exist ways for you to be richly compensated for that expert opinion by sending your tweets into the machine. (Well, if you're proven right.) HFTs will happily minimize the transactional costs you incur while making that statement, as compared to the sweaty, yelling colluding-against-you jocks they have replaced.
But that which you control, controls you back with equal force.
While it is assumed that the state of the stock market reflects outside reality, it is in fact both ways - the state of the stock market affects and changes outside reality. And now it's a feedback loop, which involves software on one side and humans and "natural resources" on the other.
So now the married couple's daughter future is dependent on the outcome of this "game of trades" that HFT algorithms play day and night. And the people who write those algorithms do so to satisfy themselves, they don't know or care about the married couple.
Just like Google Maps - when there are few drivers using it, it's a handy little helper, if everyone uses Google Maps, it now defines the traffic pattern.
As Shannon told us, information is the resolution of uncertainty, and information channels can be more or less noisy.
It occurs to me that it's possible that adding more data to the channel is making the channel more noisy not more informative.
That's surely taking things a little too far. Nothing in the real economy changes that fast.
However, there is an enormous benefit to getting pricing resolution down from the double-digit seconds level it was at when humans were able to keep up. The market driven by human intermediaries was crooked as a barrel of fishhooks. When these discussions come up, I always urge people to Google [odd eighths scandal] for an example of what things were like prior to electronic trading.
Once you have electronic trading, it makes sense that there either needs to be some "figure of merit" to allow different electronic traders to compete, or else some sort of permanent monopoly for the most successful initial electronic trading firm. Better, I think, that firms compete pointlessly to price instruments at subsecond granularity than that Goldman Sachs simply buys the (thankfully nonexistent) market maker version of Google.
It's cheaper than people doing it, and the lower the latency, the faster a trader can move his position to match changes in the market.
What is the social benefit of Twitter loading in 100ms instead of 150ms? Why is latency important for peoples' stupid mobile apps, but not important for financial transactions?
>Nothing in the real economy changes that fast.
Sure, but you don't want to have to wait for an earnings report to sell your shares when you want to buy a house or something. You want people to always be trading your stock so it's easy to buy and sell. Similarly, when a big pension fund buys or sells a lot of your stock at once you want "people" trading to reduce volatility.
This sort of HFT smooths out prices over this time frame. The thing is, as it smooths out the peaks and valleys, the value in doing so decreases as those peaks and valleys are what made it profitable in the first place.
>That's surely taking things a little too far. Nothing in the real economy changes that fast.
Why? Computers have changed the game. We went from mailing our brokers or visiting them in person to calling them to conducting trades over the Internet. The 'real' economy changes quite quickly.
Can you explain this further in context to the parent comment? You lost me after "married couple wants to send their daughter to college more than they want google".
That said, the first example quoted don't really make a lot of sense, in my opinion. A couple selling off some stock to pay for their child's tuition probably won't ever have their transaction directly represented in the market (it will likely be lumped in with or divvied up from other orders handled by the same brokerage), so the information conveyed is ultimately somewhat diluted.
It's simply another mechanism for gambling.
HFT also rarely involves value investing (how much research can you do in a millisecond?). It usually uses low-to-zero-profit market-making strategies as cover for higher profit less than ethical trades.
https://www.chrisstucchio.com/blog/2012/flash_crash_flash_in...
I have no idea why you think an HFT system is somehow more polluting than an ordinary server displaying cat pictures. Could you explain?
Insofar as the stock market doesn't reflect "real world" performance that's primarily due to tax induced distortions. That situation is only getting worse as businesses go global, and the crazy US system of taxing foreign income turns double taxation into triple taxation.
You've just done a huge rant on how they have a smooth-running machine destroying the economy, making billions, being ruthless, and now you say they "have not idea what they're doing". Sorry mate, but these people know exactly what they're doing. In fact, most of them are really fucking smart, and that's why they're able to get away with legally extracting tens of billions of dollars from the markets.
> Are the people writing these algorithms even remotely thinking that the trades can ruin or starve millions ?
No they can't, by definition, high frequency trades have very small price deltas and each one matters very very little to the broader market.
An abstract way to think of HFT is that it condenses money out of information. This is exactly what ad-driven businesses like Google and Facebook do too, but HFT doesn't require massive databases of information about all of us, plus it is more energy efficient because it doesn't have to send the same copy of a cat GIF over the air to 350 million people just to make half a cent in ad sales.
The crux of my complaint about Flash Boys is that it leaves the reader with this impression, which is usually an incorrect representation of what is happening.
A better simplification of what is happening is that the HFT firm is racing to update the price on shares they are already offering (or on buy orders they've already placed).
That is, they are more like a shop keeper changing their prices when they notice demand than a ticket scalper racing you to the ticket window.
Is there really a difference between:
I see you want X, so I go buy X and sell it to you at a slightly higher price to make some money.
I see you want X, so I take my X out of stock and sell it to you at a slightly higher price to make some extra money.
I'm not sure they are really different.
People seem to defend HFT for some reason (the front running kind, not the necessary arbitrage kind) but they never seem to answer the question of why someone who is not an HFT firm would want to trade on an exchange that caters to high frequency traders (as basically every exchange does).
I'm not defending the front running kind. The argument is that the front running kind (which is in no way actual front running and is instead latency arbitrage) is the same as, and fundamentally a requirement of the arbitrage kind.
Further, most peoples model of what latency arbitrage actually is, is so flawed as to create strong biases when they shouldn't exist.
The euphemism HF traders use to help themselves sleep at night.
There are a number of incorrect assumptions built into your comment (most notably that prop HFT are the only ones using algos to trade), but the simple answer to this question is that those exchanges have larger displayed size at better prices.
Can you point out where I made that assumption?
I do not see how that will solve the problem. Suppose firm A and firm B both want to buy stock X at prize Z. There is only enough X at prize Z for one of those firms. Both firms send their trade orders withing milliseconds of each other. In your time interval scheme, which firm gets to buy the stock?
There are network effects in trading: people go to transact where everyone else is transacting. Because HFT is allowed on the most popular venues, the economic thing to do is hold your nose and trade there too. This is true even if HFT somehow makes the venues "worse" (which it doesn't).
If I put in a market order when the price is $100, and a HFT firm sees my order, beats me to market, buys up all the $100 offers and then resells the stock to me at $105, my liquidity hasn't been improved in the slightest. All that has happened is that someone has front-run my order and cost me $5/share, extracting profits from my pocket without providing any useful service to anyone.
If you want this comment in more technical terms, here it is:
http://www.zerohedge.com/news/2015-08-25/cutting-through-hft...
A lot of HFT argumentation only makes sense when you assume prices only go up.
Capital markets are a place where firms go to acquire capital, people with excess capital buy securities, and firms (eventually) return that capital. The markets are only a reflection of the pricing of those securities, which sometimes but doesn't always correlate to what's going on in the economy.
I really see no difference here than the days cars replaced horses, milk delivery came to an end, newspapers struggling with the digital age. Come a generation if not less people will look back at our ways and go "how quaint". The solution is to adapt to what technology brings so that we can better ourselves. so while it may be unfair now the technology will spread to where everyone operates that way
Being faster actually helps with that purpose.
It's a stock market simulator with a websocket API that you can code against to run your own trading bots in various scenarios.
I am currently on level 3 where the exact goal is to write a profitable market maker bot. So far my bot is decidedly UN-profitable, but I hope to change that soon.
[1]: And here is the thread when Stockfighter launched on HN: https://news.ycombinator.com/item?id=10724592
+ Most investment games generate a spot price by magic and let you transact at it as much as you want. We have actual counter parties (bots) running their own strategies, the number, composition, and interaction of which determine the prices available. This is complicated; most simulations abstract it away to focus on their particular areas of interest. Having a nice crunchy view of market microstructure wrapped in an API is our interest; we in turn punted on a lot of other things. A big one: many people interested in stock markets want to trade Google; Stockfighter doesn't have Google but might have e.g. Amalgamated Tree Frog Airlines (ATFA), with a fake-but-almost-plausible market dynamic to it much of the time.
First - a quick explanation of what these market makers do. Every security is primarily listed on a single exchange. In the US, this is dominated by NYSE and NASDAQ. Any listing exchange assigns market makers to the securities that it lists - these firms guarantee that they will both offer and buy the stock within certain limit and pricing restrictions. In return for this responsibility the market makers get price breaks and other preferential treatment. NASDAQ never had a floor, so these were just designated firms you could (in the early days) call. NYSE, on the other hand, assigned this responsibility to specific individuals from firms - all in one building on a single trading floor. Once the markets electronified, it was easier for the NASDAQ market makers to adapt and become electronic and more automated as well. As NYSE held on to the old model of individuals on the floor, they attempted to justify it - mostly by spreading distrust of computers. (Distrust which has proven partially justified - see the Knight Capital meltdown a few years ago.) Despite their arguments that the humans are adding to the stability of the market, the reality is the humans are doing less and less. For the last 5 years at least all floor brokers and market makers are managing most of their orders electronically with the help of "upstairs" - other employees of the markets makers / floor brokers who are upstairs. Furthermore, the benefits that come with being a market maker apply to some of the firm's electronic business as well - effectively making the floor presence a cost that is made up off the floor.
TL;DR - The NYSE floor is a joke. This just proves it.
Computers only do what they're programmed to do by humans. Inherently, distrust of computers (sans AI) is distrust of humans.
What strikes me is that if automated trading is profitable, then it must be predictable as well, meaning trading and market direction is more "Non-random walk" than "Random Walk" ..
On the equities side, if you went to a dollar per trade it would be priced into the spread one way or the other. My suspicion would be with decreased liquidity due to participants moving to derivatives that allow for ownership in fractional components of large transactions that make the tax more bearable.
Either that, or you wouldn't have market makers and the equities market would grind to a halt and things like index funds, etfs, etc would no longer be economically viable.
HFT on the other hand is the brutal unempathetic cousin of intra-day trading that completely takes the human element out of the picture. Stocks are bought and sold in micro seconds, creating an unsustainable and unlevel playing field for the real humans in markets.
To this day, I fail to see how was this even allowed by regulators. HFT systems should be pitted against other HFT systems on newly created indexes or an alternative system, where humans are not allowed to trade for their own benefit. The current ecosystem is just unsustainable.
HFT is the true essence of trading--predicting short-term changes in supply and demand and acting accordingly.
> This used to give us a real picture of the public sentiment for those companies or commodities.
Can you pinpoint some moment when it stopped?
> Stocks are bought and sold in micro seconds
Most HFT strategies don't actually do this. Buying and selling in such a short period implies a pure arbitrage, of which there are very few. The ones that do exist are generally fully exploited by the single fastest participant.
> creating an unsustainable and unlevel playing field for the real humans in markets.
Depends on your investment horizon. The statement is nonsense for all but the shortest timeframes. In particular, the fundamental finance guys (the "investors") are in no danger from the machines.
> The current ecosystem is just unsustainable.
Why? Automated market-makers are a middle-man that temporally bridge supply and demand between "real" buyers and sellers. Kind of like a grocery store temporally bridges supply and demand between consumers and farmers. Kind of like a car dealer temporally bridges supply and demand between consumers and manufacturers. Kind of like... you get the idea. Why are equity markets different?
I assumed most were of that sort. I still fail to understand what does being one millionth of a second faster accomplish if you're going to hold your position longer than that. It still triggers a competition for being the fastest participant that makes the transaction right after an event.
>Why? Automated market-makers are a middle-man that temporally bridge supply and demand between "real" buyers and sellers. Kind of like a grocery store temporally bridges supply and demand between consumers and farmers. Kind of like a car dealer temporally bridges supply and demand between consumers and manufacturers. Kind of like... you get the idea. Why are equity markets different?
That's an interesting thought. It may just be that the subject has a lot more elements that I haven't considered yet.
Here's something for you to consider and I would love to hear your POV on this. What if the regulators decided to ban all HFTs. Transactions had to rate limited by 300ms or more. In your opinion, would the markets behave any differently from now? If not, then what is being gained by all the major investments in HFT systems and platforms? If yes, then what do the markets gain?
A simple example: suppose AAPL is currently quoted $95.00 x $96.00. A reasonable estimate for the "fair value" is the midpoint, $95.50. Now, a new sell order for $95.01 arrives at the market. AAPL is now quoted at $95.00 x $95.01. In the absence of other signals, a trader might reason that there's something wrong with the guy selling at $95.01 when everyone else thinks fair value is ~$95.50. If so, he'll rush to trade against the new order. First one to get there gets shares cheap; everyone else gets nothing. Hold the position for as long as you like.
There are a lot of details to get right, but this is an actual HFT strategy, not a toy example. Note that your speed matters only insofar as it lets you trade ahead of everyone else. All the infrastructure investment is required to stay ahead of other participants, but it does not confer a durable advantage: the arms race will quickly erode the edge. The investment is best-viewed as a tax imposed by other HFT firms, paid to technology vendors and exchanges. The big winners are those who sell the equipment and fast lines that certain HFTs desperately need.
> What if the regulators decided to ban all HFTs. The market would look pretty similar to how it does today. The big change would be somewhat wider spreads: market makers need to compensate for the additional risk they take on by leaving their orders out. Any other traders here have an opinion?