Code Story · Transcripts

S6 Bonus: The Algorithmic Rebalancer: Engineering Deep Learning Ensembles and Automated Downside Protection with Stephen Mathai-Davis of Q.ai

May 4, 2022 · 24:41
Listen to the episode Download .txtDownload .vtt
Stephen Mathai-Davis

And we did that by first interviewing close to 4,000 folks that we met on Instagram and Reddit and Facebook. Real investors, just to understand their pain points. And lo and behold, nobody has any problems buying and selling stocks, you know, going through the broker services side of things. No one has any issues figuring out what to buy, because there's just a plethora of here are the top ideas. But they had a lot of issues figuring out how much to buy of something, how to build a diversified portfolio, when to take your And, you know, how do I go about trading what's becoming increasingly more volatile marketplace? Boom, you're describing institutional portfolio management. I'm Stephen Mathai-Davis, the founder and CEO at Q.ai.

Noah Labhart

This is Code Story, a podcast bringing you interviews with tech visionaries who share in the critical moments of what it takes to change an industry and build and lead. that has your back. I'm your host, Noah Labhart, and today, how Stephen Mathai-Davis built the AI for your investment portfolio so you can build wealth by doing nothing. All this and more on Code Story. Stephen Mathai-Davis grew up in a family where he was expected to go into the buy side of Wall Street. Originally, he rebelled against this, pursuing professional kickboxing and even running his own dojo in New York. Fun fact, he has eight black belts and has started teaching his kids how to box. In his late 20s, he came back to Wall Street and experienced the 2008 crash and rebound. Along his journey, Stephen realized that his friends didn't have access to the same money management tools and strategies that institutional investors had. He became inspired to offer these types of investment tools to the average person. This is the creation story of Q.ai.

Stephen Mathai-Davis

So, Forbes Media bought my old startup, which was Quantumize, which at the time was bringing factor-based and quantitative AI-powered research to the average investor, which is kind of what I was talking about earlier, interest in democratizing the buy side. But along the way, at Quantumize, we realized people were really interested to see if we would manage their money. these. So after, you know, Quantumize was sold to Forbes, we, along with the Forbes team, came up with this idea to launch a new type of robo-advisor that would take a lot of the technologies that we were developing and enhance that and bring that to the average investor here in the U.S. to start off with by democratizing the experience high net worth individuals have when they go to hedge funds or some of these elite banks. People don't realize the experience that high net worth folks have. When they go to some of these elite hedge funds or they go to Morgan Stanley, Merrill Lynch, and Goldman Sachs, they have their monies managed. And if you look at what the average retail investor has today, it's just breadcrumbs. We got really excited about that, and that was the genesis of this whole idea of creating an AI-powered robo-advisor that's really just democratizing not only the hedge fund, but the way high net worth individuals have their monies managed.

Noah Labhart

Tell me about the MVP. MVP, so that first product you built, how long did it take you to build and what sort of tools did you use to bring it to life?

Stephen Mathai-Davis

Yeah, you're going to love this. There's tons of robo-advisors out there, and I could tell you a little bit how, you know, I think everyone's kind of concentrated in one little area. You know, there's tons of DIY trading platforms, and we weren't really sure what to build. So it took us about six months to bring this MVP to market. When I say the MVP, outside investors or outside customers trading live on our app. We did that by first interviewing close to 4,000 folks that we met on Instagram and Reddit and Facebook. Real investors, just understand their pain points. And lo and behold, nobody has any problems buying and selling stocks, you know, going through the broker services side of things. No one has any issues figuring out what to buy because there's just a plethora of here are the top ideas. But they had a lot of issues figuring out how much to buy of something, how to build a diversified portfolio, when to take your profits, cut your losses. is? And, you know, how do I go about trading what's becoming increasingly more volatile marketplace? My conclusion was like, boom, you're describing institutional portfolio management. You're looking for an institutional portfolio manager. We started out building prototypes of strategies that we were going to build based on what folks told us they were interested in and began testing it with real users. Tell us what you think of the color. Tell us what you think about the information, the presentation layer, trying to get you through the app. Do you think we really care are trying to get to know you. And that evolved this iterative process. And man, you know, it wasn't easy. You know this. Trying to build a fintech app in the context of the pure lean startup customer development framework that's outlined. It's great, you know, theoretically what to do. Trying to do this real life with money, like folks' money, and dealing with a lot of the regulatory financial institutions we needed to partner with. That was a challenge, but man, it was a lot of fun to get that out. About six to seven months, getting the hands of real users.

