Sunday, September 21, 2008

Qipit?

The biggest convenience of having a phone with a camera is in using it as a quick note taker of sorts. Say you're at a book store and see a book title that looks interesting. You're not ready to buy it yet. You want to go back and think about it a bit. Maybe run a few searches at your favorite online bookseller's. Catchup first with your existing reading stack. Or maybe wait for it to appear at your friendly neighbourhood road-side pirated bookseller.

You could whip out your pocketbook and pen and write down the details, except you don't carry either since getting out of school. Perhaps you could commit the title and author to memory, except your memory is not what it used to be and author names and especially book titles are getting stranger by the day. Why not just take a picture of the book cover on you phone and then look at it later?

Same thing goes when you see a notice at a local grocer offering some used furniture for sale. Or you happen on a hoarding for a new apartment block coming up down your road that you think someone you know might be interested in. The easiest thing to do is to take a snap on your phone rightaway.

Used to be, back in the day when a VGA camera on a phone pushed the price up some 300%, that the picture quality rarely allowed this to be any more than a supplement to, or perhaps encouragement for, one's memory. No longer. Most camera phones today offer resolutions close to what you can get with a budget desktop scannner. Mine does, at any rate.

So when I happened upon Qipit, a promising new camera-phone based document scan service, on a list of sites supported by ShoZu, I was instantly interested.  I went over to the site and got me an accoutn pronto.  I wish I could say the sign up was simple:  it was the most protracted and agonising sign-up process I've been thru (save for some Indian sites) in ages.  It wanted my phone number, and then it made me pick my phone model (which wasn't listed anyways), and as I was doing all this the form changed all over the place (pick a country and the carrier changes automatically; pick a phone and the country changes; go back and pick a country and everything gets reset to default).  

The site seemsed to suggest that I'm allowed only 100 photos to upload.  So there must be a premium account.  Must be, but I couldn't for the life of me figure out what it was and how much it cost.  It is also still not clear to me how the "Publish" feature works.  The site talks about it, but the instructions were not clear to me. I had to use a rather round about way to publish the results of my experiment.

I ran the experiment this Sunday morning. I took a couple of pictures of the day's paper (Hindu's Sunday supplement) and uploaded them to Qipit. Here are the pictures and right below them the PDFs that Qipit generated from them.

Tubingen Connection

 
PDF PDF
First, the bad news: there's no OCR! Maybe it's me, but surely OCR would've been the first thing to have put in?  Surely a lot many more people would wish for that over, say, the ability to fax their docs?

The PDFs do look a lot clearer than the originals, I have to admit, and are a lot smaller to boot.  In the second case ("Connection"), where I took the picture somewhat more carefully than the first ("Tubingen"), Qipit did a much better job in terms of cropping and centering the text.  

I'm disappointed and a little confused (will I have to pay $$ if I really get used to this? do I have to download/email the PDF manually everytime I need to share it?), but I like the idea of this service and am certainly not ready to write it off just yet.

Posted by ShoZu


Wednesday, September 10, 2008

Pricing Long-term Options on the NIFTY (Part II)

In my last post,   I ended up looking at long-term call options on the NIFTY mainly in terms of liquidity.  This one looks at their prices in greater detail.   my motivation is to come up with a decent, intuitively grasp-able, model for pricing these instruments.  That Black-Scholes fails badly here is quite appearent from the base priecs that one sees set by the NSE when these contracts are listed.  These computed base prices show up as the closing price on the F&O Bhav sheets until the first trade takes place.  In all cases that I've looked at the first actual trade happened at anywhere between 20-70% of NSE's base price.  Here's the evidence from the 6 contracts that we're tracking from the previous post:



Contract Last base Price First TradeRatio
24-Jun-10 5000 2001.95 880 44%
30-Jun-11 4000 2353.9 1585 67%
30-Jun-11 4500 2489.55 1470 59%
30-Jun-11 5000 2407.7 950 39%
30-Jun-11 5500 2236.75 600 27%
30-Jun-11 5700 2172.7 519 24%

As a first exercise, I made scatter plots of "Price" vs. "Underlying"  (no time order).  My feeling was that, since the expiries are way out in time, it really donesn't matter when the trade took place over the last 6 months.  All that really counts is that a trade took place on that day.  So I used close price as a proxy for "Price" and NIFTY's closing as a proxy for "Underlying" on all days when any trades took place.  The results appear below.

The biggest suprise for me was the fact that the data seems to fit a nice linear regression like some textbook physics experiment.   And the more trades a contract had (see JUN-2011 call @ 5000, for example), the better the fit appeared to be.

I used excel to do the fit and here are the equations it threw up (Price = A*NIFTY + B):



Contract A B
24-Jun-10 5000 0.4074 -1190
30-Jun-11 4000 0.6523 -1768.6
30-Jun-11 4500 0.652 -1965.3
30-Jun-11 5000 0.5677 -1788
30-Jun-11 5500 0.3034 -788.47
30-Jun-11 5700 0.3857 -1196.6


We're now closer we were than at the end of the last post to answer my original question: what is the delta on these things?  But we're nowehere near done yet.










(To be continued...)

Sunday, September 7, 2008

Pricing Long-term Options on the NIFTY (Part I)





NSE notified long term contracts on the NIFTY on Feb 27, 2008. In addition to the near, next and far month expiries, we now had 3 quaterly expiries and 5 half-yearly expiries. In effect, these contracts allow one to take a view on the NIFTY upto 3 years into the future. Trading started on Mar 3, 2008.



