Posts

Deeper look at fat tails - 15 year NSE - Nifty EDA in python

Image
So the high priest of fat tailed events and Black Swans; The president of the Republic of Extremistan has started a YouTube channel on some of the common topics in probability and statistics which you should watch if you're interested in financial markets. These topics have a lot in common with machine learning so watch if you're a data scientist. His video on fat tailed events got me thinking about how large swings of 200 - 500 points or so in equity markets may or may not be fat tailed events. So I decided to explore this using the past 15 year data for the NSE Nifty. All source code for the below analysis is on Github .  Data Download While you can get the data from the NSE Historical data section; obtaining the data is a pain since it limits search requests to a 365 day period. I discovered a python package NSEPy that allowed me to download historical data. you can get it from here .  I downloaded data for the past 15 years from Jan 2005 to December 2020 in a CSV file...

Black Swan Trading in the age of Volatility

Image
We are living in an uncertain world - Global pandemic, money printing, job losses, recessionary economies and rising markets. By some accounts the corporate world has gone through a few years worth of technology driven transformation in the past 5 months. What this means is that a lot of businesses are growing exponentially and an equal if not more are likely to disappear. If you’ve been involved in the financial markets for a few years, you would have seen charts of how index constituents have changed every decade.  All of us agree that the pandemic whether a white swan or black , is a once in 100 years event. I am also convinced when Nassim Taleb says that we’re just getting started and the world is likely to be an extremely volatile place in the coming years. For practically every such event on the negative side we have had warnings from the likes of Nouriel Roubini and Raghuram Rajan but I imagine it is easier to pretend that nothing bad is going to happen and carry on. The...