Machine learning for algorithmic trading w/ Bert Mouler — Transcript
Full transcript
- 0:00chat with Traders episode 42 the biggest
- 0:03secret of the best traders in the world
- 0:05is that they're just like everyone else
- 0:07however they've worked hard to learn the
- 0:09markets and discover what works and what
- 0:11doesn't but how can you hear about these
- 0:13Journeys and get in on the strategies
- 0:15and tactics they use you can do it by
- 0:18listening to chat with Traders here's
- 0:20your host Aaron
- 0:22[Music]
- 0:27ffield hi there what's up I'm your Aron
- 0:30ffield and thanks so much for listening
- 0:32in to this week's episode number 42 what
- 0:35you're about to hear is an interview
- 0:37with Bert Mueller he's a Trader of
- 0:39Futures and equities and has been
- 0:41involved with markets since around 2007
- 0:44but he does things a little different to
- 0:46most he's an algorithmic Trader who
- 0:49harnesses the power of machine learning
- 0:51to discover and develop profitable
- 0:53trading strategies this is an area that
- 0:56hasn't really been covered in previous
- 0:58episodes except for the mantion here and
- 1:01there so it was really great to have BD
- 1:02on the show to share some insight on
- 1:05machine learning and how it works in the
- 1:07realm of trading Beyond this you'll also
- 1:10hear Bert's views on diversification and
- 1:13how he thinks about risk management plus
- 1:15one of the things I really respect about
- 1:17Bert and that is his drive for continual
- 1:19progression his attitude towards further
- 1:22education and the way he approaches goal
- 1:24setting now just before we roll into the
- 1:27interview I'd like to ask you for a very
- 1:29small favor could you please leave a
- 1:32very brief review on the podcast in
- 1:34iTunes it's a massive help uh reviews
- 1:38have a huge effect on how well this
- 1:41podcast ranks in iTunes so obviously the
- 1:44better we rank the more listeners we can
- 1:45reach so if you'd like a quick and easy
- 1:48way to support this podcast please go to
- 1:50chat withth traders.com
- 1:53iTunes and leave a brief review it will
- 1:56take you no more than 2 minutes and like
- 1:58I mentioned in the past you'll support
- 2:00is really appreciated so please do this
- 2:02just while you're listening that would
- 2:04be really cool okay time for this week's
- 2:06interview I'm your host Aon farfield and
- 2:09here is my guest for episode number 42
- 2:11Bert
- 2:14Mueller Bert what's up man how you going
- 2:17I'm good how are you man not too bad at
- 2:19all so we spoke yesterday and you were
- 2:22pretty much running off next to no sleep
- 2:24I hope you've had a chance to catch
- 2:26up yeah a little bit a little bit okay
- 2:30I'm not first snow today in Moscow so
- 2:34out the window the entire city is white
- 2:37real nice it's white so it's snowing is
- 2:40it yeah yeah all right very cool yeah
- 2:43we're just heading into summer here so
- 2:44it's much the opposite but um yeah well
- 2:47anyway bird it's it's really great to
- 2:49have you on for an interview today so
- 2:51first of all thank you and secondly I'm
- 2:54really intrigued by some of the topics
- 2:56we're going to cover and I think most of
- 2:58those topics are probably going to stem
- 2:59from machine learning so that in itself
- 3:02is something that hasn't really been
- 3:04spoken about in any of the previous
- 3:07episodes so some listeners may already
- 3:08be familiar with the concept of machine
- 3:11learning but I'm sure you're going to
- 3:13open the minds for many listeners as
- 3:15well and Expos them to something
- 3:17completely new so I think it's going to
- 3:19be really good I'm excited man all right
- 3:22cool well let's do it so let's start
- 3:24right from the very start like we always
- 3:26do so share with us when did you first
- 3:29discover the market Mark and what was
- 3:30your your real introduction to
- 3:33trading um so I came in with some money
- 3:37around 2007 2008 and um yeah I uh I had
- 3:43a friend who's a financial adviser and I
- 3:47uh I talked to him and I was like you
- 3:48know what should I be doing you know
- 3:51what's uh what's the good way to go
- 3:52about this and he is you know the
- 3:54classical American you know registered
- 3:56investment adviser and he's like look
- 3:57you need like some stocks you need some
- 3:59bonds you know that classic stuff they
- 4:01teach you in in school and uh so I I I
- 4:05went ahead and I I bought some some
- 4:07stock and I I think uh Ford was the
- 4:09first company that I bought because you
- 4:10know well Ford's a good company they
- 4:13have a solid had a solid balance sheet
- 4:16whatnot um actually I think it was uh it
- 4:20happened to be one of the companies that
- 4:22didn't get bailed out after all that so
- 4:24I guess maybe the initial analysis on a
- 4:26fundamental level might have even been
- 4:28correct but uh I bought it and it went
- 4:31down and I I bought it bought some more
- 4:34and it went down some more and then it
- 4:35just it kept on going down because that
- 4:37was the the time you know we were in a
- 4:39bare market and everything was kind of
- 4:40going down and uh you know I thought
- 4:43this is kind of lame you know um I I'm
- 4:47I'm a smart guy or you know I thought I
- 4:49was a smart guy back then and I uh you
- 4:53know I have this you know I have I have
- 4:55a buddy that that helped me with my
- 4:57analysis or analysis coincided they're
- 5:00they they're in agreement and the market
- 5:04uh the market obviously wasn't so what's
- 5:05up and so I kind of just started reading
- 5:07and reading and I I uh I had a more
- 5:10technical background I was studing
- 5:12studying biochemistry at the
- 5:14time and uh um you know technical
- 5:18analysis appealed to me uh you know it
- 5:21seemed really easy to uh to look at the
- 5:23stochastics or whatever they had the RSI
- 5:26back then and then you know to buy the
- 5:27bottoms and sell the tops
- 5:30um obviously in practice it didn't turn
- 5:33out to be that easy but um I kept
- 5:36reading and reading and reading and uh I
- 5:38actually uh ended up trading options
- 5:41because I was you know young and and
- 5:42dumb and wanted to make a million bucks
- 5:45overnight
- 5:46obviously oh I lost um I even took some
- 5:50money because there are some other
- 5:52people that thought I was smart yeah
- 5:54that was and and uh that turned out
- 5:57really really really bad I lost all
- 5:59money uh really fast actually um
- 6:04and uh yeah I was I was devastated
- 6:07because it's wasn't my money and uh you
- 6:09know I had never made that much money in
- 6:11my life and just oh man so bad but you
- 6:15know I don't know I I I realized that
- 6:18someone on the other side of that had
- 6:20made that money you know and so I
- 6:23realized that you you you could be the
- 6:25guy making that money and so basically I
- 6:28I set out to uh to do that to be that
- 6:31guy and uh I read basically uh
- 6:35everything I could get my hands
- 6:37on um you know obviously we you're
- 6:40talking about uh this yesterday the
- 6:41market Wizards book were uh books were
- 6:44amazing that's why it's it's awesome
- 6:45that you're doing this podcast but uh
- 6:49yeah I realized kind of uh that uh
- 6:52there's a very many different approaches
- 6:55uh to trading and um I realized that uh
- 6:59the guys that the approach that I was
- 7:01most comfortable with was this like more
- 7:03technical mathematical whatever computer
- 7:05based approach um yeah so that's kind of
- 7:08how I got started okay yeah now that's
- 7:11really good so I mean let's just take it
- 7:13right back to the very start there and
- 7:16you came into some money around 2007 I
- 7:19mean why did you come with that money to
- 7:22the stock market I mean you could have
- 7:24um you know gone and started a business
- 7:26with it you could have you know done a
- 7:28bunch of other things with that money
- 7:30but something appealed to you about the
- 7:33stock market what was
- 7:35that um I don't know I'm not going to
- 7:38lie to you man I I think uh just making
- 7:40money while doing nothing
- 7:43uh you know that's what I thought it was
- 7:45going to be like you know you put your
- 7:46money in the market and then just you
- 7:48know and a year later you look and
- 7:49there's more money but uh obviously it
- 7:52doesn't work like that so so let's talk
- 7:55more about your first kind of first year
- 7:58or first two years you were trading so
- 8:00you told us about the the Ford example
- 8:02there where you just kept buying and it
- 8:04kept going down and you brought again
- 8:06after that happened and you started to
- 8:08read up on technical analysis what did
- 8:10the next like year or two look like for
- 8:12you how' you how'd you
- 8:15go um I did have some good trades uh
- 8:19using like just you know Silly technical
- 8:21analysis like RSI and you know whatever
- 8:24stastics that kind of stuff and that was
- 8:26actually super bad um actually I I a lot
- 8:29of Traders on your podcast and a lot of
- 8:31Traders I I know as well uh that that
- 8:34hand trade they kind of say like the
- 8:36worst the worst kind of Trades are the
- 8:37ones that are like wrong in principle
- 8:40but they turn out well and then you
- 8:42think you did them right and you get
- 8:43that overconfidence in the wrong kind of
- 8:46technique and uh yeah um so I did end up
- 8:49making some money trading this stuff and
- 8:51then I was like huh I want to make more
- 8:53money basically I just wanted to get
- 8:54more lovered so uh I did the long
- 8:57options
- 8:59okay so so if we had to summarize those
- 9:02first few years what were probably the
- 9:04the greatest challenges and frustrations
- 9:07like maybe perhaps that was you know uh
- 9:10just taking on too much leverage like
- 9:12you mentioned there but was there
- 9:13anything
- 9:14else uh it's too much risk and being
- 9:18undereducated and I think uh being
- 9:21overconfident um I was you know really
- 9:23young back then and not you know not
- 9:25much older or not much younger than I am
- 9:28now but still uh in terms of trading
- 9:30experience just I mean night and day
- 9:33um yeah I think it's just you know
- 9:36undereducated uh
- 9:38overleveraged and I mean you really have
- 9:40to understand that like making let's say
- 9:4320% a year consistently I mean you're
- 9:46going to be you're going to make as much
- 9:47money as you want basically I mean
- 9:49making 15% a year you can make as much
- 9:52money as you want you know if you start
- 9:53young enough sure okay so you also
- 9:57mentioned uh right at the beginning
- 9:59there how you read a bunch of books um
- 10:02you know Market Wizards was obviously
- 10:04the Highlight but you also read a ton of
- 10:05other trading books um so you did a lot
- 10:10of reading what did you discover from
- 10:12this and was it a helpful
- 10:15exercise so uh yeah it was definitely a
- 10:19helpful exercise I would say you know
- 10:21the
- 10:2299% of the stuff out there is total BS
- 10:25in the sense that it's not going to help
- 10:27you I mean um even the stuff that's good
- 10:31you know uh for example uh you know
- 10:34maybe like out of the hand trading stuff
- 10:37uh the stuff I've seen work personally
- 10:39you know kind of maybe let's say is
- 10:41support and resistance right but even
- 10:43the people that uh talk about just
- 10:44straight up horizontal support and
- 10:46resistance in their books they're going
- 10:48to use the examples that are only the
- 10:51ones like the best examples and so again
- 10:55um it's kind of detrimental to the to
- 10:58the learning process proc you need to
- 11:00really understand you need to see the
- 11:02the times that your Technique fails uh
- 11:04you need to really understand those I
- 11:06think a lot more than uh the times that
- 11:08it works because when it works well it
- 11:10works you don't have to do
- 11:11anything um and uh but but it's you know
- 11:15it's still worth it to read uh like a
- 11:18let's say a bad book or you know there's
- 11:20no such thing as a bad book but a book
- 11:22that doesn't help you in the in the
- 11:24classical sense it doesn't give you
- 11:25useful information because you can see
- 11:27what other people are doing and you get
- 11:29IDE maybe oh maybe I should do the
- 11:31opposite of that or maybe I should
- 11:33that's a that's a thing I just never
- 11:34thought about like you know this guy
- 11:36trades you know let's say commodity
- 11:38spreads using like the lunar cycle I'm
- 11:41like wow that sounds ridiculous but I've
- 11:42never thought of trading commodity
- 11:44spreads you know okay yeah now that's a
- 11:47really good point you bring up there
- 11:50so I mean what you're kind of referring
- 11:53to there is um what's sort of known as
- 11:55the will chosen example is is that seen
- 11:59those examples and then also seen them
- 12:01actually fail and not work out so well
- 12:04as how they did in the books and in the
- 12:06examples is that what led you into more
- 12:09of a quantitative Direction like what
- 12:11what made you move on that
- 12:14path yeah there's just no uh there was
- 12:16no framework you know um I mean maybe
- 12:20maybe there's there would have been a
- 12:21framework if I had like written down
- 12:23like six patterns right and then you
- 12:26know went through all the price charts
- 12:27by hand and looked at them but which
- 12:29patterns would I have picked you know I
- 12:31what if I picked the wrong six patterns
- 12:34and uh just I I realized it's like it's
- 12:37like in business I came uh to it uh from
- 12:39kind of a business approach know you
- 12:41want something where there are higher
- 12:43barriers to entry because there's less
- 12:44people in the Market at that point for
- 12:46example the the reason I choose to trade
- 12:49uh uh in day but not hft is because I
- 12:53can take advantage of hft liquidity but
- 12:56not compete with hft players so it's
- 12:59kind of the same over there if I had
- 13:01more math skills less people um are kind
- 13:04of doing that because you know I guess
- 13:06it's a little harder but it's not so
- 13:08they're just tricking you with the
- 13:11symbols sure okay so that's probably
- 13:14actually um something we should cover
- 13:16before we go too much further um what is
- 13:18your background like educational wise
- 13:20could you just run us through that
- 13:22briefly uh okay so uh in undergrad I uh
- 13:26triple majored in uh bio chemistry
- 13:29molecular biology business economics and
- 13:31Global Studies um then I went on to do a
- 13:36masters in
- 13:38bioinformatics and now I'm doing a MERS
- 13:41in computer science uh with the
- 13:44specialization in artificial
- 13:45intelligence and machine learning but uh
- 13:47I really like to study so for anyone out
- 13:50there you know corsera you know edex all
- 13:54those websites they're super awesome and
- 13:56I actually took my first machine
- 13:57learning class uh on corsera because I
- 14:00didn't think you know it's kind of a low
- 14:02risk you know you can just drop the
- 14:04class wherever you want and it's free
- 14:05and you know it actually ended up being
- 14:08like you know probably 50 times easier
- 14:11than I thought it would be sure so that
- 14:14was actually going to be my next
- 14:15question ask you like where did you even
- 14:17get started once you sort of started to
- 14:19move in that quantitative Direction um
- 14:22was machine learning the first thing you
- 14:24kind of stumbled across cuz I mean
- 14:25there's probably um easier things you
- 14:28could have picked up still on the Quant
- 14:30side of things before you got into
- 14:32machine learning I think machine
- 14:34learning I think computer science in
- 14:36general um it's a little bit easier than
- 14:38like straight you know um straight math
- 14:41like you know uh it's uh there's this if
- 14:46there's this example you know there
- 14:47there's a this thing called I mean I
- 14:48don't know if you know integration
- 14:50there's differentiation and integration
- 14:52in calculus right and so integration
- 14:54let's say is you find the area under
- 14:57line you know between the x-axis and
- 14:59some some line for example or if you
- 15:01have a circle you find the area of the
- 15:02circle and um you know to derive that
- 15:05equation to find the area of a circle uh
- 15:08you know it's uh it's pretty complicated
- 15:11I would say but then I stumbled upon
- 15:13this thing called Monte Carlo
- 15:14integration basically you just kind of
- 15:17uh put the circle in a box and you
- 15:18already know the area of the box and you
- 15:20throw darts at the box and you see the
- 15:22proportion of darts that land in the
- 15:24circle versus the the Box you know and
- 15:28you can figure out the area that way and
- 15:29I thought that was so beautiful and easy
- 15:32and kind of stupid and wow why would you
- 15:34ever do so much math to get to this
- 15:36simple solution because you know you
- 15:38don't need in trading you know pre
- 15:40Precision to the you know 50th uh
- 15:42decimal place you just need you know a
- 15:44proximate Precision which means you
- 15:46don't really need closed form Solutions
- 15:49uh you know if they're even available uh
- 15:51like the ones provided by you know
- 15:53classic math or whatnot yeah okay all
- 15:56right now that's really interesting so
- 15:58let's drill down now into more of the
- 16:01specifics about how you trade and how
- 16:03you've been trading in the you know the
- 16:05past couple years so run us through your
- 16:08actual style of trading and how you
- 16:09approach the market okay so uh uh I use
- 16:13machine learning uh I try to use kind of
- 16:16evolutionary computation stuff like
- 16:18genetic programming grammatical
- 16:19Evolution because I like to uh read the
- 16:22system uh after it's generated to make
- 16:25sure it's not doing anything crazy I'm a
- 16:27little bit uncomfortable with stuff like
- 16:28you networking regression uh techniques
- 16:31cuz you kind of you're you're ending up
- 16:33with a set of coefficients uh which
- 16:35don't really tell you that
- 16:37much um I try to be in the market I
- 16:40trade intraday uh I'm out of the I'm in
- 16:43cash by Friday and I would say 90% of my
- 16:46portfolio is in cash by uh close of each
- 16:49day um trade only limit orders I try to
- 16:52be in the market uh the least amount of
- 16:54time uh you know to avoid those uh those
- 16:59Six Sigma those Black Swan
- 17:02events
- 17:03um uh yeah I trade Futures uh and
- 17:07equities um try to keep my risk balanced
- 17:10and you know risk is the most important
- 17:12thing so for example you know trade you
- 17:14know short only the the index Futures
- 17:16and long only Apple it's not a pairs
- 17:19trade right they're not trading at the
- 17:20same time but on average the the risk is
- 17:24uh reduced okay okay and that's a good
- 17:26summary so I'm really ke to go deeper
- 17:29into what you just mentioned there so
- 17:33let's let's start with um for someone
- 17:36who may be totally unfamiliar with
- 17:38machine learning how would you even
- 17:40describe this to them so let's take it
- 17:42right back to the
- 17:44basics so um so I guess machine learning
- 17:48is symbolic regression right and so
- 17:50regression I think you know people are
- 17:51more or less familiar with you have you
- 17:53know some points and you fit a line to
- 17:55them right what line best describes this
- 17:57set of points right so you can call that
- 18:00like you know baby machine
- 18:02learning uh it's it's what I do is the
- 18:06same thing except you instead of using
- 18:07you know coefficients uh in a line uh
- 18:11you use uh you kind of start with the
- 18:12zero point origin you have nothing and
- 18:14you use uh you know functions and you
- 18:16you have a you have a whole kind of a
- 18:19program written out so it's a program
- 18:20that writes programs
- 18:22basically that's the machine the type of
- 18:24machine learning that I use specifically
- 18:27okay and I I don't know if this is going
- 18:29to be relevant or whether or not it
- 18:31might be helpful but are you able to
- 18:33perhaps give us an example of machine
- 18:35learning and other technology that we
- 18:38might use in our everyday
- 18:40lives uh sure I mean yeah it's a little
- 18:44different but uh yeah all the time
- 18:46obviously Google uh they use machine
- 18:48learning and like for or seror or
- 18:51whatnot um so uh uh when you do the
- 18:55search uh they use machine learning to
- 18:58kind of uh uh depending on let's say
- 19:02your geography and uh the language
- 19:05you're speaking uh to start searching in
- 19:08in the places that are most likely to
- 19:11give you the right an like uh the answer
- 19:13closest to what you're looking for like
- 19:15or pay drink and whatnot
- 19:18um uh yeah or obviously self-driving
- 19:22cars right they they uh they're they use
- 19:25machine learning to uh uh to disting
- 19:28distinguish between the you know objects
- 19:30and the people and the road and
- 19:32whatnot okay okay so let's let's bring
- 19:36this back to trading now how do you
- 19:38actually use machine learning to
- 19:41discover and create effective trading
- 19:44strategies um okay so uh you know first
- 19:49of all something that uh not a lot of
- 19:51people know but or I believe I don't
- 19:53know but there are edges that persist
- 19:55you know for 30 years you know I don't
- 19:58reoptimize any of my trading systems I
- 20:00just pick the you know n best out of you
- 20:03know a ton and uh trade
- 20:05them uh so I I have systems like I won't
- 20:10trade anything that hasn't worked you
- 20:12know for all the data that I have
- 20:14basically unless there's some serious
- 20:16structural issues with the data you know
- 20:19um like be before some point like some
- 20:22people recommend don't trade uh you know
- 20:24before or don't use data before 2003 for
- 20:27in because forget is it the the before
- 20:31it was like quarters and now it's
- 20:32decimals or what not but you know I
- 20:34don't do that so what's your what's your
- 20:37actual process like like let's say you
- 20:40wanted to create a new strategy tomorrow
- 20:42where would be your starting point and
- 20:45then what would be the
- 20:47steps before you go to live trading yeah
- 20:51so I I look at my uh I look at my
- 20:54portfolio right um and I see see you
- 20:59know what I'm trading and um let's say
- 21:03I'm trading you know already I'm trading
- 21:05The e- Minis right so I already have
- 21:08exposure uh whether also you check if
- 21:11it's long or short I'd say I'm I'm long
- 21:12short already the the eunis right so I
- 21:16would then say that I'm probably I
- 21:18should probably pick a market outside of
- 21:20the US Index market in fact outside of
- 21:22the equities market so uh I would then
- 21:25go to the next most liquid Market cuz
- 21:28that's very important to me that would
- 21:29be the you know FX Market um so I would
- 21:33probably pick the euro in that case um I
- 21:35would download the data for the Euro you
- 21:38know and put it in machine learning
- 21:41software uh and yeah and run the machine
- 21:45learning uh that will output a set of
- 21:47systems based on my objective function
- 21:49you know predefined
- 21:51criteria and uh I uh validate those
- 21:55systems using you know cross validation
- 21:57at a samp
- 21:59for example I like uh you know uh I
- 22:02check the currency systems on all the
- 22:04other currencies they don't have to work
- 22:06but it's a lot better for them to work
- 22:09and uh there's stuff that works uh
- 22:12definitely on the intraday time frame
- 22:15with Sharps above 1.5 on every single
- 22:17currency with like less than five
- 22:20parameters um so that that's definitely
- 22:23possible and I think uh once I once you
- 22:26really figure out you have to understand
- 22:27what first of all what is the maximum
- 22:30profit a market could give you and
- 22:32second of all uh you know what is what
- 22:36are the systems that you can build
- 22:37around that um if that makes sense yeah
- 22:41so just to zoom in a little bit on what
- 22:43you said there you you download the data
- 22:46right and then you put it into your um I
- 22:49don't know if it's the right word but
- 22:50your software that um you know operates
- 22:54does the machine learning aspect of
- 22:57things
- 22:58what's actually going on there like
- 23:00what's what's it doing when it's reading
- 23:02through this data what's what's the
- 23:04purpose of that so basically it does
- 23:07something like uh let's randomly
- 23:09generate 10,000 systems right no
- 23:12assumptions at all just randomly
- 23:13generate 10,000 systems maybe it'll say
- 23:16you know when the moving average of the
- 23:18volume of yesterday is is above uh you
- 23:21know I actually I don't really use
- 23:22indicators I I mostly focus on uh price
- 23:26pattern seasonality type stuff um but
- 23:30basically generates 10,000 let's say of
- 23:33these systems uh picks the uh the top
- 23:35you know let's say thousand they uh they
- 23:38mate you know which is their their their
- 23:41characteristics get kind of mixed their
- 23:43rules get kind of intermixed and they
- 23:45create 10,000 more that goes on for a
- 23:48while and then you have some sort of Set
- 23:50uh optimal set of uh uh of trading
- 23:54systems at the end and they get rated
- 23:56based on a a objective function that I
- 23:59set which is like the goal so maybe
- 24:00sharp Ratio or Draw down or number of
- 24:03Trades and and I'm a lot more worried
- 24:06about robustness than performance
- 24:08because uh
- 24:10um uh you know like you can take 10 10
- 24:14uh kind of decently performing you know
- 24:18uh systems and you put them together and
- 24:19you have an amazing one as long as
- 24:21they're not trying to capture the exact
- 24:22same effect right okay so for the the
- 24:27program to compute the you know as you
- 24:30use an example there 10,000 different uh
- 24:32systems or
- 24:34strategies how does it come up with
- 24:36those 10,000 are they if you put like
- 24:39five different rules in there or five
- 24:41different parameters and then it's just
- 24:43kind of throwing out every variation of
- 24:46that or how does how does that work it
- 24:49has a set of like indicators let's call
- 24:51them um you know could be like the high
- 24:54of yesterday or you know a moving
- 24:57average it has the price it has a volume
- 25:00it has you know you have to understand
- 25:02also the like the the content of the
- 25:04stuff you're giving it right if you know
- 25:06price can definitely predict future
- 25:08price but like for example if you can
- 25:11predict weather better than everybody
- 25:12else you can really trade uh you can
- 25:14trade uh the a Futures really well you
- 25:17know if so there's like information
- 25:20that's outside of price that it's it's
- 25:22nice to incorporate for example uh you
- 25:24know Twitter sentiment if you're trading
- 25:26stocks um you know uh spreads if uh uh
- 25:31you know if you're trading Commodities I
- 25:33mean in uh in uh like calendar spreads
- 25:36the different uh different
- 25:38months um yeah uh there's a lot of stuff
- 25:42again a lot of seasonality out there and
- 25:45uh a lot of uh highs and lows between
- 25:48various uh time points in the day are
- 25:51important okay okay so let's talk about
- 25:54the benefits of using machine learning
- 25:57instead of a more L use technique such
- 25:59as actually writing a strategy back
- 26:01testing it and then optimizing it like
- 26:04what's the benefits of going down the
- 26:06machine learning
- 26:08path okay so well let's start with I'm
- 26:11I'm GNA make a comment about the fact
- 26:13that a lot of people say like machine
- 26:15learning doesn't work or whatnot and I
- 26:17just have a very simple you know kind a
- 26:20couple sentences that I think uh I think
- 26:22I know mathematically
- 26:24proves proves them uh wrong um let's say
- 26:28and if you do it the right way that is
- 26:31so this assumes you're starting with a
- 26:33zero point origin so um theoretically
- 26:36basically let's say we have a function
- 26:38space right and this this or this this
- 26:40space includes all viable trading
- 26:43strategies in the world right everything
- 26:45possible it's infinite in size right now
- 26:50obviously some people are trading and
- 26:52some people are trading money uh making
- 26:54money unless you believe basically it's
- 26:56all random and some people just make
- 26:58money sometimes and then lose it and
- 26:59then it's all you know but obviously uh
- 27:02that's not true I I don't you know I'm
- 27:04not really sure how seeing some people's
- 27:05results you can believe that but anyway
- 27:09um so there are viable strategies in
- 27:12this space now uh like let's say
- 27:15grammatical Evolution from a zero point
- 27:17origin you can uh if giving it operators
- 27:21like plus minus uh divide and multiply
- 27:25there's actually mathematical proof
- 27:27saying that you know you can create any
- 27:29function using just those for uh you
- 27:31know those four operators uh so
- 27:35basically if you search long enough you
- 27:38will be able to create any and every
- 27:40single possible trade uh function or you
- 27:42know trading program uh that there is
- 27:45and those automatically include some
- 27:47that work because you know there are
- 27:50people that are doing this so um I think
- 27:54that's a that's really important uh
- 27:57that's uh and it doesn't apply to all
- 27:59types of machine learning uh you know it
- 28:02applies to ones where you have enough
- 28:04operators and you're working for a Zer
- 28:06Point origin and yeah you do it it could
- 28:08take you know forever to find a viable
- 28:10trading system um because for example I
- 28:13don't use just plus minus divide and and
- 28:16and multiply because that would you know
- 28:17takes too long and I do have a 40 core
- 28:19you know uh zon server uh to process all
- 28:23this stuff okay so so what are the key
- 28:26differences then between you know
- 28:29finding a strategy using machine
- 28:31learning and then actually defining the
- 28:34the the opposite to that would be
- 28:37defining a strategy so writing some
- 28:39parameters and then back testing that on
- 28:41data and then optimizing it from there
- 28:43so how does machine learning differ from
- 28:46from that that approach so so there's uh
- 28:51there's something called like the D data
- 28:52driven model of uh development and the
- 28:54software or sorry the model driven uh uh
- 28:58development right and uh when you come
- 29:01in for example let's say you're doing
- 29:02Trend falling and you want to use you
- 29:04know maybe just want to use one moving
- 29:06average and that's your model you have
- 29:07the moving average model you say when
- 29:08it's above this moving average you go
- 29:10long when it's below you go short maybe
- 29:12you want to use a crossover you say when
- 29:13the fast one's above the slow one then
- 29:15you go long and vice versa um you make a
- 29:18ton of assumptions uh like maybe that
- 29:22market is mean reverting maybe that
- 29:24market on that time frame is mean
- 29:26reverting maybe you know maybe the
- 29:29indicators that you're using uh you know
- 29:33outside of the uh of the moving average
- 29:36uh allow for you to only find mean
- 29:39reverting systems uh in the market I
- 29:41mean there's there's just a ton of uh
- 29:43stuff you don't know and a ton of bias
- 29:44you introduce by uh by coming in with a
- 29:47model uh that you have uh uh you know
- 29:51that that that you know of versus for
- 29:53example maybe you know I mean I've seen
- 29:56some of my systems do stuff that I human
- 29:58could just never you know never never
- 30:01figure out because you have to be
- 30:02looking at different times in different
- 30:04time series at the same time so like uh
- 30:08for example uh let's say the Yen was up
- 30:11three days in a row and you have uh a
- 30:14low today and the e- mini that I uh you
- 30:18know that is the lowest low in two
- 30:20months uh let's say buy tick above that
- 30:23low and sell at the end of the day or
- 30:25something like that um it would be very
- 30:27hard for you know for a human to kind of
- 30:32you have to you have to look at the yen
- 30:34in the past three days and at the same
- 30:36time uh you have to look at uh the uh
- 30:40the e- mini today but you're looking at
- 30:4310minute bars and no computer can even
- 30:45show you three days you know of
- 30:4610-minute bars let's say uh uh you know
- 30:50in terms because the price years is too
- 30:51long so you're not even going to be able
- 30:52to you know visualize the pattern unless
- 30:54you got like three or four
- 30:56monitors and even then
- 30:59okay so this is probably a good point to
- 31:02ask um this question here so once you
- 31:05discover a strategy that has an edge
- 31:07kind of like what you were just
- 31:08explaining there and it's you know to
- 31:10you it's worth trading a strategy like
- 31:13what you've just described it might not
- 31:15necessarily make sense to you logically
- 31:18like in your head you might not
- 31:20understand the reasons why that would
- 31:22work but it does so are you just purely
- 31:26looking for statistical edges only and
- 31:28you don't really matter about why it
- 31:31works well I mean yeah right I uh like I
- 31:34obviously it it gives me more confidence
- 31:37when I can make sense of it or what not
- 31:39you know I'm probably not going to
- 31:40somewh one of my friends just sent me a
- 31:42a funny that he works at a big bank and
- 31:44they were just like oh you see this
- 31:46dragon pattern and they drew a whole
- 31:48dragon on the chart you know I'm like
- 31:49okay if it breaks the dragon jaw then
- 31:51you know we're we're going down and uh
- 31:54so that that kind of stuff sounds a
- 31:56little bit ridiculous to me probably uh
- 31:58you know not going to not going to trade
- 32:00that kind of stuff but look man there's
- 32:02so much stuff we don't know like we're
- 32:05pretty dumb you know as as a as a whole
- 32:07general population and like for example
- 32:10the first caveman they didn't know where
- 32:12fire came from right but like that would
- 32:14be really dumb not to use fire because
- 32:17you know you could do a lot with that uh
- 32:19just because you don't know why
- 32:20something happens doesn't mean it's not
- 32:22viable A and B um there's you know a
- 32:26famous example that uh when you know
- 32:29people try to tell me they're like well
- 32:30what about this you know there there was
- 32:32this correlation or some something like
- 32:34the Bangladeshi butter prices it's a
- 32:36famous One um could explain with like a
- 32:39couple or like one or two other factors
- 32:40like all the all the variance in the S&P
- 32:44between like certain years but it was a
- 32:46pretty long period of time and they're
- 32:48like well that's obviously you know
- 32:50spurious and and it's BS and why would
- 32:52you ever trade that and my thing is hey
- 32:55man if you traded that for 10 years that
- 32:5720% and you just turned it off at a 20%
- 33:00draw down or whatever your your way to
- 33:01turn it off was who cares you could have
- 33:04made so much money and we're in this
- 33:06business to make money not to be correct
- 33:08and not to explain how or why the market
- 33:11works if you want to do that go be an
- 33:12economist you know I mean it's uh it's
- 33:16just that's it we're in this business to
- 33:18make money yeah that's a that's a really
- 33:20great point a lot Cas sum that up so
- 33:23while you're using machine learning to
- 33:25find strategies once these algorithms
- 33:27they're actually live trading do they
- 33:30continue to evolve with machine learning
- 33:33also no so that's the thing my output uh
- 33:37which is another another uh you know
- 33:39specific uh you know that's a specific I
- 33:43would say to the way I do machine
- 33:45learning uh my systems are actually like
- 33:48relatively simple like that system that
- 33:49I told you is actually not that
- 33:51complicated it has maybe one or two free
- 33:53variables you know and when you say free
- 33:56variables what's what's that referred to
- 33:58like things you're optimizing you know I
- 34:00mean I wouldn't call like uh you know
- 34:03like a day high is just a day high
- 34:05there's no number you can optimize there
- 34:07you know what I'm saying like it's just
- 34:08the the high of the day you can't you
- 34:10know but in a moving average it could be
- 34:12you know 21 bars 22 bars 23 bars 19 bars
- 34:15what's the difference between all that
- 34:16stuff you know so I try to stay away
- 34:19from that kind of stuff and more kind of
- 34:21discret you know you have the you know
- 34:23the day high is always the day high
- 34:25there's no way to kind of you know optim
- 34:28around it do that okay yeah yeah so what
- 34:31level of interaction do you have with
- 34:33your algorithms once they're actually
- 34:35operating and live trading like is there
- 34:37any discretion when you decide to either
- 34:41run them and then don't run them like
- 34:43could you shine some light on this for
- 34:44us so um I try to I try to start running
- 34:49them maybe when they're in a draw down
- 34:51uh that doesn't always work obviously I
- 34:53have the luxury of doing that when
- 34:55you're like already running many
- 34:56algorithms you know
- 34:58um I uh I uh I've been doing this thing
- 35:02recently that's been uh amazing actually
- 35:06uh and it's it's kind of uh so I make I
- 35:09make slight you know economic bets on on
- 35:13uh you know from from my knowledge of
- 35:15fundamentals or what not or my guess on
- 35:18fundamentals but for for example um from
- 35:21from Trading by hand before I I saw the
- 35:23Divergence you know between like the
- 35:26advanced uh line line and the or sorry
- 35:29the um yeah and the and the S&P and I
- 35:34was like and also I know that you know
- 35:36we've been easing and easing and easing
- 35:38and you can't go any lower and it's kind
- 35:40of like you know 30% a year in the
- 35:42market that's kind of unreal that's not
- 35:44like that doesn't happen especially for
- 35:47you know for this long so um I kind of
- 35:51turned off uh a little bit not turned
- 35:53off but uh lowered the uh the allocation
- 35:57uh lower L the risk uh to my uh to my uh
- 36:02long only systems and left my short only
- 36:06uh systems you know the way that they
- 36:08are um on the on the indices only and
- 36:11that's you know been really awesome but
- 36:13then if you look back uh I would just be
- 36:16let's let's say so my results were like
- 36:18a you know a four sharp over the past
- 36:21you know six months and if I hadn't done
- 36:23that it would be like you know uh uh 3.2
- 36:27so it's it's not a big difference but uh
- 36:31you know I just it's boring when you
- 36:32when you have you know when you have
- 36:34your systems and you have your framework
- 36:36it's you know you just kind of run it
- 36:37and you're like what are you going to do
- 36:39sit all day you just you try to Tinker I
- 36:41mean you shouldn't Tinker right and I
- 36:43don't Tinker in a way where uh where it
- 36:46can affect me because for example if I
- 36:48make a bet and I'm wrong right I have a
- 36:51system that's worked for 30 years right
- 36:53so it's going to be still working more
- 36:55or less in the same way it's work before
- 36:58if I'm right I get a little bit Alpha in
- 37:00the near term you know basically it's
- 37:03like a lot easier to predict the equity
- 37:06curves you know out of 10,000 systems
- 37:08that have been working amazingly over
- 37:10the past 30 years than it is from 10,000
- 37:13stocks
- 37:14so there you go so what type of Trader
- 37:18is machine learning probably best suited
- 37:21to like for someone who currently isn't
- 37:23exploring this angle of
- 37:26trading is there anyone who should maybe
- 37:28consider this um someone who you think
- 37:31would be a good fit like a certain type
- 37:33of Trader it would be relevant
- 37:35to uh humans you know I think uh I think
- 37:40like the people that I know that trade
- 37:42by hand well they're like super
- 37:43self-aware and they spend a lot of time
- 37:45on like themselves to make sure that
- 37:48like you know like they are the machine
- 37:50and they're you know well oil and
- 37:51working well and that's that's not the
- 37:54way that like humans are it's uh that's
- 37:56why trading is so hard
- 37:58so I think it's it's suitable for
- 37:59everybody and the Beautiful Thing is um
- 38:02I didn't know to be honest look when I
- 38:04started doing this this is the way I
- 38:06looked at it I was like I'm going to
- 38:07learn all this machine Lear learning
- 38:09stuff right and if I completely fail at
- 38:11trading which is possible because you
- 38:13know I mean it's hard uh I can go and
- 38:16work at like Google or something so I
- 38:18think it's a really good uh you know
- 38:20there's a lot of good you could do in
- 38:21general in the world with uh with
- 38:23machine learning Technologies and
- 38:25artificial intelligence and you know
- 38:27there there's never going to be a lack
- 38:28of jobs and you're always doing cool
- 38:30projects so if you ever you know give up
- 38:32on trading you could always do that
- 38:34although you know again if just just
- 38:37work a little bit longer it's it's just
- 38:40right there you know uh it's definitely
- 38:42possible um you know um yeah so you you
- 38:47mentioned just their um artificial
- 38:49intelligence and I don't want to go into
- 38:50this too much more but
- 38:53um is artificial intelligence uh
- 38:56essentially the same thing as machine
- 38:57learning or is there um are there
- 39:00differences between the two so I mean
- 39:03they're different like in Academia
- 39:05they're different you can you know you
- 39:07can call machine learning kind of a
- 39:09subset of you know General artificial
- 39:11intelligence um um machine learning is
- 39:15is a bit more about you know having a
- 39:17lot of data and you know kind of
- 39:19learning from that like massive uh
- 39:21amount of data versus artificial
- 39:23intelligence has a little bit more you
- 39:26know kind of IC stuff for example
- 39:29or um non non uh you know not solutions
- 39:33that aren't based on Randomness in
- 39:35anyway for example so it's a bit more
- 39:37General Okay Okay cool so share with us
- 39:42your thoughts on
- 39:43diversification um because I think that
- 39:47from from when we've spoken in the past
- 39:48you've spoken about how you can
- 39:50diversify in various ways and how you'd
- 39:52like to do this and the various ways
- 39:54being that you can either do it for
- 39:56greater returns um and then on the other
- 39:58hand you can also do it for protecting
- 40:00risk so could you just speak on this a
- 40:02little bit and and your thoughts on
- 40:05diversification okay yeah uh first of
- 40:08all yeah obviously you should always
- 40:09diversify to protect risk that should be
- 40:11your number one goal all the time um but
- 40:15you know I I I'm Diversified for example
- 40:17across asset classes across the side of
- 40:20the market right long or short or I'm
- 40:22starting to do some pairs trading stuff
- 40:24even um I diversify across time frames
- 40:29and uh uh basically every time I have
- 40:32extra Capital whatever that is let's say
- 40:3350,000 bucks per contract I mean it
- 40:36depends on your contract size um I'd
- 40:38like to pick up a new market i' and I
- 40:42would much much much rather add a new
- 40:44market than allocate more to an existing
- 40:46Market um I don't allocate more
- 40:50uh um because you
- 40:53know again we still you don't know
- 40:56what's going to what's going to happen
- 40:57happen right uh in the future regardless
- 41:00of how smart you are and and you know
- 41:02how good your systems are U you know you
- 41:04can still have like we had the flash
- 41:06crash or like last year we had that was
- 41:09already last year right the the Frank
- 41:11just poof 30% inad day like that's
- 41:15ridiculous you know that that's a that's
- 41:17like a world currency they're not
- 41:19supposed to have 30% moves I mean when I
- 41:22uh when I was reading uh some I read a
- 41:24lot of the trend falling books and they
- 41:26recommend for example Le you know
- 41:28volatility based pos position sizing and
- 41:30they're just like yeah well you know if
- 41:32if the bonds move more than 2% in a day
- 41:35like you're not worried about your
- 41:36portfolio you're worried about like the
- 41:38world ending and you know is that true I
- 41:41mean you go the Frank moved 30% in like
- 41:43a second I mean it was you know like
- 41:45five minutes but still that's a lot you
- 41:47know that's a world economy um so you
- 41:51know diversification uh across uh as
- 41:55many as many uh aspects of of of the
- 41:58market of the of the kind of trading
- 42:01space as possible you know I use uh some
- 42:04you know a little bit more advanced math
- 42:06techniques like PCA uh on My Equity
- 42:09curves you have to uh so a lot of people
- 42:12try to diversify on assets but you know
- 42:15a a trading system is essentially
- 42:17something it's a filter that transforms
- 42:19your price Series right into the return
- 42:22series for your system so you're not
- 42:24actually now invest your you're trading
- 42:28the the original time series the
- 42:30original asset but really you're
- 42:33investing in the equity curve of the
- 42:35your system which is not the same thing
- 42:38as the asset anymore you know it's
- 42:40transformed and you have to understand
- 42:42that okay and while we're on the subject
- 42:44of risk just to add to that a little bit
- 42:47uh when we were speaking the other day
- 42:49uh you mentioned Global risk metric so
- 42:52would you be able to maybe shed a little
- 42:54bit of light on that like what what are
- 42:56you referring to when you talk about
- 42:58global risk
- 42:59metrics uh yeah like uh thing I was
- 43:02talking about the the 80 line Divergence
- 43:05uh vixs uh making new highs uh the
- 43:09spread between the front and the uh the
- 43:12two uh front month uh vix uh uh
- 43:17contracts um that kind of stuff you know
- 43:20the spreads in between different uh in
- 43:22different uh expirations of different uh
- 43:26uh Futures kind contracts the volatility
- 43:28surfaces of various uh um you know
- 43:33options and stuff there's there's
- 43:35there's a lot of you predictive you know
- 43:37there's a lot of predictive uh stuff out
- 43:39there um in terms of uh risk you know
- 43:42when when when people are I mean for
- 43:44example volume drying up you know if you
- 43:46have that's it's makes you know you can
- 43:49see that that's not good you can see
- 43:51that something you know bad is going to
- 43:53happen Okay so say volatility is
- 43:56increased on the vix how does
- 43:59that uh tie back into your individual uh
- 44:03strategies like let's say you're you're
- 44:05training in a equities Market well if if
- 44:08you're if you're if you're really
- 44:10creative and you can make it work you
- 44:11can create a position siing function
- 44:13that for example you know scales the
- 44:16inverse of the volatility or the inverse
- 44:18of the vix so like the higher the vix
- 44:20the lower you you
- 44:21invest um for example or you could be
- 44:24simple like before when I was just doing
- 44:26let's say you know kind of long-term
- 44:28index trading you can
- 44:30say um I don't know let's say the vix
- 44:33closes above 35 two days in a row or
- 44:36something like that then you you exit um
- 44:39but you know when you're doing that kind
- 44:40of stuff you're a little bit more prone
- 44:41to overfitting but um you just have to
- 44:45be you just have to be aware um and and
- 44:49because there's a lot of stuff for
- 44:50example the vix also it defines market
- 44:52regimes right so there's clearly you
- 44:55have to examine your performance the
- 44:57performance of your systems or your own
- 44:58Performance Based on you know the market
- 45:01characteristics uh you know I believe
- 45:03there's many many many different Market
- 45:04regimes you know could be like you know
- 45:07vix is above 30 uh and uh it was an
- 45:11update on the S&P or vix is between 15
- 45:14and 20 and you know that it was a down
- 45:17day in the Yen or something like that I
- 45:20mean basically there's infinite
- 45:21variations of those but um I like to
- 45:24have my systems like there's not that
- 45:26much in efficiency uh or there's a lot
- 45:29of inefficiency in the market but it's
- 45:30not as consistent as you would think uh
- 45:33like you can't get like you know 10
- 45:35trades a day on one inefficiency unless
- 45:38you're I mean you can but it's more
- 45:40you're getting in the realm of uh kind
- 45:42of hft stuff but I like to trade for one
- 45:46system let's say once or uh maybe once
- 45:50per a week or once per two weeks and you
- 45:53get that over 30 years you combine that
- 45:55with 20 other systems that have
- 45:57different edges um and that's uh that's
- 46:00a lot more robust because if one of the
- 46:02edges kind of goes away you can always
- 46:04turn that system on absolutely okay so
- 46:07stepping away from your own trading a
- 46:09little bit and just kind of talking
- 46:11about the broader Market as machines
- 46:14become more and more prominent in
- 46:15trading the way you said is there any
- 46:17downside to this or do you maybe see
- 46:19this as a positive
- 46:21thing I think it's a positive thing
- 46:23because we're incorporating more
- 46:25information more predictions uh
- 46:26predictors I mean if you're doing it
- 46:28right again I said it's very important
- 46:30to understand you know you have to you
- 46:33have to add stuff that really predicts I
- 46:35mean not predicts but helps helps uh you
- 46:38know price by itself it can you can make
- 46:40a system using just price but uh you
- 46:43know again if you had some weather or
- 46:45some sentiment or you know some some
- 46:48other or some intermarket stuff it
- 46:49always helps you're making markets more
- 46:51efficient um and uh you know I think
- 46:55also humans will always have their place
- 46:57kind of regardless of uh the amount of
- 47:00uh computer trading because uh computers
- 47:03are still dumb uh and and uh yeah they
- 47:08can find the good patterns but you know
- 47:10humans rely too much on computers I
- 47:12think uh in that sense uh you saw it for
- 47:15example and stuff happens like I think
- 47:16was when was it in the past couple years
- 47:19night Capital group they just you know
- 47:20they they they opened the market opened
- 47:23and they just sent a bunch of like not
- 47:25correct orders into the market and they
- 47:28you know what is it like an 80% drop in
- 47:30their market cap in one day and it's
- 47:32like a you know wow it's a good company
- 47:35but uh yeah relied too much on the
- 47:38computers didn't do their their checks
- 47:40didn't do their risk management their
- 47:42verification on their testing and and
- 47:44lost a lot of money yeah that that's
- 47:47pretty Savage so for someone who is so
- 47:50deeply involved in the programmatic side
- 47:51of trading how important is this going
- 47:54to become over the next 10 to 20 years
- 47:57for all Traders like do you think that
- 47:59those without any programming knowledge
- 48:01will be disadvantaged or anyway or does
- 48:03it not
- 48:05matter um definitely not look um I mean
- 48:09if you're trying to if you're doing
- 48:11scalping yeah 100% you will definitely
- 48:14be disadvantaged uh because there you're
- 48:15relying on speed and whatnot but there
- 48:17will always be time frames generally a
- 48:19little bit higher than the ones that are
- 48:22uh you know worked on by the robots
- 48:24where humans will excel um
- 48:28there's uh you know because we have
- 48:31pretty complex uh neural networks in our
- 48:34heads and complex in the sense that they
- 48:37could fit a lot of nonlinear patterns uh
- 48:39there's a lot of stuff that uh we
- 48:41process and goes on in in the background
- 48:43of our minds that you know uh we can't
- 48:48uh formulate and we can't put on
- 48:50paper Okay cool so I understand that um
- 48:55you keep in close contact with a number
- 48:57of Traders um just moving on to a
- 48:59slightly different topic here but you
- 49:01keep in close contact with a number of
- 49:02Traders could you share with us how this
- 49:05has been beneficial to your trading by
- 49:07just having other traders in your circle
- 49:09that you can I don't know like maybe
- 49:11bounce ideas off in that type of
- 49:13thing yeah it's awesome um I mean I've
- 49:17been super fortunate I actually and
- 49:19quite randomly met a group of people
- 49:22about like you know a year and a half
- 49:24ago and my performance is like tripled
- 49:27since then and purely because uh some of
- 49:29these guys do hft and um they were like
- 49:33this is the performance that we can get
- 49:35and you can kind of extrapolate you know
- 49:38if like if this is the kind of
- 49:40performance you can get intraday and
- 49:41this is the kind of performance you
- 49:43could get hft right then basically in
- 49:46between is what you can get uh you know
- 49:49uh trading intraday but not
- 49:51hft and uh I mean that's just an example
- 49:54and and so I started Building Systems
- 49:56kind of uh with the hope of finding
- 49:58these these kind of uh uh this kind of
- 50:01results and it's it's been very fruitful
- 50:03and in general again it's like reading
- 50:05the books uh actually this group of
- 50:07people most of them trade by hand uh so
- 50:11we don't you know we don't really
- 50:13discuss so much I mean they know about
- 50:14systems and they know how it works but a
- 50:16lot of the time they'll say oh we we do
- 50:18this and this and I'm like huh using
- 50:20this indicator like I can't I can't use
- 50:22your method but this indicator that you
- 50:24use to help in your trading that's the
- 50:26source of information that's a source of
- 50:28extra information not Contra contained
- 50:30in the price or the volume uh you know
- 50:32of the market I should try to
- 50:34incorporate that and I I throw it in the
- 50:35machine learning algo and boom wow there
- 50:38you
- 50:38go and obviously I share with them hey
- 50:41guys these are sources of info that I
- 50:43use uh you know
- 50:46um that that could add a little bit more
- 50:49uh predictability to the market and in
- 50:52general you know just just you know
- 50:54having having people to talk to because
- 50:56this is a pretty solitary business you
- 50:58know it's uh you know sitting in front
- 50:59of your computer programming the pric is
- 51:01going up and down emotions all that
- 51:03you're kind of just inside yourself and
- 51:06you know I'm actually super okay with
- 51:08doing that I think that uh it would be
- 51:10very hard for to be a Trader like for
- 51:12anybody uh unless you have a certain
- 51:14level of uh comfort with uh with
- 51:17yourself and with being alone but um
- 51:20it's it's very useful a lot more useful
- 51:23than I thought it would be to uh to uh
- 51:25you know talk to other people
- 51:27yeah that's really well said I like I
- 51:29like how you summed that up um so we we
- 51:32briefly touched on this a little bit
- 51:34earlier we we kind of talked about your
- 51:36learning and that type of thing but I
- 51:38really want to get your your attitude
- 51:41and your views on constant learning cuz
- 51:43this is something that's that's very
- 51:45important to you so could you share with
- 51:46us like how you view that type of um
- 51:51that type of need to continually
- 51:53progress yeah I mean I love school um
- 51:57both because it's super interesting you
- 51:59know look for example you know you can
- 52:01go on a date and if you you know you
- 52:03could go on another date and if you're
- 52:04in the end if you're good at it uh you
- 52:07know you pretty much I mean it's sad but
- 52:09you develop this template and you're
- 52:10saying the same over and over again
- 52:12and the then you're bored okay you go on
- 52:14a date you you know you get to the end
- 52:17of the night you know you do your thing
- 52:18and it all repeats but there is so much
- 52:22new and interesting stuff in the world I
- 52:24mean like H they they just made an
- 52:26artificial heart out of foam you know uh
- 52:29they you know figured out how to you
- 52:31know control mice by implanting a uh
- 52:34optical fiber into their brains uh you
- 52:37know they're doing they uh they just
- 52:39found the higs bow on in physics and
- 52:41they're doing stuff in space I mean
- 52:43literally there's Infinity super cool
- 52:46new stuff out there and um not only that
- 52:50it really like I run several other
- 52:52businesses outside of trading um and uh
- 52:56like to read a book about how to do
- 52:59something go out and do it in the world
- 53:02and get reward for that I mean that is
- 53:04just beautiful like you're turning
- 53:06knowledge into you know into you know
- 53:09money into you know into your enjoyment
- 53:12into Freedom basically um the more
- 53:15knowledge you have you know the more
- 53:16freedom you have uh it's it's a really
- 53:19beautiful thing in my mind yeah man
- 53:21absolutely 100% so I get the feeling
- 53:24that a lot of what you actually learn
- 53:26and what you read about is not
- 53:27necessarily directly trading related I
- 53:30mean is that often the case and if it is
- 53:33could you perhaps give us an example of
- 53:35something you've been studying or
- 53:36learning about
- 53:37recently absolutely because there's uh
- 53:40there's patterns that exist in the world
- 53:42that are just they transcend any single
- 53:45discipline you know I mean maybe like
- 53:48think about okay so think about like the
- 53:50tree structure right the structure of a
- 53:51tree right we have the actual tree right
- 53:54there's different versions of the tree
- 53:55as in you know there's a little flower
- 53:57there's a big tree there's a whole
- 53:58different you know there's a whole
- 54:00different whole nice array of of that
- 54:02structure but wait then we have the
- 54:04veins in our body and in fact the veins
- 54:06in anybody then we have the neural
- 54:08system it's also a tree likee structure
- 54:10uh you know there's these structures
- 54:12that exist in the cracks uh in the earth
- 54:15like in the um seismology and geology
- 54:19you know there's the structure also
- 54:21exists in an organizational sense you
- 54:23know and in a computer science sense as
- 54:25well there's a tree structure
- 54:27um that are efficient for doing C uh
- 54:29certain operations there's like you know
- 54:32the you know kind of centralized
- 54:33structure like our universe our solar
- 54:35system you know uh a communist country
- 54:39um you know a variety of things we have
- 54:41the uh you know the more distributed uh
- 54:44structure like the the way the the ants
- 54:48uh you know live and find food and and
- 54:52operate uh that's a distributed
- 54:54commuting structure which is similar to
- 54:56that I mean and you realize that like
- 54:58there's there's like kind of you know
- 55:00people always ask is Trend fing always
- 55:01going to work yeah of course Trend like
- 55:03Trends are always going to exist are you
- 55:05saying is this system always going to
- 55:06work probably not but is are Trends
- 55:09always going to happen absolutely and
- 55:11and you realize kind of uh you know
- 55:13there are underlying patterns to to it
- 55:16all uh you know even human development
- 55:19has a certain certain pattern you know
- 55:21um for for whatever reason and I mean
- 55:25it's uh
- 55:26it's just interesting to to see the
- 55:28stuff and to to realize and to know that
- 55:30it exists and and and if you can
- 55:32capitalize on it I mean it's it's uh
- 55:36it's awesome it's even
- 55:38better yeah so let's um I don't want to
- 55:41put you on the spot here too much but
- 55:43what are your goals or your plans for
- 55:45the next like 5 to 10 years moving
- 55:48forward what are what type of things are
- 55:50you going to be focusing more on like
- 55:52you're going to be introducing new alos
- 55:54and strategies to your portfolio uh
- 55:56raising capital for your fund like what
- 55:58what's your what's your outlook for the
- 56:00next five 10 years what are you what are
- 56:01you focusing on well my goal uh my goal
- 56:05is to make a billion dollars actually
- 56:08and uh that's so I could sort a fund for
- 56:10kids from you know all over the world so
- 56:12they could go to school for free in the
- 56:13states in the UK you know to to get
- 56:15these kids from let's say Emerging
- 56:17Markets into uh into good Western
- 56:20schools because uh the only way you're
- 56:21going to be able to solve kind of you
- 56:23know whatever problem there there is you
- 56:25know from poty to uh to you know uh some
- 56:30sort of like religious wars going on and
- 56:32you know like this this Isis stuff for
- 56:33example going on is to educate kids at
- 56:36you know at a young age uh appropriately
- 56:39and not to not to not in your Doctrine
- 56:42but just I mean with like math and
- 56:44science like you know so because like
- 56:46someone that's a mathematician or a
- 56:48scientist they're going to be exposed to
- 56:50some of these patterns automatically
- 56:51that I'm talking about and you kind of
- 56:53like it's very it's much harder to
- 56:55believe in some of the BS that people
- 56:57tell you when you're like look this is
- 56:59something provable repeatable and I know
- 57:01the system and the system works and this
- 57:03is just you're telling me that you know
- 57:05you know if I you know if I kill this
- 57:07person then you know then the community
- 57:09will love me because then you know I'm
- 57:11going to go to heaven and you know and
- 57:14you know be you know a God or something
- 57:16like that that's that's crazy you know
- 57:18and it's better to just you know when
- 57:20everyone is happy and nice and everybody
- 57:22is prosperous that's better for
- 57:23everybody you know yeah for sure there
- 57:26are some those are some big goals man so
- 57:28so Props to you for for thinking big I
- 57:30like
- 57:31it yeah you got to set you got to set
- 57:33the big goals you know I every you know
- 57:36there was every time in my uh in
- 57:40actually every year up until uh and even
- 57:44even
- 57:45today um I always set goals that I think
- 57:48are you know just Out Of Reach just
- 57:50impossible you know when I first came to
- 57:52school I was like I'm going to do a
- 57:53double major in you know in chemistry
- 57:55and business and people were like you're
- 57:57insane a double major with a hard
- 57:59science and I was like you know I ended
- 58:00up doing obviously much more than that
- 58:03um like you know right now I'm running
- 58:05you know six businesses getting a
- 58:07masters and I'm actually doing an IBO
- 58:09right now so it's just you know it's
- 58:12possible everything is possible you
- 58:14could always do more you could always
- 58:16push yourself harder and like you know
- 58:19yeah it's stressful and it's hard but
- 58:22like dude be thankful you're not like an
- 58:24African kid that was born addicted to
- 58:25heroin and has to like shoot their
- 58:27brother in a war you know like and it
- 58:30just it's just have fun with it yeah and
- 58:33I mean that's that's the key thing I
- 58:34mean like you're you're obviously really
- 58:36busy you're doing you got a lot going on
- 58:38but you are clearly passionate about it
- 58:40you enjoy what you're doing so it's
- 58:43almost not like it's like you're not
- 58:45even working because you're enjoying it
- 58:47so I mean absolutely yeah so but let's
- 58:52bring this to a close I just want to ask
- 58:54you one last thing and that's um for
- 58:56anyone listening if they're interested
- 58:58in getting into you know this machine
- 59:01learning side of things and you know
- 59:03going deeper into algo trading what are
- 59:06some great resources that they could
- 59:08begin
- 59:09with um I would say you know you need a
- 59:11you need a base of just general um
- 59:14General um like knowledge General Matha
- 59:17uh math and and stats knowledge and
- 59:20actually out of all the stuff I've read
- 59:22other than the market Wizards book like
- 59:24General like a class on statistics it's
- 59:27much more useful than like stats for
- 59:29trading you know or whatever you know
- 59:30some books like that um so I would
- 59:33really recommend these like moo things
- 59:36like corsera or edex they have such a
- 59:38wealth of super high quality information
- 59:41from awesome professors that do this for
- 59:43free so they're sitting like they spent
- 59:45their time you know to to to create this
- 59:49awesome material so that people could uh
- 59:51could learn for free and and I'm sure
- 59:54you know everyone's had professors that
- 59:55are just like like you know in college
- 59:57for example they're there because they
- 59:58want to do the research they're not
- 59:59there to teach these guys are you know
- 1:00:01they're there to teach they love it they
- 1:00:03love to teach and you can see that comes
- 1:00:05through uh the uh the materials it's
- 1:00:08very nice absolutely yeah I mean I've
- 1:00:10done one course on the corsera website
- 1:00:14and um yeah very keen to dig into a few
- 1:00:16more as well um really cool site so yeah
- 1:00:20guys definitely check it out what is it
- 1:00:21it's course era.org isn't it yeah yeah
- 1:00:25okay so that's c r s r a.org but I'll
- 1:00:29link to it in the show notes anyway so
- 1:00:31guys a full recap on this episode um
- 1:00:35including any of the resources that bird
- 1:00:37has mentioned um as well as a bunch more
- 1:00:40can be found at chat with traders.com
- 1:00:43sl42 so but just before you go do you
- 1:00:46want to share with listeners where they
- 1:00:47can go to connect with
- 1:00:50you
- 1:00:51um I I can give you my email and then
- 1:00:54you can post it out there they they can
- 1:00:56email me or I'm on LinkedIn you know um
- 1:00:59you can find me okay and you're also on
- 1:01:02Twitter yeah I'm on Twitter yeah yeah
- 1:01:04I'm on Twitter I don't really post any
- 1:01:07original info because I don't have uh
- 1:01:09too much time but I repost stuff I like
- 1:01:11uh half I started doing it so I could
- 1:01:13actually go back and read articles that
- 1:01:15I liked but it turned into uh it's a
- 1:01:18it's a I think I post some cool stuff I
- 1:01:20mean I post obviously I only repost
- 1:01:23stuff that I think is cool so it makes
- 1:01:24sense that I think uh
- 1:01:26that's interesting that's a that's a
- 1:01:27good idea actually I mean I end up just
- 1:01:30um saving everything to My Bookmarks uh
- 1:01:32bar at the top of my browser and it's an
- 1:01:35absolute mess but um yeah I like that
- 1:01:37that's a good idea so what is your
- 1:01:38Twitter handle just in case someone
- 1:01:40wants to check out some of
- 1:01:42these I think it's uh b m o u l e r okay
- 1:01:47like my last name very cool all right
- 1:01:49and of course that'll be in the show
- 1:01:50notes so but thank you very much for
- 1:01:52doing this man I really appreciate it
- 1:01:54it's been um very interesting and you
- 1:01:56know exposed us to something we haven't
- 1:01:58had the chance to speak about on the
- 1:02:00podcast before so yeah thanks a lot man
- 1:02:02I really appreciate it thank you man
- 1:02:05thanks for having an awesome podcast you
- 1:02:07know this is a very uh you know I would
- 1:02:10say right next to the mark Wizards book
- 1:02:13uh books uh in terms of uh actually
- 1:02:16helping people to trade you know yeah
- 1:02:19yeah that's that's really cool to hear
- 1:02:20man thank you very much so take care
- 1:02:22Bert and uh let's talk very soon
- 1:02:29you've come to the end of this episode
- 1:02:30of chat with Traders but don't worry
- 1:02:32more great episodes are on the way to
- 1:02:34stay updated with each great new episode
- 1:02:37be sure to subscribe to the podcast in
- 1:02:39iTunes and we'd love it if you leave us
- 1:02:41a rating and review we'll see you next
- 1:02:43time on chat with Traders
- 1:02:45[Music]
- 1:02:59I
- 1:03:04[Applause]
- 1:03:06[Music]
About this transcript
This page contains the full transcript of Machine learning for algorithmic trading w/ Bert Mouler by Chat With Traders, generated from the public captions YouTube serves with the video. The transcript has 11,571 words across 1,561 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.