Monday, 28 November 2016

SEC app fail

I received something that suggested I may be interested in the US Security and Exchange Commission's (SEC) app for Android.

I was not sure if that would really suit, but let's have a short meander. Here is the link which gives you the details of the app which looks like this:

(US SEC Android app - click to enlarge)

"Installs: 50 - 100"

Wow, that seems low for an official SEC app. Is it really that boring?

I seem to have four Android devices registered in my name. My ancient Samsung tablet that still works albeit slowly; a really old Alcatel phone that is kind of laughably slow; my broken Samsung Note III which no longer works; and, my three week old Xiaomi Redmi Note 3, which has replaced my broken Note III. Surely the SEC's app should work on one of them? No.

Not a good sign?

The SEC's app claims compatibility with Andriod 3.0 and up which should cover my devices. They are a mixture of various Android 4s and an Android 6, but no.

Really? None of the above?

Wow. That is a big fail since the apps release in September 2015. 

In general, I'm pretty impressed with the SEC's work, but this is a bit of a sad mistake. If it is indeed true and not some elaborate hoax?

Is it the same for you? Does anyone see a working app?


Friday, 25 November 2016

Yet another CHX LTAD letter

I thought I'd written enough about CHX's LTAD letters to the SEC. So for a new letter from Alex Jacobson, I just tweeted the rebuttal Alex wrote addressing the principal LTAD opposing letter writers:
  • Citadel is a liquidity provider. As such, Citadel competes with CHX in providing liquidity. If LTAD narrows NBBO spreads, then Citadel’s profit margins as a liquidity provider, both upstairs and on exchange, will narrow. The Commission should recognize that Citadel's profitability will be reduced if LTAD is approved and LTAD achieves its stated goals. Citadel’s comments must be seen as self-serving.
  • Hudson River Trading is another liquidity provider which competes with CHX. It stands to reason that Hudson River Trading would also oppose LTAD, because LTAD will enhance competition among orders and narrow Hudson River Trading’s profit margins. Hudson River Trading’s comments must also be seen as self-serving.
  • The New York Stock Exchange competes with CHX. Of course NYSE would oppose something that would give liquidity providers at a competing exchange a competitive advantage over competitors at NYSE or ARCA. Once again, these comments must be seen as self-serving.
along with the twitter commentary, 'interesting' rebuttal of LTAD foes.

That tweet attracted a little more interest than normal. Kipp Rogers pointed out that the Alex Jacobson was likely to be the Alex associated closely with CHX from this LinkedIn profile:

So, I guess we have to discount the support and the anti-anti nature of the commentary in the letter. Alex has every right to speak or shout as he sees fit, but perhaps he should have left this argument to official CHX channels.

David Weisberger suggested on twitter that, "but the issue is their quotes should not be protected- IF they display more size let the market decide their value". I'm not sure the SEC has the latitude to not protect the quotes within Reg NMS, but that would be appropriate if approved. I find David's "show me the data" argument is usually a strong one but often over emphasised. Here it falls flat to my way of thinking. A black swan is not needed to tell you that a drunk, blind person driving a car is dangerous. A less facetious example would be that formal methods are typically more solid than a bunch of unit tests. Theory matters. LTAD may be good for CHX, it may not, but it is unequivocally bad for the NMS .

The strongest letter in support of LTAD was the CTC Trading Group letter. The strongest letter against was the Citadel letter. Read those and you'll have a strong flavour of the arguments.

The negatives to the last-look-like LTAD have two generic classes. Last-look is about slowing down trading. Slower trading is just bad economics. Perhaps not for CHX, but certainly for NMS. If in doubt, please read Kipp Rogers excellent post on the matter. Efficiency of price discovery affects us all. Let's not stuff it up.

Secondly, LTAD makes it easier for bad things to happen such as spoofing, baiting, zero risk execution quoting for SIP revenue, and extending the hall of mirrors to encourage false routing and get to that aforementioned price discovery inefficiency. I won't repeat the arguments here. Links to the previous discussions are below. In summary, although the support for LTAD is weak and the case against is strong, the SEC could use a flawed "de minimis" argument to approve LTAD, perhaps conditionally. They have the power. Let's hope that mistake doesn't eventuate.

At least change the name from the misnomer Liquidity Taking Access Delay. Please. It is somewhat offensive to those parties providing liquidity sought by those parties posting prices on

Happy trading,


PS: Think about this nasty LTAD trick: quote inside the NBBO; always cancel your inside quote if the external BBO doesn't come to you - after ~349 microseconds; otherwise be first at the new NBBO; and, trades are forced to route by the LTAD so Chaos ensues more effectively than Maxwell Smart could imagine. Potentially not a spoof or bait as you intend to trade, if and only if the conditions are met, but that is a little tenuous. It is a more subtle abuse than simply quoting and cancelling with zero risk to gain SIP revenue... 

Too many prior LTAD posts *sigh*:

Monday, 21 November 2016

Finra ATS Tier 1 stats - today's release for 31-Oct-2016

This week UBS stay #1 with a share of 17.5% of ATS tier 1 stocks. UBS had the highest absolute volume in shares matched for any week since 29th February 2016. It was a big week.

