YouTube2Text

Q6: Your Quant Trading Questions Answered · Delaney Mackenzie — Transcript

by Chat With Traders · 14,603 words · 2,237 segments · language en · Watch on YouTube

Full transcript

  1. 0:00A chat with traders collaboration with
  2. 0:02Quantopian episode six.
  3. 0:14Hey crew, here we are for the sixth
  4. 0:16episode in the Quantopian and chat with
  5. 0:18traders mini series. I'm Aaron Fifield
  6. 0:21and big thanks for tuning in. As I've
  7. 0:24promised all along, this episode being
  8. 0:26the final installment in the series, we
  9. 0:28would dedicate to the Q&A. Answering
  10. 0:31your questions which you've submitted.
  11. 0:34Perhaps not you specifically, but
  12. 0:36questions submitted by listeners.
  13. 0:39As a way to have some order to this
  14. 0:40episode, we've loosely categorized the
  15. 0:43questions. So these categories include
  16. 0:46resource recommendations, trading with
  17. 0:48factors, machine learning, live trading,
  18. 0:51strategy evaluation, and we close with
  19. 0:54answers to questions about Quantopian
  20. 0:56itself.
  21. 0:58And just like we've done for all past
  22. 1:00episodes, you can find links to all
  23. 1:02resources mentioned during this episode
  24. 1:04at quantopian.com/chatwithtraders.
  25. 1:08And the same on the chat with traders
  26. 1:11website too.
  27. 1:12Now before we get into it, I do want to
  28. 1:14say thank you to datacamp.com for
  29. 1:17sponsoring this mini series. So if
  30. 1:20you're new to programming or just maybe
  31. 1:23want to develop your skills further, I
  32. 1:25honestly feel your best bet is to sign
  33. 1:28up with DataCamp and work your way
  34. 1:30through their courses. Their courses are
  35. 1:33developed purely to teach data science
  36. 1:35and languages Python and R, and you can
  37. 1:38start any course for free. So to get
  38. 1:41started, simply visit datacamp.com
  39. 1:44and create a free account.
  40. 1:46All right, well that concludes the
  41. 1:48intro. Thanks so much for listening to
  42. 1:49this mini series guys. I hope you've
  43. 1:51enjoyed it. I've really enjoyed putting
  44. 1:53it together and I hope it's been helpful
  45. 1:55to you in one way or another.
  46. 1:58Please welcome Delaney.
  47. 2:02Sounds good. All right, man. Well, let's
  48. 2:03just hit the record button. Um and we'll
  49. 2:06just get stuck into it. So, an easy
  50. 2:09question right off the bat, what are
  51. 2:11your book recommendations?
  52. 2:15It's a It's an easy question. Also a
  53. 2:17little tricky for me cuz I actually I'm
  54. 2:19not a huge book guy, which I don't know
  55. 2:21that might come as a shock to people,
  56. 2:23but I've always like preferred the style
  57. 2:26of learning, which is, you know, you
  58. 2:28just try something and then you get
  59. 2:30stuck and then you Google the answer.
  60. 2:32Much more of a
  61. 2:33um kind of like piecemeal consuming the
  62. 2:35information as you need it versus going
  63. 2:37through and using a book and then kind
  64. 2:39of reading the book. But, that said, um
  65. 2:42I can make a few recommendations just
  66. 2:43based on my experience. Uh there's two
  67. 2:46people who are, you know,
  68. 2:49uh authors of of financial textbooks. I
  69. 2:52know both of them and I think that
  70. 2:54they're really good both as as people
  71. 2:56and as, you know, teachers in their
  72. 2:58books. And that is Frank Fabozzi, who's
  73. 3:01uh
  74. 3:02from
  75. 3:03uh
  76. 3:04kind of he he works at uh he's worked at
  77. 3:06BlackRock for a long time. He's a super
  78. 3:08senior guy. He's written a ton of
  79. 3:10textbooks. And also uh Dessislava
  80. 3:13Pachamanova. And uh that is spelled p a
  81. 3:17c h a m a n o v a, if I'm getting that
  82. 3:21right. She is a professor at um
  83. 3:25Babson and
  84. 3:27uh kind of a She's been a little bit of
  85. 3:28a friend of the firm of Quantopian for a
  86. 3:30while. We really like her. And And she
  87. 3:31actually co-publishes with Frank. Um
  88. 3:34they recently released a a textbook um
  89. 3:37that I'm actually completely blanking on
  90. 3:38the title, too. But
  91. 3:40uh we'll I'll try to provide a link in
  92. 3:42the in the forum thread that we have for
  93. 3:45uh the Chat With Traders podcast. But,
  94. 3:47anything by those two.
  95. 3:49Uh and then another book that we kind of
  96. 3:51used uh we looked over it on
  97. 3:53recommendation from another professor
  98. 3:55that we worked with who uses it to teach
  99. 3:56his class, Mark Kritzman at Suffolk, but
  100. 3:59he recommended this book uh actually I
  101. 4:02have in my notes wrong. It's actually
  102. 4:03quantitative investment analysis.
  103. 4:06So, if you just like Google quantitative
  104. 4:07investment analysis, you'll find this
  105. 4:09book. It's a pretty good intro,
  106. 4:10especially for people who haven't dived
  107. 4:12into it before. And the thing that does
  108. 4:14a good job of is
  109. 4:16um laying the topics out kind of in a,
  110. 4:19you know, very clear step-by-step basis
  111. 4:22uh and not kind of skipping ahead or
  112. 4:23assuming that you've had a background in
  113. 4:25statistics or anything like that.
  114. 4:27Excellent, right. So, I probably should
  115. 4:29have mentioned this before I even asked
  116. 4:31you that first question, but I just want
  117. 4:33to let the listeners know that we have
  118. 4:34actually loosely categorized these
  119. 4:37questions. So, this first kind of
  120. 4:39category, if you will, that we're
  121. 4:40working through at the moment is is more
  122. 4:42of a general category on sort of book
  123. 4:44recommendations, maths, and, you know,
  124. 4:47some easy programming languages, but or
  125. 4:49some easy questions about programming
  126. 4:51languages, but anyway, so the next
  127. 4:54question that we got come through here,
  128. 4:56what's your recommendation for someone
  129. 4:58that has a business degree on how to
  130. 5:00jump into the world of quant finance?
  131. 5:04So, this one's actually like I say the
  132. 5:06same thing to pretty much everybody
  133. 5:07here, which is the first thing you need
  134. 5:08to do is learn to code at the at like
  135. 5:11the a very minimum just code a little
  136. 5:13bit. Uh you know, you don't have to
  137. 5:15become an expert, but learn to code, and
  138. 5:17get get your hands dirty with that. Um
  139. 5:19and and especially in a lot of MBA
  140. 5:21programs, some are good about this, some
  141. 5:23aren't good,
  142. 5:24um but a lot of MBA programs don't
  143. 5:27really kind of teach you to really get
  144. 5:29down and dirty with technical stuff. Um
  145. 5:31sometimes they kind of say, "Well, oh,
  146. 5:33we're going to be
  147. 5:34uh you know, kind of focusing on the
  148. 5:36management side, and we'll let someone
  149. 5:37who's technical worry about the
  150. 5:38technical side."
  151. 5:40Um but if you really want to understand
  152. 5:42and be a good manager and communicate,
  153. 5:44like you need to have enough, you know,
  154. 5:45experience. And if you want to jump into
  155. 5:47the field, I think you should really
  156. 5:49just learn to code. There's plenty of
  157. 5:51resources available for doing that. I
  158. 5:53think the sponsor of this series,
  159. 5:55DataCamp, has a lot of really good
  160. 5:56materials for learning to code within a
  161. 5:58statistics context and other things like
  162. 6:02There's just If you Google like learn to
  163. 6:03code, there's a lot of sites that will
  164. 6:05tell you how to do it.
  165. 6:06And and and in general, depending on how
  166. 6:08you learn, if you like just like a lot
  167. 6:10of material presented to you or you
  168. 6:13kind of what I was talking about
  169. 6:14earlier, where you go through
  170. 6:17multiple, you know, different projects
  171. 6:19and kind of consume information as you
  172. 6:21need it. I'm the second, so I would kind
  173. 6:23of recommend
  174. 6:25picking something that really interests
  175. 6:26you
  176. 6:27and then trying to do it and when you
  177. 6:29get stuck, Googling how to get unstuck.
  178. 6:31That's how real engineers work and I
  179. 6:33think that's a pretty powerful way to to
  180. 6:35learn. And just before we move on to the
  181. 6:37next question, it almost sounds a little
  182. 6:39bit to me like this question was asked
  183. 6:42by someone who is is looking to pursue
  184. 6:46quant finance in the professional space,
  185. 6:49not sort of the DIY approach. When you
  186. 6:51say learn to code,
  187. 6:54do you think that they need some sort of
  188. 6:55certificate or to actually do a
  189. 6:57university program in learning to code
  190. 7:00or coding on their own is sufficient?
  191. 7:03Well, it depends on exactly what role
  192. 7:05they want to occupy within the quant
  193. 7:07finance space. Certainly, I would say
  194. 7:10it's going to be very difficult to
  195. 7:11compete for a purely technical analyst
  196. 7:13role because if you're talking about a
  197. 7:15quantitative analyst, these are people
  198. 7:17often times who've gone through PhD
  199. 7:19programs in mathematics. They have years
  200. 7:21and years of programming experience, but
  201. 7:23there's a lot of space in between,
  202. 7:25right? And there's actually the like the
  203. 7:29famous
  204. 7:30McKinsey report they published a couple
  205. 7:33years back where they said there's going
  206. 7:34to be a huge shortage of data scientists
  207. 7:37and an even bigger shortage of data
  208. 7:38science managers. I think the same thing
  209. 7:41is true in in the quant world that you
  210. 7:42know, you don't necessarily have to be a
  211. 7:44pure quant. You can also look at like
  212. 7:46are there roles where I can talk between
  213. 7:48quants and other parts of the company
  214. 7:50like
  215. 7:51are there roles where maybe I could be
  216. 7:52evaluating quants
  217. 7:54you know, and and and communicating that
  218. 7:56back to a more traditional analysis team
  219. 7:58or or you know, being the the
  220. 7:59connection. So
  221. 8:01I guess it depends on what you're trying
  222. 8:02to do. I would say it might be tricky
  223. 8:05yes, if you're trying to compete against
  224. 8:06the PhDs,
  225. 8:08but I would focus on being a bit more
  226. 8:10creative and and looking for more
  227. 8:12opportunities.
  228. 8:13Sure. Okay.
  229. 8:14Now, what areas of mathematics and
  230. 8:17statistics should aspiring quants be
  231. 8:20comfortable in? Are there any resources
  232. 8:22that you would recommend? I think that
  233. 8:24we've tried to craft the lecture series
  234. 8:26to reflect this pretty well. Like
  235. 8:29basically what's covered in the lecture
  236. 8:31series is is a good chunk of what we
  237. 8:33think is important and it's not all of
  238. 8:34it. We're adding to it. But in general,
  239. 8:36it's just knowing how to validate
  240. 8:38whether a model makes any sense and then
  241. 8:40it's the field known as model
  242. 8:42validation. And a lot of the techniques
  243. 8:44used for that come from econometrics.
  244. 8:46Econometrics is the branch of math
  245. 8:48developed by economist for dealing with
  246. 8:51time series data. Which of course is
  247. 8:53very prevalent in economics and and
  248. 8:55similarly time series analysis is you
  249. 8:58know, sometimes people conflate time
  250. 9:01series analysis and econometrics.
  251. 9:03You know, I'm not saying that's wrong. I
  252. 9:05think they both are kind of the same
  253. 9:07thing in a lot of ways, but you know,
  254. 9:08just learning how to deal with time
  255. 9:10series rather than stationary analysis
  256. 9:12because it's very different and you have
  257. 9:13to deal with effects like auto
  258. 9:14correlation. And and in general again,
  259. 9:17like
  260. 9:18what I say is to all these things is
  261. 9:20like the in my experience the best way
  262. 9:22to learn this type of math is not to
  263. 9:24necessarily just say like I'm going to
  264. 9:25learn these three subjects and then just
  265. 9:27read about them. Like pick things that
  266. 9:29are interesting to you
  267. 9:31and and you know, muck around with them
  268. 9:34a bit and Google around for info and let
  269. 9:35yourself get lost reading like a
  270. 9:37Wikipedia page on stochastic
  271. 9:39optimization for a long time. Like it
  272. 9:41it's you know kind of pick something
  273. 9:43that's interesting to you first and and
  274. 9:45and go from there. Yeah, and just to um
  275. 9:48add on to something you mentioned there,
  276. 9:50the lectures that you referenced uh
  277. 9:52they're available at
  278. 9:53quantopian.com/lectures.
  279. 9:56And that's a really valuable resource.
  280. 9:58I've actually been working through
  281. 10:00a couple of those, you know, since we
  282. 10:02started doing this series and it's a
  283. 10:04really good way to learn, especially
  284. 10:06because they're all done in the Jupyter
  285. 10:07notebooks. So, you know, you can
  286. 10:09directly copy the notebook and play
  287. 10:12around with it yourself and get your
  288. 10:13hands dirty. It's very easy to do that.
  289. 10:16Thank you for plugging them, by the way.
  290. 10:17I I
  291. 10:18I figured I had already like said that
  292. 10:20link like 3 million times, so I didn't
  293. 10:22want to tire you users out on that
  294. 10:24front. But yeah, thank you and I
  295. 10:26I'm happy that you're finding them
  296. 10:27useful. Yeah, yeah, no, they're
  297. 10:28excellent. So, this question sounds like
  298. 10:31it came from someone who's just starting
  299. 10:33to learn how to program or was maybe
  300. 10:35considering learning how to program.
  301. 10:38What they're asking are what are some of
  302. 10:40the pros and cons of the more popular
  303. 10:43programming languages? So,
  304. 10:45I think what they're trying to get at
  305. 10:46here is saying,
  306. 10:48you know, you've got your programs like
  307. 10:50uh your brokers TradeStation and
  308. 10:53MultiCharts which support Easy Language.
  309. 10:56And then you've got, you know,
  310. 10:57Quantopian and just any programming
  311. 11:01script that you write uh which can be
  312. 11:03done in an open source language like
  313. 11:06Python or C++ and that sort of thing.
  314. 11:08So,
  315. 11:09I think this question's really like what
  316. 11:11are the pros and cons between your open
  317. 11:14source languages and your sort of
  318. 11:17proprietary languages, if that's the
  319. 11:19right word.
  320. 11:20Sure. Well, in general, as a rule of
  321. 11:22thumb, open source languages are going
  322. 11:24to be higher quality. I mean, there are
  323. 11:26that's not, you know, an absolute rule,
  324. 11:28but if you look at a lot of the
  325. 11:29languages, they're They're like
  326. 11:30massively used for development
  327. 11:31everywhere.
  328. 11:32They're the open source ones. I mean,
  329. 11:34that's because the standards are open.
  330. 11:36They're they're kind of universal and
  331. 11:38something written in C can talk a lot of
  332. 11:40other stuff because many people use the
  333. 11:42same standards versus everybody using
  334. 11:43their own proprietary languages. So,
  335. 11:46this is too complicated a question to
  336. 11:48really answer or do justice to in in a
  337. 11:50short time frame. I mean, every language
  338. 11:52has many pros and cons and you know, the
  339. 11:55pros and cons are in many different
  340. 11:56directions. It's not just speed. It's
  341. 11:57how easy it is to express different
  342. 11:59things in that language. Uh it's how big
  343. 12:02the code is for that language. It's how
  344. 12:03the language handles multiple types of
  345. 12:05things. Uh Quantopian picked Python as
  346. 12:08the language that we're using because we
  347. 12:10think it's the best all-rounder and has
  348. 12:12really good statistical library support.
  349. 12:14That's kind of rivaled right now only by
  350. 12:16R and MATLAB. Uh but obviously like some
  351. 12:18other languages are going to beat Python
  352. 12:20on pure speed. So, again, um I don't
  353. 12:23want to say like any language is best.
  354. 12:25They all have pros and cons and it's
  355. 12:26really just about knowing those pros and
  356. 12:28cons um and knowing what you need to get
  357. 12:31done for your project. And and and
  358. 12:33beyond that, I think that I'd be kind of
  359. 12:35doing myself and others a disservice by
  360. 12:37claiming, you know, anything more about
  361. 12:38a language's goodness without knowing
  362. 12:41what you're trying to use it for. So,
  363. 12:43for someone who is totally new to
  364. 12:45programming though and wants to know
  365. 12:47which language they should start out
  366. 12:49with, you think Python is a pretty safe
  367. 12:51bet?
  368. 12:53Yeah, Python so as far as being the
  369. 12:56first language you learn,
  370. 12:58uh Python I think is is the best one for
  371. 13:01that. Uh it it really does a good job of
  372. 13:04being accessible and expressing concepts
  373. 13:06well and it reads well. Like even
  374. 13:08someone who hasn't done programming
  375. 13:10before, if you locked them in a room for
  376. 13:122 hours, you know, they might be able to
  377. 13:14tell you something about a Python
  378. 13:15program because it some of it almost
  379. 13:17reads like English. I really recommend
  380. 13:19that for people who are just starting
  381. 13:21out. Okay, excellent. Now, this one is
  382. 13:24from a college student who is currently
  383. 13:26studying traditional accounting and
  384. 13:29finance. They ask, "What courses should
  385. 13:32I take to get an introduction to
  386. 13:34quantitative analysis?" Really, I think
  387. 13:37what you want to take is you want to
  388. 13:39take applied math and statistics
  389. 13:41courses.
  390. 13:42And if your school has specifically
  391. 13:45quant courses, awesome.
  392. 13:48And if it doesn't,
  393. 13:50you know, you can kind of take the same
  394. 13:51get the same stuff through applied math
  395. 13:54and and and physics courses.
  396. 13:56And like I said, like I would go to the
  397. 13:58lecture series, look at what topics are
  398. 14:00in there, and then kind of
  399. 14:01cross-reference them with the topics
  400. 14:03that are
  401. 14:04listed and in your school. And and and
  402. 14:07go from there. Of course, like every
  403. 14:08school is going to have different course
  404. 14:10offerings. Uh And and I might be jumping
  405. 14:13ahead cuz I have the the question here,
  406. 14:15but
  407. 14:16there's a second part of the question,
  408. 14:17right? Which is that they they said that
  409. 14:19they're involved in um
  410. 14:21in an investment fund at the school.
  411. 14:24And they wanted to experiment with, you
  412. 14:26know, doing a a quant strategy at the
  413. 14:28investment fund. Um so I actually have
  414. 14:30like a
  415. 14:32a specific answer for that, which I've
  416. 14:33talked to a few other, you know, school
  417. 14:35clubs about, which is that I it's really
  418. 14:37interesting from a quant perspective is
  419. 14:39to rather than start by trying to
  420. 14:40implement a quant strategy that makes
  421. 14:42money, start by using quant techniques
  422. 14:44to analyze existing strategies or
  423. 14:48existing
  424. 14:49portfolios that the club is running. And
  425. 14:52and and that leads into the to the next
  426. 14:54question we have on our list here. So
  427. 14:56maybe you want to ask that question. We
  428. 14:58can kind of combine two answers into
  429. 15:00one. Yeah, yeah, absolutely.
  430. 15:02Um I'm just going to read this
  431. 15:03submission out in full because I think
  432. 15:05it adds a little bit of context, which
  433. 15:07is probably necessary for for anyone
  434. 15:09who's listening to this. So
  435. 15:11Uh this is the question as it came
  436. 15:12through. Um we run a desk that has
  437. 15:15largely bionic traders. A number of our
  438. 15:17trading decisions are discretionary, but
  439. 15:20we use a number of programmable tools to
  440. 15:23find stocks we trade. Lately, we've been
  441. 15:25putting together plans to introduce some
  442. 15:28automation, quant trading, etc. as part
  443. 15:31of the modus operandi, if I pronounce
  444. 15:35that right.
  445. 15:35Modus operandi. There we go.
  446. 15:38M.O.
  447. 15:40of our desk. My question is, in finding
  448. 15:43the right skill sets to work with or
  449. 15:46hire to make this happen such that we
  450. 15:48can start automating some of our already
  451. 15:51successful discretionary trading
  452. 15:53strategies, what would you advise us to
  453. 15:55pay strict attention to to attract the
  454. 15:58right talent pool, especially if they're
  455. 16:01not necessarily traders or familiar with
  456. 16:03the trading space? I mean, this is a
  457. 16:06really great question and I think it
  458. 16:08gets at kind of the transformation that
  459. 16:11the field is generally undergoing right
  460. 16:12now, which is that there's a lot of
  461. 16:14traditional people
  462. 16:16still using, you know, kind of
  463. 16:18techniques that have been around for a
  464. 16:19while and there's a there's a lot of
  465. 16:21forces now in in the financial services
  466. 16:23industry pushing towards more
  467. 16:25involvement of technology and statistics
  468. 16:27and mathematics.
  469. 16:29So,
  470. 16:30uh
  471. 16:31it's the same as my answer to the guy
  472. 16:33who's talking about being in a
  473. 16:34traditional investment fund at his
  474. 16:36school and asking how, you know, what's
  475. 16:37the first thing to do. Well, I think the
  476. 16:38first thing to do is understand what's
  477. 16:40going on first, right? Like, don't
  478. 16:42necessarily like say we're going to
  479. 16:43build an entirely new machine. Um let's
  480. 16:46look at the machine you have working
  481. 16:48first. And so,
  482. 16:50uh like the classic case would be just
  483. 16:52say, let's take your return streams that
  484. 16:54are coming out of your existing trading
  485. 16:56desk or existing traders
  486. 16:58um and just do a quant analysis on those
  487. 17:01return streams. So, the classic case
  488. 17:03would be looking at um and maybe you're
  489. 17:05already doing this, you know, in which
  490. 17:06case, great. I don't want to assume, but
  491. 17:08the classic case would be looking at
  492. 17:09like risk exposure. So, you know,
  493. 17:12starting from something super simple
  494. 17:13like
  495. 17:15uh like the Fama-French model
  496. 17:17um where you're looking at
  497. 17:19uh and we talked about this in some of
  498. 17:20the earlier episodes, but you're looking
  499. 17:21at how your
  500. 17:23returns correlate with the broad market
  501. 17:25returns and with like a few of the
  502. 17:26different sectors maybe, and then a few
  503. 17:28of the, you know, fundamental factor
  504. 17:29returns.
  505. 17:31And then maybe you discover that your
  506. 17:32trading desk that you think is is, you
  507. 17:34know, doing something really original is
  508. 17:36actually just a leveraged bet or like a
  509. 17:39kind of a well-explained combination of
  510. 17:42things that people already know about.
  511. 17:44So things like
  512. 17:46I think it's the Barra factor model or
  513. 17:49other well-known factor models will
  514. 17:51might explain this for you.
  515. 17:53Um
  516. 17:54And Quantopian actually offers a tool
  517. 17:56called Pyfolio. It's free and open
  518. 17:57source and allows you to put in any
  519. 17:59return stream and get out like a full
  520. 18:02quant analysis of that return stream and
  521. 18:04looking at, you know, what it's exposed
  522. 18:05to and and kind of a lot of angles that
  523. 18:08a quant would take when checking whether
  524. 18:09or not a return stream is good. Now when
  525. 18:11you're talking about implementing
  526. 18:12quantitative strategies, I mean, I think
  527. 18:14the really the first step is just to
  528. 18:17make sure that you've hired
  529. 18:18professionals who really really know
  530. 18:20what they're doing and they're rigorous
  531. 18:22and they
  532. 18:23they know how to control risk and
  533. 18:25they're not just flashy people who like
  534. 18:28want to sell you some crazy model that's
  535. 18:31based on, you know, kind of snake oil.
  536. 18:33And unfortunately, you do have to take
  537. 18:35the time to kind of learn some of the
  538. 18:37stats and math yourself because or or
  539. 18:41have someone that you really trust who
  540. 18:43knows them because the issue is if
  541. 18:45you're trying to hire people who are
  542. 18:46good at this, unless you have a sense of
  543. 18:49the skills and a sense of what is going
  544. 18:51to define someone who's good and
  545. 18:52rigorous versus someone who's selling,
  546. 18:54you know, like things that don't really
  547. 18:55work, you you're not going to know who
  548. 18:57to hire unless you you learn a few of
  549. 18:59those skills yourself and then get a
  550. 19:01sense of it. So I think the first step
  551. 19:03is just getting someone who you trust,
  552. 19:06consulting with someone who you trust
  553. 19:08who's, you know, really kind of a
  554. 19:09rigorous quant
  555. 19:11who's you're know, going to BS you and
  556. 19:13and and going from there and letting
  557. 19:15them guide the process of setting up
  558. 19:17that machine. Beyond that, I think it's
  559. 19:19all kind of specifics and and it's
  560. 19:21depends on what exactly you want to set
  561. 19:22up. Okay, and I'm just peeking at your
  562. 19:24notes here.
  563. 19:26Um, you have one here which I think is
  564. 19:28probably worth mentioning as well, and
  565. 19:30that's, uh, about the culture of your
  566. 19:32company. Do you want to mention that?
  567. 19:35Yeah, it's a good point. I actually
  568. 19:36completely forgot that I put that in
  569. 19:38there. Um, another really important
  570. 19:39point is that a lot of traditional
  571. 19:41finance firms have a culture which
  572. 19:42scares away good technical talent. Uh,
  573. 19:46and and I again, I have no idea what
  574. 19:47your culture is like, so I don't want to
  575. 19:49assume, but a lot of firms will have
  576. 19:51this kind of kind of jockey or frat
  577. 19:53culture which a lot of technical folks
  578. 19:56don't like. Um, they'll have this
  579. 19:58culture where kind of the suits, the the
  580. 20:01the the traders who who aren't technical
  581. 20:04will make a lot of money and then the
  582. 20:05technical people will kind of be treated
  583. 20:07more as a, you know, kind of a mill that
  584. 20:09will turn out, uh, strategies. Um, so
  585. 20:13just making sure that you kind of put
  586. 20:15your quant people and your traditional
  587. 20:16people on the same level and evaluate
  588. 20:18them objectively, uh, and don't let
  589. 20:21someone who's better at networking, uh,
  590. 20:24you know, get paid more because they can
  591. 20:25negotiate more. Like pay, uh, quants
  592. 20:28fairly and then, you know, other things
  593. 20:30like not requiring the people wear suits
  594. 20:32to work all the time. That's like a
  595. 20:33classic one is that, you know, a lot of
  596. 20:34these technical people don't want to
  597. 20:35have to dress up every day. They want to
  598. 20:37go in in jeans and a t-shirt. Um, so
  599. 20:39like little things like that and looking
  600. 20:41at the culture of your firm versus the
  601. 20:42culture of maybe a Silicon Valley tech
  602. 20:44firm, and I'm not saying that they're
  603. 20:45like the best culture. There's a lot of
  604. 20:47issues with that, but just comparing it
  605. 20:49and looking at what companies are
  606. 20:51attracting the best technical talent
  607. 20:53right now, you know, what, you know, and
  608. 20:55then comparing that to your culture and
  609. 20:56seeing if maybe there are differences
  610. 20:58that might be scaring away technical
  611. 20:59people.
  612. 21:01Yeah, I think that's a really good
  613. 21:02answer.
  614. 21:03Um, so these next few questions, uh,
  615. 21:06more quant orientated, um,
  616. 21:09and they revolve around factors. Um,
  617. 21:11obviously that was a big topic, uh,
  618. 21:13throughout a couple of the episodes,
  619. 21:15especially. Uh, so this question here,
  620. 21:18"How would you go about dealing with
  621. 21:19interaction effects between factors
  622. 21:22where the signal between the two is not
  623. 21:24additive? How is this taken into
  624. 21:27consideration within the workflow, uh,
  625. 21:29that we've discussed over these past
  626. 21:31episodes, and how common is it in
  627. 21:33practice?"
  628. 21:35So, I actually got really excited when I
  629. 21:37saw this question because, uh, this is
  630. 21:39right up my alley. I worked at a
  631. 21:41computational genetics lab for a long
  632. 21:43time, and the sole
  633. 21:45Well, not the sole, but a large part of
  634. 21:47what we did there was looking at looking
  635. 21:49for non-additive effects between genes,
  636. 21:52and and whether those non-additive
  637. 21:53effects were useful in predicting, um,
  638. 21:55risk prevalences of, you know, for
  639. 21:57different diseases. And, uh, so
  640. 22:01this is super interesting stuff. The
  641. 22:02short answer is that yes, this stuff is
  642. 22:04super important, and actually it just
  643. 22:06came up because, uh, so someone who's
  644. 22:09currently working, uh, he's
  645. 22:11developing some quant some content for
  646. 22:13Quantopian, it's this guy Rob Rider.
  647. 22:15He's a really, really good quant, career
  648. 22:17quant. Um, he actually teaches, uh, at,
  649. 22:21uh, NYU at at in their quant program.
  650. 22:23Really knows what he's doing. I I I
  651. 22:25really like him.
  652. 22:26Um, really nice guy, and, uh, he, uh,
  653. 22:30has been developing some stuff on
  654. 22:31Quantopian. If you look on the forum for
  655. 22:33Rob Rider, um, r e i d e r, you'll see
  656. 22:37some really good posts he's made. And,
  657. 22:39uh, he was actually bringing up this
  658. 22:40exact same point that he thinks it would
  659. 22:42be really good to do some posts on like
  660. 22:44looking at factor interactions.
  661. 22:46Uh, and and generally the way that those
  662. 22:48that would happen is you just kind of
  663. 22:50rather than looking at the short answer
  664. 22:51is like rather than looking at 1D graph,
  665. 22:54of, you know, factor versus future
  666. 22:56returns, you'd look at a 2D graph of,
  667. 22:58you know, one axis is each factor, and
  668. 23:00then maybe it's a heat map where the
  669. 23:02color of the graph at that point is is,
  670. 23:04you know, future returns on average. And
  671. 23:07And And looking for structure in that
  672. 23:08heat map. Um
  673. 23:10that might not make sense to a lot of
  674. 23:11people, but I think the person asking
  675. 23:13this question probably kind of gets what
  676. 23:15I'm saying there. Uh short answer is
  677. 23:17yes, it's something you want to
  678. 23:18consider, and it's I think one of a kind
  679. 23:20of at the forefront of of some of what
  680. 23:22modern quants are doing. Uh it's not
  681. 23:24something that's well established in
  682. 23:26industry as far as I know.
  683. 23:27Um so, definitely it's a good place to
  684. 23:30to start looking into. Uh and and I
  685. 23:32can't, unfortunately, go that much
  686. 23:34deeper into it without kind of getting
  687. 23:35into a lot of technical terms, but I
  688. 23:37just want to say like, yeah, it's a
  689. 23:38really interesting point. I would look
  690. 23:39at things like uh you know, just uh like
  691. 23:43come up for come up with a hypothesis of
  692. 23:45like why might two factors have an
  693. 23:46interaction that's non-linear and then
  694. 23:48test for that interaction because it is
  695. 23:51easy to get into the data mining problem
  696. 23:53where you've just like there's, you
  697. 23:54know, a bajillion possible two-way
  698. 23:56interactions, and you're you're likely
  699. 23:58to find one because of multiple
  700. 23:59comparisons bias, like we talked about
  701. 24:01in the first episode. Mhm. What we'll do
  702. 24:04is I'll dig up a link to the that forum
  703. 24:06post or those posts by Rob Carver, like
  704. 24:09you mentioned there, um and we'll stick
  705. 24:10it in the show notes. Just still on that
  706. 24:12same question, the signal between the
  707. 24:15two factors is not additive. What does
  708. 24:18additive mean in that sense?
  709. 24:21So, there's a there's this notion in in
  710. 24:24model development where you're saying,
  711. 24:25let's say that your model is um
  712. 24:29the returns on the market equals current
  713. 24:33value of factor one plus current value
  714. 24:35of factor two. So, that's a model,
  715. 24:37right? And And it may or may not fit the
  716. 24:38real world, but that's a model.
  717. 24:40Uh and that's a an additive model cuz
  718. 24:42you're adding two things together. It's
  719. 24:44otherwise known as a linear model. Um
  720. 24:46and then a non-linear model or
  721. 24:48non-additive model might be if the
  722. 24:50returns were equal to something more
  723. 24:51complicated, like factor one times
  724. 24:53factor two, or factor one squared minus
  725. 24:57factor two. You know, some some some
  726. 24:59more sophisticated relationship. And
  727. 25:03basically, there's argument that, you
  728. 25:04know, there may be interesting
  729. 25:07structures hidden in, you know,
  730. 25:09large-cap stocks behave differently from
  731. 25:12small-cap stocks. So, maybe large-cap
  732. 25:14stocks are more prone to mean reversion
  733. 25:16and small-cap stocks are more prone to
  734. 25:17momentum. I don't know. Like, that's
  735. 25:19just I'm completely picking that out of
  736. 25:20thin air. It's something you could test.
  737. 25:22So, that would be an example of a of an
  738. 25:24interaction where maybe you could like
  739. 25:26split the universe by large-cap stocks
  740. 25:29and just split the large-cap stocks and
  741. 25:31notice that mean reversion was more
  742. 25:32prevalent. Um and then just look at the
  743. 25:34small-cap stocks and notice that
  744. 25:35momentum was more prevalent. Uh and then
  745. 25:38that would be an example of how two
  746. 25:39factors are interacting in a non-linear
  747. 25:41way. You're not just adding them
  748. 25:43together. Okay. Well, I thought we
  749. 25:45should just maybe clarify that a little
  750. 25:46bit.
  751. 25:47Yeah, that's a great great point.
  752. 25:48Now, this next question here, it's a bit
  753. 25:50of a lengthy one, so I think it might be
  754. 25:53better if I just read it out cuz it
  755. 25:55sounds like there's a
  756. 25:56it's probably um important to the
  757. 25:58context of the question. So, all right,
  758. 26:00let's go.
  759. 26:01When would it make sense to group
  760. 26:03similar factors together into one factor
  761. 26:06in your model? For example, you might
  762. 26:09have some factors that all measure some
  763. 26:11variation of sentiment. In this case,
  764. 26:14the idea is that different variations of
  765. 26:17how you measure sentiment might pick up
  766. 26:19slightly different signals, but are
  767. 26:21still likely to be pretty correlated,
  768. 26:24thus diminishing their value as
  769. 26:27individual factors. Would it make sense
  770. 26:29to group these factors into one and
  771. 26:32combine this one master sentiment factor
  772. 26:35with other categories of factors? If so,
  773. 26:38what are the key things to consider in
  774. 26:40doing so? I think that's a good
  775. 26:42question.
  776. 26:43Yeah, it's a really good question. Um
  777. 26:45and I'm very happy again like I'll I'll
  778. 26:48I'll say it again, but uh I don't think
  779. 26:50I've said it yet, but I'll I'll say it
  780. 26:51again. Like I was very impressed at the
  781. 26:54quality of some of the questions that we
  782. 26:55got. You know, I'm
  783. 26:57unused to getting a lot of good
  784. 26:59questions when we put out, you know,
  785. 27:00like a call for questions. So,
  786. 27:03especially cuz I know that a lot of your
  787. 27:04listeners may have been getting into
  788. 27:05quant stuff for the first time. I was I
  789. 27:07was kind of impressed that we got a lot
  790. 27:09of these questions. So, this is a really
  791. 27:11good question. I think this demonstrates
  792. 27:12that whoever asked this question kind of
  793. 27:14really got some of the stuff that we
  794. 27:15were talking about in the earlier
  795. 27:16podcasts. The short answer is yes,
  796. 27:19that's something that might make a lot
  797. 27:20of sense to do. And a few points that I
  798. 27:23wanted to bring up are So, there's this
  799. 27:25notion of hierarchical clustering, which
  800. 27:27is a common technique now in
  801. 27:30you know, statistics and data science.
  802. 27:32And it's this notion of okay, well, if
  803. 27:34you have a bunch of things, let's kind
  804. 27:36of group them by how similar they are
  805. 27:38and then look at that.
  806. 27:39And people actually use it for portfolio
  807. 27:43construction. I recently saw a paper by
  808. 27:46One Qubit, which is a company that does
  809. 27:47I think it does quantum computing and
  810. 27:49they had a white paper which was talking
  811. 27:50about hierarchical portfolio
  812. 27:52hierarchical
  813. 27:54risk parity portfolio construction, I
  814. 27:56think. I need to go back and
  815. 27:57double-check. But So, that's an approach
  816. 27:58you might take where if you have a bunch
  817. 28:00of factors, you could actually look at
  818. 28:02the covariance matrices between the
  819. 28:03factors and then look at a hierarchical
  820. 28:06clustering of those factors based on the
  821. 28:07covariance matrix and then but from that
  822. 28:10decide whether a group of factors is
  823. 28:11better off just being lumped into one.
  824. 28:14That said, at the end of the day, all
  825. 28:16you're really doing by lumping them into
  826. 28:18one is reducing the weights that you're
  827. 28:19assigning to each individual one and
  828. 28:22controlling the exposure of the
  829. 28:24portfolio that you're holding at the end
  830. 28:26of the day. So, at the end of the day,
  831. 28:27the main thing that matters is what is
  832. 28:29the exposures on your final portfolio.
  833. 28:32And really all you're doing by grouping
  834. 28:33them into one is kind of it's more for
  835. 28:35your sake and like thinking about your
  836. 28:37model correctly and intuitively. And at
  837. 28:40the end of the day, like I don't think
  838. 28:42it necessarily changes what exposure or
  839. 28:46necessarily the behavior of your of your
  840. 28:48portfolio.
  841. 28:49And another thing just to remember is
  842. 28:50that it's factors all the way up and
  843. 28:52down, right? Like if you combine two
  844. 28:53factors, you're left with a factor. And
  845. 28:55if you combine 100 factors, you're left
  846. 28:57with a factor. So,
  847. 28:59you can combine two factors into one and
  848. 29:01then combine that with another one and
  849. 29:03then combine that with another one and
  850. 29:04like at the end of the day you're going
  851. 29:05to have some factor. And that factor is
  852. 29:07going to have a set of exposures based
  853. 29:09on what it's made up of. So, it's just
  854. 29:10kind of you can also view this as
  855. 29:12basically a problem of assigning
  856. 29:13weights. Like I'm not I'm not unless
  857. 29:15your models are are non-linear, you can
  858. 29:17combine factors in some non-linear way.
  859. 29:19As long as you're combining factors
  860. 29:21linearly, it's I think it's equivalent
  861. 29:22to just assigning different weights to
  862. 29:24the factors.
  863. 29:25Okay.
  864. 29:27How useful are classic models such as
  865. 29:30Heston, GARCH,
  866. 29:33IARCH from financial mathematics in
  867. 29:36creating trading strategies?
  868. 29:39It's a good question. Basically, it's
  869. 29:41just asking like, you know, I think this
  870. 29:42is asking like, "Hey, I learned these
  871. 29:43stuff in school or in a textbook. Like
  872. 29:45how much do they get used in the real
  873. 29:47world?" And then those models are
  874. 29:49pronounced GARCH and ARCH, which kind of
  875. 29:51GARCH doesn't really sound good, but you
  876. 29:53know, that's that's what it that's what
  877. 29:55it is. Stands for generalized ARCH. And
  878. 29:58we have actually have a lecture on it
  879. 29:59that we co-developed with Andre
  880. 30:01Kirilenko when he was working at MIT
  881. 30:03Sloan in the lecture series. But I mean
  882. 30:06the short answer is
  883. 30:07it varies. Like I've seen I'm not as
  884. 30:09familiar with Heston, but I've seen I've
  885. 30:11seen GARCH and ARCH used in practice
  886. 30:13for, you know, volatility modeling. I've
  887. 30:15seen all sorts of different models used.
  888. 30:18I think that it's really good to have a
  889. 30:22kind of
  890. 30:23all of these things in your toolkit, but
  891. 30:25at the same time you can't be wedded to
  892. 30:28specific models. Like you don't want to
  893. 30:30come from this perspective of I have
  894. 30:31this really cool model and I want to use
  895. 30:33it, right? Because that makes kind of no
  896. 30:35sense. What you want to do is you want
  897. 30:36to look at the data and then say, "Hmm,
  898. 30:39I interesting how this data is behaving.
  899. 30:41Let me go into my toolbox of models, my,
  900. 30:44you know, curated pantry of models and
  901. 30:46pick the model that I think is going to
  902. 30:47be a good fit for this data and then see
  903. 30:50if it fits. So, I would say rather than
  904. 30:52kind of focusing on the models
  905. 30:54themselves, just view them as, you know,
  906. 30:56one of many and and kind of knowing a
  907. 30:58broader set of models will help you
  908. 31:00understand more different types of
  909. 31:01behaviors you might see in data.
  910. 31:04Um now these this this next set of
  911. 31:06questions here
  912. 31:08uh more around machine learning. Uh
  913. 31:10machine learning was something that we
  914. 31:11spoke about on episode 5 and I know
  915. 31:14there's uh I think there's some lectures
  916. 31:16and I know there's certainly forum posts
  917. 31:18on the Quantopian site um discussing the
  918. 31:20topic as well. This question here
  919. 31:24sort of has uh two parts to it. Let's
  920. 31:27just tackle it. See how we go. So,
  921. 31:29in machine learning for trading, you
  922. 31:32know, okay, so I think they're
  923. 31:32referencing episode 5. You spoke of
  924. 31:36dimensionality reduction
  925. 31:38and then those reduced factors being
  926. 31:41used in a new model. So, two questions.
  927. 31:44The first one being, what kind of
  928. 31:46dimensionality reduction are we talking
  929. 31:48about?
  930. 31:50Those are kind of black box. Uh I don't
  931. 31:53know how to ask this one. Sure. I I
  932. 31:55think I know what they're getting at
  933. 31:56here. Um so, I can actually I I I think
  934. 31:58what they're getting at is uh whether
  935. 32:01this is kind of So, there's there's a
  936. 32:02few different kinds of dimensionality
  937. 32:04reduction and dimensionality reduction
  938. 32:05is really when you have a bunch of
  939. 32:08different like independent variables
  940. 32:10that all could explain your dependent
  941. 32:12variable and you don't know which ones
  942. 32:14or which combination of ones will
  943. 32:15explain your uh your independent
  944. 32:17variable, your outcome variable. And
  945. 32:20he's asking whether or not where you
  946. 32:21want to use some technique like singular
  947. 32:24value decomposition or principal
  948. 32:25components, which are effectively matrix
  949. 32:28operations. They come out of linear
  950. 32:29algebra and they take your data set and
  951. 32:31they effectively like
  952. 32:33contort it around such that what you're
  953. 32:35left with is a smaller set
  954. 32:38of
  955. 32:39uh of independent variables, new
  956. 32:41synthetic independent variables, and
  957. 32:43then it tries to figure out how much
  958. 32:44they explain your your outcome variable.
  959. 32:47So, the short answer is I wasn't talking
  960. 32:48about that method of dimensionality
  961. 32:50reduction, which is also a completely
  962. 32:52reasonable way to do dimensionality
  963. 32:53reduction for some problems. I was
  964. 32:55talking about the
  965. 32:58second more of the second one, which is
  966. 33:01you use ML to look at your features, and
  967. 33:05rather than constructing new synthetic
  968. 33:07features using, you know, principal
  969. 33:08components or whatever,
  970. 33:10you actually just like kick out a bunch
  971. 33:13of potential independent variables, a
  972. 33:15bunch of potential features. Same thing,
  973. 33:16when I say features, I mean independent
  974. 33:18variables. It's just machine learning
  975. 33:19speak. And you just kick out a bunch of
  976. 33:21them, and you let the ML thing say,
  977. 33:23"Here's your candidate set of five
  978. 33:26variables that I think are going to do a
  979. 33:27great job of explaining the outcome."
  980. 33:30And then from there, you construct a
  981. 33:33model on those five that you think will
  982. 33:35explain the outcome. So, that's the type
  983. 33:37of dimensionality reduction I'm talking
  984. 33:39about. You're reducing the potential
  985. 33:40dimensions by kicking out
  986. 33:42features. And then the the second part
  987. 33:45of the second question was, "Well, once
  988. 33:46you're there, why would you go back to
  989. 33:48using a simple model like linear
  990. 33:49regression? Why wouldn't you use
  991. 33:51something more sophisticated like a
  992. 33:53neural net or
  993. 33:56or like a vector machine or something?"
  994. 33:58And the short answer is like, if you use
  995. 34:01a more complicated black box model like
  996. 34:03a neural net, you're back to this
  997. 34:04overfitting problem, and you're back to
  998. 34:06this problem of poor visibility into
  999. 34:09whether the model works or it doesn't,
  1000. 34:11and like as time goes on whether the
  1001. 34:13model has stopped working. So, in
  1002. 34:15general, like yeah, ML works really
  1003. 34:17great on filtering and constructing and
  1004. 34:19kind of pairing down data,
  1005. 34:21but then at the end of the day, I prefer
  1006. 34:23to have a simple model that I really
  1007. 34:25understand well, and I understand what
  1008. 34:26it's doing and what's the basis for it,
  1009. 34:28and it's from a from a kind of a
  1010. 34:30hypothesis test my hypothesis, it works
  1011. 34:33perspective
  1012. 34:34rather than I've constructed a neural
  1013. 34:36net and it spit out something that seems
  1014. 34:37to work out of sample, but I can't put
  1015. 34:39my finger on exactly why. So, I mean,
  1016. 34:42it's up to you. My preference is still
  1017. 34:44to use simple models at that point in
  1018. 34:46time. Again, we've talked about this a
  1019. 34:47lot in the ML episode, so I'm not going
  1020. 34:50to go into it too much, but I think that
  1021. 34:51neural nets work
  1022. 34:53more on like stationary environments
  1023. 34:55where conditions don't change super fast
  1024. 34:56and when conditions change fast, like
  1025. 34:58you see in financial markets, it's
  1026. 34:59better to have more transparency into
  1027. 35:01that so you can pick up what's going
  1028. 35:03wrong. Like, you know, we're we're doing
  1029. 35:05some really sophisticated stuff now with
  1030. 35:07neural nets and other forms of machine
  1031. 35:08learning and for instance self-driving
  1032. 35:09cars. They they work really well, I
  1033. 35:12think better than humans at this point.
  1034. 35:14But again, they're dealing with largely
  1035. 35:16largely stationary properties of the
  1036. 35:18environment, you know, like trees don't
  1037. 35:19change how they look all the time and
  1038. 35:21trees, you know, you go to one town over
  1039. 35:23and trees are going to pretty much look
  1040. 35:24the same. It's you know, you're not
  1041. 35:26going to suddenly switch from from
  1042. 35:27looking at tons of different kinds of
  1043. 35:29trees all the time. So, my preference is
  1044. 35:31still for using a simple model at the
  1045. 35:33end of the day. Now, next question here,
  1046. 35:35do you see deep learning as something
  1047. 35:38that will disrupt trading either at
  1048. 35:40hedge funds or automated investing
  1049. 35:42services such as Betterment and
  1050. 35:44Wealthfront,
  1051. 35:46robo advisors I think they're also
  1052. 35:47called
  1053. 35:49or even impacting the market itself. Um,
  1054. 35:52I'll just throw in a question before we
  1055. 35:53get to that though. Do you just want to
  1056. 35:55clarify what is deep learning referring
  1057. 35:57to and how's it different from machine
  1058. 35:59learning?
  1059. 36:01Yes, we're on the exact same page. I was
  1060. 36:03about to do the same thing myself. Deep
  1061. 36:05learning is really just this notion that
  1062. 36:07you're doing multiple layers of machine
  1063. 36:10learning.
  1064. 36:11So, you know, you have your inputs and
  1065. 36:13then your outputs and rather than there
  1066. 36:16just be
  1067. 36:17say you know, one
  1068. 36:19machine learning process in in there,
  1069. 36:21maybe you have like multiple layers of
  1070. 36:23machine learning processes. So, you'd
  1071. 36:25have one process which is trying to fit
  1072. 36:28a model and then you have another
  1073. 36:29process which is trying to train many of
  1074. 36:32those processes to fit many different
  1075. 36:34models. So, um deep learning is just
  1076. 36:36this kind of building complexity and
  1077. 36:38building layers of complexity on top of
  1078. 36:41traditional machine learning models. And
  1079. 36:43and it seems to be working quite well
  1080. 36:45for certain problems. You know, I think
  1081. 36:47I suspect that some of the self-driving
  1082. 36:49cars use some notion of deep learning uh
  1083. 36:51somewhere in there. Apple recently
  1084. 36:54released some interesting white paper
  1085. 36:55work on internal research on um
  1086. 36:58adversarial neural net training which
  1087. 37:00is, you know, interesting in case people
  1088. 37:02want to go check that out. Uh but I
  1089. 37:04think that we talked about a lot of this
  1090. 37:05stuff in the machine learning episode,
  1091. 37:07but basically like I I think that where
  1092. 37:10it's going to disrupt
  1093. 37:12is in replacing jobs that are kind of
  1094. 37:15more easily automated, but not as easy
  1095. 37:18to automate as just, you know, writing a
  1096. 37:20short script. Like um I think there is
  1097. 37:22an example of an insurance company that
  1098. 37:24recently started swapping out some of
  1099. 37:26its claims adjusters or analysts with
  1100. 37:28like uh you know, a deep learning
  1101. 37:30system. Um basically an AI that would
  1102. 37:33kind of do similar stuff because they
  1103. 37:34realized that a lot of what their claims
  1104. 37:35adjusters do is kind of repetitive or
  1105. 37:38just the same thing a lot of the time.
  1106. 37:40Um so I think what will happen is you'll
  1107. 37:41start seeing
  1108. 37:43uh departments, you know, start saying,
  1109. 37:44"Well, why do we have to you know, hold
  1110. 37:4720 equities analysts? Let's just replace
  1111. 37:49them with, you know, an AI, but still
  1112. 37:51have a few people that are in charge of
  1113. 37:53vetting the output of the AI." You know,
  1114. 37:55so the AI is looking at all these
  1115. 37:57equities or your potential properties to
  1116. 38:00buy or companies to acquire
  1117. 38:02um and then suggesting things just like
  1118. 38:03an equity analyst would. Uh and then um
  1119. 38:07you know, you still have people checking
  1120. 38:08those decisions and making sure they
  1121. 38:10make sense, but you know, you can kind
  1122. 38:12of automate a lot of the
  1123. 38:14analytics work potentially. Now, we have
  1124. 38:16one more question on machine learning
  1125. 38:18here. So, how does Quantopian address
  1126. 38:22machine learning efficiently? What are
  1127. 38:24the best practices for using machine
  1128. 38:26learning in the Quantopian research
  1129. 38:28platform?
  1130. 38:30To this, like, I just want to point to I
  1131. 38:32think it's easiest just to point to some
  1132. 38:33of the work that Thomas has done
  1133. 38:35recently.
  1134. 38:36Thomas, our our
  1135. 38:38director of data science here at
  1136. 38:39Quantopian, recently um
  1137. 38:42point like released a bunch of examples
  1138. 38:45in the forums. And if you just look up
  1139. 38:46machine learning on Quantopian in the
  1140. 38:48Quantopian forums, you'll find he did
  1141. 38:50like a three-part series where he
  1142. 38:52showed a ton of examples and and I think
  1143. 38:54that rather than try to like explain
  1144. 38:56what he did, just I would recommend go
  1145. 38:58and check it out yourself cuz I I think
  1146. 38:59it's pretty cool and and you can try the
  1147. 39:01code out yourself. You can modify the
  1148. 39:03code. It's It's a great starting point.
  1149. 39:04Yeah. Yeah, great. That's probably your
  1150. 39:06best bet. Of course, I'll dig up all
  1151. 39:08those links and I'll make sure we put
  1152. 39:09those in the show notes. So, they'll be
  1153. 39:11at quantopian.com/chattraders
  1154. 39:15and they'll also be on the Chat With
  1155. 39:16Traders website as well. So, just
  1156. 39:18whatever's easiest. Now, questions
  1157. 39:21moving on from machine learning, we've
  1158. 39:23kind of categorized these into I guess
  1159. 39:26what could be called live trading. So,
  1160. 39:28how do you measure the effectiveness of
  1161. 39:31a strategy after it's live? Assuming all
  1162. 39:34strategies will eventually lose their
  1163. 39:36edge.
  1164. 39:37And I just want to pick up on that. Do
  1165. 39:39you think that's a fair assumption that
  1166. 39:41all strategies will lose their edge over
  1167. 39:43time? I don't like general statements.
  1168. 39:46So, you know, I would not be comfortable
  1169. 39:48making the statement that all strategies
  1170. 39:50lose their edge. I would be comfortable
  1171. 39:52making the statement that for any given
  1172. 39:54strategy that you show me, it is
  1173. 39:57incredibly likely that it will lose its
  1174. 40:00edge at some point in time.
  1175. 40:02So, for practical considerations, like,
  1176. 40:05you know, assume that a strategy is
  1177. 40:07going to lose its edge over time.
  1178. 40:09And this is for multiple reasons.
  1179. 40:11Usually, it's because the anomaly that
  1180. 40:13you've discovered gets discovered by
  1181. 40:14more people who start trading it and
  1182. 40:16then, you know, it they force the prices
  1183. 40:18in the direction against the strategy,
  1184. 40:20and and there stops being anything left
  1185. 40:22over to make money on.
  1186. 40:24Um
  1187. 40:25Or the market conditions change, and and
  1188. 40:28the anomaly you have discovered
  1189. 40:29gradually just evaporates. You know,
  1190. 40:31there's there's multiple reasons
  1191. 40:34that strategies lose their edge, but but
  1192. 40:36pretty much everything does. Um and and
  1193. 40:39there's a large field of statistics
  1194. 40:41known as process control, which already
  1195. 40:42kind of deals with this and says, "For a
  1196. 40:44given process that I'm looking at,
  1197. 40:46that's spitting out data at me, when
  1198. 40:48should I worry about it? Like, at what
  1199. 40:50point is this process changing, you
  1200. 40:52know? Is it out of control?" So, I I I
  1201. 40:55would look at that sub area of
  1202. 40:57statistics.
  1203. 40:58Uh
  1204. 40:59I would say, you know, some metrics to
  1205. 41:01look at make sense for all strategies.
  1206. 41:02Sharp ratio is a really general one
  1207. 41:04usually that works for a lot of
  1208. 41:05different types of strategies, so you
  1209. 41:07can just look at sharp ratio every day
  1210. 41:10uh and see if it starts to decline. Um
  1211. 41:12of course, like, it's really hard to
  1212. 41:13know uh whether or not you're looking at
  1213. 41:16like a minor deviation, something that's
  1214. 41:18expected, or like something that you
  1215. 41:19should actually be worried about that
  1216. 41:21indicates the strategy is is over. It's
  1217. 41:23done. It's not useful. So, process
  1218. 41:25control has really kind of solved this
  1219. 41:27not solved completely, but done a lot of
  1220. 41:29work towards solving this problem of how
  1221. 41:31do you differentiate random noise from
  1222. 41:34an actual issue? So, I would say just
  1223. 41:36base your analysis on what process
  1224. 41:38control has already figured out. Um and
  1225. 41:41then also, I would say beyond just the
  1226. 41:43general metrics that people use like
  1227. 41:44sharp ratio, max drawdown, try to also
  1228. 41:46look at other metrics that are based on
  1229. 41:48the components of your strategy. Kind of
  1230. 41:50what is your economic hypothesis
  1231. 41:52underlying your strategy? If you think
  1232. 41:54that something to do with value is
  1233. 41:56interesting and you're trading based on
  1234. 41:57value, try to look at properties of
  1235. 42:00value in the market and whether the
  1236. 42:01properties of value in the market appear
  1237. 42:03to have changed distinctly from when you
  1238. 42:04started running your strategy. And
  1239. 42:06sometimes what you can do, especially if
  1240. 42:07you have a multi-factor strategy, is by
  1241. 42:09analyzing the components of your
  1242. 42:10strategy individually as well as the
  1243. 42:12overall performance. You can catch
  1244. 42:14individual components that have broken
  1245. 42:16down before the entire strategy breaks
  1246. 42:18down and then you can swap those
  1247. 42:20components out for something new or
  1248. 42:21better.
  1249. 42:22So, don't don't just look at the the you
  1250. 42:25know, the usual metrics. I think just
  1251. 42:27also try to figure out what metrics make
  1252. 42:29sense for your specific strategy and
  1253. 42:31then also look at those with this notion
  1254. 42:33of process control.
  1255. 42:35Yeah, and I think this next question
  1256. 42:37might be somewhat similar.
  1257. 42:40But this person asks, how would you
  1258. 42:41monitor for alpha decay and when would
  1259. 42:45you decide that a strategy is no longer
  1260. 42:46viable?
  1261. 42:48Yeah, so I mean that's pretty much the
  1262. 42:49same thing. It's just like looking at
  1263. 42:51looking at the alpha over time and and
  1264. 42:54the sharp ratio over time and other
  1265. 42:56metrics and just you know, using kind of
  1266. 42:58notions of process control and
  1267. 43:00statistics to know whether you know,
  1268. 43:02this new behavior you're observing is
  1269. 43:04really different or you know, stuff
  1270. 43:06that's within expected tolerances. And I
  1271. 43:08think another point that I forgot to
  1272. 43:10make during the you know, the first
  1273. 43:12question but it's equally applicable
  1274. 43:13here is that what's really important is
  1275. 43:15that you set tolerances before you start
  1276. 43:18running the strategy and you stick to
  1277. 43:20them. And you don't like you know, give
  1278. 43:22yourself a chance to be like, okay,
  1279. 43:23well, it's it's outside of the tolerance
  1280. 43:26that I set but it's made a lot of money
  1281. 43:28and I really want to stick it, you know,
  1282. 43:30keep going with it. Like that's the
  1283. 43:32really dangerous point at which you're
  1284. 43:33letting your emotions you know, kind of
  1285. 43:34get in the way of all this math that
  1286. 43:36you've done. So, set tolerances, stick
  1287. 43:39to them and if you if it breaks the
  1288. 43:41tolerances, take it off the market and
  1289. 43:42then figure out you know, if you want to
  1290. 43:44set new tolerances, if you want to sign
  1291. 43:46new strategy, etc.
  1292. 43:48And there's another component of the
  1293. 43:49second question here which is just you
  1294. 43:51know,
  1295. 43:52if everybody's using factor models, are
  1296. 43:54they going to decay? And the short
  1297. 43:56answer is that it depends. I mean like
  1298. 43:59yeah, certain factors are going to
  1299. 44:00decay. Common factors that everybody is
  1300. 44:02going and investing in are going to
  1301. 44:04decay for sure. Like common factors, any
  1302. 44:07of the price-based factors, like
  1303. 44:09technical factors, you know, common
  1304. 44:10factors like value or quality,
  1305. 44:13um you know, by themselves are going to
  1306. 44:15start decaying a lot, and you know, as
  1307. 44:17everybody's using factor-based
  1308. 44:18strategies.
  1309. 44:19Uh but, you know, factors this notion of
  1310. 44:22factor-based modeling is very general,
  1311. 44:24and
  1312. 44:25if you develop a new factor that other
  1313. 44:26people aren't using, that's not going to
  1314. 44:27decay. There's no reason it would decay.
  1315. 44:29Factors are just ways of ranking stocks,
  1316. 44:32you know? It's the the fact that someone
  1317. 44:34else is using a factor strategy that has
  1318. 44:35different factors isn't going to affect
  1319. 44:37your factor strategy
  1320. 44:39uh that has, you know, new factors that
  1321. 44:41you've developed. Um so, it's important
  1322. 44:44to kind of note that. Uh and then
  1323. 44:46there's another component, which is just
  1324. 44:47saying like, "How can anyone compete
  1325. 44:49against machine learning models that are
  1326. 44:51automatically picking the the best
  1327. 44:53factors?" Well, uh the answer is just
  1328. 44:55develop new and better factors, cuz, you
  1329. 44:56know, all factors are going to decline,
  1330. 44:58and and it doesn't matter if a machine
  1331. 45:01learning algorithm, if it's presented
  1332. 45:03with 20 bad factors, isn't going to be
  1333. 45:05able to necessarily create something
  1334. 45:06good. Uh you know, a lot of it really
  1335. 45:09comes down to your factors. I would say
  1336. 45:10that a machine learning model can kind
  1337. 45:12of slightly boost the performance of
  1338. 45:14factors, but it's not going to like turn
  1339. 45:15a bad factor into a good factor.
  1340. 45:18Excellent answer. I'm really pleased
  1341. 45:20that you mentioned uh setting tolerance
  1342. 45:22before you actually go live with a
  1343. 45:23strategy. I was going to add that one if
  1344. 45:25you didn't mention that, because I think
  1345. 45:27that's really important. Um you know,
  1346. 45:28once you're live trading a strategy, it
  1347. 45:31it's very easy for your emotions to get
  1348. 45:33in the way, just as it would be if you
  1349. 45:35were to put on a trade by hand. You
  1350. 45:38know, it's
  1351. 45:39typically regarded as a good thing to
  1352. 45:41know when you're going to get out before
  1353. 45:43you get into the trade. Exactly.
  1354. 45:46Okay, so I think this next question is
  1355. 45:48referring to the slippage model, which
  1356. 45:51is built into Quantopian. How does this
  1357. 45:53compare to actual slippage numbers in
  1358. 45:56live trading compared to practice?
  1359. 45:59Sure. So, uh again, we just actually
  1360. 46:03released a full research project. I
  1361. 46:05think it's on the Quantopian blog. If
  1362. 46:07you look at the recent posts, uh
  1363. 46:09uh I'll also make sure it's it's it's
  1364. 46:11linked to in the appropriate places, but
  1365. 46:13it was by one of the members of our
  1366. 46:15research team here, uh Gus, and and he
  1367. 46:19actually did exactly this. He looked at
  1368. 46:20our slippage assumptions, and he
  1369. 46:22compared them to the actual slippage we
  1370. 46:24are seeing in real life on trade
  1371. 46:25execution. Um and you can kind of use
  1372. 46:28that same type of analysis that he did
  1373. 46:31uh in general to kind of do comparisons,
  1374. 46:33but slippage completely depends on the
  1375. 46:35brokerage, completely depends on the
  1376. 46:37brokerage. I don't want to make any
  1377. 46:37claims because it's really brokerage
  1378. 46:39dependent. It's market dependent. Um and
  1379. 46:42and it's you know, there's no I don't
  1380. 46:43think there's any general model that's
  1381. 46:45going to say like slippage is going to
  1382. 46:46be this. Uh it's market dependent, it's
  1383. 46:48season dependent, time of the day
  1384. 46:50dependent. Um you know, and really you
  1385. 46:53just have to model it like you do
  1386. 46:54anything else in finance. And so, you
  1387. 46:56know, banks have teams whose job is to
  1388. 46:59model slippage. And uh you just kind of
  1389. 47:02have to figure out a model that you
  1390. 47:03think makes sense for slippage or use
  1391. 47:05someone else's model that you think
  1392. 47:06makes sense for slippage, and and just
  1393. 47:08make sure kind of check in routinely,
  1394. 47:10maybe you know, once every couple months
  1395. 47:11and make sure that that model still
  1396. 47:12makes sense. Or if you're, you know,
  1397. 47:14trading more frequently, check in more
  1398. 47:15frequently. And and and process control
  1399. 47:17it just like you would any other metric
  1400. 47:18on your algorithm. Yeah, cool. And
  1401. 47:21that's how you understood that question
  1402. 47:22as well. That's that's what they were
  1403. 47:24trying to get at. That's what they're
  1404. 47:25asking. That's how I read it anyway.
  1405. 47:27Yeah, yeah. I think it was just like,
  1406. 47:29you know,
  1407. 47:30it's we talk about slippage abstractly,
  1408. 47:32but what are actual slippage numbers,
  1409. 47:34which is I think a perfectly reasonable
  1410. 47:35question. Mhm.
  1411. 47:37Yeah, but as you said, it it really
  1412. 47:38depends on broker, and it's going to
  1413. 47:40vary from broker to broker.
  1414. 47:42So, this next set of questions we'll
  1415. 47:44probably lump into the category of
  1416. 47:46strategy questions. When should you be
  1417. 47:49satisfied with your trading strategy? Uh
  1418. 47:52this person mentioned that they have a
  1419. 47:54return profile of a 1.6 sharp ratio, 17%
  1420. 47:59annual returns, less than 10% maximum
  1421. 48:01drawdown. Is this good? Would this be
  1422. 48:04considered high enough to attract
  1423. 48:06institutional capital? Is there a
  1424. 48:08certain threshold or benchmark to aim
  1425. 48:10for?
  1426. 48:11Sure. And I mean, it it it might be
  1427. 48:13annoying to hear this, but I mean, these
  1428. 48:15metrics are all completely relative,
  1429. 48:17right? And so, you know, if I'm
  1430. 48:19advertising to you a car that has 30 mi
  1431. 48:22to the gallon, well,
  1432. 48:24what is the miles to the gallon of the
  1433. 48:27competitor's car? And what's the price
  1434. 48:28difference, you know?
  1435. 48:30Uh so, it it's really hard to say. It's
  1436. 48:32also important capacity analysis is
  1437. 48:34really important, right? Like, you have
  1438. 48:35a 1.6 sharp on what capital basis? You
  1439. 48:38know, can you maintain a 1.6 sharp at 10
  1440. 48:41million, at 100 million dollars? Cuz
  1441. 48:43that's the amount that, you know, an
  1442. 48:44institution's going to care about. Um or
  1443. 48:46do you maintain a 1.6 sharp consistently
  1444. 48:49out of sample on 10K dollars, right? It
  1445. 48:52it it really there's a lot of factors
  1446. 48:54that go into it, and and it's all
  1447. 48:55relative. So, I'd say as a rule of
  1448. 48:57thumb, um
  1449. 48:59like, start with, you know, look for
  1450. 49:02Make sure that you can consistently get
  1451. 49:04a sharp greater than one out of sample,
  1452. 49:06and and go from there, because the other
  1453. 49:08important things to check are, you know,
  1454. 49:10is this What is What are the factor
  1455. 49:12exposures of your strategy? Is this just
  1456. 49:14some combination of known factors in the
  1457. 49:17market? Because if so, an invest
  1458. 49:19Institutional investor isn't going to be
  1459. 49:20that interested, because they can just
  1460. 49:22buy those exposures as is.
  1461. 49:24Uh so, the lower the sharp, uh you know,
  1462. 49:26the more generally the more uncorrelated
  1463. 49:29with other known factors it has to be
  1464. 49:31uh to be interesting. And and even if
  1465. 49:33you have like a not a great sharp ratio,
  1466. 49:35if it's super uncorrelated with other
  1467. 49:37stuff, it's just like some crazy new
  1468. 49:39return stream, institutional investors
  1469. 49:42may be interested purely for a
  1470. 49:43diversification perspective. Even if you
  1471. 49:45have multiple sharp ratios that are not
  1472. 49:48so great, uh as long as they're
  1473. 49:49independent and you add them together,
  1474. 49:51the overall portfolio Sharpe ratio will
  1475. 49:53be pretty pretty good because, you know,
  1476. 49:55you your returns are additive, but your
  1477. 49:57your variance increases um
  1478. 49:59slower than your returns increase. Uh
  1479. 50:01so, and and and you know, we talk about
  1480. 50:04this in a bit in the position
  1481. 50:05concentration risk lecture. Uh but uh
  1482. 50:08but yeah, like again, it's all relative,
  1483. 50:11and it really depends on what the
  1484. 50:13options, you know, that the person who's
  1485. 50:15buying the strategy from you has. But
  1486. 50:17again, rule of thumb, you know, get
  1487. 50:19Sharpe consistently above one out of
  1488. 50:21sample, or if it's not above one, like
  1489. 50:23make sure it's really uncorrelated with
  1490. 50:25other known things. Okay. Now, this
  1491. 50:27isn't a question that was submitted. I
  1492. 50:29just want to bounce this question off
  1493. 50:30your response there. Um the first thing
  1494. 50:33you mentioned was the capacity of a
  1495. 50:35strategy. Like, how scalable is it? Can
  1496. 50:37it be traded on, you know, a hundred
  1497. 50:39million dollars of capital, or you're
  1498. 50:41just trading on a ten thousand dollar
  1499. 50:42account? Is there any way to actually
  1500. 50:45uh measure the capacity and the
  1501. 50:47scalability of a strategy somehow?
  1502. 50:51Sure. Uh so, this is like something
  1503. 50:53that's going to be done a lot and and
  1504. 50:54and I I we need to have a lecture on
  1505. 50:57this added to the lecture series at some
  1506. 50:58point. We we currently have not had the
  1507. 51:00time to do so, but basically, what you
  1508. 51:03do is you try to estimate it. Uh and
  1509. 51:05again, like this is an estimation. I
  1510. 51:07think you can get a pretty good idea for
  1511. 51:08capital capacity. It's not as, you know,
  1512. 51:10hard to model as other things.
  1513. 51:12Um but it's what you do is you look at
  1514. 51:15uh
  1515. 51:16basically, there's things that restrict
  1516. 51:18it in two directions, right? Uh there's
  1517. 51:20things that restrict it in the small
  1518. 51:22direction, which are commissions. So,
  1519. 51:24you're paying a lot of commissions, um
  1520. 51:26and you're not trading that much
  1521. 51:27capital, then your commissions can eat
  1522. 51:29up a lot of your profits,
  1523. 51:31um and make it difficult to trade on
  1524. 51:32small amounts of capital. And in in in
  1525. 51:35the big direction, you can have trouble
  1526. 51:37when you're running into being a high
  1527. 51:39volume a high percentage of the market
  1528. 51:41volume. So, if you're trading ten
  1529. 51:43securities with ten million dollars, it
  1530. 51:44means you're pumping a million dollars
  1531. 51:46through each security. If you're trading
  1532. 51:48low market cap securities, small cap
  1533. 51:49securities, you may be a significant
  1534. 51:52percentage of the market on any given
  1535. 51:53trading day. And what that means is like
  1536. 51:55you're trading against yourself.
  1537. 51:57Nobody's going to sell or buy to you.
  1538. 51:58You're going to get You're not going to
  1539. 51:59be able to fill your orders. Your price
  1540. 52:00is going to be terrible. Your slippage
  1541. 52:01is going to be terrible. So,
  1542. 52:03uh
  1543. 52:04generally capacity analysis is done by
  1544. 52:07with a back tester that will model
  1545. 52:10uh slippage and and transaction costs
  1546. 52:12for you. Just run it at a variety of
  1547. 52:14different capital assumptions,
  1548. 52:16uh and then see what the returns curve
  1549. 52:19looks like uh for each of them. Um and
  1550. 52:21and and see if you can kind of notice a
  1551. 52:22peak where you kind of your strategy
  1552. 52:24does best and then it falls off in
  1553. 52:25either direction. Okay, very good. Are
  1554. 52:28signals from price getting harder and
  1555. 52:31harder to find because everyone seems to
  1556. 52:33be trading from it? How do you want to
  1557. 52:35tackle that one?
  1558. 52:36Uh the ans- yes is the answer. It's It
  1559. 52:40basically yes. It like signals that are
  1560. 52:42based on price, factors that are based
  1561. 52:43on price are super, you know,
  1562. 52:46commoditized now. Like every single
  1563. 52:47trading platform tries to sell you some
  1564. 52:49technical analysis or some charts where
  1565. 52:51they say like, "Here's uh you know,
  1566. 52:53let's look at the charts on these stocks
  1567. 52:55and let's look at they go up and down
  1568. 52:56and let's try to pick patterns out."
  1569. 52:58Like it's just everybody has access to
  1570. 53:00that now and it's just completely
  1571. 53:03arbitraged out. I don't want to say
  1572. 53:05completely, but you know, it it's very
  1573. 53:07arbitraged out. Um you're kind of
  1574. 53:09trading against a mob. And and as such,
  1575. 53:11because you're trading against so many
  1576. 53:12people, you're vulnerable to mob
  1577. 53:13psychology. So, some of these things
  1578. 53:15like momentum technical indicators may
  1579. 53:17work just because so many people are
  1580. 53:18using them, right? If everybody uses the
  1581. 53:20same momentum technical indicator
  1582. 53:22uh and it's going up, well, everybody's
  1583. 53:24going to get in on it and that's going
  1584. 53:25to drive the price up and then everybody
  1585. 53:26wins. But, at the same time, people are
  1586. 53:29vulnerable to, you know, mobs are
  1587. 53:30vulnerable to panics. Things may change
  1588. 53:32at any given time. So, I think that
  1589. 53:34quants generally tend to to shy away
  1590. 53:36from using technical indicators alone
  1591. 53:38because they can be, especially the
  1592. 53:40common ones are just, you know, very
  1593. 53:43very prone to people being a little
  1594. 53:45scared on the market. I do like this
  1595. 53:47next question. Someone here says, "I've
  1596. 53:50got a profitable out-of-sample machine
  1597. 53:53learning algorithm." I presume that's
  1598. 53:54just referring to a trading strategy,
  1599. 53:56"but it only works on one financial
  1600. 53:58instrument. Should I be concerned about
  1601. 54:01this? Is this normal?"
  1602. 54:04Sure. Well, I mean, it it it really it
  1603. 54:06depends on how you came up with the
  1604. 54:08strategy, I think, and and and what
  1605. 54:10evidence you have and how consistently
  1606. 54:11it works out of sample. So, I mean,
  1607. 54:15it's entirely possible that if you're
  1608. 54:16looking at like one instrument, maybe
  1609. 54:18the instrument is a sector ETF or a
  1610. 54:19future. Like, you may have discovered an
  1611. 54:23interesting pattern that affects just
  1612. 54:25that instrument and, you know, is is
  1613. 54:27predictive of the movement of that
  1614. 54:29instrument. But, on the other hand, with
  1615. 54:32just one instrument,
  1616. 54:34you're you're you're setting yourself up
  1617. 54:36for a huge amount of position
  1618. 54:37concentration risk, right? And so,
  1619. 54:38that's the lecture I'll cite it again
  1620. 54:40here, but basically, if you're only
  1621. 54:43investing in one instrument, like, if
  1622. 54:45something weird happens to that
  1623. 54:46instrument or if your accuracy is even
  1624. 54:48slightly off, you're subject to huge
  1625. 54:50problems. So,
  1626. 54:52uh
  1627. 54:53the short answer is like, you know, if
  1628. 54:55you came in it from the perspective of
  1629. 54:57like, I want to predict the price of
  1630. 54:58this instrument and I have these
  1631. 55:00variables that I think will work, and
  1632. 55:01your machine learning algorithm works,
  1633. 55:03that to me sounds much more likely.
  1634. 55:06Uh and so, it's all about weighing
  1635. 55:08evidence against prior. So, like, my
  1636. 55:10prior is
  1637. 55:11uh machine learning algorithms can be a
  1638. 55:12little tricky. Um if it only works on
  1639. 55:15one financial instrument, that's really
  1640. 55:17suspicious to me because it it feels
  1641. 55:19like it's just overfit and you're just
  1642. 55:21getting lucky on that instrument. But,
  1643. 55:23on the other hand, if you came to it
  1644. 55:24from like, I think this will work
  1645. 55:26because of A, B, and C, and then it
  1646. 55:28works,
  1647. 55:29that to me feels much stronger. Um and
  1648. 55:31then maybe you could, you know, try the
  1649. 55:33same approach. I think that it will work
  1650. 55:34on this other instrument because of B,
  1651. 55:36C, and D. And And if that works, then
  1652. 55:38maybe you got a better workflow overall.
  1653. 55:40But yeah, in general, if it only works
  1654. 55:42on one instrument,
  1655. 55:43I I'm very dubious of that just because,
  1656. 55:45again, it's sample size of one. You
  1657. 55:47know, that's not a lot of evidence
  1658. 55:48showing that your workflow makes sense.
  1659. 55:51Uh and then also like you can't really
  1660. 55:52trade it effectively because it's just
  1661. 55:54one instrument. Um and And you're
  1662. 55:56setting yourself up for a lot of risk if
  1663. 55:58you're just trading one instrument. What
  1664. 56:00if this person was to create numerous
  1665. 56:02strategies that still only happen to
  1666. 56:05work on on one financial instrument, but
  1667. 56:07they were different strategies on
  1668. 56:09different instruments? Is that going to
  1669. 56:11offset some of what you refer to as the
  1670. 56:14um What was it? Position risk?
  1671. 56:16Was that the right term? Yeah, position
  1672. 56:18concentration risk, yeah. Uh
  1673. 56:20absolutely. No, that And And I I
  1674. 56:22completely Like that's a great way to go
  1675. 56:23about it. Like if you can kind of spend
  1676. 56:26a lot of time on one instrument, get
  1677. 56:27something that works, spend a lot of
  1678. 56:28time on another instrument, get
  1679. 56:29something that works. Well, yeah,
  1680. 56:30combine it, put together 10 instruments,
  1681. 56:3310 strategies that all work on one
  1682. 56:34instrument, have each of your strategies
  1683. 56:36responsible for trading just that
  1684. 56:37instrument, and then add in a bunch of,
  1685. 56:39you know, longs and shorts that are just
  1686. 56:41kind of neutral longs and shorts in the
  1687. 56:43market just to increase your
  1688. 56:44diversification um and avoid the
  1689. 56:47probability that you get stuck in, you
  1690. 56:48know, like if if one of these stocks
  1691. 56:50tanks or does something weird that's 10%
  1692. 56:52of your of your investments all of a
  1693. 56:54sudden is in in trouble. So, yeah, just
  1694. 56:57like I mean, that's not too different
  1695. 56:59from like how analysts work, right?
  1696. 57:00Analysts will specialize in in getting
  1697. 57:02really good at modeling like, you know,
  1698. 57:04a few companies and knowing a few
  1699. 57:05companies and and understanding how
  1700. 57:07those companies work. So, if you're
  1701. 57:09doing that kind of process, uh
  1702. 57:11great. But yeah, I would say like try
  1703. 57:14replicating that same process that you
  1704. 57:15did to get something that works on one
  1705. 57:17instrument and try to see if you can get
  1706. 57:18it on something that works on a few
  1707. 57:19other instruments. Yeah. Yeah,
  1708. 57:21definitely. This question here, I think
  1709. 57:24it came from someone who obviously is
  1710. 57:26quite familiar with options,
  1711. 57:28and it's relating to the use of options
  1712. 57:31for market direction. Do you look at the
  1713. 57:34options delta to identify the
  1714. 57:36probability of stocks increasing and
  1715. 57:39decreasing?
  1716. 57:40I mean,
  1717. 57:41so that's a I'd say that's an example of
  1718. 57:43a specific factor.
  1719. 57:45Right? Like that would be one factor
  1720. 57:47that you might use in a model to try to
  1721. 57:49understand how the market's going to
  1722. 57:50move. And an options delta, you'd have
  1723. 57:53to I don't know. You I'd have to study
  1724. 57:55it and I'd have to evaluate it and I'd
  1725. 57:56have to say like is options delta still
  1726. 57:59a good predictor of market direction?
  1727. 58:00How has it done historically? You know,
  1728. 58:02do I have any evidence that it stopped
  1729. 58:03working? That it's continued working? So
  1730. 58:06like short answer is I don't know about
  1731. 58:08specifically about like, you know, using
  1732. 58:10options delta to to look at stocks.
  1733. 58:12Certainly it sounds like it might be a
  1734. 58:13valuable piece of data, but it really
  1735. 58:15just you have to evaluate it and then
  1736. 58:18see how it fits into the rest of your
  1737. 58:19model. Yeah, I mean it's something that
  1738. 58:21could certainly be tested, isn't it?
  1739. 58:23Exactly. Like this That's what I say
  1740. 58:25about all these things. Like people like
  1741. 58:27to have philosophical debates about like
  1742. 58:29the underpinnings of like does technical
  1743. 58:32analysis work? Or does, you know, using
  1744. 58:34this specific factor work? Well, I just
  1745. 58:36test it, you know? Just just go out and
  1746. 58:38and test it and see if it works.
  1747. 58:40That's the nice thing about all these
  1748. 58:41things is they're all they're all just
  1749. 58:43models. They're all just ways of
  1750. 58:45understanding the world. And and and as
  1751. 58:47long as you're constantly testing them
  1752. 58:48and making sure that they still work,
  1753. 58:50it's fine.
  1754. 58:51Do you recommend any other ways to find
  1755. 58:54alpha factors that define probability
  1756. 58:57mainly without having to rely heavily on
  1757. 58:59Python?
  1758. 59:01So that kind of sounds as though this
  1759. 59:03person isn't a programmer, but isn't
  1760. 59:05interested in this taking a quantitative
  1761. 59:08look at their trading.
  1762. 59:10Yeah, I mean I I I feel like so that's
  1763. 59:12just kind of getting at this point of
  1764. 59:13like how do you find new factors? Right?
  1765. 59:16And
  1766. 59:18I'll I'll go back to I think what I've
  1767. 59:19said before, which is that, you know, I
  1768. 59:20would look at new data sets. Things that
  1769. 59:24other people aren't looking at yet. Like
  1770. 59:25do you have access to data that is, you
  1771. 59:28know, kind of not commonly used at other
  1772. 59:30financial firms? Can you collect a new
  1773. 59:32data set in an interesting way?
  1774. 59:35Um, you know, etc. Uh,
  1775. 59:37and
  1776. 59:39uh, you know, can you can you use
  1777. 59:40weather data to kind of figure out if
  1778. 59:43uh, oil companies are going to have
  1779. 59:45shocks to their production and
  1780. 59:46therefore, you know, like there's
  1781. 59:47there's lots of new data sets you can
  1782. 59:48look at. And yeah, and then also just
  1783. 59:50looking at interactions between known
  1784. 59:52factors like we were talking about
  1785. 59:53earlier. Those are those are two ways to
  1786. 59:55kind of come up maybe with interesting
  1787. 59:57new factors. Um, if you don't want to
  1788. 59:59rely on Python too much, it can get a
  1789. 1:00:01little tricky just because a lot of this
  1790. 1:00:02factor-based stuff does require kind of,
  1791. 1:00:04you know, a lot of data processing and a
  1792. 1:00:06lot of um, you know, chunking, parsing
  1793. 1:00:09data, importing data,
  1794. 1:00:11um, and then like evaluating the
  1795. 1:00:13outcome. But but you can start thinking
  1796. 1:00:16about kind of ways of of looking at new
  1797. 1:00:18data sets that might be kind of
  1798. 1:00:20interesting and novel.
  1799. 1:00:22At Quantopian, are you seeing a shift to
  1800. 1:00:25other types of strategies than
  1801. 1:00:28perhaps strategies that were more common
  1802. 1:00:29in the past? As in like what timeframe
  1803. 1:00:32would be seen the most now and what kind
  1804. 1:00:35of strategies seem to be disappearing?
  1805. 1:00:37It's a little tricky for us to answer
  1806. 1:00:39that because we don't look at people's
  1807. 1:00:41strategies like
  1808. 1:00:43we we can see what's going on in the
  1809. 1:00:45forums for stuff that people have posted
  1810. 1:00:47publicly.
  1811. 1:00:48And we can look at the industry of what
  1812. 1:00:50people are developing. So, like the
  1813. 1:00:51short answer is like I don't really have
  1814. 1:00:53an answer for you on that front. Um, I
  1815. 1:00:56think that in broad terms the industry
  1816. 1:00:57is moving towards
  1817. 1:00:59uh, you know, constructing portfolios
  1818. 1:01:01based on factors and analyzing
  1819. 1:01:03portfolios based on their factor
  1820. 1:01:04exposures.
  1821. 1:01:06Um, and also kind of like aggregating
  1822. 1:01:08many many managers or many many models
  1823. 1:01:10together into like overall aggregate
  1824. 1:01:12models that work much better when, you
  1825. 1:01:14know, taken as a whole
  1826. 1:01:16than the individual parts.
  1827. 1:01:18Uh, but like aside from those broad
  1828. 1:01:20trends, like people are working on all
  1829. 1:01:22kinds of crazy stuff and and I think
  1830. 1:01:23just like
  1831. 1:01:25the main thing is just kind of like
  1832. 1:01:26figuring out what your big piece of
  1833. 1:01:28expertise is. Like, what do you bring to
  1834. 1:01:30the room that other people don't? And
  1835. 1:01:32and really drilling down hard on that.
  1836. 1:01:34It's no different from anything else.
  1837. 1:01:36Like, what is your competitive
  1838. 1:01:37advantage? And drilling down hard on
  1839. 1:01:39that competitive advantage.
  1840. 1:01:41In regard to portfolio optimization, is
  1841. 1:01:44it possible to have too many
  1842. 1:01:46constraints? I I quite like this
  1843. 1:01:48question and I think it's something that
  1844. 1:01:49we actually didn't address um on episode
  1845. 1:01:524, which was dedicated to portfolio
  1846. 1:01:54optimization. So, what do you think
  1847. 1:01:56about this? Is it possible to have too
  1848. 1:01:58many constraints on your portfolio?
  1849. 1:02:01Yes, certainly. Absolutely. The
  1850. 1:02:04Generally, the bad case of having too
  1851. 1:02:06many constraints on your portfolio is
  1852. 1:02:08that your optimizer will fail to
  1853. 1:02:09converge and just be like, I can't solve
  1854. 1:02:12this problem. If there are too many
  1855. 1:02:13constraints, there's no feasible
  1856. 1:02:15solution.
  1857. 1:02:16Uh which isn't a terrible case, you
  1858. 1:02:18know, it's kind of a nice failure mode
  1859. 1:02:19where it tells you that it failed um
  1860. 1:02:22rather than you losing money.
  1861. 1:02:24I mean, other cases may also be that it
  1862. 1:02:25just is unable to make any trades if you
  1863. 1:02:27have too many constraints. Um and
  1864. 1:02:29there's various ways to interpret that,
  1865. 1:02:31right? Like, on the one hand, you could
  1866. 1:02:32say, "I'm over constrained."
  1867. 1:02:35But on the other hand, you could say,
  1868. 1:02:37"Given these sensible constraints that I
  1869. 1:02:39set, there's just no good trades right
  1870. 1:02:41now."
  1871. 1:02:42And so, it's it's important to kind of
  1872. 1:02:44again
  1873. 1:02:45kind of
  1874. 1:02:46pick reasonable constraints and stick
  1875. 1:02:49with them and and not kind of let you uh
  1876. 1:02:52emotionally later then try to to change
  1877. 1:02:54that. So,
  1878. 1:02:56um as long as you have a good process in
  1879. 1:02:58place for creating these constraints, um
  1880. 1:03:02I I think that's the main thing and then
  1881. 1:03:03just kind of stick with them until you
  1882. 1:03:05have a lot of evidence that, you know,
  1883. 1:03:07maybe they're not very good constraints
  1884. 1:03:09to be using anymore. But yeah, I I mean,
  1885. 1:03:12like, I think the failure mode of having
  1886. 1:03:14too many constraints is generally just
  1887. 1:03:15going to be that the optimizer isn't
  1888. 1:03:17going to converge. Sure. Sure.
  1889. 1:03:20Now, this last category of questions
  1890. 1:03:22here mainly revolve around the actual
  1891. 1:03:25Quantopian platform and Quantopian as a
  1892. 1:03:28fund. Um
  1893. 1:03:30So, this first question here in this
  1894. 1:03:32category, uh this may be one that's
  1895. 1:03:34better for the the forum, but someone
  1896. 1:03:37here says, "Not understanding how stop
  1897. 1:03:39limit orders are handled on Quantopian.
  1898. 1:03:42I don't see any references to it in the
  1899. 1:03:44documentation."
  1900. 1:03:46Uh yep, so I would say honestly that
  1901. 1:03:48yeah, just just post that in the forum.
  1902. 1:03:50You're going to get a much more detailed
  1903. 1:03:52response, I think. Basically, that if
  1904. 1:03:54you go to quantopian.com/help,
  1905. 1:03:56it it describes the order method and it
  1906. 1:03:58shows you how you can implement
  1907. 1:04:00uh a stop limit order. And if you really
  1908. 1:04:02want to get down and dirty into the code
  1909. 1:04:03and and uh you can uh actually even just
  1910. 1:04:06go check it out yourself on GitHub. If
  1911. 1:04:08you go to GitHub and you look at the
  1912. 1:04:09Python underlying the order method in in
  1913. 1:04:12Zipline and the precise path of that, if
  1914. 1:04:13you go to the Zipline repo,
  1915. 1:04:15you go Zipline Zipline finance order.py
  1916. 1:04:20is the file which has uh the order
  1917. 1:04:22methods in there. So, but just I would I
  1918. 1:04:25would post that in the forums and you'll
  1919. 1:04:26get you'll get better better response.
  1920. 1:04:28Um at least that way you'll be able to
  1921. 1:04:29get some code that you can implement and
  1922. 1:04:32and try out, too. Are there any plans to
  1923. 1:04:34add international exchanges and data in
  1924. 1:04:37the near future? And in such a case,
  1925. 1:04:40will the portfolio API be able to manage
  1926. 1:04:43multiple assets from global exchanges
  1927. 1:04:46and different currencies in the same
  1928. 1:04:47portfolio?
  1929. 1:04:49So, two questions there. Yes, we we have
  1930. 1:04:51definite plans to add uh international
  1931. 1:04:55um
  1932. 1:04:56international uh equities
  1933. 1:04:59uh as a tradable market on Quantopian.
  1934. 1:05:02Uh I don't want to set a timeline on it.
  1935. 1:05:04Like when you say near future, usually
  1936. 1:05:05that's taken to mean within the next,
  1937. 1:05:07you know, couple months. Certainly,
  1938. 1:05:08we're not running on that kind of time
  1939. 1:05:10frame. We're working on getting futures
  1940. 1:05:11out the door
  1941. 1:05:13uh first. And then when we get futures
  1942. 1:05:14out the door, we'll decide what the next
  1943. 1:05:16set of tradable markets we want to add
  1944. 1:05:18is. And And of course, there's a lot of
  1945. 1:05:20considerations into building that.
  1946. 1:05:22So, I don't want to give you a precise
  1947. 1:05:23timeline, but certainly we are it is in
  1948. 1:05:25our queue.
  1949. 1:05:27And
  1950. 1:05:29in regards to the second part, yeah, we
  1951. 1:05:31have full intention to as we add more
  1952. 1:05:33asset classes, make it all tradable from
  1953. 1:05:35within the same algorithm, same API. It
  1954. 1:05:37all works from the same system. And
  1955. 1:05:39actually, I think that's going to be
  1956. 1:05:40pretty interesting because very few
  1957. 1:05:41other non-institutional systems give you
  1958. 1:05:44the ability to kind of have one
  1959. 1:05:46algorithm which controls your portfolio
  1960. 1:05:48across multiple asset classes. And it
  1961. 1:05:50opens up things like you know,
  1962. 1:05:53cross-market arbitrage and being able to
  1963. 1:05:55hedge futures positions with you know,
  1964. 1:05:58equities. So, we're actually pretty
  1965. 1:06:00excited to be able to to trade say like
  1966. 1:06:03equities and futures in the same
  1967. 1:06:04algorithm. And then hopefully when we
  1968. 1:06:05add more tradable markets, trade them
  1969. 1:06:07all within the same algorithm.
  1970. 1:06:09And is there a timeline for when futures
  1971. 1:06:11will be added to Quantopian?
  1972. 1:06:13I don't want to give a specific date on
  1973. 1:06:17it.
  1974. 1:06:17Certainly, I would say
  1975. 1:06:20we're we're working as hard as we can to
  1976. 1:06:23get that out right now. We have a lot of
  1977. 1:06:26people kind of making sure that that
  1978. 1:06:29gets out the door as as quickly as
  1979. 1:06:30possible.
  1980. 1:06:32I I don't want to over promise because
  1981. 1:06:34the classic failure mode in in in
  1982. 1:06:35engineering is that you say you put a
  1983. 1:06:37specific date on it and then something
  1984. 1:06:38comes up and then you're like, "Oh,
  1985. 1:06:40well, now we can't get it done by that
  1986. 1:06:41date." But certainly
  1987. 1:06:44certainly, you know, I would
  1988. 1:06:47keep keep an eye out keep an eye out.
  1989. 1:06:49We're working on it. It's It's It's
  1990. 1:06:50coming, I promise.
  1991. 1:06:53Certainly, you know, it's It's not going
  1992. 1:06:55to be a a long time at this point. Okay.
  1993. 1:06:58So, it would be safe to say expect to
  1994. 1:07:01see futures on Quantopian sometime in
  1995. 1:07:042017.
  1996. 1:07:06I would I would I would yeah, I'll I'll
  1997. 1:07:09I'll say that. I'll say that. If if we
  1998. 1:07:11yeah, I think definitely definitely
  1999. 1:07:13within 2017. Again, I'm so I'm so
  2000. 1:07:16worried about over promising, but I that
  2001. 1:07:18is a safe that is a safe statement.
  2002. 1:07:20Okay. Okay, sure. Well, I'm keen to see
  2003. 1:07:22that see that happen. Um do you have any
  2004. 1:07:25plans to support deep learning on
  2005. 1:07:28Quantopian, of course? How would that
  2006. 1:07:30work in the event-based architecture of
  2007. 1:07:33the backtester?
  2008. 1:07:34Sure. So, uh the short answer is yes, we
  2009. 1:07:37absolutely we do want to and we we've
  2010. 1:07:39thought about a lot of different ways to
  2011. 1:07:40make the current API more friendly
  2012. 1:07:43towards machine learning and deep
  2013. 1:07:44learning.
  2014. 1:07:45Um and that includes things like, well,
  2015. 1:07:47can we have maybe some kind of
  2016. 1:07:49uh asynchronous call outs where you
  2017. 1:07:51could, you know, call out to some model
  2018. 1:07:53that trains itself and then it would get
  2019. 1:07:55the results back and etc. So, there's
  2020. 1:07:56lots of different ways to potentially
  2021. 1:07:58solve that problem. We're working on
  2022. 1:08:00thinking about how that might happen.
  2023. 1:08:02Um but as far as like what you can
  2024. 1:08:04currently do on the platform, again,
  2025. 1:08:06I'll point to Thomas's stuff where he
  2026. 1:08:07went through that series of three
  2027. 1:08:08examples of using machine learning on
  2028. 1:08:10the platform as is and there's actually
  2029. 1:08:12a good amount of stuff that you can
  2030. 1:08:13currently do on the platform. So, uh I
  2031. 1:08:16would just uh look at what he wrote and
  2032. 1:08:17then, you know, we're we're working on
  2033. 1:08:19improving the product to be able to
  2034. 1:08:21support more cases. Okay. And how do you
  2035. 1:08:24add a private feed to the Quantopian
  2036. 1:08:27platform? I I think this question is
  2037. 1:08:29really asking, is it possible to work
  2038. 1:08:31with your own data as well as the
  2039. 1:08:33Quantopian data that's available?
  2040. 1:08:36Uh sure, there's two ways. Both times
  2041. 1:08:37you have to have basically a CSV. When
  2042. 1:08:40when any of you're looking to integrate
  2043. 1:08:42it into the research environment and do
  2044. 1:08:43research on it, um you can do that just
  2045. 1:08:46by uploading the CSV into the research
  2046. 1:08:47environment uh and and there's tutorials
  2047. 1:08:50and documentation on that in the
  2048. 1:08:52research environment under the tutorials
  2049. 1:08:54and API and documentation folder. Um and
  2050. 1:08:57then if you're looking to integrate it
  2051. 1:08:59into your algorithm, again, at
  2052. 1:09:00quantopian.com/help,
  2053. 1:09:01if you look for fetcher fetch CSV fetch
  2054. 1:09:05CSV, that's how you would integrate it
  2055. 1:09:06into an algorithm
  2056. 1:09:08you know to pull in maybe like some
  2057. 1:09:09daily values for something that some
  2058. 1:09:12private
  2059. 1:09:13data signal that you've you've
  2060. 1:09:14developed. But again, like both of these
  2061. 1:09:16questions I think are or this question
  2062. 1:09:19is particular is is another good forum
  2063. 1:09:20question if if that doesn't clarify it
  2064. 1:09:22for you. Yeah, absolutely. Can an
  2065. 1:09:24individual license an algorithm to use
  2066. 1:09:27to trade? I'm not 100% sure exactly who
  2067. 1:09:30wants to license an algorithm but
  2068. 1:09:32maybe you understand that question a
  2069. 1:09:33little better.
  2070. 1:09:35I think this is kind of we get similar
  2071. 1:09:37questions a decent amount so I don't
  2072. 1:09:39want to assume I know what this person's
  2073. 1:09:40thinking but I the other questions we
  2074. 1:09:41get is like
  2075. 1:09:43can I kind of like come to Quantopian
  2076. 1:09:46see the algorithms that people have
  2077. 1:09:48written and then like license an
  2078. 1:09:49algorithm to to to run my own money
  2079. 1:09:52through and the answer is no that's not
  2080. 1:09:54that's not the business model that we're
  2081. 1:09:56pursuing. Um so
  2082. 1:09:59the short answer to that question I
  2083. 1:10:00think is is is no our our focus is on
  2084. 1:10:03being able to make
  2085. 1:10:04large institutional sized allocations to
  2086. 1:10:07quants who develop strategies. You know,
  2087. 1:10:10our plan for that is we are planning to
  2088. 1:10:13open up um
  2089. 1:10:16an investment vehicle to institutional
  2090. 1:10:18investors at some point in 2017 and then
  2091. 1:10:21use that investment hopefully to be able
  2092. 1:10:24to make large institutional sized
  2093. 1:10:27allocations to quants who have developed
  2094. 1:10:30strategies on the platform and then you
  2095. 1:10:31know, sizes of allocations that would be
  2096. 1:10:33competitive to what you might get you
  2097. 1:10:34know inside a large
  2098. 1:10:36financial institution. So that's our
  2099. 1:10:38current focus. Yeah, absolutely. Will we
  2100. 1:10:41be able to use algorithms developed on
  2101. 1:10:43Quantopian on a trading platform for our
  2102. 1:10:46own investment purposes? I think this
  2103. 1:10:48question's getting at two things. One is
  2104. 1:10:51like does Quantopian take any of the
  2105. 1:10:52intellectual property or restrict you
  2106. 1:10:54and and the answer is no we we don't
  2107. 1:10:55take any you know, intellectual property
  2108. 1:10:57and we don't put in place any
  2109. 1:10:58restrictions. Anything you do on the
  2110. 1:10:59Quantopian platform is yours and and
  2111. 1:11:01that's defined in the user agreement on
  2112. 1:11:03the website and you can take it and you
  2113. 1:11:05can do whatever you want with it.
  2114. 1:11:07Um if you're in a position where we
  2115. 1:11:09have, you know, selected your algorithm
  2116. 1:11:11for a potential allocation, um then, you
  2117. 1:11:14know, it it we would put in place uh
  2118. 1:11:17restrictions on how you'd be able to use
  2119. 1:11:18your algorithm ex you know, outside of
  2120. 1:11:20that just to make sure that we, you
  2121. 1:11:21know, protect the allocation we make to
  2122. 1:11:23your strategy, but unless you're in that
  2123. 1:11:26world where you're already be considered
  2124. 1:11:27for an allocation, there's no
  2125. 1:11:29restrictions. You can you can use it
  2126. 1:11:30wherever.
  2127. 1:11:31Um so I think that's what this question
  2128. 1:11:34is getting at.
  2129. 1:11:35How do you determine whether my strategy
  2130. 1:11:38is a good fit for Quantopian's
  2131. 1:11:40portfolio? That is a complicated
  2132. 1:11:43question that we spent the last a good
  2133. 1:11:44part of the last 18 months trying to
  2134. 1:11:46figure out ourselves. So
  2135. 1:11:48uh
  2136. 1:11:50the short answer is we do a lot of
  2137. 1:11:51different things uh
  2138. 1:11:53and it's really like I don't
  2139. 1:11:55I can't really
  2140. 1:11:57uh
  2141. 1:11:58kind of answer that now easily, but
  2142. 1:12:01there's two resources I'll I'll probably
  2143. 1:12:02want to point people to
  2144. 1:12:04um and the two resources are there's
  2145. 1:12:06actually a webinar that uh
  2146. 1:12:09Jess Stauth, who was one of your one of
  2147. 1:12:10the podcast guests, uh just did
  2148. 1:12:13with the data incubator, which is a data
  2149. 1:12:15science uh organization um and and that
  2150. 1:12:18should have be released like now or
  2151. 1:12:20shortly. So I think she talked about our
  2152. 1:12:23process there a bit and then also
  2153. 1:12:26there's um a webinar that's coming up uh
  2154. 1:12:29well, will already have happened uh by
  2155. 1:12:31the time this is released, but uh that
  2156. 1:12:32was done uh by Jamie, who's someone at
  2157. 1:12:35Quantopian, and it was talking about how
  2158. 1:12:37to get an allocation on Quantopian and
  2159. 1:12:39he goes through some of that process
  2160. 1:12:40there as well. So there's a there's a
  2161. 1:12:41lot of different stuff um
  2162. 1:12:44and it's kind of too complicated to
  2163. 1:12:45address in a in a short time frame, but
  2164. 1:12:47I would I would point people to those
  2165. 1:12:48two those two resources. Sure. Um so I
  2166. 1:12:52presume those webinars will be on
  2167. 1:12:53YouTube, so I'll just grab a link and
  2168. 1:12:55we'll we'll put those in the notes.
  2169. 1:12:57Okay, now, we've only got another couple
  2170. 1:12:59questions here. Uh, this one, what
  2171. 1:13:01percentage of your members do you
  2172. 1:13:03believe will ultimately get a capital
  2173. 1:13:05allocation? I presume that's quite
  2174. 1:13:07difficult to say, but um, I'll let you
  2175. 1:13:09answer that however you please.
  2176. 1:13:12Sure.
  2177. 1:13:13Uh, I mean, yeah, it's it's really
  2178. 1:13:14difficult to say. Um,
  2179. 1:13:17and and it's not something that we
  2180. 1:13:18honestly know at this point. Uh, it it
  2181. 1:13:21really depends on the amount of of good
  2182. 1:13:24strategies that are produced and
  2183. 1:13:26um, you know, how much uh, capital
  2184. 1:13:29Quantopian has to allocate out to the
  2185. 1:13:31strategies. So, those are the two sides
  2186. 1:13:34of the market where, you know, how much
  2187. 1:13:35capital do we have, how much supply of
  2188. 1:13:37good strategies we have, and it's really
  2189. 1:13:39like, you know, I can't really predict
  2190. 1:13:40how that market is going to turn out.
  2191. 1:13:42Um, and and how much how many
  2192. 1:13:44allocations we're going to make. You
  2193. 1:13:46know, certainly I think that we're also
  2194. 1:13:48focusing on adding value beyond just
  2195. 1:13:50getting an allocation. So, like
  2196. 1:13:51something we're actually focusing on a
  2197. 1:13:53lot now is expanding our educational
  2198. 1:13:56initiatives. So, uh, something we've
  2199. 1:13:58noticed is that, you know, a a good
  2200. 1:13:59number of users who come to the platform
  2201. 1:14:01actually want to learn
  2202. 1:14:02uh, kind of before anything else. And
  2203. 1:14:04and so, we're focusing on also being
  2204. 1:14:05able to make sure that like
  2205. 1:14:07regardless of how, you know, regardless
  2206. 1:14:09of whether you get an allocation, we
  2207. 1:14:11want you to come away from the platform
  2208. 1:14:12having learned a lot. Um, and so, uh,
  2209. 1:14:15you know, we're trying to make sure that
  2210. 1:14:16users kind of benefit regardless of how
  2211. 1:14:18their their their time goes on the
  2212. 1:14:21platform.
  2213. 1:14:22Very good. All right, Delaney, let's
  2214. 1:14:24leave it at that. Um, I just want to
  2215. 1:14:26quickly say thank you to everyone who
  2216. 1:14:28submitted questions. I think there's a
  2217. 1:14:30lot of really good questions in there.
  2218. 1:14:32And uh, thanks so much to everyone who's
  2219. 1:14:34been listening uh, to this series. It's
  2220. 1:14:36been a lot of fun. Thanks, Delaney.
  2221. 1:14:38Yeah. Yeah, absolutely. And I apologize
  2222. 1:14:40if there's anybody whose questions we
  2223. 1:14:41didn't get to. Again, it's just like I
  2224. 1:14:43said, like I was impressed at both the
  2225. 1:14:45breadth and quality of questions that we
  2226. 1:14:46got. So, you know, the the downside of
  2227. 1:14:48that is that we can't answer all of
  2228. 1:14:50them.
  2229. 1:14:50Um but again, the Quantopian forums
  2230. 1:14:53exist, so if you feel wronged that we
  2231. 1:14:55didn't get to your question, um complain
  2232. 1:14:57to me on the Quantopian forums and and
  2233. 1:14:59hopefully I'll see it.
  2234. 1:15:00So you can do that at
  2235. 1:15:01quantopian.com/chatwithtraders.
  2236. 1:15:05Uh Delaney, let's leave it that. Thanks
  2237. 1:15:06very much, man. I appreciate it.

About this transcript

This page contains the full transcript of Q6: Your Quant Trading Questions Answered · Delaney Mackenzie by Chat With Traders, generated from the public captions YouTube serves with the video. The transcript has 14,603 words across 2,237 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.