Q2: Seeking Alpha? Try Alpha Factors · Jessica Stauth — Transcript
Full transcript
- 0:00chat with Traders collaboration with
- 0:02quantopian episode
- 0:05[Music]
- 0:122 hey what's up folks welcome to the
- 0:16second installment of the miniseries in
- 0:19collaboration with quantopian uh on the
- 0:21previous episode we discussed various
- 0:24biases that Traders and investors can be
- 0:27affected by on this episode We Begin the
- 0:30discussion by talking about the things
- 0:32that quants consider when determining
- 0:34their trading Universe from there we
- 0:37explore Alpha factors and risk factors
- 0:40and then we finally go through an
- 0:41example of how all of the above are
- 0:43relevant in an actual trading strategy
- 0:46Delaney is with us again for this
- 0:48episode as he will be throughout the
- 0:50series but we are also joined by Jess
- 0:53stth who is the VP of Quant strategy at
- 0:57quantopian and has a pretty impressive
- 1:00background in the field uh this is the
- 1:03point in the series where things do
- 1:04become more specific to quantitative
- 1:07methods of trading and slightly less
- 1:10relevant to those who favor discretion
- 1:13but still there's no harm in listening
- 1:15if this is something that interests you
- 1:17as the subject start to get a little
- 1:19more advanced I would encourage you to
- 1:21listen over this episode twice if need
- 1:24be and make use of the resources that we
- 1:27mention throughout the episode uh all of
- 1:29of these have been curated for you at
- 1:32quantopian
- 1:34docomo Traders so anything that gets
- 1:37mentioned you can find their all inone
- 1:39place also if something doesn't make
- 1:42sense to you and you would like to ask a
- 1:44question you can do so at kopian
- 1:48tocom questions uh we will do our best
- 1:52to tackle all questions on part six of
- 1:55this series and before we get going I'd
- 1:58like to say a massive thanks to data
- 2:00camp for sponsoring this series you know
- 2:03I often get asked by Traders who want to
- 2:05learn how to code where should I start
- 2:08and honestly I think data Camp is the
- 2:10best place in my opinion they
- 2:13specifically teach you how to work with
- 2:15data manipulate it visualize it and run
- 2:18statistical research all using
- 2:20programming languages Python and R which
- 2:23are of course ideal for quantitative
- 2:25trading for more info and to start any
- 2:28one of their online courses today for
- 2:30free visit datac
- 2:33camp.com all right guys let's Skip to My
- 2:36discussion with Delaney and Jess I hope
- 2:38you enjoy it and thank you so much for
- 2:43listening all right well Delaney how's
- 2:45things man what's new uh I mean that's a
- 2:48loaded question because we're always
- 2:50doing a lot of stuff here so uh I don't
- 2:53know how much time do we have for just
- 2:55that question alone but a lot of stuff
- 2:57is the is the short answer um and uh
- 3:01we're just kind of busy all the
- 3:03time excellent keeping busy I like it
- 3:06now we also have Jess stth joining us
- 3:09for this episode Jess how are you great
- 3:12thanks thanks for having me no my
- 3:14pleasure uh it's excellent to be
- 3:16speaking with you so I mean tell us a
- 3:18little bit about your story Jess share
- 3:19with us a bit about your background I
- 3:21think you were originally a a physics
- 3:24and chemistry teacher right uh I did one
- 3:27year of teaching physics and chemistry
- 3:29but I certainly take credit for that um
- 3:31so my background really was in basic
- 3:34research um did physics undergrad but I
- 3:38went uh to UC Berkeley and did a PhD
- 3:40there in biophysics um which is a very
- 3:44very broad field I ended up in a
- 3:47computational neuroscience lab so I
- 3:49learned a bunch of analytic techniques
- 3:52there for analyzing complex large data
- 3:54sets um really enjoyed data analysis
- 3:57didn't really enjoy all the data colle
- 4:00and so really looked at Quant Finance as
- 4:03sort of the best possible world where
- 4:05you got to ask really interesting
- 4:08complicated questions about uh large
- 4:11data sets um but you didn't have to
- 4:13necessarily go through all the Blood
- 4:14Sweat and Tears of putting grad students
- 4:16in a extremely high magnetic field um so
- 4:19that seemed attractive to me so I took
- 4:21my first job in San Francisco actually
- 4:23for sort of a Quant modeling research
- 4:26team um so I became a Quant analyst got
- 4:28to learn a lot about the financial
- 4:30markets and specifically um Equity stock
- 4:33selection models so at that company uh
- 4:36star mine was called the time I did
- 4:40things like building a stock ranking
- 4:42model um that took inputs like how much
- 4:45uh short availability for certain stocks
- 4:47was there um so I spent a few years
- 4:50there uh that company was sort of a
- 4:52startup they got acquired by a much
- 4:54larger company called Thompson Reuters
- 4:57um so I spent a few more years uh there
- 4:59kind of more broadly looking across
- 5:01their quantitative analytics and data I
- 5:04got the chance to visit quantitative
- 5:06asset managers hedge funds um really
- 5:09around the world which was an amazing
- 5:10experience I got to see uh inside Quant
- 5:13shops anywhere from you know two or
- 5:15three folks uh working as a small team
- 5:18up to you know desks of you know 100
- 5:20researchers or so um and uh through the
- 5:24course of that moved from San Francisco
- 5:27back to the the east coast in the US to
- 5:29Boston
- 5:30and that's where I met John facet who
- 5:31was sort of in the process of starting
- 5:33quantopian he had a back tester um he
- 5:37had a community that was really taking
- 5:39off um so I just got really excited
- 5:41about you know sort of all of the cool
- 5:43stuff that quantopian was doing in this
- 5:45space that I felt like I already you
- 5:46know kind of understood reasonably well
- 5:49um from sort of a professional side
- 5:50quantopian was sort of opening this up
- 5:52and blowing the doors open I guess uh to
- 5:55this you know sort of really Elite
- 5:57secretive kind of high-tech field and
- 5:59letting you know sort of anyone on the
- 6:00internet with access to a web browser
- 6:03sort of have access to these same tools
- 6:05and data and analytics that you know I
- 6:06was previously seeing sort of be
- 6:08available to you know a very very um
- 6:11small select you know group of folks
- 6:13around the world so join quantopian
- 6:16about three years ago um and my role at
- 6:18quantopian is VP of Quant strategy um
- 6:22which uh entails running a little
- 6:24research team um we evaluate algorithms
- 6:28on the quantopian platform
- 6:30that have been written by our community
- 6:32members um and we're looking for
- 6:34strategies that you know beat the market
- 6:36basically um really to get a fine point
- 6:38on it we're looking for strategies that
- 6:40uh sort of have risk adjusted returns
- 6:42and I think we'll probably end up
- 6:43talking a lot about that later on um and
- 6:46so we're we're looking to evaluate
- 6:48strategies and we then actually strike
- 6:50uh license agreements with folks in our
- 6:53community and we license their
- 6:54intellectual property and we make
- 6:56allocations um to their algorithms and
- 6:58then monitor how doing excellent well
- 7:01that's a very cool story I just want to
- 7:02go back to the startup that you worked
- 7:05at which you mentioned there um sounds
- 7:07like a very interesting kind of business
- 7:10that you were working in there so you
- 7:11were creating these uh these trading
- 7:14models essentially but you weren't
- 7:16actually trading them what were you
- 7:18doing with them we were selling them off
- 7:20to like larger firms like how did that
- 7:23work yeah great question so we were
- 7:25building these stock ranking models um
- 7:28and we had sort of a whole tweet of
- 7:30models anything from you know basic
- 7:32technical price driven factors up to one
- 7:35of our Flagship models was looking at
- 7:37analyst revisions um so you know there's
- 7:39a whole cohort of sell-side analysts uh
- 7:42raing stocks all the time and we had
- 7:44built a model that would ingest all of
- 7:46those estimates from the Ibis estimate
- 7:48service um and basically make
- 7:51predictions about you know as analysts
- 7:53were changing their opinions what did
- 7:54that mean for stock so the output of
- 7:56those models got productized in two ways
- 7:59from from that team one was they would
- 8:01be sort of fed into a dashboard that
- 8:03portfolio managers could buy access to
- 8:06so they would kind of be shown as like
- 8:08you know you know red green and yellow
- 8:10lights right like this stock looks like
- 8:12a buy or or a hold or a sell based on
- 8:15our model scores um and then sort of
- 8:17more interesting to me was they we would
- 8:20actually sell a data feed of these one
- 8:22to 100 rankings so we'd sort of be
- 8:24delivering a file you know on a daily
- 8:26basis to quantitative managers and every
- 8:29single stock would get a score every
- 8:31single day across all these models now
- 8:33those folks you might say you know why
- 8:35would they want to buy a stock ranking
- 8:37model that's their job but it turns out
- 8:40you know as we'll dig into there are so
- 8:41many steps in the process of going from
- 8:43raw data to you know a portfolio um that
- 8:47you want to buy um and trade so there
- 8:49were a lot of folks that were interested
- 8:51in buying sort of these Lego blocks from
- 8:54from that company starm mine um and and
- 8:56I should say they're certainly not the
- 8:57only type of company that would that
- 8:59sold stock selection factors like that
- 9:02um one other big one was called qsg um
- 9:05and they've been acquired by one of the
- 9:07other large um you know uh one of the
- 9:09other large data vendors so there's a
- 9:11number of companies like there like this
- 9:13out there um and their value sort of is
- 9:16you know in that range where they're
- 9:18going from unstructured or raw data um
- 9:21processing it cleaning up cleaning it up
- 9:23productizing it and reducing it down to
- 9:26a more simple Factor okay now I'm not
- 9:28sure if this is going to be a good
- 9:29question or not but was it was anyone
- 9:33ever put off by the fact that you were
- 9:35selling these feeds to multiple firms or
- 9:38multiple funds like was that ever an
- 9:40issue yeah so folks would ask you know
- 9:44okay um why am I going to buy this model
- 9:46from you if there is any predictive
- 9:49signal in it that would be arbitraged
- 9:51away by other people using it um so
- 9:53that's like a definitely a common sort
- 9:55of objection to purchasing like an
- 9:57off-the-shelf Factor um and you know we
- 10:00could answer that in a number of
- 10:01different ways you know one thing we
- 10:02would say was you know so there are you
- 10:05know how many people directly looking at
- 10:08analyst estimates and trading off of
- 10:09that information either systematically
- 10:12or not and compared to sort of that
- 10:14number of people in the market analyzing
- 10:16that data you know there's actually a
- 10:18relatively small number of people that
- 10:21would be you know necessarily buying
- 10:22these these models from us so sort of
- 10:25one thing we would say was like sure in
- 10:27the limit if we sold this model to every
- 10:28single Market Market participant then
- 10:30everyone has the same information um but
- 10:33to the extent that not everyone can
- 10:35afford this model so we would make it
- 10:38you know it's funny because you're in a
- 10:39business when there where you know your
- 10:41product almost sells better the more
- 10:43expensive you make it um so so there's
- 10:45an interesting um you know sort of
- 10:48supply and demand curve I think and and
- 10:50actually you know I think it's a great
- 10:51question because it doesn't just apply
- 10:53to you know those factors that that we
- 10:55were selling then I see it actually in
- 10:58um sort of the boutique data vendor
- 11:00space just more broadly even today you
- 11:02have this interesting tension between
- 11:04you know if you think you have data
- 11:06that's very very valuable um you're
- 11:09trying to figure out how valuable is it
- 11:12and how do you maximize your revenue on
- 11:14it do you try to sell it for a very high
- 11:16price point to a very small number of
- 11:18people um you know or or do you sort of
- 11:21risk selling it you know more broadly at
- 11:24a lower price it's it's you know not a
- 11:26solved problem it's a really interesting
- 11:27question I think and I could just in
- 11:30quickly I mean like first of all like
- 11:32obviously this term factor is being
- 11:34thrown around pretty liberally right now
- 11:36and and I you know I think we should
- 11:38actually get to like defining what that
- 11:40is um but I also want to make the point
- 11:43that uh something that that was
- 11:45interesting to me when I started
- 11:47figuring out you know how data sets are
- 11:50actually used in finance is there's kind
- 11:52of this sense that if you develop a uh
- 11:54stock prediction model that the only
- 11:58thing you can do with it is use it to
- 11:59try and buy and sell stocks to make
- 12:01money on that on those trades but that's
- 12:03actually not the case and there's a lot
- 12:05more uses a few of which will get into
- 12:08today for you know being able to score
- 12:11every stock um and uh just as a quick
- 12:15example if you know that some other firm
- 12:19is located closer to an exchange than
- 12:21you are and can make trades faster and
- 12:24you know that they're using a certain uh
- 12:26factor to trade then if you can get a
- 12:30hold of that factor you might actually
- 12:32use it as an indication not to trade yet
- 12:34because if you know they're going to
- 12:36trade on something like that then you
- 12:38might want to say well I know that
- 12:40they're already going to trade on it I
- 12:41know that they're going to trade faster
- 12:42than I can so why would I just throw in
- 12:45this order which is just going to get
- 12:46behind them in the que so like there's
- 12:48there's more sophisticated uses of this
- 12:51data than just using it to try to
- 12:53directly make money based on trades
- 12:55right right okay yeah I mean that's
- 12:57that's a fair point um well Jess I know
- 13:00you're going to be an awesome fit for
- 13:01the topics we're going to get into uh
- 13:03during this episode um just quickly last
- 13:06episode we covered uh bi so anyone
- 13:08listening to this if you haven't heard
- 13:10that first episode make sure you go back
- 13:12and check that out uh it was a very
- 13:14interesting episode and uh Delan you
- 13:16might find this funny it actually
- 13:17inspired me to uh go out and get a copy
- 13:20of Fooled by Randomness by uh nine TB so
- 13:23um I've just started reading that I'm
- 13:25sure you've probably read that at some
- 13:27point I actually haven't read that book
- 13:29yet I mean I I've actually I've taken a
- 13:32a course in the past which covered a lot
- 13:34of you know kind of this notion of
- 13:37structural uncertainty and tail risk and
- 13:39how different it was actually a course
- 13:41offered by a philosophy department so it
- 13:43was really fascinating because Beyond
- 13:44just like the numbers behind it we got
- 13:46into what does risk even mean and and
- 13:49how different people think about it and
- 13:51and we we did read a lot of um TB stuff
- 13:54for that for that course uh but what I
- 13:57find interesting is there's actually a
- 13:59little bit of a of a of a war going on
- 14:02right now I think where if you look at
- 14:03someone else who's also very
- 14:05high-profile right now in that field
- 14:06which is Nate silver um he's actually
- 14:08been a little bit of a feud with with
- 14:10Nim TB recently so I think it's uh
- 14:13what's actually also fascinating is to
- 14:15kind of see how they fight each other on
- 14:17on on these Concepts okay very
- 14:19interesting I'm I'm not familiar with um
- 14:21who was it Knight Sila is that he said
- 14:24Nate Sil he's a little of a little bit
- 14:25of a celebrity in the US now because
- 14:27he's a he's a modeling guy
- 14:30who um started a business based on being
- 14:32able to predict political elections and
- 14:35had predicted the last two Federal
- 14:37elections in the states like incredibly
- 14:40well um and also maintains a lot of uh
- 14:42Sports predictions and his he runs a
- 14:45website called 538 uh and has a book
- 14:48called uh the signal and the noise and I
- 14:51think those are kind of great resources
- 14:53for just learning more about the notion
- 14:56of statistical rigor in general very
- 14:58cool I'm going to going to check that
- 14:59out for sure now this episode we're
- 15:01covering various factors in a Quant
- 15:04workflow uh in particular Alpha factors
- 15:06and risk factors and we're also going to
- 15:08go through some examples of these as
- 15:10well um before we do so though let's
- 15:13start with Universe selection so I guess
- 15:16the first question I I'll ask around
- 15:18this is what are some of the ways that
- 15:20quants decide which products or markets
- 15:23to include in the universe for a
- 15:24particular strategy or portfolio sure so
- 15:29um there are a lot there's a lot of ways
- 15:31to think about this I'm going to take
- 15:33the tack of answering this with respect
- 15:35to what I'm going to call sort of a
- 15:38cross-sectional Quant Equity strategy so
- 15:41that's the type of strategy that that
- 15:43we're sort of seeking in our community
- 15:45and looking for for allocation so if
- 15:48you're going to do something where the
- 15:50design of your um prediction is to take
- 15:55a set of stocks and compare them all
- 15:58against each other to try to find out
- 16:00which of these stocks do I want to own
- 16:03and which of these stocks do I actually
- 16:04think may go down in value then really
- 16:07what you're looking for is to find a big
- 16:10basket of stocks that are all relatively
- 16:13comparable to each other so you know
- 16:15what are things that make stocks
- 16:17comparable to each other are they all
- 16:19trading in the same Market uh are they
- 16:22all to some you know broad extent liquid
- 16:25so they can all you know you can sort of
- 16:27exchange one for the other without sort
- 16:29of really undue um conflict and then
- 16:33sort of well liquidity covers a lot of
- 16:35it there's a lot of different ways to
- 16:36look at how liquid a stock is so one
- 16:38thing people will do is say um okay
- 16:40maybe I want to choose to select a
- 16:42universe of stocks that are all large
- 16:46cap or large and midm market
- 16:48capitalization or at least exclude
- 16:50something like micro cap stocks so a lot
- 16:53of the way that I would think about
- 16:54Universe selection would be to say okay
- 16:57let's consider if I can buy US stocks
- 17:00right or or any market stocks publicly
- 17:02traded stocks um I actually tend to
- 17:05think of it a little bit like what do I
- 17:07want to exclude that are going to be um
- 17:10stocks or traded instruments that are
- 17:11going to be in that set that don't
- 17:13really rank very well against everything
- 17:15else so some common Universe selection
- 17:17techniques we see people apply would be
- 17:20getting rid of your liquid stocks um
- 17:22actually like if you just look at sort
- 17:24of every ticker listed on the US Stock
- 17:26Exchange for example um and you go into
- 17:29you know quantopian back tester and just
- 17:30ask for everything you're going to not
- 17:32only get stocks actually you're also
- 17:34going to get ETFs um you're also going
- 17:37to get adrs adrs are uh depository
- 17:41receipts that are an instrument trading
- 17:42on one exchange where that company's
- 17:44actually located in another country so
- 17:47you could sort of look through those
- 17:48things and say hm you know maybe an ETF
- 17:52exchange traded fund that itself holds
- 17:55you know another couple hundred stocks
- 17:57or it holds futures or holds Commodities
- 18:00maybe I wouldn't want to treat that in
- 18:01an apples to app's comparison way with
- 18:04you know apple or Microsoft or or IBM so
- 18:07it's a lot I way I think about it um for
- 18:10this type of ranking workflow that that
- 18:12we think a lot about is really trying to
- 18:14get to a sample of uh choices tradeable
- 18:18instruments that are kind of comparable
- 18:20to each other and and I think another
- 18:23important point there is that a lot of
- 18:25it is trying to make the real world
- 18:28implement of your strategy as close to
- 18:30your your mathematic you know uh
- 18:33formulas as possible what I mean by that
- 18:35it's like if your math works out to
- 18:38purchase $10,000 worth of this stock um
- 18:42and that stock is going through a very
- 18:44liquid time right now you're not going
- 18:46to be able to do that and then how will
- 18:47that throw off your portfolio risk how
- 18:49will that throw off your strategy in
- 18:51general um and you know so if you're if
- 18:54you're if you're trading on stuff that's
- 18:55IL liquid or you're trading on anything
- 18:57that's weird or maybe is prone to
- 18:59bankruptcy like super micro cap or
- 19:01volatile stocks it just means that in
- 19:03the future when you try to implement
- 19:05this strategy you might get a model that
- 19:07looks great on paper but you know is
- 19:10just not going to trade well at all so
- 19:13really what Universe selection does is
- 19:16not only makes it like just said like a
- 19:18comparable you know thing when you're
- 19:20when you're building these models but
- 19:22also just saves you time so that less of
- 19:24the time you build a model it looks
- 19:26great but then you try to trade it and
- 19:28it turns out you can't because of real
- 19:29world constraints like you know
- 19:31liquidity okay so how should a Trader or
- 19:34a Quant think about the size of the
- 19:37universe is this dependent on maybe the
- 19:39amount of capital that they have does
- 19:42that factor into it yeah maybe speak a
- 19:44little bit about how a Trader should
- 19:46think about the size like how many
- 19:48stocks or products or whatever it may be
- 19:51to include in their in their Universe
- 19:54yeah so I think this is pretty Capital
- 19:55dependent um and in general the way I
- 19:59think about it is let's say that you
- 20:02have some
- 20:03predictive uh model some predictive
- 20:06methodology well you want to make as
- 20:08many independent predictions as possible
- 20:11uh and it's for some of the reasons I
- 20:12think we discussed a bit in the previous
- 20:15uh in the previous episode um and we
- 20:18actually have a full lecture on this if
- 20:19you go to quantopian
- 20:29uh if you if you have a slight Edge over
- 20:31random you should really try to exploit
- 20:33that edge as much as possible by
- 20:35applying your prediction to every single
- 20:37thing for which your prediction is valid
- 20:39um and the more things you apply it to
- 20:40the more diversification you're going to
- 20:42get in your portfolio the less risk
- 20:43you're going to face overall um but of
- 20:46course like you said if you don't have
- 20:48that much uh Capital then the you know
- 20:51amount of stuff you can the amount of
- 20:53positions you can enter is going to go
- 20:55down because you're going to be paying
- 20:56some kind of fixed trading cost for each
- 20:58position
- 20:59and at a certain point the ratio of
- 21:00trading costs to profits is going to be
- 21:02too high so effectively the way I think
- 21:06about it and maybe Jess if if you have
- 21:08another perspective you can jump in but
- 21:09the way I think about it is you want to
- 21:10always be invested in as many things as
- 21:12possible the constraints being what can
- 21:15your model predict on and how much
- 21:17Capital you have available for
- 21:19allocation I I think that's right I
- 21:22think the only um thing I maybe would
- 21:24add is you can sort of also draw a
- 21:26distinction between the size of the
- 21:29universe that you're ranking or that you
- 21:31sort of want to look in and then the
- 21:34size of the portfolio that you sort of
- 21:36choose to trade so you might decide okay
- 21:40I've got you know a relatively small
- 21:42amount of capital I want to deploy today
- 21:44so I'm stuck you know with a portfolio
- 21:46where I'm really only going to be able
- 21:47to buy and and sell short you know 10 or
- 21:5120 names stocks or instruments on each
- 21:53side but I still want to look at and
- 21:56evaluate a universe of let's say the top
- 21:58500 most liquid instruments so you can
- 22:01take a a large Universe rank it and then
- 22:04you can say cool now in theory maybe
- 22:06I've ranked this universe like one to
- 22:09500 where one is my favorite stock to
- 22:11own and 500th is my favorite stock to
- 22:14sell short and then you can kind of just
- 22:16decide as you build your portfolio of
- 22:18Longs and shorts kind of how far in do
- 22:21you come from that edges of that
- 22:22distribution and so like Delany said the
- 22:24further you come in from the edges of
- 22:26the distribution the less position comes
- 22:28concentration risk that you have and so
- 22:31you know sort of the smoother the
- 22:32returns that you're likely to see are
- 22:34going to be um but you have again this
- 22:36fixed cost where you know each
- 22:38individual stock that you trade has
- 22:41probably some cost associated with it um
- 22:43and at you know small portfolio values
- 22:45you get rounding issues with the you
- 22:47know you're not going to be buying round
- 22:49Lots um not only are you not going to be
- 22:51buying round Lots you might have a
- 22:52really small portfolio size you're not
- 22:54even going to be able to afford you know
- 22:56round numbers of shares right you'll get
- 22:58these weird rounding errors um so I
- 23:00think you know there's just a little bit
- 23:01of a distinction um or or can be if you
- 23:04think about it um between the universe
- 23:06that you look in to find your portfolio
- 23:08and then how big of a portfolio you
- 23:10decide to trade okay just to pick up on
- 23:12something you said there Jess I think
- 23:14that was a really awesome answer by the
- 23:15way um when you spoke about rounding
- 23:19what are you actually referring to there
- 23:22sure so usually when I think of and I
- 23:25maybe like skipping ahead even past the
- 23:27end of this session but when I think of
- 23:29building like a portfolio the way I
- 23:31think of it is let's say we don't know
- 23:34how many dollars we invest in this
- 23:35portfolio it's sort of like a unit
- 23:37portfolio then instead we're thinking
- 23:40well what percent of my portfolio is
- 23:41going to be you know in anyone stock and
- 23:44so I'm going to come up with sort of a a
- 23:46Target portfolio right based on my model
- 23:49it's going to say I want to be you know
- 23:5110% in apple 10% in Microsoft 10% and
- 23:54IBM however um so then you go to like
- 23:57actually Implement that that and that
- 23:59then you're multiplying your percent
- 24:01weights that you want in your portfolio
- 24:03by the amount of dollars you have to
- 24:06invest in your portfolio so let's
- 24:07pretend I have a million dollars and I
- 24:09want to put 10% in each of 10 stocks
- 24:12great I have $100,000 to put in each of
- 24:15those 10 stocks and let's say the stock
- 24:17price is you know $50 well fine then I
- 24:21you know that does you know that divides
- 24:23in evenly but what if I want to invest
- 24:25like ,000 in each stock right if I in
- 24:28have only $10,000 to invest well now I
- 24:31have $11,000 to invest in each stock
- 24:33what if that stock itself costs you know
- 24:35$250 a share and I can afford four okay
- 24:39what if the next stock um you know is
- 24:41actually I don't know what Google is
- 24:43these days but whatever you know they
- 24:45split actually let's assume that they're
- 24:47still $1,000 yeah so let's assume then
- 24:49that Google's like $800 or or something
- 24:52that's you know $800 a share well now
- 24:54maybe my portfolio wants to have some
- 24:55position in that but I can only buy I
- 24:57can't buy one .1 shares um actually you
- 25:01know I can even simplify this to say you
- 25:04get down to a one of the con one of the
- 25:06rounding issues is you get down to a
- 25:07level where even if it wasn't that
- 25:10expensive to trade um you really ideally
- 25:13want like fractional shares that's like
- 25:15a whole separate topic of conversation
- 25:17but a lot of folks um think that's a
- 25:19really interesting spot for sort of
- 25:21retail fintech Innovation there's a
- 25:24company in the US called Motif where
- 25:26they let you buy like these really small
- 25:28little representative portfolios where
- 25:30you say oh I only have you know whatever
- 25:33$500 to invest well you'd kind of want
- 25:35to invest that in like a diversified
- 25:37portfolio of stocks and they'll sort of
- 25:38figure out a way to get you into those
- 25:40fractional shares um but but that's
- 25:42something that that is sort of a tricky
- 25:44problem for again like small retail
- 25:46level
- 25:48portfolios okay this is interesting so
- 25:50just to be clear and I I think I
- 25:52understand why this might be an issue is
- 25:55because if you want to be uh evenly
- 25:57invested in these 10 companies you know
- 26:00as the example goes here you're not
- 26:03going to be able to do so if uh the
- 26:06actual dollar amount of the shares
- 26:07doesn't equal the 10% that you want to
- 26:09be invested so you're like not evenly
- 26:12invested even though you want to be is
- 26:14that is that what you're getting at yeah
- 26:16exactly because you know I mean so if
- 26:19you're like a total OCD nerd like I am I
- 26:22wish like every stock had to be like you
- 26:24know one share is like $10 roughly and
- 26:26they have to like you know you know
- 26:28splits are a nightmare so you don't
- 26:29really want splits but the problem
- 26:31imagine emerges right that some stocks
- 26:33are penny stocks some stocks are a
- 26:35couple dollars a share and some stocks
- 26:37are very expensive so um if you have
- 26:39small amounts of capital then when you
- 26:42go to try to split your portfolio up
- 26:44into many many many Investments exactly
- 26:46you run into these rounding errors where
- 26:48you sort of can't get you know
- 26:507.3% exposure to this one stock because
- 26:54you can't you know own a fractional
- 26:56share for example yeah and it gets back
- 26:59into what I was saying earlier just like
- 27:01an infidelity between the math and the
- 27:03real world yeah implementation because
- 27:05if you tell your broker or your if your
- 27:08algorithm tells your broker hey I'd like
- 27:09to be 10% invested in each of these 10
- 27:12names and then your algorithm doesn't
- 27:15really have any guarantee that anything
- 27:16close to that is going to happen uh
- 27:18we've just kind of we're probably
- 27:20throwing away our entire Edge because
- 27:22the amount of noise and what we might
- 27:24actually buy and sell is going to be so
- 27:25great compared to kind of any Edge we've
- 27:27attained by our through our math that
- 27:29we're it's it's really tough to to get
- 27:32anything done right okay now just while
- 27:35we're still on this topic are there any
- 27:36common mistakes that stand out to you
- 27:39which you often see Traders and quants
- 27:42making when determining their
- 27:45Universe like just not doing it at all
- 27:48that's that's the biggest one is the
- 27:49biggest one so like not having a step
- 27:52that defines what am I willing to
- 27:53consider in my model so um you know if
- 27:56you're basically just saying like hey
- 27:58I'm going to look at I'm going to look
- 28:00to find um what's you know let's say
- 28:03you're looking at like a technical price
- 28:05driven signal so you just like sort
- 28:07everything based on last five days
- 28:09returns um but you don't even consider
- 28:11that that thing that sorted to the top
- 28:13is like a triple lever DTF you just buy
- 28:16it um or sell it um so just the worst
- 28:19mistake I think you can make in Universe
- 28:21selection is not doing it yeah and I
- 28:23would say that's kind of uh I think
- 28:25typical of people who are now entering
- 28:26the Quant field as you know more and
- 28:28more opportunities to do so are arising
- 28:30these days um but you know people who
- 28:33are coming in from maybe more
- 28:34traditional discretionary trading
- 28:36background and they're entering the
- 28:37Quant field and they're saying let's
- 28:38apply my normal thing which is I'm going
- 28:40to you know try to do some research and
- 28:41here's what I used to do research and I
- 28:43oh my gosh now with a computer and Excel
- 28:45I can actually look at every stock every
- 28:47day and I'm oh my gosh this one has such
- 28:49a great ratio um I'm G to grab it but
- 28:51you know that there's just no thought to
- 28:53do that that Universe selection step in
- 28:56advance okay yeah I think those are
- 28:58really great points that's awesome now
- 29:01we're about to get into factors so let's
- 29:04tackle first of all what exactly is a
- 29:07factor in a quantitative sense so I mean
- 29:10I think that and again I said this
- 29:13before Finance is one of the felds that
- 29:15because of the amount of secrecy of all
- 29:18the companies working um I think that
- 29:20there is a a pretty big kind of uh not
- 29:25disconnect inconsistency in in the terms
- 29:27that are used by various different
- 29:29people to mean various things um so you
- 29:32know when I Define a factor I think this
- 29:35is a pretty broad definition of a factor
- 29:37that's accepted by by most you know kind
- 29:40of uh professional Quant Quant teams but
- 29:43different people might have different
- 29:44words for what I'm saying
- 29:46um a factor can mean one of two things
- 29:50usually it can mean an alpha factor
- 29:53which is what Jess has been talking
- 29:54about with kind of a stock selection
- 29:58model uh an alpha factor is any way that
- 30:02you assign a score to each stock at you
- 30:06know regular intervals um and that score
- 30:09is supposed to be representative of
- 30:11which stocks you would like to own more
- 30:13and which stocks you would like to own
- 30:15less the score doesn't have to be the
- 30:17expected return out of each stock or the
- 30:20expected future price um it just has to
- 30:22be representative of like better or
- 30:24worse um and then the other uh way that
- 30:28people kind of the other thing that
- 30:29people refer to as a factor is something
- 30:31known as a risk factor um and when you
- 30:34get into it a risk factor is literally
- 30:36just a return stream it's a Time series
- 30:38of of returns and we we'll talk about
- 30:41that I think um a little bit after we we
- 30:43talk about Alpha factors a little more
- 30:46yeah absolutely and I mean when we talk
- 30:48about factors um as such are these
- 30:52factors that apply to individual
- 30:54strategies or is this something that is
- 30:56only applicable a portfolio level so let
- 31:00me sort of Replay like one sort of
- 31:03highlevel uh way of thinking about an
- 31:06alpha Factor versus a risk factor like
- 31:08Delany was just saying um that helped
- 31:11helped me and I mean I've been like
- 31:12thinking about these things for a long
- 31:13time and and still like you come up with
- 31:15new hear new ways people describe these
- 31:17things that are really helpful so um in
- 31:19any case a factor is like a single
- 31:22number per stock per day or per minute
- 31:25right so it's it's like a piece of of
- 31:26data like Delany said it could be a
- 31:28return stream um but it doesn't actually
- 31:30like have to be a return stream it's
- 31:32it's a single number the way I think of
- 31:34it it's a single number per day per
- 31:35stock that's going to tell you something
- 31:37an alpha Factor uh that number should be
- 31:40correlated with or predicting the
- 31:42direction of future returns such that
- 31:44you should be able to use that factor to
- 31:46pick stocks that you think are going to
- 31:47go up or down um in some way right feed
- 31:51that into some model and and it should
- 31:53actually have power of predicting the
- 31:55direction of your Returns the sign of
- 31:57your return returns whereas a risk
- 31:59factor and we'll talk about what they
- 32:01what some of them are is something that
- 32:03at best you hope is going to potentially
- 32:05be predictive of sort of the volatility
- 32:08of the returns going forward so if we
- 32:10say something H is risky that means we
- 32:14don't know what its price is going to be
- 32:15tomorrow but we expect sort of the
- 32:17variance between today's price and
- 32:19tomorrow's price to be relatively large
- 32:22and something's very low risk that means
- 32:24I don't know whether it's going to go up
- 32:25or down tomorrow but I expect it to if
- 32:28it does go up or down like by a
- 32:30relatively small amount and all of these
- 32:32things are relative right so that's kind
- 32:33of part of why Universe selection is the
- 32:35right first step because these factors
- 32:37tend to be only useful on a relative
- 32:40basis so that's the distinction I the
- 32:42way I think of uh you know as we start
- 32:45to talk about what some of these things
- 32:46are there's often like sort of almost an
- 32:48ideological or philosophical debate that
- 32:51can happen with people like is that
- 32:53thing an alpha factor or is that thing a
- 32:55risk factor um and the the definition
- 32:57that I like a lot is an alpha Factor
- 33:00should be predicting the sign of the
- 33:01future returns and the risk factor you
- 33:04know at best hopes to predict the
- 33:06variance of the future returns so and in
- 33:09addition to that so I think it might be
- 33:10helpful to actually just like walk
- 33:11through a concrete example of this
- 33:14because you know at least when I was
- 33:15kind of figuring out this stuff one of
- 33:17the hardest things was just getting my
- 33:18head around like what is this thing
- 33:20actually what is it what is it what does
- 33:22it do what does it mean um and one thing
- 33:25I just wanted to say is that uh we're
- 33:27going to set
- 33:28um for like any of the content that we
- 33:30talk about or or or point to on the
- 33:33podcast uh we'll set up and we'll have a
- 33:35we'll have it so that that's all listed
- 33:37out so everybody can kind of go and
- 33:38check it out interact with it any you
- 33:40know notes that I I say hey you should
- 33:42check this out we'll try to get it in
- 33:43there uh the link for that is going to
- 33:45be quantopian
- 33:46domcom chatwi Traders no spaces um and
- 33:50and we'll have that all set up by the
- 33:52time that this this podcast airs so like
- 33:54as I'm talking about this stuff you know
- 33:56we'll we'll do our best to make sure
- 33:57that there's actually concrete examples
- 33:59that you can follow along with if you
- 34:01want to pause this podcast and actually
- 34:02like try implementing this in code and
- 34:05see what happens but like a concrete
- 34:07example of this might be something like
- 34:09uh market cap right so market cap can be
- 34:12used I mean both as and I arguably maybe
- 34:16not a very good one but both as an alpha
- 34:18factor and as a risk factor and and what
- 34:20I mean by that is the following so every
- 34:23company at every point in time has a
- 34:26market cap
- 34:28and so in that sense it is an alpha
- 34:31Factor again like is it predictive of
- 34:33future returns well it was you know uh
- 34:37one of the original F French factors uh
- 34:40when which for people who aren't
- 34:41familiar F French um f is a fam and
- 34:45French are both professors um at
- 34:47University of Chicago and Dartmouth and
- 34:49they came up with uh a basically Factor
- 34:53modeling as a whole they really kind of
- 34:55started um and they developed a factor
- 34:58model that explained like a large
- 35:00percentage of uh returns in the market
- 35:04and one of the original factors was
- 35:05market cap now of course that's so old
- 35:09now that you know I don't I haven't done
- 35:11any work recently I haven't checked if
- 35:12market cap is still explanatory of
- 35:14future returns but um the idea is that
- 35:17that's an alpha Factor you just say
- 35:19every stock has a market cap at every
- 35:21point in time so you could set up a
- 35:23portfolio where you weighted everything
- 35:25in your Universe by its market cap and
- 35:28then went long or short on the on the
- 35:31biggest uh cap companies and the
- 35:33smallest cap companies and you could be
- 35:35long market cap which would mean you'd
- 35:36be long the biggest companies and short
- 35:38the smallest companies or you could be
- 35:40short market cap which would mean you'd
- 35:41be short the biggest companies and long
- 35:43the smallest companies and on the flip
- 35:46side now what you can do is you can say
- 35:48okay well let's say that you
- 35:49theoretically had that portfolio running
- 35:52right and you had been long the big
- 35:54companies and and short the small
- 35:55companies and ignoring for now like
- 35:57transaction cost and slippage let's just
- 36:00say what's the return on that
- 36:03portfolio over time and and that return
- 36:07stream is used as the risk factor for
- 36:12market cap because the idea is that
- 36:15that's a well-known factor and it's kind
- 36:17of a fundamental thing that moves along
- 36:19in the market and if your trading
- 36:22strategy you know whatever your trading
- 36:24strategy is it could be an algorithm it
- 36:25could just be you manually placing
- 36:26trades if your trading strategies return
- 36:29stream has dependence or correlation
- 36:33with this well-known market cap return
- 36:35stream then that means that you are
- 36:37exposed you're dependent on it you are
- 36:39carrying some of the risk from that risk
- 36:42factor into your returns
- 36:45so I I don't know if that's helpful in
- 36:47kind of trying to understand maybe the
- 36:49split between an alpha factor and a risk
- 36:51factor but the general idea is that you
- 36:53can convert one to the other fairly
- 36:56easily because a risk factor just what
- 36:58are the returns had you traded on this
- 37:01Alpha factor and what is you know your
- 37:04some other strategies dependence on this
- 37:06on this known risk factor maybe what
- 37:09might be helpful is if we could talk
- 37:11about how how a Quant may go about
- 37:14actually seeking out an alpha factor I
- 37:17mean I know that that might be um that
- 37:19might be a whole another conversation on
- 37:20its own but maybe if we could just sort
- 37:22of briefly uh run through that that
- 37:24might be helpful yeah I think we can I
- 37:26think we can sort of talk about that at
- 37:28a high level and then I can give a
- 37:30specific example that I already
- 37:31mentioned from from the work I did at
- 37:33starine so um you want to find an alpha
- 37:36Factor what that means is you're saying
- 37:38I want to find a piece of data that I
- 37:40can know about stocks today that
- 37:42predicts whether they're going to go up
- 37:44or down tomorrow um so the really the
- 37:46most straightforward way of doing that
- 37:48uh well I think best and most
- 37:50straightforward way is first to develop
- 37:52some hypothesis that you want to test
- 37:55intuition economic rationale what's a
- 37:57thing I could know about a stock today
- 37:59that might tell me if it's going to go
- 38:00up or down tomorrow so an example that I
- 38:02mentioned earlier um is okay well what
- 38:06if I know today um how many like what
- 38:09fraction of the shares of a given
- 38:11company have been borrowed and lent out
- 38:14for short sale so uh the economic
- 38:17rationale for that factor being
- 38:19predictive would be would go like this
- 38:21uh shorting stocks is expensive and you
- 38:25know relatively uh tricky to do uh you
- 38:28pay interest when you short a stock and
- 38:31not everybody knows how to do it so
- 38:33people that are out there in the market
- 38:34shorting stocks are what we might call
- 38:37Smart money this is the hypothesis so if
- 38:40I could know today um for every company
- 38:43traded on a given exchange what fraction
- 38:46of its shares have been sold out short I
- 38:49might develop the hypothesis that would
- 38:50say companies where you know uh there's
- 38:54a lot of their shares that are sold
- 38:56short those companies are in trouble and
- 38:57I think they're going to go down if not
- 39:00tomorrow soon companies with almost no
- 39:03uh shares sold out short those companies
- 39:05are probably fine so I might want to
- 39:07hold those so that's sort of your first
- 39:09step as you develop a hypothesis about a
- 39:12piece of data that you could have today
- 39:14then you basically need to test that um
- 39:16so one of the things that my research
- 39:18team at quantopian has built is a couple
- 39:20of Open Source python libraries for
- 39:21looking at this type of stuff um the one
- 39:24we built for analyzing Alpha factors is
- 39:26called Alpha lens um so the one of the
- 39:29ways that people would test this type of
- 39:31thing would be to say okay great so let
- 39:32me take my Factor that's what I know
- 39:34today so that's how many you know what
- 39:36fraction of shares are sold short for
- 39:38example today now let me run just maybe
- 39:42basically like a correlation right like
- 39:44a a rank correlation or some sort of
- 39:47regression against tomorrow's price so
- 39:50let's pretend I I can take tomorrow's
- 39:53price and roll it in today or take the
- 39:54price five days from now and I basically
- 39:56just say you is there a correlation if I
- 39:59sorted my universe and ranked stocks and
- 40:01I shorted the ones with the most short
- 40:02interest it's called Uh and longed the
- 40:05ones with the least then how well does
- 40:08that predict or rank stocks based on
- 40:10their returns one day ahead five days
- 40:13ahead 10 days ahead what have you um and
- 40:16so I actually can get like a a single
- 40:18number um or a distribution estimate
- 40:21that
- 40:22says how predictive like what amount of
- 40:25tomorrow's returns can I explain today
- 40:27with this single number that's the basic
- 40:29idea and like I guess another way you
- 40:32the very last step is is you say okay
- 40:35like I had a hypothesis I tried it
- 40:37there's no predictive power which is
- 40:39usually what happens I have to discard
- 40:41that and start over again or you know
- 40:43you you either get lucky or you've been
- 40:45working on something for a long time you
- 40:46finally find something where yes there
- 40:48is predictive power so a lot of it is
- 40:50like you know what I would consider any
- 40:51kind of research scientific process
- 40:53where you develop a hypothesis and then
- 40:56you set about really trying to disprove
- 40:58it um until you find something that you
- 40:59know you really kind of can't can't
- 41:01discard or disprove it actually seems to
- 41:03to hold up okay now the risk of sounding
- 41:06like a total amateur myself um is an
- 41:10alpha Factor just a fancy term for a
- 41:13trade signal I mean so the thing about
- 41:15Alpha factors is I might argue that a
- 41:19trade signal is just a less quanty way
- 41:21of thinking about an alpha Factor right
- 41:24in the reverse Direction but the thing
- 41:25about Alpha factors is yes they just
- 41:27they
- 41:28encapsulate a pricing model right each
- 41:31each Alpha Factor really just has the
- 41:33sense of can you predict future motion
- 41:36of stocks are it's going to go up or is
- 41:38it going to go down so in the sense that
- 41:41you had a trade signal at every point in
- 41:43time and you either bought or sold based
- 41:45on that trade signal well if you just
- 41:47took that trade signal and applied it to
- 41:49every stock now you have an alpha factor
- 41:53I mean the notion of an alpha factor is
- 41:55just taking a predictive model a trading
- 41:57signal some forecast of returns and just
- 42:00applying it to everything and then
- 42:02looking at cross-sectionally how the
- 42:05entire universe does rather than like
- 42:08any smaller portfolio of stocks okay
- 42:11okay now just because you might have a a
- 42:14quality Alpha Factor right there's
- 42:17something in that what You' what you've
- 42:19come up with that doesn't necessarily
- 42:21you mean you're going to be profitable
- 42:23when you implement that because an alpha
- 42:25factor is still totally separate from
- 42:27you actually manage a trade or manage a
- 42:29position um am I right in saying so yeah
- 42:32absolutely so um you know it depends a
- 42:35lot on sort of what's the end strategy
- 42:38um that you're trying to achieve but the
- 42:40alpha Factor let's say even if it is
- 42:43predictive um there are a lot of other
- 42:45steps for a Quant um in implementing
- 42:48sort of a a portfolio um you know manage
- 42:52strategy that come come after that um
- 42:55sort of without even kind of getting
- 42:57into the whole process one very common
- 43:00Pitfall or failure mode is that your
- 43:02Alpha factor is predictive right it does
- 43:05sort of contain a forecast about
- 43:07tomorrow that's true um but the edge is
- 43:10so small that once you actually try to
- 43:13go into the market and trade that um you
- 43:15can't overcome transaction costs so um
- 43:18on paper it looks good um but if you
- 43:21don't model the cost the friction in the
- 43:24market realistically what you pay to
- 43:26trade it you actually can't achieve a
- 43:29profit so one thing that people try to
- 43:31do although you know it's it's very
- 43:34challenging is they try to sort of have
- 43:36that Alpha Factor you know have a
- 43:38forecast of sort of how much you expect
- 43:41the returns to go up or down if you
- 43:44think you can achieve that which is like
- 43:47really a little bit tough to have a lot
- 43:49of confidence in that but if you think
- 43:50you can achieve that then you can you
- 43:53think you have a forecast that says I
- 43:54think this stock is going to go up by
- 43:57you know whatever 0.1% tomorrow and then
- 44:01you also know I know it's going to cost
- 44:03me you know 1% to make that trade you
- 44:07have zero profit left over um so sort of
- 44:10one common failure mode is you find an
- 44:13alpha Factor but it's a weak Alpha
- 44:15Factor so on its own you can't exceed
- 44:18transaction costs um the thing that that
- 44:21sort of cross-sectional Quant strategies
- 44:24try to do often is they try to say okay
- 44:26cool found one alpha factor it's weak on
- 44:29its own it's probably not good enough to
- 44:31overcome costs so let me look and try to
- 44:34actually find and sort of roll up many
- 44:37different uncorrelated weekly predictive
- 44:40signals which does get into sort of
- 44:42another conversation but that's sort of
- 44:44the direction that you know especially
- 44:47you know in today's modern Market where
- 44:49factor analysis has been you know well
- 44:52understood for you know decades
- 44:55certainly um and some of these single
- 44:57factors just aren't sort of strong
- 44:59enough to overcome you know
- 45:00implementation costs anymore the sort of
- 45:03modern Quant approaches tend to actually
- 45:05say great let me sort of know and
- 45:09understand that this individual Alpha
- 45:10factor is is relatively weak uh weekly
- 45:14predictive but if I can find lots of
- 45:17independent and very different sources
- 45:20of weak predictions and I can wrap them
- 45:22up together in an intelligent way now I
- 45:25much more likely to have something
- 45:27that's a going to overcome transaction
- 45:29costs um and B going to work sort of all
- 45:33the time so the other risk with with
- 45:35Alpha factors is that they're predictive
- 45:38but not very consistently so maybe you
- 45:40have an alpha factor that works really
- 45:42well you know and and I think Traders
- 45:44tend to think this way too like maybe I
- 45:46have a trading signal that I think works
- 45:48really well um in Bull markets or bare
- 45:50markets or very volatile markets you
- 45:53know or not so volatile markets and if
- 45:55you think you have found signals that
- 45:57actually are sort of more intermittent
- 45:59in their um in their value then it's an
- 46:03even stronger case for aggregating them
- 46:05up together with other signals that
- 46:08might work well at different times um so
- 46:11I would think of it that you know
- 46:13finding one good Alpha factor is great
- 46:16um but is just one step of the process
- 46:18you're probably going to need to find
- 46:19several and then you know I don't think
- 46:21it's necessarily in scope what we're
- 46:22talking about today but there are a lot
- 46:24of challenges to then um putting them
- 46:27that into a portfolio that you can trade
- 46:29profitably in the market I think of it
- 46:31as the most interesting fun step of the
- 46:33process um but it's certainly not the
- 46:35end of the process yeah and I think that
- 46:37actually that that's kind of a summary
- 46:39of of what we're going to be talking
- 46:40about in the next podcast which is all
- 46:43the considerations that you might
- 46:44actually go through and reasons for
- 46:47combining many weekly predictive Alphas
- 46:51into one big you know Monster Alpha and
- 46:54there's actually kind of sophisticated
- 46:55things you can do you can you don't just
- 46:57have to average them together um but you
- 46:59know the general intuition is just like
- 47:00just said if you've got uh you know 10
- 47:04things and each of them has some signal
- 47:06and some noise well as you average more
- 47:08and more things together um you know the
- 47:10noise because it could be up or down is
- 47:11going to start canceling itself out and
- 47:13then you're going to be left with a
- 47:14stronger and stronger signal uh and this
- 47:16is just something that's you know
- 47:18ubiquitous to any kind of Statistics or
- 47:20predictive modeling or Stat you know uh
- 47:23data science it's just you're constantly
- 47:24trying to average together predictive
- 47:27things to get it a stronger signal uh
- 47:30and but again we we'll talk about that a
- 47:32lot more uh in the next podcast okay
- 47:35Jess has to leave thank you very much
- 47:38Erin it was really fun and I'm sorry I
- 47:39have a hard stop I have to get on a bus
- 47:41to head home no no stress it was awesome
- 47:43speaking with you Jess thanks very much
- 47:44for doing this cheers yeah no problem
- 47:47thanks a lot so we we spoke there a lot
- 47:49about Alpha factors um and you briefly
- 47:52touched on risk factors I think it might
- 47:55be interesting if we could pull that
- 47:56apart a little little further so maybe
- 47:58what is a risk factor I mean that's a
- 48:00pretty basic question but maybe a good
- 48:02point to start so what is a risk factor
- 48:04maybe how does it differ from an alpha
- 48:07Factor uh how does a risk factor differ
- 48:09from risk management in a general sense
- 48:12maybe if you just want to speak about
- 48:14that a little bit sure so I mean risk
- 48:16factors are probably one of the main
- 48:17techniques in modern risk management um
- 48:22because your risk is often measured or
- 48:26Quantified
- 48:27uh by risk factors and uh so what I mean
- 48:32by that is again like any Alpha Factor
- 48:34uh will produce portfolio weights you
- 48:37know and and and from portfolio weights
- 48:38over time you can say what would my
- 48:41returns have been you know were I able
- 48:43to trade this portfolio again like Jess
- 48:45said in the real world there's tons of
- 48:47of considerations like uh transaction
- 48:50cost and slippage and liquidity and you
- 48:52have to figure out all this stuff when
- 48:54you're saying does my Alpha Factor
- 48:55actually translate into into returns um
- 48:59and in fact honestly that's really what
- 49:01back tests are for and so I think I
- 49:03might have mentioned in the last podcast
- 49:05that uh you know professional quants
- 49:07really don't spend any time back testing
- 49:09or or not any but don't spend that much
- 49:11time back testing and and and the reason
- 49:13for that is a lot of what they do is
- 49:14hypothesis work where they're like J
- 49:16said they're testing a hypothesis
- 49:18they're trying to see if this Alpha
- 49:20Factor spreads out returns uh you know
- 49:22it can predict future returns
- 49:24historically uh and then once they
- 49:26they've gotten something that they're
- 49:27pretty sure does based on a lot of
- 49:29rigorous statistical analysis um then
- 49:32the last step usually is okay now let's
- 49:34see how it survives real market
- 49:36conditions and that's usually what a
- 49:37back test is for back tests are usually
- 49:39done to simulate a variety of trading
- 49:41conditions because everybody's going to
- 49:43have different prices they pay for
- 49:45trading and everything um but you know
- 49:47that's I think what what at least and I
- 49:49know what for a lot of what we do and
- 49:51we're like simulating whether a strategy
- 49:53will do well in this brokerage versus
- 49:55this brokerage uh that's that's what we
- 49:57look at back tests for but so the
- 49:59general idea is like ignoring all of
- 50:01those constraints let's just say you
- 50:03were kind of theoretically able to enter
- 50:06into this portfolio based on this Alpha
- 50:08Factor well now you have a return string
- 50:10right and the idea is that return stream
- 50:13represents the returns that are coming
- 50:17from that Alpha Factor um and so the
- 50:21alpha Factor could be uh a momentum
- 50:24Factor so you could look at returns
- 50:26coming from momentum it could be market
- 50:28cap uh it could be some fundamental
- 50:30value Factor where you're trying to
- 50:32estimate the value of a company based on
- 50:34a few of its you know um metrics like
- 50:36cash flow and revenue and everything uh
- 50:39so but the idea is once you have that
- 50:42return on the
- 50:44portfolio uh when the portfolio
- 50:46depending on the alpha Factor uh well
- 50:48then you kind of know like had I been
- 50:50trading that Alpha factor I would have
- 50:51gotten these returns so if your
- 50:54strategy and there's there's a variety
- 50:56of ways to do this some people use um
- 50:59co-variance techniques some people use
- 51:01uh multiple regression models I think
- 51:03multiple regression models are the most
- 51:05common uh and in the quantopian lecture
- 51:07series we actually cover all this we
- 51:09actually have uh lectures that touch on
- 51:11multiple regression we have lectures
- 51:12that touch on Spearman rank correlation
- 51:15which is what Jess was talking about
- 51:16earlier we have lectures that touch on
- 51:18uh like risk factors so it's all there
- 51:20if you want to go check it out basically
- 51:22the idea is that let's say that you know
- 51:25let's say that there is the the uh Aaron
- 51:27factor and I knew what your portfolio
- 51:30looked like every day and I knew what
- 51:32returns were coming out of it right and
- 51:34I was trying to sell you a strategy and
- 51:37you know I was saying yo uh Aaron you
- 51:41should invest in my strategy and you
- 51:43looked at the you know uh correlation
- 51:46between uh my strategy and your strategy
- 51:50your you know your returns and you found
- 51:52that there's actually a 100% correlation
- 51:55would that be something something that
- 51:56you would be interested in investing in
- 51:58probably not because there's nothing new
- 52:02it's just exactly the same as what
- 52:03you're doing and you could just put more
- 52:05money into your strategy and not pay any
- 52:08trans you know any management fees so
- 52:11the same thing applies for risk factors
- 52:13so let's say that now we have you know
- 52:15the the the Aaron factor and the Aaron
- 52:17risk factor which is the Returns on your
- 52:19portfolio well when I'm evaluating my
- 52:22strategy let's say that your portfolio
- 52:24is a very well-known portfolio I'm going
- 52:27to look for um whether or not my new
- 52:30algorithm or my new strategy has
- 52:32correlation in its return stream with
- 52:34your return stream because if it does
- 52:37really what that's saying is it seems
- 52:39like some of what's going on in my
- 52:42strategy is really just this already
- 52:44known thing and so for example uh one of
- 52:48the most common risk factors is the
- 52:51market the broad Market in the US the
- 52:53S&P 500 you know traded as the Spy and
- 52:57and it would be you would also probably
- 52:58look at you know the Australian broad
- 53:00Market in Australia uh and so if you're
- 53:03looking at the the broad market and
- 53:05you're looking at the correlation
- 53:07between your returns and the broad
- 53:09market returns if there's a high
- 53:12dependency then it means that your
- 53:14strategy can basically be expressed by
- 53:17put most of the money into the broad
- 53:18market and then do something else with
- 53:20the rest of the money does that make
- 53:23sense so the general idea is if you have
- 53:27a high dependency with the broad Market
- 53:29not only is it really not that different
- 53:31from investing in the broad market and
- 53:33then you know doing something else with
- 53:35a with the rest of the capital but also
- 53:37it means if the broad Market goes off a
- 53:39cliff you know there's a strong risk
- 53:41that you're also going to go off a cliff
- 53:43so in general quants want to make their
- 53:45new uh strategies as independent of of
- 53:49well-known factors as possible both for
- 53:52the reason that it's more attractive to
- 53:54investors um because because they're not
- 53:57just redoing something that's already
- 53:58known but also the fewer things you're
- 54:01dependent on the fewer sources of risk
- 54:03you have in your returns if I'm
- 54:05dependent on a lot of different things
- 54:06only one of those things has to go off a
- 54:08cliff for me to go off a cliff so uh
- 54:11just the the the you know the the the
- 54:14lower my dependence is on these risk
- 54:16factors the better generally a return
- 54:19stream is considered to be okay so let's
- 54:22let's start to put this all together now
- 54:25let's walk through an example so I know
- 54:29you guys there at quantopian uh put
- 54:31together an example about uh female CEOs
- 54:35as a potential strategy would you like
- 54:38to maybe walk us through that and then
- 54:40we can kind of pull it apart and speak
- 54:42about what part of that is the alpha
- 54:44Factor where's the risk factor um and
- 54:46that sort of thing but maybe just walk
- 54:47us through that example to begin with
- 54:50and and we'll take it from there yeah
- 54:52sure so the the female CEO's project was
- 54:54a really good piece of work by by um
- 54:57Karen Rubin who's our uh VP of product
- 55:00here um and you know she is an
- 55:03exceptional product manager in in that
- 55:06you know she's actually really willing
- 55:07to get her hands very dirty with the the
- 55:11the the stuff that she's building and
- 55:12you know as part of that she actually
- 55:13put together a full piece of of of Quant
- 55:16research which is I thought was pretty
- 55:19impressive uh you know given that a lot
- 55:20of product managers do not do not take
- 55:24nearly as many steps um into their own
- 55:26prodct product what she did is she came
- 55:28up with a hypothesis um and her
- 55:31hypothesis uh and this is actually
- 55:33backed by a decent amount of finance and
- 55:37uh economic research in the last i'
- 55:39would say five to 10 years maybe more
- 55:42but her hypothesis was that investing in
- 55:46companies uh in the broad market so uh
- 55:50investing in companies uh and I think
- 55:52she used as her Universe I think the
- 55:54Fortune 1,000
- 55:56maybe I have to i' have to go back and
- 55:58check it again we'll have we'll have
- 56:00links to this you can go check it on
- 56:02your own at at quantopian dcom chat
- 56:05withth Traders um and you can see all
- 56:07the work but uh the idea is she started
- 56:09with the universe and then she said
- 56:11within that Universe at any given time I
- 56:13want to be invested in companies with
- 56:17female
- 56:19CEOs and so her hypothesis is that being
- 56:24invested only in companies with female
- 56:26CEOs will yield better returns than
- 56:31being invested in the entire universe
- 56:34equally that's so that's that's the
- 56:37hypothesis and so that's where a Quant
- 56:39would start right they'd say here's my
- 56:41here's my new hypothesis here's what I
- 56:43think is going on and it usually comes
- 56:45from some interesting Insight or broad
- 56:48economic understanding and and again
- 56:50what we talked about in the previous
- 56:52episode was really like ways to avoid
- 56:54overfitting your models and and and
- 56:56trying to avoid bias and you know this
- 56:58is this is an example of I think a good
- 57:00way to do things rather than trying a
- 57:02ton of different things and saying oh
- 57:03this thing happens to work I'm not sure
- 57:05really why but so here you start from
- 57:07like a really um solid hypothesis which
- 57:11is that companies that are currently
- 57:13being run by women uh will will
- 57:16outperform uh you know the broad Market
- 57:19in general uh and maybe the reasons for
- 57:21that could be many uh I think that
- 57:23there's some arguments I don't know I
- 57:26honestly don't know and I don't endorse
- 57:27any of these arguments but there's some
- 57:28arguments that um because there's sexism
- 57:32in the IND in all Industries uh you know
- 57:34the bar for women to meet to get
- 57:36promoted is higher and so um they have
- 57:39to work harder and be better to get CEO
- 57:42positions as as opposed to comparable
- 57:44men um and and so therefore you know uh
- 57:47companies being run by women are just
- 57:49going to be run better um and then
- 57:50there's also actually a lot of of of
- 57:52work which has recently shown that kind
- 57:55of social environments of all men uh
- 57:58tend to make kind of more irrational and
- 58:01and riskier decisions uh and and so you
- 58:05know obviously you want companies to
- 58:07make you know kind of lowrisk rational
- 58:09decisions and and so uh if your board is
- 58:12is you know has some women in it that
- 58:14might be a a really good sign that the
- 58:17company is going to make less risky
- 58:18decisions and then finally you know
- 58:19maybe the theory is that just the fact
- 58:21that a company is is is in you know
- 58:24going to elect a female CEO is a good
- 58:27sign that that company is is just you
- 58:29know it's it's free of more bias you
- 58:31know it's a more Progressive company
- 58:32they're they're smarter and how they
- 58:34work so there's lots of different
- 58:36reasons that you could maybe hypothesize
- 58:38that that this effect would be true but
- 58:40the general idea is that at the end of
- 58:41the day you've got hypothesis
- 58:43so really what that is is an alpha
- 58:45Factor right because um your Alpha
- 58:48factor is now uh a score of one for
- 58:52companies that currently are being run
- 58:54by a female and zero for companies that
- 58:57are currently being run by a male and
- 58:59that's that's your Alpha Factor you're
- 59:02saying waight you know weight might sort
- 59:05companies based on female versus
- 59:08non-female and so in this case all the
- 59:09female ones go to the top and all the
- 59:11male ones go to the bottom and uh you
- 59:14know see does that spread out returns at
- 59:16all um you know do the Returns on the
- 59:20female companies at any given point in
- 59:22time exceed the Returns on the male
- 59:25compan iies at any given point in time
- 59:27and so the way that uh Karen tested that
- 59:31is she actually ran a simulation of
- 59:34saying at every point in time just be
- 59:36invested in uh the companies that are
- 59:39being run by by women and she she found
- 59:42that she did actually significantly beat
- 59:45uh the the broad Market as a benchmark
- 59:48um and since then she's actually done
- 59:50gone back um and again we we'll link all
- 59:52this uh she's gone back and you know
- 59:54done this kind of redone this study and
- 59:56made many improvements and picked better
- 59:58benchmarks and and each time uh
- 1:00:01basically her strategy has still managed
- 1:00:04to to outperform whatever whatever
- 1:00:08Benchmark she's chosen so it seems like
- 1:00:11there is something there there is
- 1:00:13something in at at least in the 2003 to
- 1:00:17current time frame it seems that there
- 1:00:20is still an effect um in which being
- 1:00:23invested in companies run by women um
- 1:00:26does you know exceed the performance of
- 1:00:29of being invested in companies that are
- 1:00:31run by men and the thing that I love
- 1:00:33about this alphafactor is that it's also
- 1:00:34something where you know you could
- 1:00:36feasibly in invest in it yourself uh and
- 1:00:39it's not I mean obviously like I can't
- 1:00:41really in make any statements of
- 1:00:43informed risk but just from an intuitive
- 1:00:45perspective you know as long as you are
- 1:00:47invested in a in a few different
- 1:00:49companies run by women um you know
- 1:00:51that's you're not really doing anything
- 1:00:53too crazy or exotic with that right
- 1:00:55you're just kind of that's a method of
- 1:00:56of picking stocks absolutely so in this
- 1:01:00example you highlighted where the alpha
- 1:01:02Factor
- 1:01:03lies what about the risk factor can you
- 1:01:06talk about where that kind of fits into
- 1:01:08this example sure so now in this case we
- 1:01:12have this return stream we have the
- 1:01:15returns of the strategy of let let's
- 1:01:19call it the the the the female risk
- 1:01:22factor right we have the returns of a
- 1:01:25portfolio of holding just female runs uh
- 1:01:28companies over time and so now what we
- 1:01:31could do is as we're developing other
- 1:01:33factors other strategies we could look
- 1:01:36at those uh factors risk exposure to the
- 1:01:42Returns on uh the the female portfolio
- 1:01:45so uh that's how you would then
- 1:01:47transform this into a risk factor
- 1:01:48because like okay well you might say
- 1:01:50well maybe in 5 years this is just welln
- 1:01:52and everybody trades on it so I don't
- 1:01:54want to be dependent don't want to have
- 1:01:56any correlation with this Factor um you
- 1:02:00know then you can start using it in the
- 1:02:01other direction as a risk factor rather
- 1:02:04than than trying to trade in it yourself
- 1:02:07uh and then we can also go the other
- 1:02:09direction and we can say okay we have
- 1:02:11this return stream of uh female CEOs and
- 1:02:16what are its risk exposures so we could
- 1:02:19take like a set of you know any number
- 1:02:22of known risk factors and then we could
- 1:02:25look for um dependencies between you
- 1:02:28know our female portfolio and those
- 1:02:31known risk factors and we could say oh
- 1:02:34interesting it seems like companies that
- 1:02:36are run by women have exposure to these
- 1:02:39other known risk factors or maybe it
- 1:02:41doesn't have exposure to these other
- 1:02:43known risk factors and this is just a
- 1:02:45completely new thing that we've
- 1:02:47discovered um so that's kind of the
- 1:02:49approach that you would take to either
- 1:02:50turn it into a risk factor or use risk
- 1:02:53factors to try to evaluate what what is
- 1:02:56this new thing that you've just
- 1:02:58constructed excellent okay well yeah I
- 1:03:00mean this is definitely a really good
- 1:03:01example and I've actually watched uh
- 1:03:04that video was it was it Karen uh who
- 1:03:06gave the talk about this uh this
- 1:03:08particular um strategy um I I think and
- 1:03:12I think there's a few different videos
- 1:03:13as well because she's given the
- 1:03:15different times and she's also actually
- 1:03:16talked to a few different reporters
- 1:03:18about it because as you can imagine this
- 1:03:20is a pretty hot topic issue yeah so I
- 1:03:22mean definitely um I'd encourage anyone
- 1:03:24who's listening to this right now to um
- 1:03:26check out those links which we'll put at
- 1:03:28quantopian
- 1:03:29docomo Traders um Delaney we're pushing
- 1:03:32on over an hour now as Zain is there
- 1:03:34anything else you'd like to add on this
- 1:03:36subject um I think I think at the at the
- 1:03:40end of the day we we talked about a lot
- 1:03:42of really conceptual stuff today um and
- 1:03:46I have found that a lot of this stuff is
- 1:03:50hard to get unless you actually kind of
- 1:03:53either muck with it a bit or get your
- 1:03:55hands slightly dirty or you know
- 1:03:57actually try to see it in practice so
- 1:03:58all I'm going to say is again just like
- 1:04:00I strongly recommend that if people have
- 1:04:02kind of listen to it and maybe they're
- 1:04:04like I don't quite get that part or um
- 1:04:08that part made sense but I don't get how
- 1:04:10you'd use it uh I I just I I recommend
- 1:04:13going to again that link you mentioned
- 1:04:15quantopian docomo Traders and and we'll
- 1:04:18try to link the relevant lectures
- 1:04:21examples and I think just seeing this
- 1:04:22stuff
- 1:04:23visually it can be a lot more helpful so
- 1:04:26like for instance the way I would
- 1:04:27probably listen to this podcast if I
- 1:04:28were trying to learn this stuff is maybe
- 1:04:31um you know listen to it and then uh go
- 1:04:34back and actually try to look at some of
- 1:04:36these examples uh that that we posted
- 1:04:39but maybe also listening through it
- 1:04:41again like pausing it whenever you don't
- 1:04:43understand something and actually trying
- 1:04:44to to to to read through and and look at
- 1:04:47the plots and just see physically like
- 1:04:49oh okay I get it you're you're you're
- 1:04:51you're sorting stocks this way and then
- 1:04:52that mean your portfolio weights are
- 1:04:54this Etc absolutely yeah I mean if you
- 1:04:56don't get it just look it up and uh dig
- 1:04:58deeper for sure so uh next episode
- 1:05:01episode 3 what are some of the subjects
- 1:05:02we're going to be covering uh then sure
- 1:05:05so I mean I like I said I think Jess
- 1:05:07Jess kind of previewed it um in one of
- 1:05:09the answers she gave and uh the general
- 1:05:11theme is okay well you know now you have
- 1:05:14some Alpha factors what do you do with
- 1:05:16them because like Jess said individual
- 1:05:19Alpha factors I think will tend not to
- 1:05:22be very good so one of the things that
- 1:05:25that quants just accept is that
- 1:05:28individual pricing models or individual
- 1:05:30trading signals tend not to work very
- 1:05:33well they don't tend to have much Edge
- 1:05:35over random and that edge can also go in
- 1:05:37and out depending on market conditions
- 1:05:40um or uh factors could be predictive in
- 1:05:42one sector but not another sector for
- 1:05:44example so the idea is you want
- 1:05:46generally to combine many different
- 1:05:49individual Alpha factors uh into one
- 1:05:54prediction which is actually quite good
- 1:05:56uh and so what we're going to discuss is
- 1:06:00um all sorts of ways that you could look
- 1:06:02at you know basically kind of combining
- 1:06:04them together I'll try to go back into
- 1:06:06the original kind of stats theory behind
- 1:06:08this and describe how this is not you
- 1:06:10know not just a thing that you done in
- 1:06:12finance it's really just done in every
- 1:06:14single predictive modeling field there
- 1:06:16is and uh we'll actually uh try to talk
- 1:06:19about uh you know some interesting
- 1:06:22techniques you can use because um this
- 1:06:24is actually a pretty interesting
- 1:06:26application of you know I think I've
- 1:06:28mentioned that I'm kind of dubious of
- 1:06:29machine learning in finance because a
- 1:06:31lot of people use it in ways that that
- 1:06:33won't necessarily work in the long run
- 1:06:35but there's are some really powerful
- 1:06:37ways to apply it and this is an
- 1:06:39interesting um application of machine
- 1:06:41learning uh which is maybe using machine
- 1:06:44learning to try to at any given point in
- 1:06:46time select the best factors to be
- 1:06:48trading on then as an example so those
- 1:06:51are some of the things we'll we'll try
- 1:06:53to discuss in the next podcast awesome
- 1:06:55man sounds like a good episode let's
- 1:06:57leave it at that for now Delaney thank
- 1:06:59you very much for doing this man I
- 1:07:00appreciate you taking the time and um
- 1:07:03we'll speak again very soon all right
- 1:07:05thank you appreciate it
- 1:07:07[Music]
About this transcript
This page contains the full transcript of Q2: Seeking Alpha? Try Alpha Factors · Jessica Stauth by Chat With Traders, generated from the public captions YouTube serves with the video. The transcript has 12,719 words across 1,726 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.