In terms of positioning in the top 10: Goldman Sachs dropped out of the top 10. Level rose to #7, swapping positions with Bids which fell to #8. Barclays rose a place to sneak into the top 10. Here is a list of the top 10 venues, market shares, and volumes traded from today's Finra release:
  1. UBS : 17.5% 638M 
  2. CS : 10.8% 394M 
  3. DB : 8.7% 315M 
  4. MS : 7.6% 276M 
  5. JPM : 7.0% 254M 
  6. ML : 5.3% 194M 
  7. LVL +1 : 5.3% 192M 
  8. BIDS -1 : 4.5% 164M 
  9. KCG : 4.5% 163M 
  10. BRC +1 : 4.0% 145M 
Here is a chart of ATS tier 1 stock volume market shares with further details in the legend:
(click to enlarge)

Post IEX becoming a public exchange, the concentration at the top of the ATS pool has increased, as the math requires. That happens when you take out a significant chunk of volume from one of the top ATS venues by volume.

The following chart shows the increase in concentration in the top ten:
(click to enlarge)

The top 15 ATS's all have average trade sizes less than 1,000 shares with most hovering around the 200 mark. BIDS and CrossStream are the stand out exceptions in the top fifteen.

(click to enlarge)

None of the venues with average trade sizes above 1,000 shares are in the top 15 venues:

  1. DLTA DEALERWEB 381,271
  4. LQFI LIQUIFI 18,718
  6. LQNA LIQUIDNET H2O 10,303
  7. AQUA AQUA 8,323
  9. WDNX XE 1,244

Whilst Luminex has a large average trade size of 39k shares, it only traded 8.4M shares for the week, or 0.2% of the ATS tier 1 market share. It barely trades.

ITG has improved slightly, but their struggle continues. ITG is pretty close to regaining 3%. The firm remains well short of its pre-scandal 4.95% May 2015 peak.

No numbers for RCSL RIVERCROSS this week.

Most of IEX's volume is dark and thus parasitic to the market. You have to wonder if it is appropriate IEX became a public exchange. There is nothing fundamentally wrong with dark or hidden volume. Parasitic is often good. For example, index funds. Whilst index funds are parasitic, no one is seriously considering the banning of index funds. Your parasite just has to be careful not to destroy the host.

It is arguable that public exchanges have an important role in open, fair, and transparent price discovery. IEX and its overwhelmingly parasitic darkness suggests its platform may not be fulfilling the important obligations we expect a public exchange to fulfil with its fills.
(click to enlarge)


OTC Transparency data is provided via and is copyrighted by FINRA 2016.

Friday, 18 November 2016

CHX: Ludicrous Talks About Demons (LTAD)?

The Chicago Stock Exchange's (CHX) misnamed Liquidity Taking Access Delay (LTAD) order type has had a further letter of support. This time from Interactive Brokers on Nov 8.

The firm agrees with CTC's supportive letter and emphasises that it should be OK for market makers to laugh at you whilst they pull their orders in response to external stimulus so your effort to route to them, as is required by the Gods of best execution, is for nought but frustration.

The potential 50-50 sharing for market data revenue from CHX for zero execution risk would likely be small enough to not influence IB's encouragement.

Notably, the letters against LTAD still out weigh the letters of support, both numerically and by quality.

However, if the SEC decides the delay complies with its view of  contextual "de minimis" and fairness, the order type may still be approved. That is the crux of the IB argument,
Which one is real?
"The CHX proposal is similar to the more broad based, recently SEC approved 350 microsecond delay introduced by IEX. The proposed delay falls squarely within the SEC's own interpretation of Rule 611 under Regulation NMS (Order Protection Rule) allowing for a de minimis intentional delay in order processing."
Let's hope the SEC doesn't fall for that and it recognises the LTAD request does not properly address the many potential concerns.

The house of mirrors being constructed by the SEC does not need another set of panels.


Previous three meanderings on CHX's LTAD:

IEX: dark and expensive - update

IEX is still not a restaurant. Again, being overwhelmingly dark and expensive is not something a public exchange should be proud of.

This is a quick follow up to the previous short note. A month later things haven't really changed on the darkness front for IEX.

It just goes to show, even the SEC makes the occasional mistake.


Wednesday, 16 November 2016

Crazy CAT approved by SEC

