I’m not sure what has flipped the switch but it appears everyone in India is talking about the rise of passive investing via index funds. All I can say is…finally!!
I first wrote about ETFs almost a decade ago (yeah, I know!), when I talked about Motilal Oswal launching their first actively managed ETF product. In that blog post I talk about how most people should first start with an index funds that tracks the Sensex or Nifty and then look at actively managed ETFs.
Since that blog post, my love for passive index funds has only gotten stronger. However, I would now tell people to stay away from actively managed ETFs or mutual funds. The vast amounts of data shows that most fund managers can’t beat their benchmark index. So why pay a fund manager to underperform when you can get a passive index fund that has a lower expense ratio.
The problem that passive index funds and ETFs have is that no financial planner will recommend them, since there is no money to be made for the advisor. The largest ETF is the SBI – ETF Nifty 50 which has over Rs. 66,000 Cr. in assets under management (AUM) and the expense ratio is 0.07% (7 bps). As an example, if your financial advisor put Rs. 10,00,000 (Ten lakhs) in the SBI fund the expenses would be Rs. 700 a year. Imagine how much of that they would get….basically next to nothing. Hence most advisors will stay away or avoid the discussion around index funds.
Now that everyone is on the passive index fund bandwagon, the next question is how much should you put into these funds. I was never a believer in asset allocation but I think it’s the only way to manage your money in the long term because you never know what’s going to give you the best returns. It’s better to spread your money across various asset classes.
The above is just an example of how you should look at dividing your money into various buckets. Gold is an example of what many Indians have in the physical form via jewelry and who knew that it would be near historic highs as of right now. That’s an example of diversifying your portfolio because you never know what will be the “in” thing. 10 years ago residential real-estate was all the rage, today it’s a very different story.
So which index funds or ETFs would I buy today if I had to? Since I’m a Marwari at heart, the expense ratios are one of the first things I look at. I know that’s not the only thing but what can I say!
In fact, a friend was just asking me yesterday about the international funds that were recommended to him by his advisor. I suggested he get the Nasdaq 100 ETF and also what his advisor has recommended. Then track them for a year and then decide what to do next.
Last week when I saw the following Tweet from the KhataBook co-founder:
It got me thinking about another David vs. Goliath battle….Dropbox vs. Google Drive. Dropbox is a cross platform file-syncing app that was launched in 2007. Since it first launched everyone kept on saying “this is a a feature not a product” that any large technology company can launch. I used Dropbox when it first came out and it was magical because it just worked – files would get synced.
In 2011, Dropbox had a meeting with Steve Jobs of Apple who wanted to buy Dropbox and use their technology as the core for their upcoming iCloud platform. Dropbox passed and said it wanted to be independent. Then in 2012, Google finally launched their long awaited Google Drive syncing product. Which people had been saying for years was going to kill Dropbox. Well, Dropbox didn’t die and in fact in 2018, it went public and as of early 2020 it has a market cap that is just under USD $7.4 billion.
I know in Silicon Valley that market cap means it’s a feature or lifestyle business when compared to Apple at $1.3 trillion or Google near $1 trillion. Part of that is because there are many file-syncing products that offer similar capabilities and most consumers can’t tell the difference. And when Google Drive is free, most users will opt for that and that makes it tough to compete against free. But, when you compare the market cap of Dropbox against some of the public companies in India it would rank among Grasim and Tata Steel. Dropbox has built a business that most people would be happy to call their own.
So what is KhataBook? It’s an Indian based startup that has taken the simple idea of keeping track of a small businesses credits and debits on a simple Android app. The startup has raised over $29 million from investors like Sequoia, DST Global and others. I’m guessing part of their monetization strategy will be based on their ability to give short term loans to those businesses. Recently the 800 pound gorilla, Paytm, entered with their own version called Business Khata.
For KhataBook the reality is that they do have an uphill battle and companies like Paytm, Instamojo and many others have taken the wind out of their sail by offering a simple to use debit/credit app. For Paytm this is another product offering and they will capture the lion’s share of the market because of their brand name, reach and distribution. On the other hand, the founders and employees of KhataBook will do well and end up building a respectable business just like Dropbox has. From a VC perspective, KhataBook will not be some crazy 50x return with hyper growth going forward. Of course, I really hope I’m wrong.
Analytics – how do you process and analyze the data (this blog post)
Action – how do you monetize the data
Let’s continue with the previous blog post and assume you have 1000’s of air quality sensors that are sending data every minute. Now that you have 1000’s of sensors generating all this data, how do you slice and dice the data to make sense of it all. This is where your data science team would take all this data and create something useful from it.
Below is a YouTube clip of someone going through the IoT sensor data to try and build an AQI prediction algorithm.
However, let’s first step back and understand all the hype around the buzzwords you might have heard like Artificial Intelligence (AI), Machine Learning (ML) and Natural Language Processing (NLP).
AI has been around since the 1950s and Machine Learning from the 1980s, but because of advancements in software and hardware it has caused a dramatic growth in the viability of using machine learning in a day to day setting. The basic premise is that the computer can do the thinking that was previously done by humans.
In Machine Learning if you give the computer enough training data about cats and dogs, it will be able to classify future images based on what it learned from the training data. You can go one step further and teach it to classify the breed, here is a link to see how that happens.
With Deep Learning, the computer would “learn” the difference of the breeds and present that data to you. This is very powerful and one of the reasons why so many startups that are involved in AI/ML are so highly valued.
In our example if you deployed 5,000 air quality sensors in Delhi and the data is sent every 60 seconds. That means in 1 hour you will have generated 300,000 “rows” of data and in 24 hours you will have 7.2 million “rows”.
Using other data points such as humidity and temperature the data science team can start to build out an air quality index (AQI). It can start to predict what the AQI levels will be based on weather patterns. Then it can push the envelope and see if there is an AQI difference between buildings in the same area. Or does the AQI level of buildings from the same builder have a consist AQI number across the city. This is really where a data scientist would come up with these scenarios to test against a subset of the data and then start to run it against all the data available.
Much of what the data science team will do is based on commercials inputs from the business analysts and business development teams. Building a data science team is similar to building a tech team – there is no one size fits all. The data scientist leads the team and understands the business problem the company is trying to solve. Then the data engineers and data analysts help to create and deploy the solution. I know this is an oversimplification but for this example it will suffice.
The next and last post in this IoT series is about Action – what happens with the information that’s generated from the data science team.
Aggregation is the process of collecting data from sensors and storing it into a cloud provider like Amazon Web Services (AWS), Google Cloud Platform (GCP) or Microsoft Azure. For data aggregation there are 5 components:
The sensors are the most basic part in an IoT device. Without a sensor how do you measure the air quality, the temperature or energy consumption to name a few examples. Suppose you are building an air monitoring device, the first thing you would is a sensor that can monitor PM2.5 levels.
One of the more popular sensors is the inovafit SDS011 from China (of course, where else from!). There are probably 100s of air quality sensor models you can pick from to fit the specific use case.
These sensors need power and also a place to send their data. That’s where a microcontroller comes into play. Not, microprocessor but a microcontroller which includes a processor, memory and input/output (I/O) peripherals on a single chip. You would never use a microcontroller to run Windows 10 or macOS since they are not fast enough or have enough memory on board. Some of the companies that produce these chips are Cypress, Microchip (which acquired Atmel), NXP, ST Microelectronics and Texas Instruments.
But the company that has really come on the microcontroller scene is Espressif and their ESP8266 and ESP32 microcontrollers. Their chips come with built-in WiFi which has become the de-facto standard for many IoT devices connecting to the internet.
However just because you bought a microcontroller and a sensor you can’t really do much. Because as you can see from the image above the ATmega32 microcontroller is just a another chip. That’s where development boards play a big part in the maker community to create cheap IoT devices quickly, almost like rapid prototyping.
You might have heard of Arduino, it’s an open source platform that sells dev boards and software to create IoT devices. The other big company selling dev boards is Particle which just raised $40 million to further expand their IoT offering. Another company that recently started to play in this space is Rasberry Pi, which launched their Rasberry Pi Zero which is a cheap dev board to compete with Arduino and Particle. And there are 100s of other dev board makers which is one of the reasons the IoT space is growing so rapidly because of the ability to build prototypes so quickly.
Along with the microcontroller you will need some firmware/software to run on it. All the MCUs have their own software but you can load other open source versions such as Arduino, FreeRTOS, MongooseOS, MicroPython or NodeMCU for example. The biggest constraint for these software options is the amount of memory available on the microcontrollers.
Since we are talking about IoT devices that implies it will be connected to the internet. Which means old school technology like an RS-485 serial connection is out of the question. Don’t get me wrong, I’m sure someone has created an RS-485 to WiFi module that speaks TCP/IP but if you are building a device from scratch, RS-485 or ethernet is probably out of the question. Although many older IoT devices have ethernet support, I’m willing to bet moving forward we will see less and less of them.
So that leaves us with all the wireless options which there are many. As always, it depends on your specific use case. So for example, an activity tracker could probably get away with Bluetooth connectivity since it just needs to connect to the phone and then the fitness app on the phone will upload the data to the cloud.
For most other devices it will come down to WiFi, GSM (2G/3G), LTE (4G) and 5G. Since 2G/3G networks no longer exist in many countries that further reduces the options. Narrow Band IoT (NB-IoT) which is a subset of 4G is another option for IoT devices since it supports low bandwidth devices. Jio the telecom giant created by Reliance is planning to rollout their NB-IoT network starting in 2020 in India.
Of course, the real push is for 5G since it can handle large amounts of data from billions of devices. The idea of having millions of high-definition 5G enabled cameras streaming to a cloud provider is the ultimate use case. If the network can handle large media streams then it can easily handle billions of smaller IoT data streams from cars, buildings, lamp posts, industrial machinery, etc…
Taking our IoT example, so far we have picked the air quality sensor and connected it to an ESP32 microcontroller. For the firmware we will use Arduino and since the ESP32 supports WiFi we will connect to an access point to get internet access.
The air quality sensor will be generating data and sending it to the microcontroller. Whichever firmware/software you select there are 3 ways to get the data from the microcontroller to your cloud provider.
MQTT – MQ Telemetry Transport is the preferred method for sending low bandwidth information. MQTT is based on the pub/sub network protocol that transports messages between devices. It was created by IBM in 1999 and is open-source.
HTTP – RESTful APIs via HTTP/HTTPS to a server
Websockets – this creates an open connection between the device and an endpoint to allow streaming of data
Now that the data is in transit it needs to go somewhere. Luckily there are many cloud providers that can easily ingest all this data. There is of course the 3 biggest public cloud providers with their IoT offerings:
AWS has IoT Core
Google has Cloud IoT Core
Microsoft has Azure IoT
In addition, there are a host of IoT specific cloud providers that focus on the business of taking in all that data from IoT devices. Some of them include:
There you have it, we have gone through the steps of creating an IoT device from scratch and sending that data to a cloud provider. The next blog post will be about analyzing the data once it has reached the cloud provider.
I know, I know what do startups and microfinance have in common? And the last time this was tried it failed miserably…remember SKS Finance? I do and I wrote about it 8 years ago.
So what’s changed for me? A couple of things…first, I had the chance to meet Prof. Yunus at an event in Alibaug with about 100 other people. In 2006, he won the Nobel Peace Prize for founding the Grameen Bank and pioneering the concepts of microcredit and microfinance. Yes, that Prof. Yunus.
The event was hosted by Nishith Desai Associates at Imaginarium AliGunjan their Blue Sky Thinking and Research facility in Alibaug. To say this facility is world class is an understatement! Prof. Yunus talked for about an hour about microfinance and what the future holds by talking about snippets from his new book – A World of Three Zeros.
Before I went to the event I Googled “Three Zeros” to understand the overall construct of the book. The one thing that stuck in my mind was, “how can he say have zero unemployment”. That seems so far fetched and out of touch with reality. Lucky for me, Prof. Yunus covered it very well and he is so clear in his thoughts it’s scary.
Essentially he says, we grow up in a system that makes us want to get a job and then when we don’t have a job we are unemployed. Why even go down that path of working for someone and instead be an entrepreneur then you are never unemployed. At this point he should have done a mic drop.
That was the first point, the second point was a question that was asked by Eric Maimon (yes, a New Yorker based in Bombay). His question was what can we do NOW and not wait for the future when Prof. Yunus and others were planning to gather in June 2020 in Munich.
That got me thinking, what if startups and other mature businesses got into microlending from a corporate social responsibility (CSR) initiative? The idea is that microlending would not be the main function of the company but as a way to help others.
The current trend in the Indian startup scene is funding startups that facilitate peer-to-peer (P2P) loans and SME lending which is just another name for microfinance. YourStory wrote an article about SME lending a couple of months ago and I’m sure since then, another 50 new startups have entered this space. But, I feel many of them will end up in the same situation as SKS. When you have margin expansion, hyper growth revenue targets and KPIs to achieve, you will just screw it up.
So for example, suppose you have a B2B SaaS platform that is used by kirana stores. Over time you can run some algorithms on the data and gauge their credit worthiness. And the interest rate you charge can be based on a benchmark like the State Bank of India FD rate for 1 year + 50bps to cover administrative costs. Yes, I know there is a tendency to say “let’s just charge as much as possible and make a ton of money.” However this activity should be thought of as a CSR activity and businesses will flock to these lower rates…imagine the stickiness of your platform. In the end, everyone benefits and that’s the whole point of what Prof. Yunus has been preaching since the 1970’s.
Initially, this was going to be a simple blog post about building an internet connected device more commonly referred to as Internet of Things (IoT) device. But, as I was gathering information I soon realized there is a lot that goes into building a device. So I decided to break this up into 4 blog posts over the next few months:
Brief intro to IoT devices and the market potential (this blog post)
An IoT device is a piece of hardware with a single sensor or multiple sensors that transmits the data from the sensor to the cloud via the internet. Some examples of IoT devices are a fitness tracker, smart door locks, proximity badge readers, etc…
In an industrial setting they are called IIoTs (Industrial Internet of Things) and used to monitor the efficiency of machinery, room temperature and humidity, predictive maintenance, etc… In an industrial setting they have had sensors and systems for decades but that is all old school technology using RS-485 connections which means the data is usually stored locally.
There is a big trend called Industry 4.0 which is the “fourth industrial revolution” and part of that is to have these sensors connect via TCP/IP (the protocol of the internet) and send the data to the cloud where it can be aggregated and analyzed.
It’s easy to find reports on how large the IoT market is and all the big consulting companies will roll out their 2020 and 2025 future trends reports. But, I like to look at what the programmers have to say and what do they think of the technology and space. Below is a graph from the latest HackerRank 2019 Developer Skills Report and you can see IoT is at the top of what technology people feel is the most real emerging technology.
Even in a consumer setting the growth of IoT devices is explosive. Using a Nest Thermostat you can control the temperature of your home from anywhere. Using an August door lock you can literally open the door to your home from anywhere in the world. The Canary camera is a security camera that also monitors the air quality, temperature, and humidity in your home. All these devices have sensors that send data back to the cloud and then using an app you can control the various settings when you are not physically in your home.
The Market Potential of IoT Devices
Why is the market getting bigger and do we really need all these devices? I will not bore you with potential market size numbers but instead give you some examples of how the space is growing and why.
Take the above example I gave of the 3 IoT devices for a home, imagine you have listed your house on Airbnb those 3 devices make it so much easier to manage and understand the usage of your property. Without them putting your house on Airbnb would seem risky.
As I mentioned the industrial complex has always had sensors to monitor equipment but the data was always stored locally. With an IoT device the company can now aggregate all their data and make better predictions and spot trends much easier from a centralized team of machine learning experts.
Lastly, IoT is replacing repetitive tasks that previously were handled by humans such as energy meters. In India, the electricity bill you get every month has energy usage that has been collected by a person that visits every meter and takes the reading. Today, it’s a manual process in the future it will be replaced by an IoT sensor – that can detect the energy consumption, send that data to the cloud and then your bill will get generated.
The next post in this IoT series is about Aggregation, building an IoT device to capture the data and sending it to the cloud.
Back in November 2011, I created a GitHub account because all the cool kids were doing it. After letting that account sit for 8 years, I finally got around to pushing some code to my first public repo.
I decided to spend some time looking at DevOps and understand what all the fuss is about containers and streamlined deployments. A container is a simple way of making sure your code always runs on any type of computing environment, whether its staging, dev, production, Mike’s laptop, Sonali’s desktop, etc… A more detailed explanation of containers is available here from Docker, which is the leader in containerization.
The purpose of the exercise was to learn all the components involved in building a simple “Hello World” Node.js app that uses the Express framework, Docker and AWS Fargate. Fargate is a way to use containers without all the other headaches that are involved with managing clusters and servers.
After spending time with the technology I can see why people just want to go serverless. The movement from on-premise to cloud computing made sense. I feel the next step is serverless and not this pain in the ass middle step called containers. I can see why DevOps folks love it because it gives them something to do, but from a business perspective it’s not worth it. I would spend those engineering dollars on re-architecting the codebase to go serverless.