Tag Archives: stock market volatility

The Bionic Invisible Hand

Technology is omnipresent. The impacts of technology on markets and market structures are a topic of much debate recently. Some point to its influence to explain the lack of volatility in equity markets (ignoring this week’s wobble). Marko Kolanovic, a JPMorgan analyst, has been reported to have estimated that a mere 10% US equity market trading is now conducted by discretionary human traders.

The first wave of high frequency trading (HFT) brought about distortive practises by certain players such as front running and spoofing, as detailed in Michael Lewis’s bestselling exposé Flash Boys. Now HFT firms are struggling to wring profits from the incremental millisecond, as reported in this FT article, with 2017 revenues for HFT firms trading US stocks falling below $1 billion in 2017 from over $7 billion in 2009, according to the consultancy Tabb Group. According to Doug Duquette of Vertex Analytics “it has got to the point where the speed is so ubiquitous that there really isn’t much left to get”.

The focus now is on the impact of various rules-based automatic investment systems, ranging from exchange traded funds (ETFs) to computerised high-speed trading programs to new machine learning and artificial intelligence (AI) innovations. As Tom Watson said about HFT in 2011, these new technologies have the potential to give “Adam Smith’s invisible hand a bionic upgrade by making it better, stronger and faster like Steve Austin in the Six Million Dollar Man”.

As reported in another FT article, some experts estimate that computers are now generating around 50% to 70% of trading in equity markets, 60% of futures and more than 50% of treasuries. According to Morningstar, by year-end 2017 the total assets of actively managed funds stood at $11.4 trillion compared with $6.7 trillion for passive funds in the US.

Although the term “quant fund” covers a multitude of mutual and hedge fund strategies, assuming certain classifications are estimated to manage around $1 trillion in assets out of total assets under management (AUM) invested in mutual funds globally of over $40 trillion. It is believed that machine learning or AI only drives a small subset of quant funds’ trades although such systems are thought to be used as investment tools for developing strategies by an increasing number of investment professionals.

Before I delve into these issues further, I want to take a brief detour into the wonderful world of quantitative finance expert Paul Wilmott and his recent book, with David Orrell, called “The Money Formula: Dodgy Finance, Pseudo Science, and How Mathematicians Took Over the Markets”. I am going to try to summarize the pertinent issues highlighted by the authors in the following sequence of my favourite quotes from the book:

“If anybody can flog an already sick horse to death, it is an economist.”

“Whenever a model becomes too popular, it influences the market and therefore tends to undermine the assumptions on which it was built.”

“Real price data tend to follow something closer to a power-law distribution and are characterized by extreme events and bursts of intense volatility…which are typical of complex systems that are operating at a state known as self-organized criticality…sometimes called the edge of chaos.”

“In quantitative finance, the weakest links are the models.”

“The only half decent, yet still toy, models in finance are the lognormal random walk models for those instruments whose level we don’t care about.”

“The more apparently realistic you make a model, the less useful it often becomes, and the complexity of the equations turns the model into a black box. The key then is to keep with simple models, but make sure that the model is capturing the key dynamics of the system, and only use it within its zone of validity.”

“The economy is not a machine, it is a living, organic system, and the numbers it produces have a complicated relationship with the underlying reality.”

“Calibration is a simple way of hiding model risk, you choose the parameters so that your model superficially appears to value everything correctly when really, it’s doing no such thing.”

“When their [quants] schemes, their quantitative seizing – cratered, the central banks stepped in to fill the hole with quantitative easing.”

“Bandwagons beget bubbles, and bubbles beget crashes.”

“Today, it is the risk that has been created by high speed algorithms, all based on similar models, all racing to be the first to do the same thing.”

“We have outsourced ethical judgments to the invisible hand, or increasingly to algorithms, with the result that our own ability to make ethical decisions in economic matters has atrophied.”

According to Morningstar’s annual fund flow report, flows into US mutual funds and ETFs reached a record $684.6 billion in 2017 due to massive inflows into passive funds. Among fund categories, the biggest winners were passive U.S. equity, international equity and taxable bond funds with each having inflows of more than $200 billion. “Indexing is no longer limited to U.S. equity and expanding into other asset classes” according to the Morningstar report.

click to enlarge