Noah Labhart

With any MVP, you've got to make certain decisions and trade-offs about what you're going to implement to start, right? Or any sort of technical debt or even approach debt, which is a word I just made up, but how you're approaching the problem. Tell me about some of those trade-offs you had to make in the beginning, post-feedback as you're building that first MVP, and how you coped with those decisions.

Stephen Mathai-Davis

Coping with those decisions, I used to stare up at my ceiling around 3 or 4 a.m. waking up in a cold sweat about the bets we were making. I don't know if I got good advice about how to cope with it. But I can tell folks, you know, one of the things I learned was really being systematic. You know, I come out of the business, right? So I'm going to have a lot of biases into what to put into a product, especially an investment management product. But what we set out doing was slicing and dicing. You know, what do people really just need to have? know a need to have to go into a fintech app? Well, you've got to be able to link your bank account. We've got to do a KYC check. We've got to know our customer. And we have got to be able to put you into some type of strategy. And that strategy has got to be invested. You notice it has to be invested. It doesn't have to be automatic, things like that. So is that the best thing to do to get it out the door? The short answer was yes, because our MVP really was, do people want to have their monies managed by somebody else through a quantitative AI platform? world. And using that framework and working backwards from that in a really disciplined, systematic way, we got an MVP out the door rapidly. One of the fastest launches startups out of Apex Clearing, which is our broker-dealer partner. We moved rapidly integrating with Plaid to help folks connect their bank accounts and things we left out. Manually, we were manually trading the monies. We were manually withdrawing and depositing funds when people were wanting to pull money flows in and out of the app. We were making sure that everything else was properly running on the back end side all manually. And why did we do that? Because we had all these assumptions and we realized that once we got into the market, a lot of those assumptions would get blown up. And lo and behold, when we went live, no, most of our assumptions were wrong and we did everything correctly to get there. We realized when we had real people trying to move their monies around, a lot of our assumptions were totally wrong. And we began to Pivot and iterate based on that.

Noah Labhart

How did you progress the product from there, right? You validate that, you know, assumptions or some assumptions were wrong, right? And you needed to pivot and you needed to do things differently. How did you progress it from there and mature it? And I think I'm interested, too, in how you made those decisions and how you built your roadmap and decided, OK, this is the next most important thing to build or to address with Q.ai.

Stephen Mathai-Davis

I think it's a couple of different things. The way we figured out what to build was we were constantly talking to our customers. And it wasn't just through emails. We were trying to do one-on-ones with real customers on the app. We created and invested in building a Discord community where we were engaging with people. And we still do every day, trying to learn more about what they were looking for. And based on what they were saying and their requests and their problems, actually, because you're looking less for product feature recommendations and more about, well, this stinks or this is terrible. or hey, I'm looking for something a little bit more. We then took those pain points and then we turned them into product features. How do you build a roadmap? Because at that point, right, there's hundreds of things you need to do. And how do you prioritize them? Well, we did that by using a quantitative management tool that we built internally. And again, this is the benefit of us being quants. Well, let's list out all our product features we need to do. And then let's start scoring things. Is the product market fit related? Is it related to legal and compliance? done. What's our probabilities? How confident are we in the user request? Do we have hypotheses we've answered yes or no? Is it related to funding accounts because we figured that was our North Star metric? Is it going to help boost the number of users on the app? Is it going to increase our pool? And we used a framework like that. It sounds simple, stupid, but it helped us quickly decide which were the features we should really focus on first and push other stuff to the back of the the backlog. And guess what? A lot of the stuff we push into the back of the backlog, we realized down the road as we continue to iterate and learn more from our customers, people didn't want that.