Another crazy cat (source
On the 15th of November, yesterday, the SEC finalised and released its nine hundred and seventy nine page Order approving the Consolidated Audit Trail (CAT) Plan. An important context is that the CAT plan was "inspired" somewhat by the so called Flash Crash of May 6, 2010. You no doubt know the old, almost true adage, if you can't measure, you can't manage. The CAT plan is about addressing the measuring as otherwise the regulators can't manage. Sounds reasonable.

Here is the press release from the SEC, and here is the final report considering the comments and meetings around the SEC's RFC. The Financial Times covered the CAT Plan Order with brief comments from Larry Tabb and Dave Lauer.

My thoughts? In summary, it's absurd.

Let's meander through why someone of my lack of stature may misinterpret such good intentions.

At a high level, would it allow a proper and thorough analysis of the May 2010 Flash Crash? No.

Why not? It doesn't cover the necessary financial instruments of concern that day. Even if the CAT did cover the necessary instruments, the plan does not have enough determinism in the event ordering to be able to reasonably argue about a system where one million events a second are not uncommon.

Generously you may think, well, at least they are trying and it is at least a start? That may be a nice, homely sentiment but the fact is that the predicted costs are kind of OUTRAGEOUS for the lack of return. Back in 2014 Scott Patterson and Bradley Hope, then of the WSJ, reported,
"The project is expected to cost between $350 million and $1 billion, according to people familiar with the details."
From the CAT web site, apart from a decidedly disappointing lack of cat pictures, there is a indicative plan for annual revenue to be charge to venues and broker/dealers, which I summarise in the following table:

Venue Tier       # Firms Min fee Max fee Extended min Extended max

Equity venue T1 14.0 140.0 240.0 1,960.0 3,360.0

T2 39.0 100.0 170.0 3,900.0 6,630.0
Option venue T1 9.0 180.0 290.0 1,620.0 2,610.0

T2 3.0 130.0 220.0 390.0 660.0
Broker/dealer T1 55.0 176.0 300.0 9,680.0 16,500.0

T2 55.0 90.0 150.0 4,950.0 8,250.0

T3 90.0 40.0 70.0 3,600.0 6,300.0

T4 125.0 30.0 50.0 3,750.0 6,250.0

T5 300.0 5.0 8.0 1,500.0 2,400.0

T6 360.0 1.0 2.0 360.0 720.0

T7 815.0 0.2 0.3 163.0 244.5

Total annual fee range
$ 31,873.0 $ 53,924.5
*all $ figures in thousands

So, for $300M to $1,000M in up front costs, plus recurring costs of $30-60M a year, you get a decrepit, one-eyed king with a drunk stagger, stagger, roll in the land of blind regulators. Sadly, it is your typical racially-neutral, non-specifically gendered elephant designed by a committee which was distractedly thinking about bike sheds. Considering the stupidity and the scale of the proposed plan, the costs are actually not that outrageous. A plan that might actually work and yield beneficial outcomes comes out, on the back of my envelope, at around $50M up front with around $5M a year in recurring costs to be covered. I guess that is why vendors love committees. Meet the spec and bank the money.

Quite a nice bike shed. (source)
I'm not quite sure who at the SEC quoted these costs to the FT in the aforementioned article,
"The SEC estimates the system will cost $2.4bn initially and then $1.7bn a year to run."
$1.7B a year? That seems a little crazy, like a CAT. Surely not?

Most of the burden falls on market participants rather than being direct costs to the Plan operator or SEC. From the KCG comment letter,
source: KCG comment letter
So, the SEC thinks $4.1 billion for set-up and the first year of operation. Crazy CAT.

So what is wrong with the plan? I'm not sure I'm qualified to address all the bits and pieces as I haven't read thoroughly the thousands of pages of proposals and submissions, but hey, this is the Internet. Here are three bits I don't like much which the SEC did indeed consider in some detail.


Early in the morning of the Flash Crash on 6th of May 2010, there was pressure coming into the market from many fronts. The pressure in the foreign exchange markets was noted by many, including the SEC & CFTC relating the USD and JPY with premium spikes in CDS, Greek sovereign risk in particular. An execution of 75,000 E-minis on CME pinned on Waddell Reed's volume participation algo, plus spoofing by the likes of Navinder Singh Sarao, copped some curious posthumous blame from authorities.

Are you with me? Yeah, you got it. Not a mention of any instruments covered in the NMS CAT plan at all there. CDS, bonds, FX, futures... all not covered. Certainly chaos in equities and option markets ensued. This is yet another reason why the CFTC and SEC should be combined.

The SEC's final Nov 15 report covered coverage from pages 341 after a Primary Market Transaction segue,
"Rule 613 and the CAT NMS Plan do not require the reporting of audit trail data on the trading of futures. One commenter, noting that the CAT NMS Plan does not require any information about stock index futures or options on index futures, stated that incorporating futures data into CAT would “create a more comprehensive audit trail, which would further enhance the SROs’ and Commission’s surveillance programs.”
As noted above, the Participants, within six months of the CAT NMS Plan’s approval by the Commission, will provide the Discussion Document that will include a discussion of how additional securities and transactions could be incorporated into CAT. In their response, the Participants recognized that “the reporting of additional asset classes and types of transactions is important for cross-market surveillance.” Further, the Participants stated their belief that the Commission also recognizes “the importance of gradually expanding the scope of the CAT,” and cited the Adopting Release, wherein the Commission directed the Commission Staff “to work with the SROs, the CFTC staff, and other regulators and market participants to determine how other asset classes, such as futures, might be added to the consolidated audit trail.” Accordingly, the Participants stated that they intend to assess whether it would be appropriate to expand the scope of the CAT to include futures, at a later date."

The SEC concluded, importantly, on page 342,
"The Commission believes that the omission of futures data from the CAT NMS Plan is reasonable, particularly in light of limitations on the Commission’s jurisdiction."

Appropriately time-stamped CFTC venues, for products such as such as listed futures, swaps, option instruments should be captured along with a significant portion of OTC deals, including bonds, to get an appropriate global market vista. A regulator should have the power to either tap the same sources of data as market data vendors, or be able to regulate that time-stamped data needs to be provided to the Plan for non-commercial purposes.

It's not rocket science. Crazy CAT.

Error rate

The SEC decided an error rate of 5% was a good enough target. If you were having a coffee with your data guy and she reported to you that only 5% of your data was corrupt, you'd be in the unfortunate position of paying for the dry cleaning of her shirt that you just spat your coffee on.

From the press release,
"The CAT NMS plan would set an initial maximum error rate of five percent for data reported to the central repository, subject to quality assurance testing, adjustments at each initial launch date for CAT reporters and periodic review by the operating committee.  The CAT NMS plan also discusses a phased approach to lowering the maximum error rate for data reported to the central repository."
The mind boggles. The insomniacs amongst you can read some of the discussion around this from page 342 in the SEC order such as page 347's,
"The Commission believes that the proposed 5% initial maximum Error Rate is reasonable and strikes an appropriate balance between: (1) ensuring that the initial submissions to the Central Repository by CAT Reporters are sufficiently accurate for regulatory use; and (2) providing CAT Reporters with time to adjust to the new more comprehensive regulatory reporting mechanism. The Commission understands that the Participants considered relevant historical information related to OATS reporting error rates, particularly when new reporting requirements were introduced, and believes this is a reasonable basis for setting the initial maximum Error Rates for CAT Data."
Put your hand up if you think a maximum 5% error rate is sufficient for regulatory use? Yeah, neither do I. The market ticks less than 5% of the time, so errors on every market tick would be OK under the CAT Plan. Crazy CAT.

Determinism through timing

One of the objectives of the CAT is to have some analytical capabilities to examine significant NMS events. This implies a causal relationship being search for. To determine causes, as such, you would prefer causal ordering, otherwise known as virtual synchrony, across the system which is impossible. So you are coming from a point of view that you cannot have systematic determinism but you'd like to get as close to that as is viable with a reasonable cost effectiveness in mind.

One way of doing that is to have accurate time-stamps across the entire system so you can put everything in the right order. That is a bit messier than it seems. Given you might have 1-10M events in a not so unusual second, you may think you can order things if you have a corresponding 1 or 0.1 microsecond time-stamp. That is not really the case. Micro-bursts are a big feature in markets where low latency switches queue up competing packets that arrive in the same nanosecond or multi-nanosecond time-slice. What you do know, however, is the processing order the matching auctions deal with and this gives you the determinism you need if you have a valid order processing model for an exchange.

It is important to consider accuracy and precision. You must draw on the distinction between the two concepts and note that neither is the same as significant digits or granularity in a representation. The precision within a venue will allow you to order events better at that venue. At a little tech start-up I used to run, the team developed a timing precision of around 1-20 picoseconds, less than 0.0002 microseconds with relatively inexpensive off the shelf FPGA hardware. Part of that was the Picosecond Over Ethernet Timing (POET) project which was demo'd on 1G Ethernet. It was fun stuff where we could pour cold water over an optical fibre and reliably record the corresponding physical shrinkage via timing differences. This is similar in many ways to the independent CERN White Rabbit project. The point being it is not so expensive to do extremely precise timing anymore. The CAT doesn't need it. A relatively inexpensive off the shelf solution lets you timestamp many comms links with 1 nanosecond precision with only a five nanosecond bump in the wire. 5 nanoseconds is not too much to impose in overhead. Technology for precision has moved, and it is not outrageously expensive.
Accuracy and precision

Accuracy is a harder proposition. The specification for GPS is 100ns of accuracy. This is a bound with reality being a lot better in practice. Even sub nanosecond accuracy is possible with careful statistical GPS interpretation. Such statistical interpretation is the kind of algorithmic approach that is useful for measuring precise distances for infrastructure movement surveys, such as dam walls. Xiaoguang Luo's excellent PhD research, "GPS Stochastic Modelling: Signal Quality Measures and ARMA Processes" uses ARMA modelling to effectively handle site-specific multipath effects, satellite geometry, and variable atmospheric conditions and is also a good reference for many existing state of the art GPS tuning adjustments - well worth a read.

Endrun CDMA timer - accuracy ~10 micros
If you can't use GPS directly, then you can pilfer a GPS measurement embedded in a mobile phone network's Code Division Multiple Access (CDMA) signals in various countries, such as the US, Japan, and Korea. The CDMA phone protocol uses an embedded GPS time signal for timing magic. End-run Technologies has a device, I have used in a few countries, to get accurate enough time stamps. No, you don't need to pay to subscribe to the network. The GPS numbers are floating about in the Ether for you. The CDMA standard says things should be good for seven microseconds of accuracy,
IS-95 requires that the frequency and epoch are synchronous (epoch usually derived by simply counting down the frequency), and that the epoch be no more than 7 microseconds in error relative to UTC time (sometimes GPS time is specified)
In Korea one microsecond was achieved for me and it was around six microseconds in Canada from my hazy memory. This is very convenient if your mobile phone works in a data centre. Especially if roof or window access for GPS is impossible, or prohibitively expensive, for the additional accuracy.

The point to this meandering about timing is that it is pretty easy to time-stamp packets to 10 microseconds of accuracy in the US. If you mandate GPS and hardware then 100ns of accuracy is trivial and not outrageously expensive. You can go below 1ns of accuracy but that is not trivial.

MetaMux 48 - 1ns precision, 5ns tap bump in the wire latency
Precision wise, with hardware, 20 nanoseconds of precision in time-stamping is normal, with one nanosecond precision being good (such as with a Metamako MetaConnect/Mux/App), and less then 0.02 nanoseconds of precision is not so hard, and a lot of fun, if you want to set yourself a stretch goal.

For the CAT, the SEC talks somewhat imprecisely about timing with three numbers, 100 microseconds of accuracy for the CAT participants, think stock and option venues, and 50,000 microseconds for brokers and dealers, with 1,000,000 microseconds, yeah a whole second, for manually entered orders. The SEC refers to precision of the time-stamps from participants being at least 1,000 microseconds for participants or better if it is convenient to co-opt better internal precision. That is kind of ass about relative to accuracy with 100,000 nanoseconds of accuracy and 1,000,000 nanoseconds of precision. It shows an unfortunate lack of understanding of the problem domain. You should probably do better if you're thinking of spending a billion dollars.

If your impressive stamina has led you to still be reading, you can read the details of the SEC's thinking from page 360 onward,
"The Participants, however, represented that they all currently operate pursuant to a clock synchronization standard that is within 100 microseconds of the time maintained by NIST, at least with respect to their electronic systems. Accordingly, the Participants recommended that the Commission amend the Plan to require that Participants adhere to the 100 microsecond standard of clock synchronization with regard to their electronic systems, but not their manual systems, such as the manual systems operated on the trading floor, manual order entry devices, and certain other systems."
100 microseconds of accuracy is not unreasonable but a little disappointing for stock and option exchanges given than 100 nanoseconds of accuracy is reasonably trivial. As this famous clip from Grace Hopper below shows, microseconds and nanoseconds are a little different to each other. Even an Admiral or General could understand the difference with a little grace from Grace. So should an SEC decision maker.

However, continuing onto page 365,
"For the initial implementation of the CAT, however, the Commission believes a 50millisecond clock synchronization standard for Industry Members is reasonable at this time. While the Commission believes that regulators’ ability to sequence orders accurately in certain cases could improve if the clock synchronization for Industry Members were finer, the Commission is sensitive to the costs associated with requiring a finer clock synchronization for Industry Members at this time, and believes that a standard of 50 milliseconds for Industry Members will allow regulators to sequence orders and events with a level of accuracy that is acceptable for the initial phases of CAT reporting."
That is, for Industry Members 50 milliseconds, or 50,000,000 nanoseconds is OK. Such a long time seems a cruel joke. A message can go from Boston to LA and back in less time. Good luck with your NMS determinism now. Fifty milliseconds may represent an order of a million reportable events for you to untangle. The SEC's confidence in sequence ordering seems a little misplaced. That said, large swathes of such would be reasonably ordered as they will not only fall under the 100 microseconds of accuracy banner but the precision and expected venue oriented monotonic symbol ordering should provide some descrambling comfort. Especially with respect to exchanges that use Nasdaq systems that tend to have nanosecond precision on their time-stamps. So, it is pretty bad, though not quite as diabolic as it seems. Just a bit diabolical.

The other point is those manual orders with one second accuracy should also be caught in electronic transactions for the pitiless pit less communities. So, that is not so bad either, if they can be linked up.

The SEC plan refers to something approximating but not quite precision as "Timestamp Granularity" from page 369,
"Specifically, the Plan requires CAT Reporters to record and report the time of each Reportable Event using timestamps reflecting current industry standards (which must be at least to the millisecond) or, if a CAT Reporter uses timestamps in increments finer than milliseconds, such provides that such events must be recorded in increments up to and including one second, provided that CAT Reporters record and report the time the event is captured electronically in an order handling and execution system (“Electronic Capture Time”) in milliseconds (“Manual Order Event Approach”)." 
Resolution of representation and precision is being confused here. Precision of one millisecond, or 1,000,000 nanoseconds is a bit of a joke, though some exchanges, such as Nasdaq will be obliged to report improved time-stamps, except when they might not have to if they can argue an undue burden by waving their hands in the direction of their order handling and execution systems. Here is the clarification from page 374,
"In response to the commenters that stated it would be costly for CAT Reporters to report using timestamps to the same granularity they use in their normal practice, the Commission believes it is appropriate to make a clarifying change to the Plan. The CAT NMS Plan provides that to the extent that any CAT Reporter utilizes timestamps in increments finer than one millisecond such CAT Reporter must utilize such finer increment when reporting CAT Data to the Central Repository. Rule 613(d)(3), however, required that a finer increment must be used only to the extent that “the relevant order handling and execution systems of any CAT Reporter utilizes timestamps finer that a millisecond.” Accordingly, the Commission is
amending Section 6.8(b) of the Plan to limit the circumstances in which a CAT Reporter must report using an increment finer than a millisecond to when a CAT Reporter utilizes a finer increment for its order handling and execution systems. The Commission finds that, this modification is appropriate in light of the increased burdens placed on CAT Reporters by the additional systems changes that would otherwise be required in order to report in finer increments. With this modification, reporting in a finer increment than a millisecond would not be a costly undertaking, and the Commission therefore believes that this approach will improve the accuracy of order event records, particularly those occurring rapidly across multiple markets, without imposing undue burdens on market participants."
This is all a bit silly. It would not have been unreasonable to stick with UTC time-stamps to the nanosecond of granularity and a precision of 20 nanoseconds with venue monotonic ordering guarantees for at least up to Tier #2, but it should be at least Tier #4. The accuracy for such venues or institutions should be GPS-like and be of order of 100ns, which is relatively trivial. Just put a hardware time-stamper with GPS sync in your processing stream on the network and post-process it into the correct CAT Plan formatted file for transfer overnight.

It would have also been useful to add embedded timing traces to the inter-party protocols, over time, so that ordering between sources and destinations could be better managed leading to a much improved picture of determinism. In that regard, the CAT should at least capture one second oriented timing bounces between parties, including the CAT data centre,  so time-stamp reconciliations and error corrections are possible along with clock accuracy and precision audits.

For the CAT Plan, the focus should have been on determinism in the NMS processes to be best extent. Much of that may have been solved by just adding timing at the trade matching pools or processes rather than bothering brokers or traders with additional costs. Embedded event sequencing on client messages would be nice to tie together client event sequencing for NMS purposes quite simply. That is, I'm unconvinced that adding timing to all the NMS clients is indeed useful for NMS purposes. It is undoubtedly useful for broker or institutional client handling audits, but the two different audit concepts should not be confounded.

There is so much improvement that could have been achieved with a more thoughtful approach. If you have deterministic ordering at a venue and appropriate modelling of the order handling then the outputs of the models, the quotes and transactions flying out, should be reproducible. Only excellent exchanges would do this, so many exchanges will not have such determinism baked in to their systems, but it should be a goal for the SEC to drive that modelling through as much as possible for the best possible outcome. Perhaps the SEC should even mandate a simple algorithmic model for new order types to be available publicly? That would be a real boon to the industry, especially in understanding the hundreds of obscure order types and their intricate rules. Personally I'd prefer it if they'd ban everything expect simple limit orders ;-) Mortal human beings have a hard time understanding the couple of hundred order types that exist at all trading venues. If you think this article is long and boring, go read all the order types specifications and I'll visit you in your padded market structure institutional cell.