Paul Singer of Elliott hedge fund, known for its aggressive activism and distressed debt focus (famous for its Argentine debt battles), dramatically said “passive investing is in danger of devouring capitalism” and called it “a blob which is destructive to the growth-creating and consensus-building prospects of free market capitalism”.

In 2016, JP Morgan’s Nikolaos Panagirtzoglou stated that “the shift towards passive funds has the potential to concentrate investments to a few large products” and “this concentration potentially increases systemic risk making markets more susceptible to the flows of a few large passive products”. He further stated that “this shift exacerbates the market uptrend creating more protracted periods of low volatility and momentum” and that “when markets eventually reverse, the correction becomes deeper and volatility rises as money flows away from passive funds back towards active managers who tend to outperform in periods of weak market performance”.

The International Organization of Securities Commissions (IOSCO), proving that regulators are always late to the party (hopefully not too late), is to broaden its analysis on the ETF sector in 2018, beyond a previous review on liquidity management, to consider whether serious market distortions might occur due to the growth of ETFs, as per this FT article. Paul Andrews, a veteran US regulator and secretary general of IOSCO, called ETFs “financial engineering at its finest”, stated that “ETFs are [now] a critical piece of market infrastructure” and that “we are on autopilot in many respects with market capitalisation-weighted ETFs”.

Artemis Capital Management, in this report highlighted in my previous post, believe that “passive investing is now just a momentum play on liquidity” and that “large capital flows into stocks occur for no reason other than the fact that they are highly liquid members of an index”. Artemis believes that “active managers serve as a volatility buffer” and that if such a buffer is withdrawn then “there is no incremental seller to control overvaluation on the way up and no incremental buyer to stop a crash on the way down”.

Algorithmic trading (automated trading, black-box trading, or simply algo-trading) is the process of using computers programmed to follow a defined set of instructions for placing a trade in order to generate profits at a speed and frequency that is impossible for a human trader.

Machine learning uses statistical techniques to infer relationships between data. The artificial intelligence “agent” does not have an algorithm to tell it which relationships it should find but infers, or learns if you like, from the data using statistical analysis to revise its hypotheses. In supervised learning, the machine is presented with examples of input data together with the desired output. The AI agent works out a relationship between the two and uses this relationship to make predictions given further input data. Supervised learning techniques, such as Bayesian regression, are useful where firms have a flow of input data and would like to make predictions.

Unsupervised learning, in contrast, does without learning examples. The AI agent instead tries to find relationships between input data by itself. Unsupervised learning can be used for classification problems determining which data points are similar to each other. As an example of unsupervised learning, cluster analysis is a statistical technique whereby data or objects are classified into groups (clusters) that are similar to one another but different from data or objects in other clusters.

Firms like Bloomberg use cluster analysis in their liquidity assessment tool which aims to cluster bonds with sufficiently similar behaviour so their historical data can be shared and used to make general predictions for all bonds in that cluster. Naz Quadri of Bloomberg, with the wonderful title of head of quant engineering and research, said that “some applications of clustering were more useful than others” and that their analysis suggests “clustering is most useful, and results are more stable, when it is used with a structural market impact model”. Market impact models are widely used to minimise the effect of a firm’s own trading on market prices and are an example of machine learning in practise.

In November 2017, the Financial Stability Board (FSB) released a report called “Artificial Intelligence and Machine Learning in Financial Services”. In the report the FSB highlighted some of the current and potential use cases of AI and machine learning, as follows:

  • Financial institutions and vendors are using AI and machine learning methods to assess credit quality, to price and market insurance contracts, and to automate client interaction.
  • Institutions are optimising scarce capital with AI and machine learning techniques, as well as back-testing models and analysing the market impact of trading large positions.
  • Hedge funds, broker-dealers, and other firms are using AI and machine learning to find signals for higher (and uncorrelated) returns and optimise trading execution.
  • Both public and private sector institutions may use these technologies for regulatory compliance, surveillance, data quality assessment, and fraud detection.

The FSB report states that “applications of AI and machine learning could result in new and unexpected forms of interconnectedness” and that “the lack of interpretability or ‘auditability’ of AI and machine learning methods has the potential to contribute to macro-level risk”. Worryingly they say that “many of the models that result from the use of AI or machine learning techniques are difficult or impossible to interpret” and that “many AI and machine learning developed models are being ‘trained’ in a period of low volatility”. As such “the models may not suggest optimal actions in a significant economic downturn or in a financial crisis, or the models may not suggest appropriate management of long-term risks” and “should there be widespread use of opaque models, it would likely result in unintended consequences”.

