Brexit
2aaBJGK
2aaBJGK
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Ensuring traders<br />
pass the test of<br />
MiFID II and MAR<br />
By Eddie Thorn, Director<br />
of Capital Markets, SQS<br />
sanctions of up to four-year imprisonment under<br />
CSMAD (or its UK equivalent). Whilst MAR does not<br />
mandate non-live testing of algorithms, many<br />
of the abusive behaviours described in MAR can<br />
be detected by implementation of new testing<br />
methodologies which will prevent a trading firm<br />
falling foul of MAR and its onerous penalties.<br />
A Knight’s tale<br />
These may be extremes of the events that MiFID<br />
II regulation is seeking to stop being replicated<br />
on European exchanges, but lesser events occur<br />
with unnerving regularity. It is worth noting that it<br />
is not necessarily a major market crash that is the<br />
only concern, as much as the need for markets to<br />
operate fairly and orderly on a day-to-day basis.<br />
Under MiFID II, investment firms will now be<br />
required to test and ensure the stability of their<br />
algorithms under stressed market conditions<br />
to prevent such disorderly markets and flash<br />
crashes as outlined above. Yet, investment firms<br />
and exchanges have found it difficult to correctly<br />
replicate these real markets in a nonlive<br />
environment, where the algorithm being<br />
tested interacts realistically with other relevant<br />
market players.<br />
A change in<br />
the legislation<br />
landscape<br />
With recent changes to the Markets in Financial<br />
Instruments Directive (MiFID II), tighter regulations<br />
are on the horizon. All firms using any form of<br />
trading algorithm need to invest in a new way<br />
of testing their algorithms or face ceasing<br />
trading as MiFID II places stringent algorithm<br />
testing requirements on both buy and sell side<br />
investment firms. Ultimately, it’s the senior<br />
management who will carry explicit responsibility<br />
for compliance. Although there is time for change<br />
– it needs to happen now for the compliance<br />
deadline to be met.<br />
The change has been born out of the regulator<br />
becoming increasingly fearful that trading has the<br />
potential to cause rapid and significant market<br />
distortion. Additionally, hefty financial penalties<br />
could be enforced from July 2016 under the Market<br />
Abuse Regulation (MAR). This could be up to €5<br />
million on individuals and €15 million, or 15 per<br />
cent of turnover, on firms where algorithms cause<br />
market disorder or commit market manipulation.<br />
Senior managers could even be facing criminal<br />
The Knight Capital meltdown in 2012 is a sobering<br />
example of the ramifications of an out-of-control<br />
algorithm 1 . It was widely reported at the time<br />
that Knight Capital deployed an insufficiently<br />
tested algorithm to the production environment<br />
with an obsolete function. When released into<br />
production, defective code within the algorithm<br />
caused a major disruption in the prices of some<br />
148 companies listed at the New York Stock<br />
Exchange. This resulted in four million executions<br />
in 154 stocks for more than 397 million shares<br />
in approximately 45 minutes. This proved to be<br />
a costly 45 minutes for Knight Capital, with an<br />
estimated pre-tax loss of some $440 million which<br />
led to its ultimate collapse, caused as a result of<br />
the single faulty algorithm.<br />
Faulty algorithms are also behind some of the most<br />
recent flash crashes. As recent as October 2014,<br />
there was one such example in the US Treasury<br />
Markets. On the day in question, there was a rapid<br />
surge in bond prices across cash and futures<br />
markets followed by a similarly rapid retracement<br />
in a twelve-minute window lasting from 9:33 to<br />
9:45 ET. Although the size of the move was not<br />
unprecedented, it was highly disproportionate<br />
to changes in exogenous information. Whilst not<br />
implicitly called out, it is widely thought that such<br />
unusual movements were due to a faulty algorithm<br />
that could have been discovered if more rigorous<br />
testing was in place.<br />
This was just a few years after probably the most<br />
famous flash crash of all, where in May 2010 stock<br />
market trader Navinder Singh Sarao was deemed<br />
“significantly responsible” for a flash crash of the<br />
US equity and index futures indices. The crash was<br />
thought to be caused in part by his sophisticated<br />
‘spoofing’ algorithm.<br />
Requirement<br />
for a new test<br />
methodology<br />
Trading venues will require members to “certify<br />
that the algorithms they deploy have been tested<br />
to avoid creating or contributing to disorderly<br />
trading conditions” (RTS 7, Article 10, 1) 2 . Such<br />
tests and certification must be made both prior<br />
to initial deployment of algorithms and on any<br />
“substantial” update. Additionally, as part of an<br />
annual assessment, the investment firms must<br />
retest their algorithms to “ensure that they are<br />
capable of withstanding increased order flows or<br />
market stresses” (RTS 6, Article 10).<br />
The purpose of testing for disorderly trading<br />
conditions is to “recreate real market conditions<br />
to ensure the well-functioning of algorithms<br />
under changing circumstances” (3.2.33) and must<br />
include tests that show that the algorithm “can<br />
continue to work effectively in stressed market<br />
conditions” (3.1.16).<br />
Notably, the “responsible party designated by<br />
senior management of the investment firm shall<br />
sign off the initial deployment or substantial<br />
1. https://en.<br />
wikipedia.org/wiki/<br />
Knight_Capital_<br />
Group#2012_stock_<br />
trading_disruption<br />
2. https://www.<br />
esma.europa.eu/<br />
sites/default/files/<br />
library/2015/11/<br />
2015-esma-1464_<br />
annex_i_-_draft_<br />
rts_and_its_on_<br />
mifid_ii_and_mifir.pdf<br />
GLOBAL LEADERS IN FINANCIAL SERVICES AND COMMODITIES TECHNOLOGY RECRUITMENT<br />
20<br />
21