Remember me

Register  |   Lost password?

High Frequency Trading Review

Hope, FPGA’s, High Frequency Trading and the New Market Access Rules

Fri, 06 Jan 2012 08:33:00 GMT

I recently became aware of an emerging practice most likely being implemented by clearing companies at the low end of the capitalization sprectrum offering a unique solution to the recent Market Access Rules.

NO UN-FILTERED DIRECT ACCESS

What the SEC is trying to do is remove, or reduce the opportunity for either crooks, idiots, or algo’s gone wild from doing bad things to the market. Under the new rules, order flow needs to be monitored. This is not something that the HFT crowd like to hear, because it slows them down. So a couple of innovative idiots got together and came up with the solution that I’m going to describe here.

HOPE IS NOT A STRATEGY

Let alone a comprehensive compliance or surveillance strategy. What the idiots are doing is putting a ‘black box’ between the HFT firms FIX engines and the execution venues. The box, most likely powered by an FPGA device, scans the outbound order flow, and if it finds something it doesn’t like, it messes up the payload of the FIX order so that the execution venue (hopefully) rejects the message. Why is this done this way? Because the ‘black box’ is both out of process – both the source of orders and resulting executions, etc. are behind FIX engines, and because the ‘black box’ isn’t actually maintaining connections between the HFT firm’s order generators and execution venue.

A PICTURE IS WORTH A MILLION REJECTS

This is a little complicated, so let’s look at this picture:

In the diagram above, the ‘black box’ isn’t maintaining FIX connections to either the HFT’s order generators or the execution venue.  So, the ‘black box’ can’t just reject the order if it’s out of bounds back to the order generator because then the FIX sequence #’s get all mixed up.  There’s a little more to this, but you get the general idea.

YES, THIS IS REAL, AND I’M NOT KIDDING

So, this whole thing is designed so that an examiner can come into the Olde Thyme Highe Frequency Trading Shoppey and be escorted into the back room and shown the shiny box.  Wow.  Are you serious?  ”Look, we’re making sure that this firm isn’t doing anything wrong – we’re actively monitoring the flow and if they do something we don’t like, we shut them down.”  Right, they shut down the order flow attached to the box.  What about the order generators that the examiner doesn’t see? There’s a host of issues here, but we’re going to focus on one – and it’s a doozy.

DENIAL OF SERVICE ATTACKS

So, we’ve installed the OMICRON 5000 monitoring device and our HFT/algo team is ready to do business.  And everything is fine.  They’re trustworthy chaps and have no intention of gaming the system.  (cough cough).  But their first algo goes completely nuts.  And gets shut down by the clearing firm.  But it doesn’t really get shut down.  Instead, it’s sending 1000′s of malformed FIX messages to an execution venue per second.  Or maybe 10,000′s of malformed FIX messages to many execution venues.  Wow.  In the internet world, we call this a denial of service attack – flood a destination with more traffic that it can handle.  And while the execution venues can handle normal traffic, what about rejecting every message? Is every execution venue out there ready for this?  I don’t think so.  I’ve been involved with FIX longer than I’ll admit to in public, and I’ve seen a lot of testing  - “Yeah, reject worked.  It worked fine.  I mean, we never thought they’d be sending 1,000′s of orders a second that would all reject…”

I DON’T KNOW

What should be done about this.   I have lots of ideas about surveillance and how it should be done.  But I don’t have any thoughts about this.  Mostly because I never thought anyone would be so stupid as to ever actually deploy this type of ‘solution.’  Where’s the SEC when you need them?

THANKS FOR READING

, , , , , , ,

"Could not agree more… ," says Matt Dangerfield, Head of Trading Solutions from Fixnetix.

Innovative people have created a system that is fast to implement but does not cut the mustard… Our FPGA Product, iX-eCute, is defiantly the answer (IMHO) and here is why… 

  • Our Client Manager maintains TCP level physical and logical sessions (fully IP 4 compliant) for the client inbound session(s) we then apply the SEC filters (based on the Dodd-Frank rules) as well as other “custom” rule sets asked for by our client base.
  • We support both FIX as well as Native protocols. The client TCP connection is terminated at the Client Manager and then the Fixnetix IP communicates this to the Venue Manager which has its own Protocol engine which again maintains an independent logical connection to the venue!

 A Picture is worth a million rejects (that’s good) so here you go: 

iX-eCute by Fixnetix for Pre-Trade Risk & Nanosecond Trading, Flexible & Customisable for Multi-Asset Class

As you can see from the diagrame above, we keep both client and venue connectivity separate, we STOP all failed PRC checks at the Client Manager level and then return the failed message back to the submitting system in the same protocol as we received it whilst tracking and maintaing the integratiy of the submitting system. matt.dangerfield@fixnetix.com

Questions@Fixnetix.com for inquiries please.

Disclaimer: Fixnetix is a privately-held company based in London with offices in New York, Boston and Chicago. The company does not condone or necessarily agree with any social media opinion stated outside of the Fixnetix team realm. 2012

Fixnetix 121 days ago

Agreed! The method described in the original DarkStar article does effectively constitute a denial of service attack falls short of the standards that I think should be accepted.

Ken Yeadon 121 days ago

(disclosure- I have an equity interest in Fixnetix!)

Ken Yeadon 121 days ago