News for hackers. Stuff that matters.
Re:A software change allowed FTX to use client money by silasdavis on Wednesday December 14, 2022 @06:54AM (#33982336)
How is information on order books non public? Usually crypto order books are public APIs.
Re:A software change allowed FTX to use client money by neomantra on Wednesday December 14, 2022 @07:21AM (#33982518)
Some examples of hidden information that doesn't generally get disseminated in exchange orderbook APIs:

* Attribution: who's making the order?

* Short labelling... are they selling or shorting?

* Non-display or iceberg orders (not common in crypto?)

* Immediate-or-cancel orders... the executions hit the feed, but not the original order details. Also whiffs (order but no fill) don't get disseminated in any way.

* Certain order types that may rest on the exchanges order book but either don't have a specific price or display doesn't make sense... market orders, midpoint orders, pegged orders, auction order books (less common in crypto)

EDIT: On the attribution side -- they could also know the leverage any customer is taking and use that adversarially (which was the straw that broke their camel).

Re:A software change allowed FTX to use client money by silasdavis on Wednesday December 14, 2022 @08:49AM (#33983403)
Thanks, yeah attribution is an interesting one. You usually have the cryptographic address of the maker but not any link to FTX account that might be responsible, and as you say the ability to correlate an order with other positions

> Certain order types that may rest on the exchanges order book but either don't have a specific price or display doesn't make sense.

I suppose orders than are designed to only be consumed by a matching engine don't need to be made public unless they are matched.

Re:A software change allowed FTX to use client money by meltedcapacitor on Wednesday December 14, 2022 @11:15AM (#33985635)
The order book from the API is at the very minimum delayed (by network and protocol latency if nothing else) and aggregated/sampled (full feed is too big), so an insider can have an advantage of more complete and timely data.

That's for honestly run APIs, then an exchange can play some games with that feed if they want to...

Re:A software change allowed FTX to use client money by PeterisP on Wednesday December 14, 2022 @07:16AM (#33982482)
It depends on the time, it's public after the fact, but not-public during the time gap where someone like Alameda could do front-running by managing to get in other transactions before the loser's orders get executed, or before any others get the chance to take that order.
Re:A software change allowed FTX to use client money by anonymoushn on Wednesday December 14, 2022 @07:39AM (#33982675)
Alameda was in general deeply incompetent. Front running your customers is not all that doable if you insist on using python.
Re:A software change allowed FTX to use client money by kasey_junk on Wednesday December 14, 2022 @07:59AM (#33982837)
You don’t need speed to front run someone you need special access, which Alameda had.

That said they are being accused of something much less sophisticated. They were allowed to take money out when they made money but didn’t have to pay money in when they lost.

Re:A software change allowed FTX to use client money by anonymoushn on Wednesday December 14, 2022 @08:07AM (#33982929)
Even if you have special access, if you need 40ms (500ms p999) to compute a square root, you're not gonna be able to make worthwhile decisions on the basis of this access
Re:A software change allowed FTX to use client money by Godel_unicode on Wednesday December 14, 2022 @09:56AM (#33984262)
Those times are wildly inaccurate on modern hardware with modern python, fwiw.
Re:A software change allowed FTX to use client money by anonymoushn on Wednesday December 14, 2022 @09:59AM (#33984289)
These are our observed latencies for their risk checks after sending millions of orders per day for months at a time (which doesn't sound like much, and isn't much, but is the entire order rate that they gave us while we were doing 0.5% of the maker volume on their exchange).
Re:A software change allowed FTX to use client money by Godel_unicode on Wednesday December 14, 2022 @08:22PM (#33993700)
So it’s not, as you previously stated, the time to compute a square root?
Re:A software change allowed FTX to use client money by anonymoushn on Wednesday December 14, 2022 @08:32PM (#33993798)
That seemed to be the most computationally demanding portion of their public documentation of the formulas involved
Re:A software change allowed FTX to use client money by Godel_unicode on Thursday December 15, 2022 @08:51PM (#34008569)
You’re stating confidently that python is orders of magnitude slower than it actually is because of some pseudo code, which you haven’t seen implemented, and you called into across a network link?

…do you see the problem?