Noah Labhart

I think the dead simple approach is typically the best approach to not get distracted, perhaps with too big of a grandiose vision. Still holding on to what you're trying to do, but listening to that market feedback and executing. So that makes a ton of sense to me. Yeah,

Stephen Mathai-Davis

it's a more efficient And the idea really here is you're minimizing technical debt and legacy product features that you just might not need. And you're really focused on the low-hanging fruit, which is what folks really want. And that's what I would share with a lot of my fellow entrepreneurs as you're building a product. It was really rewarding for me that we did that because I had so many wrong assumptions of what I thought people would want. By using this lean product framework, we were really able to build an app and we're in the process of really expanding it now. app that people really want and that they're looking for going forward, not an app that's kind of yesterday's product in a digital wrapper.

Noah Labhart

So how did you go about building your team, right? And what did you look for in those people to indicate that they were the winning horses to join you? We

Stephen Mathai-Davis

scaled the entire company up remotely, so I never got to really meet a lot of the team members. So really, a lot of the questions I was asking was, are they passionate people? Are they actually passionate about fintech? Are they really interested in the problem we're solving? You may not be interested in what we're doing. You may have other interests. But man, if you're not really like all in on trying to disrupt traditional modern finance, you're not all in on the fact that it's wrong that the average investor doesn't have the same access to the same stuff as high net worth individuals. If you don't feel passionate about it, this is not the project for you. Because of what I just outlined, because hey, you know, we're doing this lean approach to build, learn, iterate can be stressful at times, but you've got to be passionate about what you're doing. And then I was looking for folks who are really creative and out-of-the-box thinkers. The problem I find with modern finance, and again, this is coming just from my own background, is that people tend to be very linear in their thinking. And as a result, the level of innovation you've seen in modern finance, specifically the asset management hedge fund model, is very limited in comparison to what you've seen in other consumer tech companies. The innovation happens at the the strategy level. It doesn't happen at the business model. So I was really looking for folks who were kind of thinking out of the box. And the reality is, if you look at our team, we've got a team of 20 plus folks who are so passionate about what we're doing, all about the vision that we're trying to build together and holding each other accountable to that vision. And as a leader of the team, I can't ask for more than that. That's fantastic.

Noah Labhart

Well, let's flip to scalability then. And this will be interesting given quant background, trade, right? So speed and scalability are probably very familiar to you, but did you build this Q.ai to scale efficiently from day one, or have you been finding this as you're growing and gaining traction?

Stephen Mathai-Davis

It was a former. Now we'll find out if that was the right bet, because what that leads to is what you'd call some kind of stepwise steady growth, which we're starting to see, which is logarithmic and it's starting to become exponential, knock on wood, we'll see where things things go. What we wanted to see and build and really focus on was building a product that could scale efficiently. It's not just getting a ton of users, it's the servicing cost for it, right? Because that's what really plagues a lot of the challenger fintech apps. They didn't emphasize enough core custody trading experience there. So we spent a lot of time on that. Our servicing costs on a customer level are negligible. That means to make money just for servicing a cost of generating a dollar per user on a month, monthly basis, I'm generating just on that alone, gross margins that are north of 90%. That's nuts. That means our cost of service and a user or nothing. Now, what does that permit us to do? We have such high levels of gross margins. You can really lean into the customer acquisition game, as well as building out a core team on the operating side of stuff without impacting operating margins, which is what I was thinking about as we were building a business out.

Noah Labhart

So you're efficient on the inside, you're making enough in your margin that you can really go after, you can put a lot of effort and a lot of money into going after people. Is that right?

Stephen Mathai-Davis