When these contracts were introduced, there was much doubt raised to their viability. It was pointed out that the volumes on far (and even next) month options were quite thin for the most part. In a ominous sign a month or two following its launch, ICICIdirect, India's largest brokerage by some measures, suddenly and inexplicably dropped support for these contracts from their trading platform. Press coverage was muted (see here). That NSE's most recent attempt at broadening the derivatives market, the so-called Mini-NIFTY contracts, had been an utter failure didn't help either.



Today, 6 months later, we may safely conclude that these contracts are here to stay. The volumes, while not spectacular, are very respectable. There is a good mix of trading and investment activity from the looks of the order books. Most importantly, investment companies such a KMIL are introducing hedge-fund style products that are built on top of these contracts. The table below gives the open interest position as on Sep 5, 2008 across all expiries.





Series Expiry Open calls (Rs. Cr.) Open puts (Rs. Cr.) Total O.I. (Rs. Cr.)
Near, next and far month25-Sep-2008 8650.319688.9318339.25
29-Oct-2008 441.891121.861563.75
27-Nov-2008 96.02139.05235.07
3 quarterly expiries25-Dec-2008 2037.883200.975238.85
26-Mar-2009 62.30226.47288.77
25-Jun-2009 494.62340.37834.98
5 half-yearly expiries 31-Dec-2009 326.64289.38616.01
24-Jun-2010 98.7366.62165.35
30-Dec-2010 318.56320.85639.41
30-Jun-2011 1272.46893.192165.65
29-Dec-2011 3.050.633.68



I am interested in these contracts as a means of taking leveraged bets on the NIFTY. As a firm believer in the NIFTY's long term growth potential, my options before Mar 2008 were between buying an index linked exchange traded fund, such as the NIFTY BeES, or buying and constantly rolling over NIFTY futures contracts. The former offers no leverage at all, the latter is quite painful to do without a large corpus and full-time staff. Long-term options provide leverage (high-delta) and require no maintenance. But what is the delta on these things? This is the question that I shall attempt to answer in subsequent articles.



For my study, I needed to pick a sub-set of contracts whose pricing could be meaningfully studied. As a long-only investor, I'm naturally only interested in calls. As a long term investor, only the half-yearly expiries interest me. But even after filterting for those two, I'm left with a total of 114 contracts across the 5 expiries. Of these only 44 have ever been traded. A glance down this list of 44, revealed that the action seems to be bunched up around a few contracts. I set the somewhat atrbitrary criteria that I'll picks only those contracts that have seen trades on at least a fourth of the days on which they have been listed and ended up with just six. The table below lists the 44. The ones I picked are in red.




ExpiryStrikeListed SinceDays ListedDays Traded Max O.I O.I
24-Jun-2010430010-Mar-2008121310050
24-Jun-2010440005-Mar-200812315050
24-Jun-2010450004-Mar-200812415050
24-Jun-2010490003-Mar-2008125778007800
24-Jun-2010500003-Mar-200812542185750185700
24-Jun-2010510003-Mar-2008125537503750
24-Jun-2010520003-Mar-20081252100100
24-Jun-2010540003-Mar-200812515050
30-Jun-2011350001-Jul-200847211501150
30-Jun-2011400018-Mar-200811550342200342200
30-Jun-2011410014-Mar-200811714075040750
30-Jun-2011420014-Mar-2008117293509350
30-Jun-2011430010-Mar-20081212115050115050
30-Jun-2011450004-Mar-200812456561550561150
30-Jun-2011460004-Mar-200812415875058750
30-Jun-2011470003-Mar-200812515050
30-Jun-2011490003-Mar-2008125152505250
30-Jun-2011500003-Mar-2008125102773400773400
30-Jun-2011510003-Mar-200812522505025050
30-Jun-2011520003-Mar-2008125192509250
30-Jun-2011530003-Mar-20081251100000100000
30-Jun-2011550003-Mar-200812562112000105150
30-Jun-2011570003-Mar-200812558487750469850
31-Dec-2009400018-Mar-200811535000050000
31-Dec-2009410014-Mar-20081172500
31-Dec-2009430010-Mar-200812135050
31-Dec-2009440005-Mar-200812315050
31-Dec-2009450004-Mar-200812410200150200150
31-Dec-2009460004-Mar-200812445050
31-Dec-2009470003-Mar-20081251125000125000
31-Dec-2009480003-Mar-20081253250050250050
31-Dec-2009490003-Mar-200812527500050000
31-Dec-2009500003-Mar-20081258400400
31-Dec-2009520003-Mar-200812512500025000
31-Dec-2009550003-Mar-200812515050
30-Dec-2010430010-Mar-20081213401500401500
30-Dec-2010450004-Mar-200812415000050000
30-Dec-2010460004-Mar-200812425020050200
30-Dec-2010480003-Mar-20081252250250
30-Dec-2010500003-Mar-200812515200400200400
29-Dec-2011360030-Jun-20084815050
29-Dec-2011400027-Jun-2008491150150
29-Dec-2011450027-Jun-2008493600600
29-Dec-2011500024-Jul-200830654005400



My arbitrary critera does leave out some contracts with very large open interest on account their not having been traded on many days. I've indicated some of these (those with O.I. greater than 1,00,000) in green. My problem with these is that since Iwont have price discovery on most days, any attempt to back calculate delta from these is likely to badly misfire. Much better to use my short-list and come back to these to see if the theory fits.



(To be continued...)