With increased use of machine learning and AI, we are seeing the potential rise of self-driving investment vehicles. Using self-driving cars as a metaphor, Artemis Capital highlights that “the fatal flaw is that your driving algorithm has never seen a mountain road” and that “as machines trade with against each other, self-reflexivity is amplified”. Others point out that machine learning in trading may involve machine learning algorithms learning the behaviour of other machine learning algorithms, in a regressive loop, all drawing on the same data and the same methodology. 13D Research opined that “when algorithms coexist in complex systems with subjectivity and unpredictability of human behaviour, unforeseen and destabilising downsides result”.

It is said that there is nothing magical about quant strategies. Quantitative investing is an approach for implementing investment strategies in an automated (or semi-automated) way. The key seems to be data, its quality and its uniqueness. A hypothesis is developed and tested and tested again against various themes to identify anomalies or inefficiencies. Jim Simons of Renaissance Technologies (called RenTec), one of the oldest and most successful quant funds, said that the “efficient market theory is correct in that there are no gross inefficiencies” but “we look at anomalies that may be small in size and brief in time. We make our forecast. Then, shortly thereafter, we re-evaluate the situation and revise our forecast and our portfolio. We do this all-day long. We’re always in and out and out and in. So we’re dependent on activity to make money“. Simons emphasised that RenTec “don’t start with models” but “we start with data” and “we don’t have any preconceived notions”. They “look for things that can be replicated thousands of times”.

The recently departed co-CEO Robert Mercer of RenTec [yes the Mercer who backs Breitbart which adds a scary political Big Brother surveillance angle to this story] has said “RenTec gets a trillion bytes of data a day, from newspapers, AP wire, all the trades, quotes, weather reports, energy reports, government reports, all with the goal of trying to figure out what’s going to be the price of something or other at every point in the future… The information we have today is a garbled version of what the price is going to be next week. People don’t really grasp how noisy the market is. It’s very hard to find information, but it is there, and in some cases it’s been there for a long long time. It’s very close to science’s needle in a haystack problem

Kumesh Aroomoogan of Accern recently said that “quant hedge funds are buying as much data as they can”. The so-called “alternative data” market was worth about $200 million in the US in 2017 and is expected to double in four years, according to research and consulting firm Tabb Group. The explosion of data that has and is becoming available in this technological revolution should keep the quants busy, for a while.

However, what’s scaring me is that these incredibly clever people will inevitably end up farming through the same data sets, coming to broadly similar conclusions, and the machines who have learned each other’s secrets will all start heading for the exits at the same time, in real time, in a mother of all quant flash crashes. That sounds too much like science fiction to ever happen though, right?

Keep on moving, 2018

As I re-read my eve of 2017 post, its clear that the trepidation coming into 2017, primarily caused by Brexit and Trump’s election, proved unfounded in the short term. In economic terms, stability proved to be the byword in 2017 in terms of inflation, monetary policy and economic growth, resulting in what the Financial Times are calling a “goldilocks year” for markets in 2017 with the S&P500 gaining an impressive 18%.

Politically, the madness that is British politics resulted in the June election result and the year ended in a classic European fudge of an agreement on the terms of the Brexit divorce, where everybody seemingly got what they wanted. My anxiety over the possibility of a European populist curveball in 2017 proved unfounded with Emmanuel Macron’s election. Indeed, Germany’s election result has proven a brake on any dramatic federalist push by Macron (again the goldilocks metaphor springs to mind).

My prediction that “volatility is likely to be ever present” in US markets as the “realities of governing and the limitations of Trump’s brusque approach becomes apparent” also proved to be misguided – the volatility part not the part about Trump’s brusque approach! According to the fact checkers, Trump made nearly 2,000 false or misleading claims in his first year, that’s an average of over 5 a day! Trump has claimed credit for the amazing performance of the 2017 equity market no less than 85 times (something that may well come back to bite him in the years ahead). The graph below does show the amazing smooth performance of the S&P500 in 2017 compared to historical analysts’ predictions at the beginning of the year (see this recent post on my views relating to the current valuation of the S&P500).

click to enlarge