Yeah, just think about it this way, right? If I make $10 on ARPU, gross ARPU on a user, and my servicing costs on a normalized basis are negligible, so let's just say that's $10 flowing down to gross profit. I can afford to invest more money into customer acquisition costs, without impacting my overall operating margin. So if we were wrong about the cost it would take to acquire users, I'd have more wiggle room. I know it drives the team crazy because I'm an ex-financial analyst. I'm speaking like that. But that was the goal when we were building the company from the bottom up. And I think now we're starting to see the rewards of that, which has got everyone psyched on our team. Because, hey, we can really go out there, try things, take risks to drive morality, and we're probably going to hit a few without having to worry about our aggregate operating margins because we've kind of created a business model that theoretically can scale efficiently. The other side of efficient scaling is how do we deliver our investment services? And by being purely quant AI powered, we're able to turn around rapidly with different types of strategies and products much more quickly than it would take a team of human analysts to put an investment strategy together. And we're able to do that because we're dependent on core algorithms that we've built over the last few years that are really focused on predicting either market moves or other types of risk adjusted metrics that we're managing. And I'll give you a tangible example. When the COVID crisis hit again, we thought it was really going to impact the market. We were out within a week and a half with a new investment kit that was just a play on what's going on with Omicron and its effect on the market. which is using kind of advanced investment strategies. This is long shorts or short the market, low beta. It's kind of market neutral stuff folks have no access to. We were able to get that out in two to three weeks. That's pretty cool. I mean, that's scalable investment products. I'm not recreating the wheel there. You listen to some of the leading hedge fund managers on the planet and CEOs and CIOs of large asset management firms. That's how they sell the evolution of quantitative analytics and the power of AI-powered investing strategies. It's just that we were able to bring this to the average individual who has access to none of this stuff.

Noah Labhart

Well, as you step out on the balcony and you look across all that you've built, what are you most proud of?

Stephen Mathai-Davis

You know, I would say probably the thing I'm most proud about is this team that we've built that is passionate about this vision. I figured we'd be able to get there with the product. I was confident in that. I was confident that we would be able to build good performing strategies and build algorithms to support that. I was always confident about that. I figured if we were disciplined and systematic, we could build a product experience or the productization of investing. We could do that. I never imagined that I'd be able to build a totally distributed remote team that's never met each other at all. That I'd share the same passion, if not more, about our mission. And to me, as an entrepreneur, founder, and leader of the team, that's been the most rewarding thing.

Noah Labhart

Well, let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it.

Stephen Mathai-Davis

Well, there have been tons of mistakes. You know, I like to tell the team there's no failure. It's just about learning. You only fail if you don't learn quickly. Let me talk to you about one major one. That's kind of that experience has been taken out, but it's coming back. We have this idea of building, I would call it almost like investing archetypes for individuals within the app. It's very similar to what you see with institutional investment manager. He's a growth investor. She's a value investor. He is a emerging markets investor. She really focuses on dividends and things like that. Theoretically, it sounds great, right? You're using the concept of a Jungian archetype and you're bringing it into a fintech investing app. The initial studies and user tests really suggest that people love this. Okay, we got 100 users on the app. They were totally confused by it. Some were really pissed off about the personalities they were receiving. And they were confusing personalities with investing strategies. And I like to think I lead from the front. And one of the lines I remind folks about is there's no sacred cows. If there's an idea that doesn't work out, we cut it and we pivot and we move fast. Don't get attached to things. And unfortunately for me, this was my baby. rapidly. We pulled it out totally. It's less complicated. Yes, we're recommending things based on your experience and what you're saying your interests are, but we're not bucketing you into certain categories. It was a huge assumption. And again, this comes back to all the work we did, all the work suggested it was the way to go. And man, when we got folks on the app, it was a disaster. Luckily we moved fast because had we not moved fast, it could have gotten worse. I'm kind of laughing as I'm saying this could have moved, this could have been worse, move fast because I was saying, hey, I was wrong. Let's move on.

Noah Labhart

So what does the future look like for the product and for your team?

Stephen Mathai-Davis

