Q3: Seeking Alpha? Try MORE Alpha Factors · Jonathan Larkin — Transcript
Full transcript
- 0:00chat with traders collaboration with
- 0:02Kanto pian episode three what's good
- 0:14traders welcome back for part 3 of 6 in
- 0:17the series which is a collaboration with
- 0:19canto pian if we've not met in the past
- 0:22my name is Aaron Fifield I am your host
- 0:25and thank you so much for being here so
- 0:28following on from the previous episode
- 0:30when we spoke about our four factors
- 0:32this episode is a continuation as we
- 0:35discuss what comes next in the workflow
- 0:37of many quantitative trading firms and
- 0:40that is combining our four factors so we
- 0:44discuss why this is something which you
- 0:46would want to do some of the various
- 0:47techniques quants used for aggregating
- 0:50alpha factors and other topics that
- 0:52surround this subject - so for this
- 0:55episode Delaney and myself are joined by
- 0:58Jonathan Larkin who is the chief
- 1:00investment officer at quanto peein
- 1:02Jonathan's been trading in the
- 1:04professional space since the late 90s
- 1:06many of those years spent at JP Morgan
- 1:10now just to remind you of a few things
- 1:12if there are any questions you have
- 1:15please go to quant opium calm board /
- 1:18questions that's where you can submit
- 1:21questions and ask anything you're unsure
- 1:23about relative to the topics and the
- 1:26theme of the series of course our
- 1:28episode 6 is the Q&A episode and that's
- 1:31where we'll answer as many of these
- 1:33questions as possible any links and
- 1:35additional resources which get mentioned
- 1:38during this episode or any other episode
- 1:41in the series have been curated for you
- 1:43at quanto p.m. comm ford slash chat with
- 1:47traders so that's well worth a look and
- 1:49you can also find the same on the chat
- 1:51with traders website also now I've
- 1:53mentioned this previously this series is
- 1:56sponsored by data camp comm so for those
- 1:59of you who want to learn how to code
- 2:01specifically in Python or R I definitely
- 2:05encourage you to visit data camp comm
- 2:08they have a whole array of online
- 2:10courses that specifically teach
- 2:13science data manipulation data
- 2:15visualization probability and statistics
- 2:18and machine learning all of which is
- 2:21relevant to quant finance and their
- 2:23courses vary in difficulty from beginner
- 2:26to intermediate so to start any one of
- 2:30their online courses now for free simply
- 2:33visit data camp comm and create an
- 2:35account and if you like this would be
- 2:39really cool actually so if you like
- 2:40sweet me at chat with traders and let me
- 2:44know which course you decide to start
- 2:45with I think that'd be they'd be really
- 2:47cool to hear about so at chat with
- 2:49traders tweet me which data camp course
- 2:51you plan on starting again that's data
- 2:55camp comm now one last thing just
- 2:58quickly there is a small amount of
- 3:00background noise in some parts of this
- 3:03episode so I do apologize for this but
- 3:05please just push on it's really nothing
- 3:08too major well that's all from me
- 3:10let's bring in Delaney and Jonathan
- 3:12Larkin so Delaney hey going good to be
- 3:17speaking again yeah I'm doing pretty
- 3:19well I mean again I say this every time
- 3:21but constantly and just a state of being
- 3:24massively busy but just a lot of really
- 3:26interesting stuff that's coming along so
- 3:28you know I can't can't complain
- 3:30absolutely know us well it's a good
- 3:32state to be and for this episode
- 3:34episodes 3 in this six-part miniseries
- 3:38we've got Jonathan Larkin joining us
- 3:41welcome John how are you hi I'm good
- 3:44thanks excellent Sean I think it would
- 3:46be really cool if we could hear a bit
- 3:48about your background just before we get
- 3:50stuck into the subjects we're going to
- 3:53be discussing today but yeah I mean tell
- 3:55us a little bit about how did you get
- 3:57your start in the world of quantizing
- 3:59and investing I think that'd be great to
- 4:01hear
- 4:01sure absolutely about 20 years ago
- 4:05undergrad I joined investment bank JP
- 4:09Morgan in their in their training
- 4:11program spent 10 years there in equity
- 4:16derivatives and equity derivatives
- 4:18it was a quantitative discipline great
- 4:23learning ground for learning the market
- 4:26be as technical and as quantitative as
- 4:29you wanted to be but at the end of the
- 4:31day you're also trading underlying
- 4:35stocks so you get a bit of the
- 4:37fundamental angle as well okay and I
- 4:40know you've worked at a number of firms
- 4:41since then can you tell us about some of
- 4:43the various roles you've had over the
- 4:45years I know you were at Millennium
- 4:46Partners for quite a few of those sure
- 4:49absolutely
- 4:50first half of my career has been on the
- 4:53south side and the second half has been
- 4:55on the by side so I've been in the hedge
- 4:58fund business now for a little over ten
- 5:01years as well my experience has been
- 5:04working in multi strategy funds and
- 5:09within the multi shot space the multi
- 5:12manager hedge fund segment as well so
- 5:14firms that are very many individual
- 5:18portfolio managers and aggregate the
- 5:22risk of individual strategies into one
- 5:24chemical vehicle excellent well um yeah
- 5:28no that's that's really cool to hear and
- 5:29of course you're at quant open now what
- 5:32is it you do there exactly sure I'm the
- 5:34chief investment officer at Mont OPN so
- 5:36I'm the one responsible for putting
- 5:40together the investment vehicles that
- 5:42were ultimately going to offer out to
- 5:45clients in the near future so
- 5:46aggregating the strategies that we
- 5:50license from our community of authors
- 5:52and assembling those together into a
- 5:55single investor vehicle very good man
- 5:58well this episode we're going to be
- 6:00discussing classifiers and in some ways
- 6:03I think continuing the discussion about
- 6:05factors as well so I think probably the
- 6:08best place to start is by me asking what
- 6:11is a classifier and how would you
- 6:13explain this I can take this one because
- 6:17I'm gonna leave I'm gonna leave the
- 6:18complicated stuff for Jonathan I got the
- 6:23softball ones but so a classifier is a
- 6:28very common notion in statistics and
- 6:31it's actually one of kind of the key
- 6:33components in a lot of modern machine
- 6:37learning so then
- 6:38ocean of a classifier is quite simple at
- 6:41it's at its base level which is really
- 6:43just a function that takes in an input
- 6:47and you know classifies it so produces
- 6:50an output of some category and the
- 6:53simplest example might be a binary
- 6:55classifier which takes in some input and
- 6:58then classifies that input as an
- 7:01instance of a one set or another set
- 7:07it's only two options it's a binary
- 7:08classifier so in a sets when you think
- 7:11about making predictions on socks well
- 7:16you can think of that as being a
- 7:17classification problem because at every
- 7:19point in time you're trying to decide
- 7:21whether the stock is a member of the set
- 7:24of stocks that's going to go up in the
- 7:25future or whether it's a member of the
- 7:27set of stocks that's going to go down in
- 7:29the future and it turns out that once
- 7:32you start thinking about any predicted
- 7:35model as a classifier that's basically
- 7:38trying to pick you know Long's or shorts
- 7:41it makes it a little easier in other
- 7:44ways to think about you know your entire
- 7:48workflow your entire infrastructure so I
- 7:50know at its at its at its core I'll just
- 7:53give you a real example of a classifier
- 7:54a classifier exists within a fire
- 7:58detector a smoke alarm right and and
- 8:00every time point that smoke alarm looks
- 8:02at the input data that it's getting from
- 8:04its sensor and it says I want to
- 8:05classify this as an example of there
- 8:08being a fire or an example of there
- 8:10being no fire and it just does that
- 8:13repeatedly and so you know a good
- 8:15classifier is going to say no fire when
- 8:18there's no fire and fire when there's
- 8:20fire but of course it's imperfect and
- 8:22and that's why sometimes you get it
- 8:23ringing when you're just making
- 8:25breakfast
- 8:26okay so forgive me if you've already
- 8:29kind of explained us in that answer but
- 8:31why would you want to use a classifier
- 8:34and how does that actually look like how
- 8:37does where does a classifier fit into
- 8:40your algorithm into your whole sort of
- 8:44trading strategy basically you know any
- 8:48model that forecasts stocks is going one
- 8:51Directioner
- 8:52can be thought of as a classifier
- 8:54because you are classifying stocks as
- 8:56going one direction or the other
- 8:59direction in the future namely up or
- 9:01down so again it's just a way of
- 9:04thinking about your model and it's a way
- 9:09of simplifying it a little bit and it
- 9:11and it falls into this notion of kind of
- 9:13accepting that you're not going to be
- 9:15super accurate because when you have a
- 9:18model that predicts future returns it's
- 9:21really hard to predict the exact future
- 9:23returns right that that's something that
- 9:25in general and and you know Jonathan is
- 9:29having much more experience in the
- 9:30industry that may have a different
- 9:32opinion in this but in my opinion
- 9:33generally it's very difficult to predict
- 9:35you know absolute amount of future
- 9:37returns and so sometimes what people
- 9:39will do is they'll simplify the problem
- 9:41into saying rather than predicting
- 9:42absolute amount let's just predict it's
- 9:44going to go up or going to go down and
- 9:46sometimes you can kind of formulate that
- 9:48as an easier problem because you're
- 9:49making a softer claim right there are
- 9:53two trends that have really caused this
- 9:56concept of a factor as a classifier to
- 10:00emerge the first is that historically
- 10:04when I say historically I'm talking
- 10:05maybe you know five ten years ago you
- 10:07could build a quantity around a single
- 10:11out the factor or maybe two or three
- 10:13alpha factors the world is quite
- 10:16competitive and this is a quite
- 10:18lucrative endeavor so over time a lot of
- 10:23the ability to generate a strategy out
- 10:26of very few number of alpha factors you
- 10:29know that's that's gone away it's been
- 10:31competed away so today strategists and
- 10:36portfolio managers are faced with the
- 10:38task of combining you know many many
- 10:42alpha factors into into a single
- 10:46prediction or under a single portfolio
- 10:48and along this time there's been quite a
- 10:53number of scientific advances in in
- 10:56machine learning and as a relates to
- 10:59this specifically something called in
- 11:01samba learning which is the process by
- 11:04which
- 11:05multiple single classifiers can be
- 11:07combined in an intelligent way to
- 11:10produce the results which is vastly
- 11:12superior than any one single aspire yeah
- 11:16and I think that's something we're
- 11:17really going to get into during this
- 11:19episode is actually combining multiple
- 11:21alpha factors just before we do though
- 11:24you know last episode we did speak about
- 11:26alpha factors in general what
- 11:30relationship do our cofactors have with
- 11:32classifiers like how do these kind of
- 11:34fit together like how does one lead into
- 11:37the other so now if a factor the output
- 11:41of an alpha factor is some kind of
- 11:43ranking or some kind of relative value
- 11:46across your universe
- 11:48nope security so if you have a thousand
- 11:51securities your alpha factor will be a
- 11:54number per security that is proportional
- 11:58to your models expected to return her
- 12:03per security so you have one value per
- 12:07security the value could be a rank it
- 12:08could be you know any sort of
- 12:10dimensionless number that comes out of
- 12:13your calculation as long as the ordering
- 12:15that those numbers produce is
- 12:20proportional to the expected forward
- 12:23return across the universe when you have
- 12:26a classifier you're talking about
- 12:28a much reduced output set so Delaney was
- 12:36talking about a binary classifier you
- 12:38could classify stocks as you know ones
- 12:41or negative ones and you know the ones
- 12:44will be stocks that are expected to
- 12:47significantly outperform and the
- 12:50negative ones could be stocks that you
- 12:52would expect to significantly
- 12:54underperform yeah and as a follow-up to
- 12:57that let's say that you're you have an
- 12:59alpha factor and you've ranked all your
- 13:01stocks based on your their expected
- 13:03return their relative value and then you
- 13:07go along the ones on the top equal
- 13:09weighted and you go short the ones in
- 13:10the bottom equated again just like kind
- 13:12of that simple continuation of the
- 13:14strategy that we talked about last time
- 13:16you know some
- 13:17referred to us like long/short equity or
- 13:19factor based long/short equity so if
- 13:23you've done that well in that case
- 13:25really that's no different from taking
- 13:28your alpha signal your score for each
- 13:30stock and then just converting it to a
- 13:33one or a negative one depending on its
- 13:36you know whether or not it's above or
- 13:37below your cutoff maybe that's the mean
- 13:39maybe that's a 10% cut off on either
- 13:41side but really it's the same as if you
- 13:44had said take my alpha score and then
- 13:46convert it to a classifier by saying if
- 13:48it's above half you know cover to one if
- 13:51it's below half convert it to negative
- 13:52one and then go long and all the ones go
- 13:55shorten all the negative ones so that's
- 13:57another way of thinking about the
- 13:58connection between an alpha factor and a
- 14:01classifier based on how you would
- 14:02actually trade off of it okay sure so
- 14:05you know as Jonathan Conner hinted
- 14:07before you want to combine alpha factors
- 14:10and I know this is something you wanted
- 14:12to speak about to Laney so you know you
- 14:16wanted to talk about the subject of how
- 14:17a single alpha factor is a weak
- 14:19classifier so I think it'd be great to
- 14:22hear your thoughts around this yeah well
- 14:24I mean I'll just kind of briefly give my
- 14:26thoughts and then I think it'd also be
- 14:27great to to have Jonathan speak on this
- 14:30as well but in general in statistics
- 14:33there's this notion of combining weak
- 14:37predictive models and what that means is
- 14:40let's say that you know you have some
- 14:45model and it's okay it's not great
- 14:48it gets the answer right more than half
- 14:51the time but you know not 95% of the
- 14:54time well you can think of that as
- 14:57having a model at some signal and some
- 14:58noise right and you know the idea is
- 15:01that you know it's going to have some
- 15:02true signal plus or minus some noise and
- 15:05the noise can cause the answer to be off
- 15:06in either direction and if you have two
- 15:10models and they're both not super great
- 15:14but then you put them together the idea
- 15:17is that the signals can add up but the
- 15:19noise because it's kind of random and
- 15:21goes both directions will hopefully
- 15:23start to cancel itself out and so
- 15:27oftentimes by combining multiple
- 15:31that all have some predictive power you
- 15:35can kind of reduce the noise around your
- 15:38signal
- 15:39well actually keeping the same signal or
- 15:41even increasing the signal and another
- 15:44way to think about this is just having
- 15:45multiple lenses multiple angles onto
- 15:48some problem you know you're combining
- 15:49many different perspectives into one
- 15:51much better overall picture and it's no
- 15:55different with classifiers so with the
- 15:57classifier is that you have multiple
- 15:59classifiers all of which aren't super
- 16:02great on their own just like Jonathan
- 16:04was saying earlier there's a whole
- 16:06branch of statistics and machine
- 16:07learning which deals with combining
- 16:11these things such that the end result is
- 16:14this new kind of monster classifier
- 16:17which is just much better than any of
- 16:21them on their own and in fact often
- 16:23times you can get it to be better than
- 16:24all of them kind of combined you buy
- 16:27this this this effect of the noise
- 16:29reducing so if you have a bunch of alpha
- 16:32factors which are kind of not super
- 16:34great on their own oftentimes there may
- 16:36be opportunities to combine them in
- 16:38intelligent ways which reduces the noise
- 16:42without sacrificing too much of your
- 16:43signal is there anything you want to add
- 16:46on to that Jonathan it's hard to improve
- 16:49on Delaney's outstanding explanation but
- 16:55you know one thing I'll say is you know
- 16:57the concept of week in the term weak
- 17:00classifier you know is very important a
- 17:03lot of single alpha factors have decayed
- 17:06over time and you know many market
- 17:09participants you know think that you
- 17:11know weak factors are no longer useful
- 17:13or no longer profitable you know in in
- 17:16trading strategies but you know part of
- 17:19the magic of ensemble learning is that
- 17:22as long as you have a weak classifier
- 17:27that's marginally better than 50%
- 17:30success rates that can be additive to a
- 17:35combined model now now when you say if
- 17:38over 50 percent success rate how is that
- 17:41success rate measured it's quite simple
- 17:44you know the model makes a prediction
- 17:46you know plus one minus one plus one for
- 17:50stocks that are outperforming minus one
- 17:51for stocks that are underperforming and
- 17:54you know it's simply the hid rate of
- 17:56those predictions before that prediction
- 17:59to be deemed accurate or inaccurate
- 18:02doesn't there need to be some sort of
- 18:05time factor involved like that the time
- 18:09span for how far ahead it's predicting
- 18:11which is something that hasn't really
- 18:13come into the picture yet so that would
- 18:15be defined as you model out your single
- 18:19alpha factors so the single alpha factor
- 18:22when I was talking before you have some
- 18:24relative ranking across your universe
- 18:25and that relative ranking is
- 18:28proportional to forward returns you know
- 18:31of course you have to define some kind
- 18:33of period over which you're looking to
- 18:37forward returns and you would want to be
- 18:39consistent across all of the office
- 18:41actives that you're combining okay I
- 18:44think that makes sense so how do you
- 18:47actually go about aggregating multiple
- 18:49alpha factors together I think that
- 18:51would be interesting to speak about so I
- 18:53mean there's there's a few different
- 18:55ways that you can start approaching this
- 18:58but actually something I just want to
- 19:00touch on briefly maybe even before we go
- 19:02into that is just some of the reasons
- 19:04why you know individual factors may not
- 19:09be very good on their own and you know I
- 19:13just had a few notes here of kind of
- 19:16just high-level reasons why that might
- 19:18be the case one of them would be
- 19:20something in fact through lifespan do
- 19:23you like Jonathan mentioned when a
- 19:25factor becomes well known it loses its
- 19:28edge because everybody knows about it
- 19:30and there's no longer this kind of
- 19:32novels this novel signal that you're
- 19:35trading off of everybody else has
- 19:37already gotten it out of it it's all
- 19:38arbitrage dawei other reasons that a
- 19:41factor might be not might not be very
- 19:42good at its own it's possible that
- 19:44you've discovered an alpha factor which
- 19:47has a signal over random so you know it
- 19:49has like you know quite a good accuracy
- 19:52rate but when you when you actually do
- 19:54say a back test and look at the
- 19:56transaction
- 19:57you'd be paying on trying to trade that
- 19:59factor you find out that to get you know
- 20:03to to hold a portfolio based on this
- 20:06factor you'd have to be trading so many
- 20:08stocks that you'd be paying a ton of
- 20:12transaction costs and so that factor by
- 20:16itself where is it may not be tradable
- 20:19it may be producing a signal that when
- 20:22combined with some other factors would
- 20:24produce a tradable portfolio and in
- 20:27similar ways issues with not being able
- 20:30to trade a single factor based on
- 20:31liquidity not being able to trade a
- 20:34single factor based on on market impact
- 20:36or just not being able to trade a single
- 20:39factor because it's not super accurate
- 20:40by itself are all things in which you
- 20:44know by starting with a factor that by
- 20:46itself is not very good you could
- 20:48actually add it to a bunch of other
- 20:50factors and come up with a model that is
- 20:52quite good together so sometimes you
- 20:54know something may look like garbage on
- 20:57its own but there may be a use for it
- 21:00especially if it's uncorrelated with
- 21:02with other other known factors so just
- 21:07as a start talking about combining them
- 21:10together well I mean the simplest
- 21:13approach would just be averaging them
- 21:16together and and not doing anything else
- 21:18and I think that there's you know not a
- 21:22not insignificant fraction of people who
- 21:24just will average factors together then
- 21:28you can start getting more sophisticated
- 21:30let's say that you have a dynamic
- 21:33weighting system in which you weight the
- 21:37factors based on some historical metric
- 21:41the historical metric could be maybe
- 21:42like the trailing 3-month accuracy of
- 21:45the factors when treated as a classifier
- 21:48and then you can even go beyond that
- 21:51when talking about some of kind of the
- 21:54newest and and and most exciting ways to
- 21:57to combine factors which are fall into
- 22:01this category of machine learning and
- 22:03like Jonathan said in Samba learning
- 22:05which would be actually be using what's
- 22:08known as a signal boosting algorithm
- 22:10algorithm a signal boosting machine
- 22:13learning method which takes multiple
- 22:16factors and attempts to use machine
- 22:20learning to produce at every time point
- 22:22good combinations of factors that will
- 22:26produce very strong predictions going
- 22:28forward the concept of combining factors
- 22:30is as old as quantitative finance you
- 22:34know it's enough you certainly don't
- 22:36need machine learning not to do this and
- 22:38you know for thirty years people have
- 22:40done that without machine learning you
- 22:42know as Delaney mentioned yes simple
- 22:45averaging is fine you know simple
- 22:51regression type techniques you know
- 22:54where you're predicting the composite
- 22:56return across many factors is is one
- 23:01technique it's really been you know in
- 23:04the last five years or so where machine
- 23:06learning has come to the forefront and
- 23:08it really really does perform a lot of
- 23:12the simpler or more historical
- 23:13techniques I can in your response that
- 23:16Delaney you brought up an interesting
- 23:17point right at the beginning about the
- 23:20lifespan of your factors I mean how did
- 23:23how do you think about the lifespan of
- 23:25your factors how do you monitor that
- 23:27sort of thing well so people like to
- 23:31talk a lot about alpha right and alpha
- 23:35is often one of the metrics used to
- 23:38describe the quality of a factor and in
- 23:42this case alpha refers to what you have
- 23:46in the factor that's left over when you
- 23:49like explain away all the parts that can
- 23:52be explained by known commonly used
- 23:56factors and techniques what do I mean by
- 23:58that well let's say that you were to
- 24:00take the return stream of a portfolio
- 24:03that was based on trading some factor a
- 24:06and then you said okay well I know that
- 24:09factors B C and D are just super well
- 24:12known you know in in the market
- 24:16everybody knows about them and I want to
- 24:18see how much of the return stream from
- 24:21my new factor a is coming from BC nd
- 24:24BC and B could also be factors that you
- 24:27were already trading in your model and
- 24:28therefore you want to make sure that
- 24:30your new factor isn't just you know a
- 24:33recombination of the factors that are
- 24:35already trading in your model you could
- 24:37run a regression using a as the outcome
- 24:41or dependent variable and BC and D is
- 24:43the independent input variables and if
- 24:45the input variables explain a well then
- 24:51basically you'll have high coefficients
- 24:53you won't have much alpha alpha of
- 24:55course in the regression model
- 24:56represents like the constant amount of
- 24:59returns that are just not explained by
- 25:01your other input variables and so what
- 25:04people will do is they'll construct
- 25:06alpha models in which they try to look
- 25:09at you know how much alpha is coming out
- 25:12of a factor that's unexplained by other
- 25:14known factors and that's one way you
- 25:17could start measuring over time how well
- 25:20a factor is doing and then also start
- 25:22looking for the decay of the factor as
- 25:25maybe over time other people started to
- 25:27learn about the anomaly other people
- 25:29started to trade it it starts being
- 25:31eaten away and and I know often times I
- 25:35think what you'll see is if you if you
- 25:36put in factors that may be used to be
- 25:38traded used to work you'll see periods
- 25:40of higher alpha and then a gradual decay
- 25:43as people discovered it and started
- 25:46trading on it so that's in my
- 25:49understanding one of the common ways you
- 25:51would you would do that obviously the
- 25:53choice of what in what input variables
- 25:55you put into the regression model you
- 25:57know that's not trivial but that that's
- 26:01one of the ways you kind of analyzed the
- 26:03lifespan of a factor as it started out
- 26:06having a high alpha high explanatory
- 26:08power and then kind of maybe started to
- 26:10trail off over time you could also
- 26:12potentially measure the accuracy like
- 26:14Jonathan was saying just how often of
- 26:16the time it gets right that a stock is
- 26:18going to go up versus a stock is going
- 26:20to go down Jonathan other other things
- 26:22that I'm missing here I think that's a
- 26:25great explanation lynnie okay now when
- 26:28you talk about regression models I think
- 26:31I might be helpful if you could just
- 26:33explain maybe what regression models
- 26:36like what what are you referring to
- 26:37there
- 26:38sure so and and we'll have links to this
- 26:42up at quanto pn comm slash chat with
- 26:46traders again that's going to be our
- 26:47universal link that will try to put all
- 26:49the content on we also in dec want he'll
- 26:51be in lecture series that Squanto PN
- 26:53comm slash lectures we show examples of
- 26:56regression models being used for
- 26:58precisely this purpose in the lecture
- 27:00series we actually have like primers on
- 27:02regression in multiple regression models
- 27:04and then primers on factor models which
- 27:06use a lot of regressions and the notion
- 27:08is that a regression model just attempts
- 27:11to say attempts to explain the results
- 27:16you know in one variable with some other
- 27:18variables so for example if you thought
- 27:20that there was a linear dependence
- 27:23between the amount of the amount of
- 27:28trades that you made and the amount of
- 27:30money that you made what you could do is
- 27:32you could put the amount of trades that
- 27:33you are making in as it as an input
- 27:35variable the amount of money that you're
- 27:37making is an output variable and
- 27:38regression would tell you kind of on
- 27:41average assuming there's a linear
- 27:42relationship what multiple of money
- 27:47you're making is sorry what like what
- 27:49multiple of trades you're making is the
- 27:51amount of money you're making so for
- 27:53every trade you make you get $2 a
- 27:55regression would say oh well I'm going
- 27:57to give you that the money you're making
- 27:59is two times the trades you're making so
- 28:01it's just it's just a way of estimating
- 28:03dependence and there's many like little
- 28:05tricks and gotchas and assumptions that
- 28:07have to be satisfied and we discussed
- 28:09that in the lectures but again the
- 28:11notion here is really that what we're
- 28:12trying to do is we're just trying to say
- 28:14great you discovered this really
- 28:15interesting new way of ranking stocks
- 28:17now how much of it is just coming from
- 28:21stuff that's already known about because
- 28:23if you discover if you run a regression
- 28:25model and you discover that your factor
- 28:27is very well explained as 0.5 times this
- 28:32known factor plus 0.5 times this other
- 28:35known factor plus 1 times this third
- 28:37known factor then you you really you're
- 28:40not doing anything new right there's no
- 28:42alpha there that alpha is going to be
- 28:44zero because there's nothing left over
- 28:45on the table after after you've
- 28:48explained it out by these other factors
- 28:50and
- 28:51so we're trying to measure the
- 28:53dependency using a regression model
- 28:55beyond that it's hard to explain without
- 28:59visuals in front of you so I recommend
- 29:00that people who are interested to check
- 29:04out the lecture series at Quinto Viacom
- 29:06slash lectures there are a few different
- 29:07ones on linear regression models
- 29:09absolutely
- 29:10now just continuing on the point of
- 29:13aggregating multiple alpha factors let's
- 29:16say you have an alpha factor which is is
- 29:19really good it's a good alpha factor is
- 29:23that something you would still want to
- 29:24combine with weaker alpha factors just
- 29:29from first principles and it's just
- 29:32discarding any kind of advanced
- 29:35sophisticated machine learning you know
- 29:37if you have factors you know which have
- 29:40zero correlation to each other you know
- 29:45in an ideal world so forgetting about
- 29:47the implementation cost of potentially
- 29:51trading some of the weaker factors if
- 29:53you have factors that have zero
- 29:54correlation to each other you know you
- 29:56would always want to you know combine
- 29:59those you will always get an incremental
- 30:02benefit you know in risk and return now
- 30:06in some cases taking into account you
- 30:09know real-world barriers such as
- 30:12frictions and trying to be costs without
- 30:15machine learning a very simple
- 30:19combination you know may not give you
- 30:22any benefit but you know when you use a
- 30:25modern machine learning technique you
- 30:28know as long as you're weak as long as
- 30:30you're weak off a factor is somewhat
- 30:33predictable even marginally positive
- 30:37predictable it will benefit you in the
- 30:40output you know the combined model now
- 30:43you know the word the term machine
- 30:46learning keeps coming up throughout this
- 30:48conversation I know we're going to get
- 30:49into machine learning more in Episode
- 30:52five but you know as it's come up a
- 30:55number of times I think it might be
- 30:56helpful if we could just have like a a
- 30:58quick overview of of how a machine
- 31:01learning actually aids
- 31:03aggregating multiple alpha factors so
- 31:07the machine learning techniques that
- 31:08we're talking about here are
- 31:10classification techniques and with these
- 31:14techniques are very very good at is you
- 31:17know finding you know very very complex
- 31:20and hidden structures with with within
- 31:24data no traditional statistical
- 31:26techniques you know are good at finding
- 31:29linear relationships you know between
- 31:31different variables with a real benefit
- 31:33of machine learning is that you can
- 31:35uncover these nonlinear relationships
- 31:39and you know by that I mean you know
- 31:41it's very very difficult
- 31:43you know without these techniques to
- 31:45understand you know how different
- 31:48factors interrelate
- 31:50you know and when one is predictive and
- 31:54the second one is not it was predicting
- 31:57in the other direction and the third one
- 31:58is predicting in the other direction you
- 31:59know that might be you know one results
- 32:02you know if they're all predicting you
- 32:03know in the same direction that might be
- 32:05a different result and you know the
- 32:07different results States can be
- 32:10non-obvious and machine learning is very
- 32:13very good at uncovering that hidden
- 32:16structure right and just to be clear
- 32:19you're talking about machine learning in
- 32:21regard to actually aggregating multiple
- 32:24alpha factors right you're not actually
- 32:26talking about machine learning as a
- 32:27means to discover now four factors in
- 32:31themselves are you
- 32:32that's an excellent distinction and it's
- 32:36absolutely spot-on it I'm not saying
- 32:42it's it's not valuable machine way I'm
- 32:45not saying machine learning is invalid
- 32:47to generate a single awful factor in
- 32:50itself but where where I've seen the
- 32:56most success in practice is in the
- 33:00combination step okay yeah good on set a
- 33:03little earlier you mentioned correlation
- 33:06so I mean what considerations need to be
- 33:09made when thinking about the correlation
- 33:11between multiple factors the correlation
- 33:15is a measure of you know how one
- 33:21variable explains another variable so
- 33:25you know in our sense we would want low
- 33:28correlation we would want the results of
- 33:32you know one factor to be unrelated from
- 33:36the predictions you know of another
- 33:39factor and the thing that I look for in
- 33:45individual strategies is I look for a
- 33:48high high Sharpe ratio so the Sharpe
- 33:51ratio is the ratio of the the return of
- 33:58a strategy to the volatility of a
- 34:01strategy and you know it happens that
- 34:05when you have strategies that are that
- 34:11have low correlation with each other or
- 34:13factors that have low correlation with
- 34:14each other you know and you combine
- 34:16these their returns combined in a linear
- 34:21way and the volatility is combined in a
- 34:27sub linear where they combine actually
- 34:29in relation to the square root of the
- 34:33number of factors so that is kind of
- 34:37portfolio effect magic and you know when
- 34:40you add up factors that have low
- 34:43correlation you know you get the magical
- 34:46effect you know that you get
- 34:48significantly enhanced risk return on
- 34:50the combination yeah and just to add to
- 34:53that you can kind of think of this at a
- 34:55metal level as you know each factor is
- 34:59really just an asset you can hold in
- 35:00your portfolio and I've referred back to
- 35:03this lecture a few times but if you go
- 35:05to the quanto peon lecture series and
- 35:07you go to the position concentration
- 35:10risk lecture it really tries to drive
- 35:12home this notion of why you shouldn't
- 35:14invest in few assets and also how
- 35:18investing in multiple uncorrelated
- 35:20assets can do precisely with Jonathan
- 35:22was describing with bringing down the
- 35:24variance and the risk will not set
- 35:27sacrificing on return
- 35:30and so the same thing is true for alpha
- 35:32factors if you consider each alpha
- 35:34factor as kind of the returns that you
- 35:36would get trading on just that alpha
- 35:37factor well
- 35:39averaging them together you know will
- 35:42kind of be the same as averaging
- 35:43together the return streams where you're
- 35:46just trading on that alpha factor and
- 35:48can produce a return stream in which
- 35:50you're not sacrificing on the returns
- 35:52but you are bringing down the variance
- 35:55another point that I wanted to say which
- 35:57is related to that is in terms of
- 36:00thinking about this correlation from a
- 36:01more intuitive level for people who may
- 36:03not have had you know as much
- 36:04mathematical background one example that
- 36:07you can use to think about this is say
- 36:10you're pulling your polling people and
- 36:12you're trying to figure out how an
- 36:13election is going to go well if you pull
- 36:15someone and then you pull their
- 36:17neighbors you know maybe their neighbors
- 36:20have a very similar perspective on the
- 36:22world as that person they have the same
- 36:24outlook there are views their beliefs
- 36:27are likely to be similar and and
- 36:29whatever they tell you is likely to be
- 36:31kind of correlated there's not going to
- 36:34be a huge amount of difference but then
- 36:36as you go and you know pull someone in
- 36:38the next neighborhood and pull someone
- 36:39in the next state and pull someone in
- 36:41the next country you're getting an
- 36:42increasing variety of different
- 36:44perspectives on the same issue and
- 36:48basically kind of you can think of this
- 36:50in the same way with factors that if two
- 36:52factors are very correlated with each
- 36:53other if they kind of live in the same
- 36:54world they're not going to explain
- 36:56anything new
- 36:57so that's another kind of intuitive
- 37:00reason why you want to try to get
- 37:03factors which are very new and different
- 37:06from each other when you're building up
- 37:07a model which combines factors because
- 37:09if you're just combining factors that
- 37:10are similar to each other you're not
- 37:12getting anything new and the resulting
- 37:14combined model won't really be any
- 37:16better than the individual correlated
- 37:19factors yeah that's a really great
- 37:21analogy there Delaney okay he did that
- 37:25when we talked about combining multiple
- 37:28alpha factors how many alpha factors are
- 37:31we talking about like what's a what's a
- 37:33good number we talking about like sort
- 37:35of combining five or fifty so this is
- 37:39just a kind of
- 37:40practical you know answer just based on
- 37:43my experience the shorter answer is you
- 37:49know the more the better the longer
- 37:51answer is you know in equity strategies
- 37:55you tend to start to get diminishing
- 38:00return from combination now after you
- 38:03you know you reach you know what about
- 38:0625 25 factors okay interesting now
- 38:12Jonathan you said just before that you
- 38:15like to focus on I think with strategies
- 38:18that have a a high Sharpe ratio would
- 38:22you might explain your reasoning for
- 38:23this so the Sharpe ratio to me is a
- 38:27measure of the quality of the Alpha of
- 38:30strategy so ultimately we want to
- 38:33produce a vehicle for investors which
- 38:38they find compelling which they think is
- 38:41a very very competitive you know versus
- 38:46competing funds and you know Sharpe
- 38:50ratio is a industry standard measure you
- 38:53know to measure the quality of of
- 38:56returns so you know we're not interested
- 38:59just in producing you know a high return
- 39:04you know over the course of the year you
- 39:06know we're interested in producing
- 39:08consistency of return as well so we care
- 39:12not just about you know the absolute
- 39:14measure return but we care about the
- 39:16volatility of those returns and the path
- 39:18that those returns take okay good answer
- 39:22now Delaney I think you wanted to bring
- 39:25up add a boost algorithms was there
- 39:28anything you wanted to talk about in
- 39:30regard to that subject so basically
- 39:32adaboost
- 39:33is a machine learning algorithm and it
- 39:36specifically is one of these in Samba
- 39:39algorithms that tries to take multiple
- 39:43classifiers which aren't very good on
- 39:45their own you know have maybe a signal
- 39:47that's barely better than flipping a
- 39:48coin and combine them together to
- 39:51produce something that's that's much
- 39:53better than the sum of the parts
- 39:54and there's actually some
- 39:55implementations that are currently being
- 39:57worked on by Thomas we accuse quanto
- 40:01pians chief data scientist and he has
- 40:07posted some examples of this in the in
- 40:11the forums on quanto peon and we'll link
- 40:14to them again if you go to that clinic
- 40:16OPM comm slash chat with traders we'll
- 40:18have a collection up like all the
- 40:19appropriate links for you know that we
- 40:22talked about in each episode but the
- 40:24notion is really an again I'll try to
- 40:26explain it with with an analogy here and
- 40:29then I'll maybe let Jonathan jump in
- 40:31with some more kind of specific comments
- 40:34but the analogy that I like to use with
- 40:37these algorithms is really kind of this
- 40:42notion and and and it can be a little
- 40:44hard to wrap your head around at first
- 40:45but it's really common especially in
- 40:48computer science that if you have a
- 40:51process which gets the answer right say
- 40:5551% of the times you know 51% at the
- 40:58time well rather than running at once
- 41:02and then you know like just believing it
- 41:07on base on that one try which you know
- 41:08is gonna be pretty inaccurate because it
- 41:10only gets it right 51% of the time
- 41:11there's this notion in computer science
- 41:14kind of signal amplification in which
- 41:16you run it thousands or tens of
- 41:18thousands of times and you look for the
- 41:21answer that it picks the most and
- 41:23usually you know if you're choosing
- 41:25let's say between two outcomes well if
- 41:28it's going to choose the right outcome
- 41:2951% of the time if you run it lots and
- 41:32lots of times you'll notice that you
- 41:34know it's very likely that it will
- 41:37produce more correct answers than it
- 41:39will produce incorrect answers and so
- 41:41you can pick the thing that it picks
- 41:42more of the time now in some times that
- 41:45can be hard to do because maybe you
- 41:46can't get 10,000 independent runs you
- 41:49can't run this thing ten thousand times
- 41:51so what a boosting algorithm like
- 41:56adaboost tries to do is saying like okay
- 41:58we have a set of you know let's just say
- 42:03like experts and they're all making
- 42:04predictions or classifiers and they're
- 42:06all making predictions
- 42:07and I don't fully trust the predictions
- 42:10that any one of these guys are making
- 42:12but can I combine them in an intelligent
- 42:16way that and kind of average together
- 42:18their predictions into a into a meta
- 42:20prediction an overall prediction you
- 42:24know but that doesn't trust any
- 42:25individual expert but tries to get at
- 42:27what signal is existing across this
- 42:29entire set of experts yeah I think you
- 42:33know the way that type of algorithm
- 42:35works is you know you just start with
- 42:39kind of assuming they're all equally
- 42:41valid and then you know that assumption
- 42:44will produce predictions you know in
- 42:50your training set and you can bear those
- 42:51predictions to your training set and
- 42:53then you know you start to iterate and
- 42:56you start to modify how you're waiting
- 42:59these individual individual experts as
- 43:02Fellini was saying I thought that was a
- 43:04good terms of weeding these individual
- 43:06experts and then you iterate through
- 43:09different weighting schemes you know
- 43:10until you know you reach you know a
- 43:13certain threshold improvement yeah I
- 43:17think definitely for more information
- 43:19around that it'd be a good idea to check
- 43:20out the link that I need shared with you
- 43:23just before you know all these things
- 43:25which we have discussed up to this point
- 43:27are these things which can be done on
- 43:30the quanto peon platform or is there
- 43:32something more required so everything
- 43:35we've been discussing you know can
- 43:37indeed be done on the Ponto pin platform
- 43:41so the educational materials and the
- 43:43links that Delaney had mentioned you
- 43:46know those will show a walk through from
- 43:50first principles you know using that
- 43:53completely the quanto game platform
- 43:54right right and you know as we do this
- 43:58podcast then we're stepping through
- 44:00these various components of the workflow
- 44:02of a professional quant for someone to
- 44:05actually apply this and implement these
- 44:07things is that something independent
- 44:10traders and independent quants can
- 44:12realistically do you know with a bit of
- 44:14time with a bit of study and you know
- 44:16some effort or is it or is this sort of
- 44:18a bit more advanced than that
- 44:21I don't think there's any barrier to
- 44:23entry you know with understanding the
- 44:26techniques you know however the the
- 44:31Cuong workflow you know that we're
- 44:33describing and certainly the doctor type
- 44:36analysis and the creation of alpha
- 44:39factors you know those are factors that
- 44:41predict returns across you know very
- 44:44many stocks so you know you don't need a
- 44:49particularly high hit ratio fifty-five
- 44:52percent sixty percent hit ratio and you
- 44:55can get an exceptional portfolio return
- 44:57if you diversify that across you know
- 45:00very many stocks and you know that is
- 45:05something that creates a baron entry you
- 45:08know for it for independent trader so
- 45:10you need to have you know quite a bit of
- 45:12capital in order to be able to trade a
- 45:15portfolio of you know a thousand stocks
- 45:18absolutely and is there anything you'd
- 45:20like to add on to that divining no i
- 45:23mean i think that's all exactly right
- 45:25obviously like the restrictions of how
- 45:28much capital is available is an
- 45:29important thing to consider and then
- 45:32like the other thing is really with
- 45:33these with these factors i mean you can
- 45:35certainly pare down the universe and
- 45:37make it so that you're selecting ten
- 45:40factors to go along on and ten factors
- 45:42sorry ten stocks to go along on and ten
- 45:44stocks to go short on from that ranking
- 45:46but again because you're investing in so
- 45:49much so many fewer assets generally you
- 45:51have to have a much higher confidence in
- 45:56you know a much higher accuracy for your
- 45:58model so the same factors that work for
- 46:00predicting future returns across these
- 46:03very broad swaths of assets may not be
- 46:05appropriate for people who are trying to
- 46:07trade portfolios of ten or fifty assets
- 46:10because when you're trading that many
- 46:12fewer assets you need a higher you know
- 46:15accuracy on your model otherwise you
- 46:17know you you you face more risk so you
- 46:20know you might have to develop different
- 46:21models or you know maybe just not even
- 46:24use the same workflow the thing that's
- 46:27nice about this workflow is it's just a
- 46:28really nice and general way of thinking
- 46:30about investing and thinking about you
- 46:31know in general a model just classifies
- 46:34things as going up or
- 46:35going down in the future and you can't
- 46:37really get too much simpler than that so
- 46:40and the other thing to remember is you
- 46:44know if you discover a factor even if
- 46:46you can't necessarily trade it if it's a
- 46:49good factor you know it has value and
- 46:53and just because you can't trade it
- 46:54yourself doesn't mean that it's it's not
- 46:57worth it's not worth anything to you
- 46:58mmm yeah that's that's a really good
- 47:00point actually is there anything else
- 47:03either of you would like to add before
- 47:05we wrap this episode up I'll just say
- 47:07like again you know that this stuff can
- 47:09be pretty difficult to understand on
- 47:11first pass so like I said I think last
- 47:13time we put a lot of effort into the
- 47:16lecture series here at quanto peein
- 47:18we're not going to have you know full
- 47:20coverage of everything we talked about
- 47:22quite yet we're going to have coverage
- 47:24of most of what we talked about but
- 47:26again the two links that are important
- 47:28and I recommend if at any point
- 47:30something piques your interests or you
- 47:31didn't quite follow just go to quanto
- 47:33p.m. comm slash lectures for all the
- 47:35lectures on and then we'll also try to
- 47:37link to specific resources and then also
- 47:39that implementation of adaboost that
- 47:42Thomas made if you go to quanto bein
- 47:44comm slash chat with traders will have
- 47:46specific resources there for you
- 47:48Jonathan did you have anything else
- 47:50I just wanted add that I mean this is
- 47:52not a theoretical discussion at all
- 47:55you know these techniques are being used
- 47:57it's very very successfully you know at
- 48:00you know some very very large and being
- 48:04assessed funds so yeah we're excited to
- 48:06bring you know this educational material
- 48:10you know to our community and you know
- 48:13we're excited to see what people will do
- 48:15there the show good points good points
- 48:18now we've got episode 4 coming up next
- 48:22July II do you want to give us a quick
- 48:24summary of what our listeners can expect
- 48:25to hear from that one absolutely so
- 48:28again with the theme of these episodes
- 48:29is just when you think you've figured it
- 48:31out we're gonna go a little a little
- 48:32deeper and show you how we need to
- 48:34actually do more so with episode 4 let's
- 48:37say that you've got a great combined you
- 48:39know alpha model and it uses ten factors
- 48:41and it does some really great weighting
- 48:44between them and everything's looking
- 48:46awesome
- 48:47well
- 48:48that by itself if you just went to trade
- 48:51and you went longs and went short based
- 48:53on the predictions of that model you
- 48:56could still run into situations in which
- 48:58your portfolio could get into very bad
- 49:00states in regards to the risk that
- 49:02you're taking on factors might have
- 49:04biases toward certain sectors they might
- 49:07have bias each stores taking on more
- 49:08longs than shorts you know they lots of
- 49:11different things gonna go wrong so what
- 49:13we're going to talk about next episode
- 49:15is this notion of portfolio optimization
- 49:18and how to actually go from these
- 49:21desired factor positions things that the
- 49:24model wants you to take the positions
- 49:26the model wants you to take to actually
- 49:27something that you would be comfortable
- 49:29trading in real life and for that
- 49:32discussion we're going to bring in Scott
- 49:34Sanderson who's a really really smart
- 49:37engineer here works at quanto peein is
- 49:38currently designing an API that's going
- 49:43to do precisely that so he's like a
- 49:44really good person to talk to about this
- 49:46his background is actually math and
- 49:48philosophy so it's it's always a great
- 49:51discussion with Scott Co ya know I very
- 49:53much look forward to that well Jonathan
- 49:54I just want to say a special thank you
- 49:56for coming on to this podcast I
- 49:58appreciate you you know coming on and
- 50:00sharing your insight from was it 20 plus
- 50:02years in the industry so that was great
- 50:05to have you man thank you very much yeah
- 50:07absolutely I enjoyed it thank you
- 50:08thanks for your interest and for your
- 50:10your support I'm not supporting this
- 50:12series it's no sorry no trouble at all
- 50:14alright Delaney let's leave it that for
- 50:16now and we'll call this a wrap
- 50:18[Music]
- 50:39you
About this transcript
This page contains the full transcript of Q3: Seeking Alpha? Try MORE Alpha Factors · Jonathan Larkin by Chat With Traders, generated from the public captions YouTube serves with the video. The transcript has 8,060 words across 1,167 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.