Crazy CAT.


The bottom line is that the SEC seems to have lacked the expertise to push forward a proper mandate to build a truly useful CAT Plan. I certainly feel they have been bushwhacked a little by an industry committed to making the CAT contain as little value as they can get away with.  The CAT Plan could have been much cheaper, simpler, and better. As it stands, it would have helped a little, but not much, for the 2010 Flash Crash and it is of questionable value to the industry given its expected costs.

As an HFT type, I'm glad there will be less understanding as that means profitable opportunities are more likely to persist for longer. Understanding comes to those that pay attention to the details. A lack of understanding in a crisis is the unfortunate, cynical reality of this CAT Plan.  For the industry, and the good of the USA, it seems that a great opportunity for NMS insight and improvement has been missed.

Happy trading,


Wednesday, 9 November 2016

Metamako @ 69ns breaks their own record for fastest 10G Ethernet switching speed

Metamako posted new results for their MetaMux 48, achieving 69 nanoseconds for multiplexing multiple 10G Ethernet packets onto one outgoing 10G Ethernet line. There is nothing faster for trading - apart from not switching or multiplexing, of course. It looks great for hooking up multiple trading connections to an exchange.
Metamako MetaMux 48

Here is their recent PR blurb.

They also announced a firmware app for their platforms, MetaFilter, that filters stuff, unsurprisingly. Good for market data. Metamako is claiming filtering at around 95ns which is pretty nice,
"MetaFilter allows providers of market data and venue connectivity to select the messages that each of their clients’ applications wish to receive. Each of our devices can have up to 31 individual custom configurations of market data"
Though it's not clear how well it may handle arbitrary layer 3 protocols for symbol based filtering. I suspect it may not be able to stretch that far. I'll ask and find out:
Update: basic MAC and IP address filtering only right now; with UDP and TCP port filtering likely to come later. If you want symbol - or other complex MD - filtering then try Enyx or Algo Logic, who partner with Metamako, with more sophisticated market data logic.
Still, the best feature remains one nanosecond accurate timestamping on layer one line replicas. That is a killer and cost effective feature.

