Category: Investing Insight

Investing insight to make you a better investor.

Beyond Payoff Diagrams

In our previous post, we discussed how you can use a Nifty May 6600/6750 Long Put Spread to express a bearish view. However, the payoff diagram, only shows the P&L at expiry. The underlying can take a completely random path towards that payoff, impacting your daily mark-to-market.

Visualizing θ

One way to visualize it to keep all inputs to the model the same and compute the prices of the the options at different price points. Additionally, you can also plot historical values of your spread to give you an idea of where they are at.

NIFTY 6600-6750 Long Put Spread

Note: y-axis is not P&L

As you can see, its only at the very end of the spread’s life that its model value gets pulled towards the values shown in the payoff diagram. This is largely due to θ-decay.

Takeaways

If you are in-the-money on your spreads, then it makes sense to keep the position open till expiry. Most of the gains are accrued at the fag-end of the term.

Investment Theme Performance Roundup

WHAT IS A “THEME””?

A StockViz Investment Theme is a portfolio of stocks that follows a particular strategy. It is a convenient way for you to:

  1. stick to a strategy
  2. follow a preset rebalancing schedule
  3. think in terms of your portfolio strategy rather than individual stocks
  4. avoid common behavioral pitfalls
  5. systematically track your P&L and strategy performance

WHAT IS AN INVESTMENT STRATEGY?

An investment strategy is a specific way of going about the process of investing. It identifies specific variables that define a stock. Variables can be anything: risk, style, sector, balance-sheet items, etc..

We also have themes based on what other brokers have recommended at different points in time.

By mapping specific Themes to your account, you ensure that you stay pure to your strategy allocation. And that there is no “flying by the seat of your pants” investing.

How have your themes performed?

Since March 3rd this year, here’s how they have performed:

It was a time when both high-beta and value performed nicely. Velocity, one of our momentum themes, got walloped because it was tech and pharma heavy.

Previous performance roundup can be found here.

How have other brokers performend?

Since March 3rd this year, here’s how they have performed:

What if I had just invested in ETFs?

PSUBNKBEES +41.41%
BANKBEES +28.06%
INFRABEES +23.61%
JUNIORBEES +13.08%
NIFTYBEES +10.07%
GOLDBEES -3.42%
PSU banks – you can hate them all you want, but this was one heck of a recovery trade. What is surprising is that most themes ended up beating the Nifty and the Jr. Nifty ETFs.

WHAT SHOULD I DO NEXT?

You should open a demat account with StockViz and invest through our Themes.

The Disruptor’s Dilemma

On our shark-fin posts earlier (here, here), we saw how even the most entrenched industries are getting disrupted as the cost of innovation plummets. But that is not to say disruption is easy. Incumbents have a number of levers to pull before they fade away. The biggest lever of them all is regulation.

Tesla Motors

Tesla wanted to sell its cars directly to consumers. But this threatens the business model of car dealerships. So New Jersey’s franchise auto dealers association successfully got the state to make a ruling that prohibited Tesla from selling its luxury electric vehicles directly to consumers.

And its not just in New Jersey. Auto dealers around the US have been lobbying their state governments to force Tesla to change its ways. Dealers like the existing system, and they don’t want other automakers to get any ideas.

So while Tesla can cry itself hoarse as to how a direct sales model is beneficial to its customers, it’s plan to disrupt the way in which cars are sold has been effectively stalled.

Read: Shut up and deal

Uber

Uber is a “ride-share” company that allows you to request, ride, and pay for a “taxi” all through your mobile phone. They have mobile apps that connects you with a driver who gets the GPS coordinates of your location. You can then track where the driver is on your mobile and usually, the car arrives within 15 minutes.

The problem is that taxis are tightly regulated and unionized. For example, in New York City, taxi “medallions” are auctioned off once a year and wanna-be taxi drivers pay as much as a million dollars for these rare and wonderful permits that give them the right to operate a taxi and pick up street hails. In fact, this business model is so profitable, that there’s actually a publicly listed firm that finances taxi medallions.

In Chicago, cab drivers are suing the city, arguing that the city is damaging and discriminating against them by refusing to enforce the same stringent regulations it has long imposed on the taxi industry on these newer “de facto taxi services,” which function “in all material respects as taxi companies.”

In France, there are plans to allow only existing taxis to use GPS services like Uber. Spanish taxi drivers are now calling for an Uber ban.

Some critics think that Uber is a race to the bottom, a way of ducking valuable regulations in place to ensure the quality of existing taxi services, slashing working class wages and simultaneously using tax loopholes to dodge paying their fair share into the system.

So while Uber can cry itself hoarse as to how it is bringing efficiency into the public transportation marketplace, its expansion plans are effectively bogged down by street fighting.

Read: Brace yourself for the European Uber war

Outbox

At least Tesla and Uber have huge war chests of venture capital to fight regulatory assaults against their business model. But not all startups are this lucky. Take Outbox for example. They wanted to allow consumers to digitize all of their postal mail so that individuals could get rid of junk mail, keep important things organized and never have to go out to their mailbox again. Customers would opt-in for $5 a month with “Outbox” to have their mail redirected, opened, scanned and available online or through a phone app. Consumers could then click on a particular scanned letter and ask that it be physically delivered, or that certain types of letters not be opened.