Now we're award-winning AI-powered, you know, robo-advisor or robo-hedge fund, and the opportunities for us are expanding rapidly. You know, I like to say that this is just the first stage in the Q.ai revolution. We're kind of focusing first on investment investment management per se, because that's where we saw there were real problems we were solving. But our goal is to kind of expand beyond just pure investment management. We're looking to move into more holistic, integrated financial services. Because the vision that we're building is the first, you know, natively digital 21st century financial services firm. And it sounds like a lot, right? But think about this for a moment. You know, the problem with a lot of the the big banks that you have today, they've got great teams that are trying to create tech products to address their customers' needs. The problem is that they're trying to build these tech products within the context of a larger brick and mortar company with legacy systems, legacy business models, et cetera. That's not really 21st century. That's 20th century and you're just putting a digital wrapper on it. And that's a lot of the problems you read, you know, you hear from folks. I mean, just summing it down to its core basic issue. We see ourselves expanding beyond just investment management into banking services like credit. Buy Now, Pay Later is something we're experimenting with, as well as other more interactive personal finance experiences. So remember, we're garnering so much information from our customers that we're able to use our AI technology to begin to pivot into different types of financial services that really will be personalized and curated for them. Imagine a financial services experience that's personalized and curated to you. Not something that's you and I, you know, the same experience because we're kind of in the same credit bucket. You can really do that. The technology is there. The reason JP Morgan can't do it, the reason Citigroup, they can't do it, is that they've got this legacy system. They've got to work with it. We're able to do it. And that's where you have this unique moment now in time as the millennials and Gen Z begin to age and become more mature. They're looking for a more digital, integrated, holistic. like to use the word holistic, financial services experience.

Noah Labhart

Well, let's switch to you, Stephen. Who influences the way that you work? You know, name a person you look up to and why. I've

Stephen Mathai-Davis

got a lot of people I look up to, but I would probably say the two people I look up to the most are my father and my wife, and I'll share them both. You know, my father was a leading intellectual who came into Wall Street and helped revolutionize the emerging markets business. A lot of my habits I've learned from him. because here is somebody who is a doctor, a lead GP at a major hospital near us, also manages our entire family. I like to joke saying she's the reason the trains run on time in our household. And she was doing all of this through a major pandemic where she was going to work every day and people were really dying at work. So it's hard not to look up to her and admire her for what she does every day. And I find that as personal motivation for me. and context too.

Noah Labhart

Well, we talked about a mistake earlier, but a little bit different spin. If you go back to the beginning, what would you do differently? Or where would you consider taking perhaps a different approach?

Stephen Mathai-Davis

You know, I don't like to look back with regrets. I think every stage we've made, you know, we were trying to make the best decisions we could with the information we had at that time. I like to joke saying, given what I know now, out. I could do everything in half the time, probably less than half the budget. But it's the journey that got me to this point. A lot of these mistakes, a lot of the stumbles, a lot of the jives here and there, trying to make it through. So, you know, I look back and I'm not sure I would really do anything differently because I'm pretty happy about everything we did to get here, including all the stumbles we made. And I'd love to remind the team of that because everyone's like, well, we should have done this. Now that we see something's working, we were making the best decisions we could at that time with the information we had at that time. There's no need to look back and retrade what our thinking was.

Noah Labhart

Well, Stephen, last question. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world. They can't wait to show it off to you right there on the plane. What advice do you give that person having gone down this road a bit?

Stephen Mathai-Davis

I hate giving unsolicited advice so I'm not usually someone who likes to give advice unless somebody really asks me I would probably just tell that young entrepreneur it's never going to be easy you're going to have a lot of naysayers a lot of people who tell you it's a bad idea never give up on your idea anything worth having and building is not going to be easy and all the great innovators that you've read about when they started out people were telling them they were wrong too and they were crazy just keep believing.

Noah Labhart

That's great advice. Well, Stephen, thank you for being on the show today. Thank you for telling the creation story of Q.ai. Thank

Stephen Mathai-Davis

you very much for having me on, Noah.

Noah Labhart

And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. Support the show on patreon.com slash Code Story for just five to ten bucks a month. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.

Transcribed with Whisper and reviewed for names and terms; speaker labels are automatic and may contain small errors. Timestamps link to that moment of the transcript.