
I’ve been trading an increasing amount at the open and close of the equity markets using market-on-open (MOO) and market-on-close (MOC) order types and have found that the quality of executions varies enormously between the two types and have spent a bit of time analyzing the differences which I share below.
The quick scoop is that MOC orders almost invariably fill at the exchange’s published closing price, while MOOs vary very substantially from the published open price. Below I quantify my findings in a bit greater depth.
Read more…
back-testing, execution quality, performance analysis, post-trade analysis, strategy development

I mentioned several weeks ago that I’ve been developing and trading a strategy that’s proven to be quite interesting and profitable. In that post, I described how I’d tried to improve the strategy through the use of a dynamic hedge. The results of that crude hedge were quite good, but just as no worthwhile software project is ever really complete, trading strategies demand constant iterative development.
Below I describe some of the steps I’ve taken to incrementally improve this strategy, discarding the relatively expensive hedge I’d developed earlier in favor of a complementary strategy. We see that when you combine two positive and uncorrelated results, you end up with a product that is literally better than the sum of its parts.
Read more…
performance analysis, portfolio management, strategy development
People have long imagined ways to make money while they slept. Happily, it’s not a pursuit I’m particularly bothered by, but as I develop trading strategies, I do make note of different market behaviors that correlate to the time of day. Or night.
In particular, I’ve been looking at various market-breadth ETFs recently as possible fodder for the little dynamic hedger I’ve described before, and I’ve noticed an interesting behavior among several of them…
Like the majority of traders, they do better when they’re not trading!
That is, they actually display better performance at night than they do during the regular trading day; there’s more profit to be had in their gaps between sessions than there is during trading sessions. Below I quantify this observation more thoroughly…
Read more…
back-testing, strategy development
The always excellent Wilmott Magazine has recently posted a series of articles by Ed Thorp (pictured) in which he describes his experiences developing and evolving a statistical arbitrage product. Part I provides some insights into his current operation, revealing that he maintains a dollar-neutral portfolio as I’d discussed in another post, they trade some 1.5 billion shares / year, and that they limit position sizes to 2.5% on the long side of the portfolio and 1.5% on the short side. In Part II, he explains why a stat arb system is considered an “arbitrage” and how, with the help of a talented team and led by the insights of Gerry Bamberger, they developed the first iteration of a stat arb product. Part III details the evolution of the system from a set of dollar-neutral sector-oriented portfolios to the more general sets of portfolios generated through statistical factor analysis. He concludes with some anecdotes including the emergence of David E Shaw. Very recommended.
dereferenced, hedge funds, portfolio management, strategy development

I came across and had to share this excellent vignette by Freeman Dyson on the perils of excess model parameterization…
In desperation I asked Fermi whether he was not impressed by the agreement between our calculated numbers and his measured numbers. He replied, “How many arbitrary parameters did you use for your calculations?†I thought for a moment about our cut-off procedures and said, “Four.†He said, “I remember my friend Johnny von Neumann used to say, with four parameters I can fit an elephant, and with five I can make him wiggle his trunk.â€
back-testing, strategy development

I’ve recently been working-on and trading an equity strategy that has some great characteristics and some interesting challenges. The great characteristics revolve around its profitability, volatility and simplicity. The challenges start with the fact that the strategy generates alpha on the short side – thus, you are intrinsically swimming against the tide and can conceivably be ruined in a hurry. Your broker might also be unable to find inventory to short. Other challenges include the native capacity of the strategy – it’s not fundamentally scalable as a strategy and only a relatively small amount of money could be put against it without incurring increasingly onerous costs and risks. In any case, it’s been a fun strategy to develop as it’s an interesting puzzle and it makes money.
Discussing the strategy recently with a potential client, they observed that such a strategy wouldn’t be acceptable within their environment (apart the capacity issues) as their risk management practices required all strategies to maintain dollar neutrality – for any dollar of x that they used to buy something, they needed to sell a dollar of y. This led to an interesting experiment for me, the results of which I share with you below.
Read more…
performance analysis, portfolio management, strategy development
I recently had a pretty visceral encounter with the forces of friction. No, I didn’t fall off my bike – I’m talking about the friction inherent in trading activities. I’ve mentioned Andrew Lo’s market-neutral long-short algorithm before and it sees service as my blogging muse once again. I’ve modified his original algorithm such that it behaves reasonably well though, as he observes, it’s a strategy in long term decline. My recollection was that one might expect 15-20% from an unlevered deployment of the strategy.
Recently, I went to play with it and to my shock and horror it had become a wretched loser. In fact, an incredible loser. What had happened? I looked throughout my code and couldn’t find changes; this was corroborated by my CVS repository – no changes had been made to the strategy in a long while. Any coder is familiar with the natural entropy of software systems known pejoratively as “code rot” but this seemed an especially extreme case.
Read more…
back-testing, hedge funds, performance analysis, strategy development

Our algorithmic trading platform, StratBox, features a unique strategy component model that supports the modular development and re-use of “pieces” - we call them StratParts – of a quantitative trading strategy. StratParts expose metadata which can be manipulated by a human or software agent (e.g., a trader, an optimizer, a regime-switching protocol). A StratPart might be an entire strategy, a risk management component, a graphical or reporting component or really whatever a trader might envision. StratParts can be composed within the StratBox GUI to create a strategy which can be tested, analyzed and executed. Naturally, users can create their own StratParts which integrate seamlessly with the environment. Read more…
EMS Internals, strategy development, technology
He didn’t look like much, but old Rocky Marciano put his back into every awkward punch he threw. More remarkably, he remains the only heavyweight champion to have ever been smart enough to get out of the game on top. He was that rarest of characters – a winner who knew when to engage and when to step away.
I’ve written a good deal about losers and ideas that might not yield the results one’s looking (hoping) for, but I haven’t written too much about life’s winners. This, of course, is absolutely par for the course amongst traders. People aren’t in the habit of giving away trade secrets, leaving sums of money on the sidewalk or revealing their trading strategies. When they do (or claim to) is likely a good time to keep an especially watchful eye on your possessions…
Read more…
back-testing, performance analysis, portfolio management, strategy development

Among the more challenging questions we face when describing the Puppetmaster environment are those like “how do you create new proprietary trading strategies within the environment?” It’s a difficult question because of expectations – people want to hear about some super simple scripting language that any non-technical person can immediately learn and be up and algorithmically trading in no time. A few platforms intended for retail users offer such things – one is even appropriately named easy language. When researching approaches for our system, we spent some time learning easy language and found that it in fact did make easy things easy!
The problem was that it also made sophisticated things impossible.
This led us to pursue another, more powerful, approach for which we are currently seeking a patent.
Read more…
EMS Internals, events, open-source software, strategy development, technology