But the US Postal Service would have none of it. In the words of the Postmaster General himself: “You mentioned making the service better for our customers; but the American citizens aren’t our customers—about 400 junk mailers are our customers. Your service hurts our ability to serve those customers.”

Outbox decided to shutdown rather than take on the USPS.

Read: Outbox vs. USPS: How the Post Office Killed Digital Mail

Forgiveness vs. Permission

“It’s better to beg for forgiveness than to ask for permission.”

Eric Jackson, who was PayPal’s first marketing director, had this to say in the book The PayPal Wars: “Regulators say, ‘If we don’t know what you are, you must be dangerous, and later on we’ll figure out what we’ll call you.'” In 2002, Louisiana regulators nearly banned PayPal from operating in the state, sending the company a warning that it might be operating there illegally.

Paypal argued for years with officials over whether it was, or wasn’t, an illegal banking operation. Cut to the present, PayPal has licenses wherever it needs state approval and that has become a big part of its competitive advantage. But it had to sell itself to eBay in order to win the war.

Read: Who Killed PayPal?

A cash-strapped startup typically won’t have the patience, expertise or resources to ‘ask permission’ as such. Instead, they calculate that it’s better to move forward with bringing their product to market and deal with the consequences if and when they gain traction (because if they don’t gain traction, no one will come after them and it will all be moot anyway).

For example, in the music business, negotiating content licensing deals with record labels can take months. While the original Napster is one example where begging forgiveness didn’t pay off, there are successful startups that begged forgiveness once they had traction: iMeem, YouTube and MySpace.

Read: Digital Music Startups

Samsung first copied Nokia and then blatantly copied Apple. Four days ago a jury found Samsung guilty of patent infringement and ordered it to pay $290 million. A year ago another jury also ruled in Apple’s favor against Samsung, accessing $1.049 billion in damages. In the meantime, Samsung generated almost $30 billion in annual revenue in its IT & Mobile Communications Division. So that $1 billion and change penalty levied by two juries might be less than 2% of the annual revenue that mobile device sales generate for the company.

Read: The GoldieBlox playbook: Imitate Youtube and Samsung

What should disruptors do?

There’s life before meaningful traction and then there’s the life after. Disruptors can get away with a lot of things before they become a big enough target. But once they do, the biggest mistake is to assume that the competitive response will be through product innovation alone. Existing regulatory frameworks can be used by incumbents to put up a long and expensive fight and can be a significant source of their competitive advantage.

The way out of the dilemma: forget about permission, but start asking for forgiveness soon after you get traction.

Backtesting a Pair Trading Strategy

A pairs trading strategy involves answering these questions:

  1. How do you identify “stocks that move together?”
  2. Should they be in the same industry?
  3. How far should they have to diverge before you enter the trade?
  4. When is a position unwound?

We saw how to answer the first two questions: understanding, defining, finding, and investigating pairs.

Trading strategy

We can start with a simple trading strategy: we buy the spread if it is one standard deviation below the average and sell the spread if its is one standard deviation above the average.

To keep things simple, we’ll ignore execution details like lot-size, actual $ p&l, etc… and focus on the viability of the strategy. We calculate p&l in terms of unit-spread, i.e., how many ‘spreads’ of p&l did the strategy create?

For BANKNIFTY vs. ICICIBANK, we simulated the strategy outlined above based on the daily close of the nearest to expiry futures from Jan-2010:

BANKNIFTY - ICICIBANK pair trade backtest 50 2010-01-01 long-short

The top chart is the the spread.
The 2nd is the trade: green implies the strategy went long the spread, red implies short.
The 3rd chart indicates the p&l of that specific trade (in spreads).
The last chart indicates the cumulative p&l (in spreads).
 
The p&l for this strategy over the entire time-period is +69.3189 spreads.

Asymmetric strategy

The idea behind the above strategy is to bet on mean-reversion on both sides. However, if you see closely, the shorts were not nearly as profitable as the longs. You could be better off just going long the spread whenever it hit one standard deviation and staying out of the market when the spread hit the upper band.

BANKNIFTY vs. ICICIBANK, long-only p&l +454.3036:

BANKNIFTY - ICICIBANK pair trade backtest 50 2010-01-01 long only

BANKNIFTY vs. HDFCBANK, long-only p&l +231.5225:

BANKNIFTY - HDFCBANK pair trade backtest 50 2010-01-01 long only

Conclusion

Some caveats:

  1. The signals are intermittent, but you need to keep running the algorithms everyday to capture the alpha. This requires an investment in systems on your part.
  2. The backtest ignores execution risk. For example, the hedge ratio is around 0.09830581 and there’s no way you can trade 1/10th of a contract. So your actual executable spread = 10 ICICIBANK – BANKNIFTY. That’s 11 contacts and it still doesn’t give you precision.

On the plus side:

  1. The backtest doesn’t do any risk management. This would’ve stop-loss’ed most of the bad trades.
  2. There is money to be made on the right pairs.

The Bank Nifty – ICICI Bank Pair

We defined the spread between a pair to be:

spread = A – βB

where A and B are prices and β is the first regression coefficient.

The β is also known as the hedge ratio.

Neither β, nor the relationship is “guaranteed” to be stable. Here are the p-values and β of Bank Nifty vs. ICICI Bank nearest to expiry futures, with a 50-day look-back:

BANKNIFTY - ICICIBANK p-value and beta 50

As you can see, the spread has periods of stability and adjustment. And sometimes, the stability is the anomaly.

To be continued…