<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hack the market &#187; market structure</title>
	<atom:link href="http://www.puppetmastertrading.com/blog/index.php/category/market-structure/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.puppetmastertrading.com/blog</link>
	<description>algorithmic trading experiences</description>
	<lastBuildDate>Sat, 20 Nov 2010 14:46:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>into a pool, darkly</title>
		<link>http://www.puppetmastertrading.com/blog/2010/11/20/into-a-pool-darkly/</link>
		<comments>http://www.puppetmastertrading.com/blog/2010/11/20/into-a-pool-darkly/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 14:20:43 +0000</pubDate>
		<dc:creator>tito</dc:creator>
				<category><![CDATA[market structure]]></category>
		<category><![CDATA[strategy development]]></category>

		<guid isPermaLink="false">http://www.puppetmastertrading.com/blog/?p=1241</guid>
		<description><![CDATA[This past spring I was compelled to rejoin what one of my former partners had longingly referred to as &#8220;civilization.&#8221; The process of rejoining the civilized was itself of note in an environment so changed as to be unrecognizable, but I&#8217;ll skip that for now.  Instead I have some observations on the interesting spot in [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 290px"><a href="http://www.flickr.com/photos/jochenabitz/2264923623/"><img class="   " src="http://puppetmastertrading.com/images/poolAtNight.jpg" alt="" width="280" height="188" /></a><p class="wp-caption-text">photo credit: Jochen Abitz @flickr</p></div>
<p>This past spring I was compelled to rejoin what one of my former partners had longingly referred to as &#8220;civilization.&#8221; The process of rejoining the <em>civilized </em>was itself of note in an environment so changed as to be unrecognizable, but I&#8217;ll skip that for now.  Instead I have some observations on the interesting spot in which I&#8217;ve found myself: writing <a title="Wiki: Dark Pools of Liquidity" href="http://en.wikipedia.org/wiki/Dark_pool" target="_blank">dark pool</a> aware algos from the inside.  That is, I&#8217;m working for a block trading &#8216;dark pool&#8217; working on the team that develops their quantitative strategies.</p>
<p>While still within the world of algorithmic trading, this is a substantial change from what I&#8217;d been doing before and has proven a rich ground for learning, in particular about market structure.  The biggest aspect of the change &#8211; besides being civilized &#8211; is the change of perspective from the prop trader to, effectively, an execution trader.  As a prop trader you are looking to identify and execute trading opportunities.  Seeking alpha.  Instead, as an execution trader you receive orders and need to execute them with some highly customized sets of constraints.  You want to get things done over some time frame with some appropriate balance of aggressiveness and stealth.  Liquidity seeking.  The &#8216;what&#8217; has already been decided for you; it&#8217;s the &#8216;how&#8217; you need to worry about.  Thus, there&#8217;s some loss of &#8216;agency&#8217; in going from the former role to the latter and this corresponds precisely and inversely with the notion of agency trading.</p>
<p>Going from alpha-seeking to seeking-liquidity is a change of perspective, but the blocking and tackling are constant.  In the end, you&#8217;re trading &#8211; managing orders and positions and deluges of market data and analytics; familiar, fun stuff.</p>
<p>What I&#8217;ve found most interesting is the new perspective I&#8217;m afforded on market structures.</p>
<p><span id="more-1241"></span><strong>the default structure of a market is a social network</strong></p>
<p>My first job on wall st was on a muni desk in the mid 90&#8242;s; there was no exchange and market structure was effectively a social network.  Since then, I&#8217;ve always worked around exchange-traded instruments: futures, equities, and options on either.  Exchanges have a lot to be said for them.  We&#8217;ve seen the results of too much <a title="perfect crime" href="http://www.puppetmastertrading.com/blog/2009/11/02/perfect-crime/" target="_blank">creativity</a> and too little oversight in the magnificently free world away from exchanges.  But exchange-traded instruments haven&#8217;t been standing still.  While futures markets have exploded volume-wise and imploded as players have collapsed into one another through consolidations, US equity markets have fragmented pretty wildly.  This equity fragmentation has been especially interesting for its effects on market structure alongside the parallel &#8216;rise of the machines&#8217; in the form of high-frequency trading.</p>
<p>Equity markets have fragmented in accordance with <a title="SEC's Reg ATS" href="http://sec.gov/rules/final/34-40760.txt" target="_blank">Reg ATS</a> which provides guidelines on how Alternative Trading Systems (ATS) must behave in order to stay in good standing with the relevant authorities.  While the number of exchanges has grown slowly, ATSes have risen and fallen like city eateries over the past decade.  The interesting thing about Reg ATS is that while it covers lots of requirements, it also allows quite a bit of latitude in the determination of the microstructure of the ATS.</p>
<p><strong>market structure machines</strong></p>
<p>One, perhaps fanciful, view of dark pools is that they collectively represent a crucible in which market structures are being actively mutated and evolved.  Some experiments yield value, meet a real need and are adopted and copied while others fizzle out or perhaps even look to skirt the rules a bit.  Outside of the pools, you have all sorts of market participants always eager to glean any advantage they might from any information leakage &#8211; intentional or otherwise &#8211; from within the dynamic ATS ecology.  This is where gaming can come into play.  But, according to me, the most interesting game is played-out in the making of the very definitions of the pools themselves and how they interact with external parties.</p>
<p>Here again, we see the fundamental distinction between roles that trading entities can play.  ATSes are commercial entities; just as any broker dealer can determine if it will do principal trading or remain purely agency, ATSes can decide how they will seek to bring volumes to their venue and they can adjust their offerings at any time.  Keeping up with these changing microstructures can be a full-time job and handily explains the existence of  so-called &#8216;Smart&#8217; Order Routers (SORs), dark &#8216;aggregation&#8217; algos and such offerings as Rosenblatt&#8217;s excellent <a title="LTBL" href="http://www.rblt.com/lettherebelight.aspx" target="_blank">Let There Be Light</a> (LTBL) series.  If everybody is constantly changing their prices and adjusting their rules, it&#8217;s very non-trivial to figure out where something can best get done at any given moment in time.</p>
<p>It&#8217;s possible and illuminating to consider a venue itself as something of a trade (&#8220;value proposition&#8221;) wherein the venue is trying to add value to the overall marketplace and/or their own flow trading operations.  A market-maker or high-frequency shop might require a steady diet of deliciously uninformed retail order flow to manage their inventories.  A firm which possessed such a flow might trade against it themselves (&#8220;internalization&#8221;), might &#8220;cross&#8221; it against other client orders and might &#8220;preference&#8221; it to other interested parties like our market-maker.  They might do some combination of all three.</p>
<p>Thus, based on their motivations and goals, dark pools will self-organize in a multitude of ways as they try to meet these needs and satisfy their target constituencies.  Dark pools arose to meet a number of needs amongst financial market participants, including block trading, flow trading, utility and branding &amp; marketing purposes.  Block trading has been around forever and used to be a point-to-point social network wherein brokers simply knew which brokers specialized in blocks or might happen to have a relevant block handy.  A lot like the old muni desk.  This model was replaced by the current pioneers of &#8216;dark pool&#8217; block trading venues.  But by far the biggest dark pools from a volume perspective are those created by, yes, market-makers or hft shops for internalization purposes and large broker dealers for internalization and crossing purposes: flow trading.</p>
<p>A telling measure of the nature of a given venue is its average trade size.  Large sizes are done by block traders, whilst most flow is done in smaller sizes.  Some dark pools have average trade sizes that are even smaller than those on the &#8216;lit&#8217; exchanges.</p>
<p><strong>structural topologies, too</strong></p>
<p>Given the different motivations of the various  constituencies providing and utilizing dark venues, it&#8217;s clear that to  really understand a pool&#8217;s character, one must understand the  motivations of those providing it.  You can change the microstructure in  any number of different ways, but in the end a market remains fundamentally a social network.</p>
<p>One final aspect of market structure which I&#8217;m only now coming to appreciate for its full worth is the <em>topology</em> of market structures.  When you view the flows of orders, etc from the perspective of a venue, routing becomes a surprisingly significant part of your considerations.  When you add-in the fact that there are many inter-relations amongst all these flows, it changes the nature of markets themselves.  You can wind up with all sorts of convoluted situations stemming from &#8216;topological&#8217; considerations.  Venue A doesn&#8217;t take traffic from B, but does from C and E; B wants to get to A and has a relationship with E.  Is there now a route from B to E?  It&#8217;s complicated and it&#8217;s an area in which it&#8217;s hard to find published research.  After all, it is dark.</p>
<p><strong>into a pool, darkly</strong></p>
<p>Plunging into this environment has been quite the fun dunk as all of the aforementioned acts as the background against which my algos must now play.  This has fundamentally enriched my view of the equity markets.  Apart market structure considerations, there have been other lessons as well.</p>
<p>The problem of trading in size is one that I simply hadn&#8217;t had to worry about before.  That is, when sizes are denoted as significant percentages (or multiples!) of a given name&#8217;s Average Daily Volume (ADV), trading takes on a very different character.  When you&#8217;re looking to trade <em>in size </em>in this sense, even your analytical interests will change.   Never before have historical volume curves looked so meaningful!</p>
<p>Another nicety has been that algorithmic &#8216;execution-quality&#8217; trading, as a practice, is vastly better documented than the alpha-seeking variety, so it&#8217;s possible to learn from a very richly developed, quantitatively rigorous, body of knowledge and publication.  From a learning perspective, I&#8217;ve dropped into a target-rich environment.</p>
<blockquote><p>&#8220;Y&#8217;know, watching government regulators trying to keep up  with the world    is my favorite sport.&#8221; &#8211; character L. Bob Rife in  Neal Stephenson&#8217;s <a title="Wiki: Snow Crash" href="http://en.wikipedia.org/wiki/Snow_Crash" target="_blank">Snow Crash</a>.</p></blockquote>
<p>From a regulatory perspective also, it&#8217;s an <a title="Traders Magazine: End of the Line?" href="http://www.tradersmagazine.com/issues/20_298/sec-mary-schapiro-robert-greifeld-dark-pools-ats-104351-1.html?pg=1" target="_blank">interesting</a> environment. As I&#8217;ve argued <a title="It's not about microstructure" href="http://www.puppetmastertrading.com/blog/2009/08/07/its-not-about-microstructure/" target="_blank">before</a> (notably &#8211; before I started working for a dark pool), while these are areas that need to be regulated, they are not even close to the real sources of today&#8217;s serious financial issues.  Thus, much of the very animated talk about microstructure &#8211; principally regarding HFTs and dark pools is at best misguided and probably diversionary.</p>
<p>I&#8217;m finding the dark illuminating.</p>
<p>&#8211;</p>
<p>The opinions expressed  here may or may not be my own by the time you read them, but are most certainly NOT those of my employer.<em> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.puppetmastertrading.com/blog/2010/11/20/into-a-pool-darkly/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>dingbat kabuki</title>
		<link>http://www.puppetmastertrading.com/blog/2010/01/28/dingbat-kabuki/</link>
		<comments>http://www.puppetmastertrading.com/blog/2010/01/28/dingbat-kabuki/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 13:08:01 +0000</pubDate>
		<dc:creator>tito</dc:creator>
				<category><![CDATA[execution quality]]></category>
		<category><![CDATA[market structure]]></category>
		<category><![CDATA[our managed markets]]></category>
		<category><![CDATA[post-trade analysis]]></category>

		<guid isPermaLink="false">http://www.puppetmastertrading.com/blog/?p=973</guid>
		<description><![CDATA[Like many Americans, last night I dutifully switched on my TV at 9pm to see the State of our Union.  Always a spectacle, America&#8217;s leadership have upped the surreality ante with the bizarre backdrop of Biden lip-synching amiably in the background whilst Madame Speaker sat with all the calm collection of a fish on a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="/images/kabuki.gif" alt="" width="200" height="304" /> Like many Americans, last night I dutifully switched on my TV at 9pm to see the State of our Union.  Always a spectacle, America&#8217;s leadership have upped the surreality ante with the bizarre backdrop of Biden lip-synching amiably in the background whilst Madame Speaker sat with all the calm collection of a fish on a hook and never seemed fully in control of herself or her eyebrows.  The spectacle of would&#8217;ve-been king McCain sitting there and glowering openly at the lecturn as his confederates sat in stony silence while their &#8216;opposition&#8217; applauded like drunken high schoolers at a home coming at every mundane utterance proved a bit much and I had turned off the glowing beacon of groupthink by 9:25 and gone to investigate something on my computer.  I was surprised and delighted to see that it was still available: dingbatkabuki.com</p>
<p><strong>Dingbat Kabuki and other <em>structural</em> market hacks</strong></p>
<p>When I first started puppetmaster trading, one of my dearest friends, a Yale-educated economist and professor of same, asked me an important question.  He asked:</p>
<blockquote><p>In the markets, there are always &#8216;insiders&#8217; who have the ability to trade on knowledge that you <em>can&#8217;t</em> know or with an advantage that you <em>can&#8217;t</em> have.  How are you going to compete with these players?</p></blockquote>
<p>I provided a variety of answers, but at the time my conception of the universe of people with both inside knowledge and the ability to trade on it was limited to cases like that of Mr Rajaratnam.  I believed that cases like these were constrained by clear laws that were duly surveilled and prosecuted by the appropriate authorities.  The problem seemed like a very real one, but constrained in size and not essential to my enterprise.  I still hope that my belief of the time was true, but since then I&#8217;ve certainly understood that there&#8217;s more than one way to hack the market.</p>
<p>For some, a market hack might consist of some kind of simple (or complex) algorithm(s) applied to some set of markets.  But this really isn&#8217;t a hack so much as it&#8217;s a trading strategy &#8211; like many that have long existed &#8211; only that it&#8217;s now implemented in software where originally it would have been implemented in wetware.  While implementing trading strategies in software does open up new vistas in terms of the kinds of strategies that you can look to implement &#8211; computers are faster than people by a noteworthy amount in many tasks &#8211; but, for the most part, you&#8217;re really still just trading and when you take on positions, you are still bearing risk.  You might be &#8216;hacking&#8217; but it&#8217;s really not a market hack as I&#8217;ve come to appreciate.</p>
<p><span id="more-973"></span></p>
<p><strong>hack the market structure </strong></p>
<p>Another area where my perspective has changed substantively since those halcyon days of &#8217;05 is my appreciation for market (micro) structure.  In futures, market structure is pretty plain as most contracts are effectively monopolies run by their listing exchanges.  There are a few cases of instruments which are tradable across markets, but a rich market microstructure is just not a core identifying characteristic for futures like it is in the fragmented and incredibly dynamic and quickly developing world of equities.  So, while there are some dozens of futures exchanges scattered about the globe, as a futures trader, routing algorithms just don&#8217;t enter the picture except in limited and relatively simple cases.</p>
<p>If I have a view on or a hedging need for interest rates that I see effectively expressed through futures, then I go to e.g. the cme and I don&#8217;t need to worry my pretty head about getting a great execution because the exchange is in one place and it&#8217;s all lit up and filled to the brim with liquidity.  Easy peasy.  But if I have a view on, say, General Electric that I want to express with an equity position and I&#8217;m trading in sufficient size or sufficiently close to the market that I really want to ensure best execution, then I might find the need to look around some dozens of lit exchanges and maybe even ping about in a dark pool or twelve.  This is decidedly not easy peasy and is one of the reasons wall st has an insatiable hunger for propeller heads with advanced degrees in seemingly unrelated fields.</p>
<p>Last summer&#8217;s brouhaha about &#8216;flash&#8217; orders first illuminated for many a rich ground for genuine market hacks: the incredibly dynamic terrain of equity market micro structure which changes almost daily with the emergence of new exchanges, ATSes, order types, rebates and pricing structures and all of the many other critical minutia that differentiate the many venues.  Some of these undoubtedly provide meaningful and important services; contrary to populist inclination, dark pools are largely a defense <em>against</em> frothy HF trading strategies.</p>
<p>But the concern (if perhaps not all of the attention) is <a title="Rosenblatt's view on HF Trading" href="http://hft.thomsonreuters.com/files/2009/11/Rosenblatt-HFTexcerpt4Reuters2.pdf" target="_blank">merited</a>.   Equity microstructural &#8216;rules&#8217; change so quickly that even independent and upright regulators could hardly be expected to keep up.  This is clearly fertile ground for genuine &#8211; if perhaps fleeting &#8211; market hacks.</p>
<p><strong><a title="Wiki: Steganography" href="http://en.wikipedia.org/wiki/Steganography" target="_blank">steganography</a> and hacking the market<br />
</strong></p>
<p>What characteristics make equity market structure a fertile ground for these kinds of genuine market hacks which I&#8217;m describing?  I think the main answer is to be found in the ancient art of steganography &#8211; hiding in plain site.  Everything about equity market microstructure is public.  All of the rules for each of the venues are available to the people who might make use of them.  Unraveling what they <em>imply</em> about where you should be executing for any given order is the tricky bit which is hardly revealed through a simple reading of all of the various rules.</p>
<p>Where else do we see this phenomenon?  The US Tax code comes to mind (sort of like the iPhone: &#8220;there&#8217;s a loophole for that&#8221;).  The 2,000 page health care bill comes to mind.  Everybody seems to care about health care, but who&#8217;s actually read that bill?  Who could?</p>
<p>Totally public yet it may as well be encrypted.  Steganography.</p>
<p>Elizabeth Warren has also made this observation in the context of contracts made between banks and their retail clientele.  Noted scholar Scott Adams dubbed it a &#8216;<a title="Wiki: Confusopoly" href="http://en.wikipedia.org/wiki/The_Dilbert_Future" target="_blank">confusopoly</a>.&#8217;</p>
<blockquote><p><em>a group of companies with similar products who intentionally confuse customers instead of competing on price</em></p></blockquote>
<p>So, could people hack the tax code?  <a title="Hanky panky" href="http://www.puppetmastertrading.com/blog/2009/01/08/and-this-little-piggy-hollowed-out-our-nation/" target="_blank">Hank</a> and I think so.  So do my friends in the <a title="Play by the rules" href="http://www.puppetmastertrading.com/blog/2009/04/13/playing-by-the-rules/" target="_blank">lobbying business</a>.  How about all those recently converted bank holding companies &#8211; hack much?  In my last post we read one insider&#8217;s view that Madoff had effectively hacked the SEC&#8230; perhaps regulatory organizations themselves are also hackable instruments!  How about that health care bill?  &#8230;</p>
<p><strong>misdirecting the hack</strong></p>
<p>A lot of attention has focused recently on exchange traded markets and people are up in arms about HF traders and proprietary trading.  I&#8217;ve argued <a title="it's not about microstructure" href="http://www.puppetmastertrading.com/blog/2009/08/07/its-not-about-microstructure/" target="_blank">before</a> that this appears to be a great ploy to take attention away from the real issues at hand; in the worst case, HFT improprieties might account for no more than 1% of the money <em>disappeared</em> in the last few years as part of the so-called &#8216;credit crisis&#8217;.  It&#8217;s easy for non-finance-professionals not to understand that the big bad wolves of the credit crisis essentially all happened off market in essentially unregulated multi-trillion dollar otc markets of <a title="perfect crime" href="http://www.puppetmastertrading.com/blog/2009/11/02/perfect-crime/" target="_blank">ingeniously engineered</a> structured products. These are the <em>real</em> market hackers.  Exchange traded instruments had effectively nothing to do with our current circumstances but remain a convenient scapegoat.</p>
<p>Some argue persuasively that there are fundamental, <a title="Murray Rothbard: The Case Against the Fed" href="http://mises.org/books/fed.pdf" target="_blank">structural market hacks</a> at the very foundations of our financial system.  I wouldn&#8217;t know.  But it is the kind of thing one might think about while watching the highly stylized performance of our leaders last night.</p>
<p><strong>dingbat kabuki and the transparent market hack</strong></p>
<p>To my knowledge, Cal&#8217;s (go bears!) Professor Brad DeLong coined the term &#8216;dingbat kabuki&#8217; back in 2005 in <a title="the original" href="http://delong.typepad.com/sdj/2005/10/dingbat_kabuki_.html" target="_blank">shrill response</a> to a Washington Post article.  He reprised the term this week in response to the latest bit of <a title="Andrew Mellon's rotting corpse" href="http://delong.typepad.com/sdj/2010/01/barack-herbert-hoover-obama.html" target="_blank">macroeconomic genius</a> out of washington.  What an inspired phrase.  Yesterday at 2:30 and last night at 9pm the markets voiced their applause and cheered on the performance.</p>
<p>Indeed, it is masterful.</p>
<p>&#8211;</p>
<p>A technical note about this post.  While writing it, I seem to have accidentally published it at some point and then realized the error and &#8216;unpublished&#8217; it.  I apologize if this had any untoward effects on you or your RSS reader.</p>
<p><strong><br />
</strong></p>
<p style="text-align: center;"><img class="aligncenter" src="/images/musashi.jpg" alt="" width="677" height="325" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.puppetmastertrading.com/blog/2010/01/28/dingbat-kabuki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

