Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Math Whiz Trades Without Humans (bloomberg.com)
99 points by monsieurpng on Dec 7, 2019 | hide | past | favorite | 54 comments


> XTX -- the name refers to a mathematical formula used in its trading algorithms

Wow so they do linear regressions?? Incredible.

But in all seriousness, for how long are we going to dress up statistics as some new cool and exciting methods? Are VC's and bosses really this easily fooled?


Love this comment! Still, XTX is a cool name, even if the author of the article didn't really get it: https://math.stackexchange.com/questions/2624986/the-meaning... . The nice thing is no VCs are really necessary to fund trading firms like this. Usually the owners have 100% of the capital, split between one or more owners. Not positive of XTX's capital structure, but it is unusual to have VCs involved. GETCO was an exception, and they were pressed to eventually go public (as KCG): https://finance.yahoo.com/quote/KCG/


What they actually do: colocated servers next to the exchange collecting $0.0000001 per trade with nanosecond latency.

Create mystique of doing spooky AI to get more capital which they use to hedge even more trades/second, making more money, which they then attribute to AI which gets them even more capital.


If you knew anything about HFT, you'd know that speed got arbitraged out more than a decade ago. Everyone is fast now. In order to make money, you need true alpha and predictive ability. It's sad to see you disparage their impressive achievements when what they've done is incredibly difficult to accomplish, especially as such a latecomer. I know because I tried it myself ten years ago when it was even less competitive and couldn't make it work.


The real money is probably made by you renting out the server racks close to the exchanges!


Lots of exchanges now capture that themselves.


When you say “speed got arbitraged out” — what does that mean?


It means that it’s no longer profitable for the vast majority of firms that used to do latency arb. Most of those firms have either gone out of business or managed to discover less obvious signals


How does XTX differ from a firm like Renaissance Tech?


Impossible to really say without splitting RenTech into its different funds (you're probably referring to Medallion) and knowing what the underlying strats are. But at a high level the difference between MMs and quant funds are AUM which means different time horizons. An MM might have a time horizon measured in mics to seconds, and might be focused on micro market analysis like the balance of order book over the next 1,000 microseconds. RenTech (likely) can't deploy all of their capital in these types of strategies so they focus on strats with better liquidity and almost certainly longer time horizons (minutes to hours and days, possibly weeks for more CTA style strats). And at the opposite end of the spectrum, Berkshire can deploy tens of billions in a single trade, but that means an investment horizon of years to decades.


> you need true alpha and predictive ability

Surely all high-frequency signals are "follow what the market does, but slightly faster", and thus provide no actual value to society. It might be technically impressive, but it's useless work for personal gain. I reserve the right to be disparaging.


That's part of it, but HFT is also a pretty saturated field. It's typically not enough to be fast and physically near the exchange these days; that's a necessary but insufficient condition. A lot of nontrivial math and CS is still poured into HFT at places like Two Sigma, Jump and Hudson River Trading.


I like that it's become a common understanding that AI research is most effective in the marketing department.


So much negativity in this thread.


In India, the exchange was bribed to have the servers within the exchange for algo trading by some high profile institutional traders!

[1]https://wikipedia.org/wiki/NSE_co-location_scam


Is this fraud in India? I think most stock markets sell this as a service.


At that point SEBI (SEC equivalent) didn't permit exchanges to do it and were in the process of forming co-location guidelines, but this exchange went ahead and gave preferential treatment to few traders.


You can’t make less than a cent per trade in most markets. The bid-ask spread can never be less than a cent. I guess you could make less than cent with commissions, but you certainly can’t make $0.0000001.


This is a result of the common Maker/Taker pricing model. [1]

Those who "make" liquidity by publicly quoting ask/bids are rebated fractions of a cent when their orders are filled, and those who "take" liquidity by exercising the Maker's position are charged.

This is separate to the spreads. The book Flash Boys has a very good explanation of the model.

[1] https://www.investopedia.com/articles/active-trading/042414/...


* Number of trades = 100000

* Number of successful trades = 1

* Number of unsuccessful trades = 999,999

* Profit on successful trade = 1000000

* Loss on each unsuccessful trade = -1

* Net profit: $1

* Net profit/trade: $0.00001


Well if we’re averaging, sure. But that’s not what the parent is talking about. Moreover, what you’re describing isn’t a HFT strategy, it’s an investment strategy.


No, that is how you think about high frequency trades. Lots of trades in a small amount of time, with a tiny positive expectancy.


https://www.reuters.com/article/2014/11/13/us-markets-virtu-...

So Virtu profits on 51-52% of its trades. The type of math you are describing does not make any sense. Unless Virtu is significantly different from every other HFT firm, your idea of high asymmetry of profit and losses is not true.


I meant about how you make 0.00001 per trade is possible. I just didn't want to figure out the 50-51% of trades numbers.


Time to make your own microwave network


Some (not all!) of the techniques at places like RenTec are fairly sophisticated. Hence their returns ;)