Happy trading,


Monday, 7 November 2016

SEC's NMS "de minimis" is not one millisecond

CTC Trading Group LLC probably wrote the best letter in support of CHX's miserably misnamed Liquidity Taking Access Delay (LTAD) order type on Nov 1:

Nov. 1, 2016Steve Crutchfield, Head of Market Structure, CTC Trading Group, L.L.C., Chicago, Illinois

SEC: please take note
Not much to meander through, but I have a small itch to scratch...

CTC make points including that spreads may be tighter with more liquidity thanks to the LTAD's effort to stave off adverse selection. CTC doesn't address the issue of ephemeral non-tradeable quotes turning the NMS into a hall of mirrors. It doesn't deal with the SIP revenue advantages for CHX and those organisations, such as CTC, CHX may share such revenue with. It doesn't address the potential for abuse by market participants. So, it is a little light on addressing the problems but it is probably the best individual letter in support and worth a read.

One small point, that I've made before, CTC makes the same tired mistake of suggesting the SEC tied "de minimis" to one millisecond. I understand this to be wrong. When the SEC dropped this interpretation, it applied a more geographical, travel-time context. This geographical interpretation may even imply delays of coast-to-coast times of twenty or forty milliseconds being justifiable in an appropriate context. That interpretation came out on the same day as IEX's approval. It is here:

34-78102June 17, 2016Commission Interpretation Regarding Automated Quotations Under Regulation NMS
File No.:   S7-03-16
Effective Date: June 23, 2016
See also: Interpretation Release No. 34-77407
Federal Register version (81 FR 40785)
On page 26 you'll see,
"For example, intentional access delays that are well within the geographic and technological latencies experienced by market participants when routing orders are de minimis to the extent they would not impair a market participant’s ability to access a displayed quotation consistent with the goals of Rule 611."
In this context, it is worth considering an example given by the SEC of an existing NMS delay on pages 15-16,
"..any market participant co-located with the major exchanges’ data centers in northern New Jersey necessarily encounters delays of 3-4 milliseconds – due to geography alone – in accessing the protected quotations of securities traded on the Chicago Stock Exchange’s matching engine in Chicago."
It is 4,129 kilometres from Boston to Los Angeles. This is a round trip - by standard single mode optical fibre - of at least 41.29 milliseconds - or 27.3 ms by microwave, millmetre wave, laser, or hollow core fewer mode fibre. Hence, a justifiably reasonable interpretation of "geographic" delay may include a forty millisecond delay. 40,000 microseconds is a long, long time in a world where exchange transactions may be measured in tens of microseconds.

In the CHX LTAD context, it is noteworthy the SEC interpreted that enabling malicious activity via such delays is not determinative for opposing such a delay introduction. Malicious remains malicious regardless of delay. The SEC does indicate the rule application should include the consideration of such potential,
"The Commission notes that, pursuant to Section 19(b) and Rule 19b-4, the proposing exchange would be required to consider and address in its rule change filing the potential for abuse of any proposed access delay, which would then be subject to notice, comment, and Commission review. Further, even after the rule change became effective, the Commission believes it would be incumbent on the exchange to remain vigilant in surveilling for abuses and violative conduct of its access delay rule, and consider amending its access delay if necessary, among other considerations, for the protection of investors and the public interest."
I'd argue the CHX application doesn't appropriately address the SIP revenue, increased fade, spoof, and bait & switch problematic potentials of LTAD.

Back on the subject of de minimis: here is the tail end of the SEC document,
"At this time, the Commission is not adopting the proposed guidance under this interpretation that delays of less than one millisecond are de minimis. The Commission believes that, in light of the evolving nature of technology and the markets, and the need to assess the impact of intentional access delays on the markets, establishing a bright line de minimis threshold is not appropriate at this time. Rather, the Commission believes that the interpretation is best focused on whether an intentional delay is so short as to not frustrate the purposes of Rule 611 by impairing fair and efficient access to an exchange’s quotations. As it makes findings as to whether particular access delays are de minimis in the context of individual exchange proposals, the Commission recognizes that such findings create common standards that must be applied fairly and consistently to all market participants."
So, no explicit one millisecond is de minimis. It could be more. It could be less. Context and details matter. Let's stop the talk about one millisecond being de minimis. Pretty please?


Previous CHX LTAD comments from myself:

Friday, 4 November 2016

CHX - More letters on LTAD: Liquidity Terminology Acknowledges Deficit

The Financial Times ran a piece on the Chicago Stock Exchange's poorly named complex order type: LTAD.

I wrote about the first set of letters here. In that previous article I explain why I believe the name is a misnomer as both sides of a trade provide liquidity.

The SEC has published an additional five letters to add to the previous nine, with one being a response from CHX.

Oct. 28, 2016James Ongena, Executive Vice President and General Counsel, Chicago Stock Exchange, Chicago, Illinois
Oct. 26, 2016Eric J. Pritchett, Chief Executive Officer, Potamus Trading LLC, Boston, Massachusetts
Oct. 25, 2016Eric Swanson, Esq., EVP, General Counsel and Secretary, Bats Global Markets, Inc., New York, New York
Oct. 16, 2016James J. Angel, Ph.D., CFA, Associate Professor, McDonough School of Business, Georgetown University
Oct. 14, 2016Elizabeth K. King, General Counsel and Corporate Secretary, New York Stock Exchange

The count was 2 for, 1 kind of against, and 6 against. Ignoring CHX, which is not revoking its wish for the order type, there is a strong 'no' from NYSE, one polite 'no' from BATS urging caution if approved, and two letters of encouragement from Assoc Prof James Angel and Potamus Trading LLC.

The revised totals are:
4   Yes to LTAD
8   No
1   Not really
James Angel's supportive letter is an interesting read as he not only pushes the "de minimis" argument, but strives to emphasise that exchanges should be allowed to innovate and get on with things. "Innocent until proven guilty," he says. Well, de minimis was not quite what he described in his letter as the time period was dropped by the SEC's decision, and it was considered de minimis in the context of DPEG which is a non-displayed order type. Also, the innocent until guilty for innovation is not really wise in an interconnected system of mutual reliance and expectation. Trust is required. LTAD seems more like Reg NMS mutually assured destruction (MAD) thanks to the ephemeral nature of such quotes. Innovation and simplicity tend to be inversely proportional in these fancy, shmancy modern markets. Thus Angel's opined innovation may not be always the healthy thing we truly desire as part of the market core.

If the SEC decides to take the line of de minimis, de who cares, de whatever, de groovy, then LTAD is perfectly reasonable and all the arguments against LTAD collapse neatly into a cosmological singularity never to be seen again. That would be a tragedy. It would be wrong to award CHX SIP revenue for untradeable quotes. It would be wrong to allow enough time to do multiple other transactions after an external stimulus and then pull your posted orders whilst showing the bird to the market after it took the effort to route to your quote as per the rules of the NMS. It's just not cricket.

Potamus Trading are supportive even though they don't trade at CHX. They put forward an interesting case,
"In our view, the current market structure suffers from two (2) core impediments, including: exchange concentration and electronic market maker concentration. The high degree of concentration amongst both of these important market participant groups reduces the quality of the realized market structure experienced by all other market participants. In our view, the best way to discipline the practices of both of these highly concentrated groups is to foster increased competition in both segments."
I thought I understood it when I read it but, on reflection, I really don't. Especially as any innovation deemed worthwhile will be quickly copied by all and sundry. Potamus doesn't address the negatives pointed out by others' criticisms. It's a polite inconsequential letter.

NYSE makes two main arguments others have made,
"Because CHX’s proposed LTAD would result in CHX members’ non-compliance with the Quote Rule and CHX’s non-compliance with the Order Protection Rule, the CHX Proposal should be disapproved.
BATS plays out an interesting letter pointing out,
"Bats is concerned that any benefit of that additional delay in the form of tighter displayed spreads and larger displayed size may in fact prove illusory by providing the liquidity provider time to adjust its displayed quotation." 
BATS points out that Reg NMS is getting ugly and difficult to understand with no particular central repository of appropriate behaviours or mechanisms,
"Bats is concerned that should the Commission address this Firm Quote Rule issue andcontinue to address issues raised by complex order types and delay mechanisms on an ad hoc basis through SRO rule filings, that the resulting narrowly focused piecemeal interpretations of the provisions of Regulation NMS will cause confusion about what is and is not permissible and further serve to unnecessarily complicate market structure."
BATS continues by making a similar, very valid point to the previous Healthy Markets Association letter,
"Bats, therefore, urges the Commission to proactively set forth clear and comprehensive standards for exchanges and other market participants with regard to access delays such as LTAD. Our market structure can no longer be a patchwork of Commission interpretations. "
That is, it's getting messy, let's get some process around this NMS thing-a-ma-bob. It's a good sentiment but it's hard to cap innovation. That said, too much of a good thing may kill you. I'd encourage you to go count and understand all the order types at all the trade venues. If you remain sane after that, you'll understand part of the unfairness of this modern US market is simply that only a handful of well studied professionals can possibly navigate best execution for an order of modest size. Do you want to make it even worse? Just add LTAD.

The CHX letter makes a pretty good argument for LTAD, as it should. It says the firm quote rule is not being violated as the cancel is happening without the certain presentation of an order to match.
"As such, the Commission’s guidance clearly suggests that a Rule 602(b) violation occurs when a liquidity provider receives (i.e., is presented) a marketable contra-side order and refuses to honor its quote."
Using this approach CHX argues that LTAD is not last look. It walks like a duck. It talks like a duck. LTAD is a form of last look even if that last look is the external world of stimulus. Their non-violation of firm quote rule is a weak prescriptive angle and not a strong policy argument about the rule intent. I'd hope policy wins on that front.

CHX make the de minimis argument and despite it being a weak argument in a tens of microseconds trading world there remains a good chance that non-technical commissioners will unfortunately buy that out-of-touch argument again, despite the displayed nature of the LTAD order. CHX also concludes with a hedge that it would accept a pilot status for the order type which was also promoted by BATS on the circumstance that approval was indeed granted.

Really? LTAD is the crappy kind of innovation we don't need. Let's forget about the hall of mirrors with fake prices and the added complexity for a moment. LTAD has negative economic effects from the retardation in transmission of prices in markets. LTAD hurts the economy. That alone should be enough to kill it as a proposition. LTAD is good for CHX. LTAD is bad for the NMS. Let's hope it goes away.