Hacker News new | ask | show | jobs
by hatesinterviews 1656 days ago
The SEC regulates the exact same thing for US stocks. And nearly every other country / regulated exchange has similar rules.

When you post an order to any exchange, you are doing so under the agreement that it is legitimate and that you actually want to be filled at that price. Obviously a participant’s desire desire to be filled at a specific price can change over time, so you’re allowed to cancel orders as well. That makes it difficult to detect and prove that a participant is acting maliciously. But if the BBO isn’t really moving and you keep posting/cancelling orders all day in certain patterns then eventually you’re going to get investigated and told to explain your behavior. And that’s where you might struggle to justify things.

> Effectively it means anyone cancelling an order has to worry that their action could be interpreted as "spoofing"

On human time scales, I think you’re vastly overstating the relevance of accidentally spoofing. For automated trading, yes you have to be careful that your signal doesn’t flicker right on the edge of your threshold. Sometimes that means you need to purposefully limit your order entry or sometimes it’s just a matter of improving your signal.

> The only ones this type of enforcement "protects" are are those who naively think they've discovered a strong trading signal based on order volumes away from the BBO.

I would say most of high frequency trading, which is the primary means of market making these days, relies on the state of the order book as a primary signal. Sure they incorporate other outside information, but when you’re trying to be the fastest, the only data you have to work with that is fast enough is the what the exchange says the order book is. No body’s paying attention to $1 quotes on a $10,000 stock. But a couple dozen price levels from the BBO on GOOG might easily be less 1% away and maybe spoofing there at large sizes might be enough to negatively affect HFT and cause spreads to widen, which hurts everyone.

Basically these regulation exists because only legitimate activity is allowed. Trying to fool other market participants (spoofing) or trying to slow down specific matching engines (quote stuffing) are obviously not legitimate.

1 comments

Actually it was the SEC rules I had some exposure to but this was a few years ago and was communicated to us via the compliance dept. What I recall is that because of the difficulty in proving intent, the rules allow very broad interpretation on the part of the SEC. The bar for proving spoofing seemed very low as, for example, the SEC does NOT have to demonstrate that you made a profit from it.

> But if the BBO isn’t really moving

That might looks suspicious sure, but there may be other factors (not reflected in the book) influencing a change of desire on my part. For example, what if I only want to buy one of GOOG or APPL and optimistically stick in a low-ball bid on each. If one gets filled, I cancel the other. I never intended for BOTH orders to be filled; is this spoofing? Or half-spoofing? This isn't a real strategy but there are lots of strategies which can look like this.

I agree the state of the order book drives a lot of the behavior of a strategy (but other factors like current position are also critical) but I've never come across a strategy that responds to volume changes far from the BBO. Not to say they don't exist - it's a secretive industry after all - but the changes at or very near the BBO clearly reflect real intent and are weighted accordingly. Quantity change far away from the action is mostly noise.

> That might looks suspicious sure, but there may be other factors (not reflected in the book) influencing a change of desire on my part

I think your example would easily satisfy regulators. But you have to have the logging with real time stamps to prove it or you need to be able to reconstruct the internal state by replaying the market data against that version of the code.

Same goes for other pairs trades or other non-book signals. For any automated trading on regulated exchanges, you need to be able to explain to regulators why you chose to send an order. Otherwise you’re basically admitting that you don’t understand / have control over your algorithm, which they will obviously object to.

> I've never come across a strategy that responds to volume changes far from the BBO.

I agree it’s unlikely that a deep quote will provoke an immediate action. But sustained changes in the book will over time get aggregated into moving averages etc and influence behaviors in the long term (for whatever timescale may be appropriate).

> Quantity change far away from the action is mostly noise.

I agree that individual quotes are noisy, and it’s hard to extract signal from the noise. A limit order book by definition is supposed to quantify an aggregated demand to buy/sell, and thus it should be meaningful to aggregate over it to construct a distribution. Spoofing distorts that.

No one gets investigated for spoofing for sending a single order. It’s a persistent pattern that stands out from the noise.

> I think your example would easily satisfy regulators.

That was kind of my point - the example scenario is clearly legitimate. The problem is that if spoofing is defined as submitting an order with no intent for it to execute, then in that scenario, that's exactly what I've done (for one of the orders).

So sure, it's seems clear that I should get a pass for doing it just once. What if I was doing a trade like this every day or tens or thousands of times a day? To the other participants, it looks like I'm flooding the book with orders which 50% of the time just get pulled for no apparent reason. The rule is supposed to protect other participants from being confused by such quotes, no?

Btw, I think it just muddies the waters by bringing up automated trading and the charge of "not having control over your algorithm" which is distinct from the specific charge of order spoofing. Whether the orders are entered manually or by a program does not fundamentally change their 'spoofyness' to other participants.

The fundamental issue I have is there is no quantifiable or clearly stated difference between spoofing and legitimate exposure control. I dislike laws which are so vaguely defined that the only way to remain law-abiding isn't to avoid specific behaviors but to avoid attracting any attention from the authorities.

But at time of submission, you did intend for one of the orders to execute. you didn't know which one, and you'd be happy with either one filled. those orders look bona finde to me.

An order placed, whose entire purpose is to elicit a reaction from others, is clearly spoofing. the spoofer would be unhappy to get filled at all.