As for the equity market in 2018, I can’t but help think that volatility will make a come-back in a big way. Looking at the near unanimous positive commentators’ predictions for the US equity market, I am struck by a passage from Andrew Lo’s excellent book “Adaptive Markets” (which I am currently reading) which states that “it seems risk-averse investors process the risk of monetary loss with the same circuit they contemplate viscerally disgusting things, while risk-seeking investors process their potential winnings with the same reward circuits used by drugs like cocaine”. Lo further opines that “if financial gain is associated with risky activities, a potentially devastating loop of positive feedback can emerge in the brain from a period of lucky investments”.

In a recent example of feeding the loop of positive feedback, Credit Suisse stated that “historically, strong returns tend to be followed by strong returns in the subsequent year”. Let’s party on! With a recent survey of retail investors in the US showing that over 50% are bullish and believe now is a good time to get into equities, it looks like now is a time where positive feedback should be restrained rather than being espoused, as Trump’s mistimed plutocratic policies are currently doing. Add in a new FED chair, Jay Powell, and the rotation of many in the FOMC in 2018 which could result in any restriction on the punch bowl getting a pass in the short term. Continuing the goldilocks theme feeding the loop, many commentators are currently predicting that the 10-year treasury yield wouldn’t even breach 3% in 2018! But hey, what do I know? This party will likely just keep on moving through 2018 before it comes to a messy end in 2019 or even 2020.

As my post proved last year, trying to predict the next 12 months is a mugs game. So eh, proving my mug credentials, here goes…

  • I am not even going to try to make any predictions about Trump (I’m not that big of a mug). If the Democrats can get their act together in 2018 and capitalize on Trump’s disapproval ratings with sensible policies and candidates, I think they should win back the House in the November mid-terms. But also gaining control of the Senate may be too big an ask, given the number of Trump strong-holds they’ll have to defend.
  • Will a Brexit deal, both the final divorce terms and an outline on trade terms, get the same fudge treatment by October in 2018? Or could it all fall apart with a Conservative implosion and another possible election in the UK? My guess is on the fudge, kicking the can down the transition road seems the best way out for all. I also don’t see a Prime Minster Corbyn, or a Prime Minister Johnson for that matter. In fact, I suspect this time next year Theresa May will still be the UK leader!
  • China will keep on growing (according to official figures anyway), both in economics terms and in global influence, and despite the IMF’s recent warning about a high probability of financial distress, will continue to massage their economy through choppy waters.
  • Despite a likely messy result in the Italian elections in March with the usual subsequent drawn out coalition drama, a return of Silvio Berlusconi on a bandwagon of populist right-wing policies to power is even too pythonesque for today’s reality (image both Trump and Berlusconi on the world stage!).
  • North Korea is the one that scares me the most, so I hope that the consensus that neither side will go there holds. The increasingly hawkish noises from the US security advisors is a worry.
  • Finally, as always, the winner of the World Cup in June will be ……. the bookies! Boom boom.

A happy and health New Year to all.

Farewell, dissonant 2016.

Many things will be written about the events of 2016.

The populist victories in the US election and the UK Brexit vote will no doubt have some of the biggest impacts amongst the developed world. Dissatisfaction amongst the middle class across the developed world at their declining fortunes and prospects, aligned with the usual disparate minorities of malcontent, has forced a radical shift in support away from the perceived wisdom of the elite on issues such as globalisation. The strength of the political and institutional systems in the US and the UK will surely adapt to the 2016 rebuff over time.

The more fundamental worry for 2017 is that the European institutions are not strong enough to withstand any populist curveball, particularly the Euro. With 2017 European elections due in France, Germany, Netherlands and maybe in Italy, the possibility of further populist upset remains, albeit unlikely (isn’t that what we said about Trump or Brexit 12 months ago!).

The 5% rise in the S&P 500 since Trump’s election, accounting for approx half of the overall increase in 2016, has made the market even more expensive with the S&P 500 currently over 60% of its historical average based upon the 12 month trailing PE and the Shiller CAPE (cyclically adjusted price to earnings ratio, also referred to as the PE10). A recent paper by Valentin Dimitrov and Prem C. Jain argues that stocks outperform 10-year U.S. Treasuries regardless of CAPE except when CAPE is very high (the current CAPE is just above the “very high” reference point of 27.6 in the paper) and that a high CAPE is an indicator of future stock market volatility. Bears argue that the President elect’s tax and expansionary fiscal policies will likely lead to higher interest rates and inflation in 2017 which will further strengthen the dollar, both of which will pressure corporate earnings.

Critics of historical PE measures like CAPE, such as Jeremy Siegel in this paper (previous posts on this topic are here and here), highlight the failings of using GAAP earnings and point to alternative metrics such as NIPA (national income and product account) after-tax corporate profits which indicate current valuations are more reasonable, albeit still elevated above the long term average by 20%-30%. The graph below from a Yardeni report illustrates the difference in the earnings metrics.

click to enlargenipa-vrs-sp500-earnings

Bulls further point to strong earnings growth in 2017 complemented by economic stimulus and corporate tax giveaways under President Trump. Goldman Sachs expects corporations to repatriate approx $200 billion of overseas cash and to spend a lot of it buying back stock rather than making capital expenditures (see graph below) although the political pressure to invest in the US may impact the balance.

click to enlargesp500-use-of-cash-2000-to-2017

The consensus amongst analysts predict EPS growth in 2017 in the high single digits, with many highlighting further upside depending upon the extent of the corporate tax cuts that Trump can get past the Republican congress. Bulls argue that the resulting forward PE ratio for the S&P 500 of approx 17 only represents a 20% premium to the longer term average. Predictions for the S&P 500 for 2017 by a selection of analysts can be seen below (the prize for best 2016 prediction goes to Deutsche Bank and UBS). It is interesting that the average prediction is for a 4% rise in the S&P500 by YE 2017, hardly a stellar year given their EPS growth projections!

click to enlargesp500-predictions-2017

My best guess is that the market optimism resulting from Trump’s victory continues into 2017 until such time as the realities of governing and the limitations of Trump’s brusque approach becomes apparent. Volatility is likely to be ever present and actual earnings growth will be key to the market story in 2017 and maintaining high valuation multiples. After all, a low or high PE ratio doesn’t mean much if the earnings outlook weakens; they simply indicate how far the market could fall!

Absent any significant event in the early days of Trump’s presidency (eh, hello, Mr Trump’s skeleton cupboard), the investing adage about going away in May sounds like a potentially pertinent one today. Initial indications of Trump’s reign, based upon his cabinet selections, indicate sensible enough domestic economy policies (relatively) compared with an erratic foreign policy agenda. I suspect Trump first big foreign climb down will come at the hands of the Chinese, although his bromance with Putin also looks doomed to failure.

How Brexit develops in 2017 looks to be much more worrying prospect. After watching her actions carefully, I am fast coming to the conclusion that Theresa May is clueless about how to minimise the financial damage from Brexit. Article 50 will be triggered in early 2017 and a hard Brexit now seems inevitable, absent a political shock in Europe which results in an existential threat to the EU and/or the Euro.

The economic realities of Brexit will only become apparent to the UK and its people, in my view, after Article 50 is triggered and chunks of industry begin the slow process of moving substantial parts of their operation to the continent. This post illustrates the point in relation to London’s insurance market. The sugar high provided by the sterling devaluation after Brexit is fading and the real challenge of extracting the UK from the institutions of the EU are becoming ever apparent.

Prime Minister May should be leading her people by arguing for the need for a sensible transition period to ensure a Brexit logistical tangle resulting in unnecessary economic damage is avoided. Instead, she acts like a rabbit stuck in the headlights. Political turmoil seems inevitable as the year develops given the current state of the UK’s fractured political system and lack of sensible leadership. The failure of a coherent pro-Europe political alternative to emerge in the UK following the Brexit vote, as speculated upon in this post, is increasingly looking like a tragedy for the UK.

Of course, Trump and Brexit are not the only issues facing the world in 2017. China, the Middle East, Russia, climate change, terrorism and cyber risks are just but a few of the issues that seem ever present in any end of year review and all will likely be listed as such in 12 months time. For me, further instability in Europe in 2017 is the most frightening potential addition to the list.

As one ages, it becoming increasingly understandable why people think their generation has the best icons. That said, the loss of genuine icons like Muhammad Ali and David Bowie (eh, sorry George Michael fans) does put the reality of the ageing (as highlighted in posts here and here) of the baby boomer generation in focus. On a personal note, 2016 will always be remembered by me for the loss of an icon in my life and emphasizes the need to appreciate the present including all of those we love.

So on that note, I’d like to wish all of my readers a prosperous, happy and healthy 2017. It looks like there will be plenty to write about in 2017…..