Nick Patterson has said they never used anything more complicated than linear regression whilst he was there. The trick was how to use it, not the tool itself...I think people who read a lot of textbooks get obsessed with finding the next complex "secret silver bullet" technique. Good analytical work with basic techniques is often more worthwhile.


Linear regression can be the reduction form of many sophisticated methods. For example, HMM or CRF like inference can be easily done with linear regression.

Hierarchical models with several layers of symbolic inference can be done with linear regression.

Reinforcement learning too.

You can reduce almost anything to a binary classifier and implement it in practice to work well. The reduction is tricky but performance is not.


As I explained, he said it was none of this.


I do not see where you explained it. Doing cost sensitive linear regression (which is pretty trivial to implement) allows you to approximate Markov models, any hierarchical model, and all sorts of other stuff (like minimizing different cost functions, quantile regression etc.) All achievable with the same linear regression algorithm and additional data modifications.

Maybe sometimes you need to change the weight update rule, but that's it.


It is funny to watch you struggle with this (maybe this is why you don't see). He specifically said that wasn't what they were doing (and said it was often simple linear regression with one or two variables), they used no complicated techniques (he even pointed out that people assume that must be true...but it isn't), and that what they did was a combination of good analytical work/hiring. Btw, this is also quite obvious from reading Zuckerman's book.

I understand why almost no-one gets it. And that is why firms like RenTech are able to print money. I actually do work like this in a similar field, and everyone assumes you have some kind of secret algo that is the product of some unpublished, very complex work (these days, usually deep/reinforcement learning). But the reality is doing the simple stuff well and using that to build a deep understanding of the data. I suppose that is less fun for researchers who want to publish flashy stuff about deep learning and write lots of equations on whiteboards...but I prefer the money.


I do not even know about RenTech. I was just pointing out that there are several tiny hacks one can do to significantly expand capabilities of linear regression. Just like you can do polynomial regression with some data modification, you can do practically anything I mentioned above. It's very simple, modifications you can use in minutes.


Exactly. In my experience in prop trading, simple things win. Convoluted strategies probably don't...

Also, the winners usually have a structural edge that others don't. In the past this used to be low latency infra but now everyone has it. Usually edge means unique flow or market access that isn't common.


Just my 2c but I think RenTech's edge is hiring.

I think people assume that because you hire all these brilliant people that their domain knowledge is the reason you are hiring them (which usually plays into most people's understanding that what you need is the secret knowledge, and once you have your piece of paper then life is over, you have won).

An alternate hypothesis is that RenTech looks for people who have good domain knowledge AND have proven analytical ability translating that knowledge into practical results. Example: Nick Patterson is clearly a genius, he clearly has immense knowledge about stats/probability but he also seems like a very practical guy who has built a reputation on getting things done. It seems like RenTech hire smart people but also people who get things done.

I worked in fundamental equity research. Latency or tech is definitely an advantage but hiring/training processes can be very powerful too (it is often impossible for some firms to replicate at all). I have no idea if it is true here but given the focus RenTech place on hiring, it seems logical that is where their edge is.


Like what?


Nobody really knows, except for a few people who aren’t telling. There’s some clues in the mathematical backgrounds of the kind of people they hire though. Fifteen years ago they were snapping up experts in stochastic calculus. Nowadays, I’m not sure whom they’re hiring.


They're not exactly forthcoming, but it's not the hyperbolic mystery the mythos would have you believe. You can piece together what matters to them - in the abstract - by searching MathSciNet for papers published by their researchers prior to joining. For example, it's pretty easy to see they hired an information theorist away from Princeton in 2017.

But obviously that's not enough to reproduce everything they do, or else they wouldn't still be legendary. As it happens a lot of what makes them successful is not the sophistication of their trading algorithms and research, but also the sophistication of the execution and reliability.

As an aside, from friends there Renaissance hires researchers in three primary ways:

1. They have a small network of professors who they solicit for promising new PhDs willing to leave academia each year.

2. They watch professors and postdocs in specific specializations, and reach out to those whose research meaningfully interacts with a thesis they're interested in internally.

3. They send small groups to conferences to poach people working elsewhere in industry (particularly tech) whose work is applicable to their own.

They also do hire people who directly apply of course, but most hires are reactive. They especially like to hire people whose work or research looks like it might begin to encroach on their own, or is just notable and impressive. The math is certainly important to them, but that's just one dimension of it.


Would you say that their edge in algorithms comes mostly from signal processing or from ML? I'm guessing it's mostly signal processing and signal extraction?


I would be surprised if rentech's profits are based purely on algorithmic advantages. More likely, IMO, is they've curated some really good sources of alternative data and combined it with otherwise standard mathematical and technical trading techniques. They’ve probably also got a well-engineered pipeline for identifying that data, systematically evaluating it, and bringing it to production.

This is of course pure speculation. But I doubt all that alpha would come from mathematical differences alone. The market isn’t magic... it’s just a question of having access to the right information and the ability to capitalize on it.


Two Sigma has an entire team devoted to alternative data collection, with much worse results. Alternative data isn't as useful as you think- short term truth is only one variable in market prices.


I’m not saying they have access to a single magical data source. Rather, they’re very good at identifying when a source of data is valuable to them, and milking it until it runs dry.


That doesn't match what I've heard nor what their hiring patterns show.


> Some (not all!) of the techniques at places like RenTec are fairly sophisticated. Hence their returns ;)

Non sequitur. A chimp throwing darts can beat professional brokers.

https://www.forbes.com/sites/rickferri/2012/12/20/any-monkey...

Maybe their sophistication is a really good PRNG? Or just one that smells of bananas?

Or maybe they've lucked into a model which happens to be doing well now, but won't after the market shifts a bit. Like how the random pickers above did well because random picks include a lot of small companies, and small companies did well over the period being considered in the study.


Go calculate the p-value of making 66% before fees for 30+ years.


Which still leaves a non-sequiter in saying the sophisticated methods led to the high returns. It is more likely to be some form of 'cheating' where they are actually making the money off something that isn't normal trading. Or even corruption in the worst case.

Beating the market by very large margins is a suspicious activity. If raw mathematical insight is enough to get a 66% return then there are a lot of mathematicians out thereto figure out what is happening. If that is the secret sauce it would be extraordinary in a history littered with best performers who were just flat out frauds.


What's the actual story here? This can't be the first trading firm that doesn't have human traders?


The real story is that XTX is primarily a currency trader. Unlike stocks, futures or options, currencies aren't tied to a single exchange. If you want to go out and change your dollars to yen, there's not a single venue or even federated system for doing that.

If you go out and build an amazing strategy for, say, index futures, all you have to do is set up an account at the futures exchange. If you make a bunch of money the exchange doesn't care. The exchange isn't your counterparty, so your profits don't come at their expense. They're just happy to execute the volume.

Whereas with currency, most trades are done through over-the-counter "liquidity providers" (LP), traditionally major international banks. If you make too much money, the LPs get pissed off. Since they're acting as your direct counterparty, your profit comes at their expense. Consequently, a great trading system alone isn't worth that much in currency space. If you make too much money, you'll just get banned from all the LPs.

Like many others who tried to break into the space, XTX already had great HFT trading models. But their real innovation become an LP themselves. Rather than beg the major banking franchises to give them a seat at their table, they went out and built their own. That required creating business relationships with upstream sources of order flow, like retail forex brokers.

That customer base gave them the capability to capture market share without worrying about counterparty risk. Combined with their superior HFT models, it gives them a major edge over traditional banks and LPs. They can offer tighter spreads and still make a profit at a price point that their competitors can't.


This is much better than the article and should be the top comment.


XTX did all that without humans?


Look at their revenue vs net profit chart. I bet scaling this kind of investment model that reliably is something out of the ordinary. They print money.


Look at some other hft shops like Virtu for instance, this is fairly common. What is difficult is scaling the activity. These guys take on very little risk, which makes it difficult to deploy lots of capital. The guys who manage to crack that balance are the more money than God types like RenTech.


I agree there is not much of a story here. On their website they list that they're recruiting for "Operations". This means there are humans operating the trading strategies, even if they don't call them "traders." Most firms have "operational traders" and calling them something other than traders is a little bit disingenuous. I have email correspondence with XTX regarding a "Trading Operations" job posting, so to write an article about how there are no humans involved in the process is not only not really a story, but also probably inaccurate. With all that said, they've done well so kudos to them. But is it worth a story? Probably not.


X transpose X inverse, X Transpose Y, it's the best linear unbiased estimator (B.L.U.E. eh hem), and let me tell you whyyy,

Because ...

ah crap it's been to long, did anybody else learn this song in grad school for econometrics (or similar) when studying Gauss Markov theory?

Here's to Professor Jackson at Auburn for this memory I can never quite remember the second line of, and yet I can never quite forget the whole thing...


‘Member long term capital management?

I ‘member.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: