Hacker News new | ask | show | jobs
by OldSchool 4672 days ago
Imagine your algorithm says that a certain non-volatile instrument isn't going to go much below 5.00 and often goes above 5.15. You place a limit order in advance to buy at 5.00 (market orders don't guarantee price) and if you get filled you'll be hoping to short at 5.15 or so later. "Evil Brokerage" comes in and offers to buy at 5.01. Remarkably, you observe that any time you pull your 5.00 order, their 5.01 order disappears.

The instrument heads toward your 5.00 target. If their order turns out to provide all the necessary liquidity at that moment, the sellers never reach you, and the instrument turns around and "Evil Brokerage" soon sell for higher. Alternatively, if the instrument is on a move and it going to go against you too, brokerage sell to you and they only lose 0.01/share. That's why I call the scenario a free stop loss.

2 comments

I get that, but again, doesn't that fall under illegal trading behavior? If we are going to assume that the brokerages are rampantly front running, why assume they are even telling the truth about execution.

At that point they can just tell you that your trades executed that way without the bother of actually going into the market.

Further, why would you stay on an execution platform that is so obviously bad for you?

I don't think it's illegal, not even really front-running. That'd be them turning a price profit on filling your order, not just using it to avoid a potential loss.

Also, you're right, at a minimum, via a subsidiary it's possible for the brokerage to "fill" your order without it ever reaching the exchanges, I think as long as it's inside the national bid-ask price spread at that moment. They pitch this as a feature - it also lets them avoid exchange fees. Then they can manage their overall risk separately.

Yes, I stopped trying to make those trades years ago. At one time though it was a remarkably consistent way to succeed on a small scale.

I'll admit I haven't looked at every broker, but every exchange that I know of, you have to opt in for orders to not go to the other exchanges.

This frequently is a feature for both sides of the equation due to lower fees, better execution rules, rebates, priority, etc.

I certainly know that I would never opt in to a platform that consistently provided worse execution (especially in the equities space where there are so many choices).

> You place a limit order in advance to buy at 5.00 (market orders don't guarantee price) and if you get filled you'll be hoping to short at 5.15 or so later.

Minor nitpick.

Since you've bought the stock first, your second trade will be a sell and not a short, unless you overfill on the second leg, in that case you'll have a partial sell and partial short.

Correct. In this simple algo scenario the position is assumed to be long 1X or short 1X at any given time. After the first trade, all reversals trades are then either buy 2X or sell 2X until the very last trade.