YouTube2Text

how to actually use ai for trading — Transcript

by Moon Dev · 45,437 words · 7,507 segments · language en · Watch on YouTube

Full transcript

  1. 0:00I'm going to show you how to actually
  2. 0:02use AI to trade so not like everybody
  3. 0:06else I'm going to show you how to
  4. 0:08actually use artificial intelligence to
  5. 0:10trade and it's not the way you're
  6. 0:12thinking no it doesn't just predict
  7. 0:14price I'm sorry to break it to you right
  8. 0:16here right now but I'm going to show you
  9. 0:17the actual way how to use AI to trade
  10. 0:20now I've been at this for over 3,000
  11. 0:23hours today I'm going to show you
  12. 0:24everything step by step over the course
  13. 0:26of this short short video I'm going to
  14. 0:28hold your hand through the two most
  15. 0:31effective ways to how to actually use AI
  16. 0:34to trade by the end of this video you
  17. 0:37will
  18. 0:38know exactly step by step how to use
  19. 0:43AI there's two unique approaches that I
  20. 0:46show you through this video number
  21. 0:50one no I'm not having AI predict price
  22. 0:53no way the reason is because if
  23. 0:56everybody uses AI to predict price
  24. 1:00the price is going to change and the
  25. 1:02price is not going to be that predicted
  26. 1:03price anymore does that make sense let
  27. 1:06me say it
  28. 1:07again if everybody uses AI to predict
  29. 1:12the next minute price or hour price or
  30. 1:15day price of any
  31. 1:17asset then that price is not going to be
  32. 1:20the price anymore because people are
  33. 1:22going to buy and sell around it it's not
  34. 1:24like the weather when you predict hey
  35. 1:26tomorrow is going to be sunny well if
  36. 1:282,000 other people predict tomorrow is
  37. 1:31going to be sunny it doesn't matter it
  38. 1:33can still be
  39. 1:34sunny or if you predict there's going to
  40. 1:37be six car
  41. 1:40crashes yeah that's morbid I don't even
  42. 1:42want to talk about that if you predict
  43. 1:45that your your sales numbers in your
  44. 1:47Fortune 500 company is they're going to
  45. 1:50have 500 sales or something and then you
  46. 1:53have other 20 other data scientists
  47. 1:55predicting there's going to be 500 sales
  48. 1:57that's not going to change the sales but
  49. 1:59in
  50. 2:01trading if everybody's predicting
  51. 2:04price that's going to change the price
  52. 2:06so that prediction is not going to work
  53. 2:08that makes sense right so I'm sorry to
  54. 2:10burst the bubble right off here but I'm
  55. 2:12going to show you two legit ways to
  56. 2:14actually use AI to
  57. 2:16trade the first way to use AI to trade
  58. 2:19is the most obvious way dude we have
  59. 2:22Claude we have chat GPT we have luxie we
  60. 2:27have all of these different AI platforms
  61. 2:30that we can just ask questions now you
  62. 2:32do need to kind of know how to code in
  63. 2:34order to get the most out of them I
  64. 2:36think that they gave us way too much
  65. 2:38power with these AI platforms to be
  66. 2:41real but the thing is nobody knows
  67. 2:43because nobody takes the time to learn
  68. 2:45how to code so they don't see how much
  69. 2:47power we actually
  70. 2:49have I literally sit here I build
  71. 2:51trading systems that used to take months
  72. 2:54if not years by hand and multiple team
  73. 2:56members so that's the first way we're
  74. 2:58going to use AI we're going to use llms
  75. 3:00those are large language
  76. 3:02models to help me take my ideas out of
  77. 3:06my brain and put them down in code so
  78. 3:08then I can go ahead and test them I
  79. 3:10follow this system all day long this is
  80. 3:12my simplified system to algo
  81. 3:15trading so algo trading is the process
  82. 3:18of automating your
  83. 3:20trading and I start with researching and
  84. 3:24then back testing so llms AI can help
  85. 3:27with researching and back testing
  86. 3:29because it can take an idea and expand
  87. 3:31on it it knows everything I only know
  88. 3:33some things I don't know
  89. 3:36much and then it can help me code out
  90. 3:38these back tests to see if that research
  91. 3:41those strategies I came up with if they
  92. 3:44actually work in the past so llms are
  93. 3:47the first way I'm going to use AI but
  94. 3:48the second way is rest in peace to his
  95. 3:51soul his family everybody that loved him
  96. 3:53I loved him but not like anybody loved
  97. 3:56his family member you know how that goes
  98. 3:58but rest in peace the king Jim Simons
  99. 4:00Jim Simons if you want to Google him he
  100. 4:03is the best algorithmic Trader ever to
  101. 4:06touch this Earth and we've been studying
  102. 4:09him and you're going to see a lot of it
  103. 4:11here in this video but one of his
  104. 4:14favorite models before I get there he
  105. 4:18said he did not he let the he he made
  106. 4:21all strategies based off of data so if
  107. 4:24you're making strateg trading strategies
  108. 4:26based off of data that kind of infers
  109. 4:28that you're using machine leared because
  110. 4:31if you're starting at a Zer Point origin
  111. 4:33with just a bunch of open high low close
  112. 4:35volume data and some math well that's
  113. 4:38telling me that he said he starts with
  114. 4:40data that tells me he's doing machine
  115. 4:42learning we watched a ton of videos and
  116. 4:46he finally said it he really likes the
  117. 4:49hidden Markoff model the hidden Markoff
  118. 4:52model is a model a machine learning
  119. 4:56model that helps predict different
  120. 4:58states now I know this might be
  121. 5:01confusing but I go over it so many times
  122. 5:03throughout this video so it's going to
  123. 5:05get less confusing it was confusing to
  124. 5:07me too but the hidden Markoff model
  125. 5:10which I refer to over and over again as
  126. 5:13hmm is a machine learning model that
  127. 5:16helps predict hidden States now what
  128. 5:19does that mean
  129. 5:21mondev well if you go over here to some
  130. 5:24data here you can see there's like a a
  131. 5:27bull market State a regime so State and
  132. 5:31regime I'm going to use them
  133. 5:32interchangeably a lot in this training
  134. 5:35you can see this is like a sideways a
  135. 5:37consolidation state or regime this is
  136. 5:40like a bullish regime this right here is
  137. 5:42like a bearish
  138. 5:44regime so Jim Simons repeatedly said he
  139. 5:48likes the hidden Markoff model which is
  140. 5:50a machine learning model and machine
  141. 5:52learning is
  142. 5:55AI so not only are we going to use llms
  143. 5:59probably the the newest form of
  144. 6:02AI at least that we have access to in a
  145. 6:05userfriendly way but we're also going to
  146. 6:08use the hidden Markoff model which is a
  147. 6:11machine learning model that Jim Simons
  148. 6:14the goat used by the end of this you're
  149. 6:17going to have a machine learning model
  150. 6:21that predicts different regimes and it
  151. 6:24actually back tests dang I should pull
  152. 6:27up the back tests right now so you can
  153. 6:30see it let's see if I can pull it up
  154. 6:33really quickly if I can't then you're
  155. 6:35going to have to watch the whole thing
  156. 6:37dude I just wanted to CH you show you
  157. 6:40real quick so you can believe me I want
  158. 6:43you to stick around and watch this
  159. 6:45entire video because it's a journey
  160. 6:48dude it's a journey and you're going to
  161. 6:51learn so much and by the end of it
  162. 6:53you're going to have every single thing
  163. 6:55that I know about hidden markof models
  164. 7:00about using llms and AI in order to code
  165. 7:04for you help you flesh out your ideas
  166. 7:06you can see here these are a bunch of
  167. 7:08back tests here that we outputed and for
  168. 7:11example this first one has a return of
  169. 7:1452% while Buy and Hold is
  170. 7:1835% this is just the start we're just
  171. 7:20getting started with this stuff dude
  172. 7:23it's
  173. 7:25wild and the thing I like most about
  174. 7:28this is some of of these returns that we
  175. 7:32see they're only
  176. 7:34holding 11% of the time so that's one of
  177. 7:38the best returns that I can remember I
  178. 7:40didn't show you it right there I didn't
  179. 7:41have it prepared I'm sorry let's go
  180. 7:43ahead and just dive in and show you step
  181. 7:44by step by the end of this you're going
  182. 7:46to be able to know everything I know
  183. 7:48about how to actually use AI in trading
  184. 7:52and I show you everything step by step
  185. 7:55as always I go live every single day and
  186. 7:58I show you everything every single piece
  187. 8:00of code because I believe code is a
  188. 8:02great
  189. 8:03equalizer I believe if you know how to
  190. 8:05code you can pull yourself out of any
  191. 8:08position because you can build for the
  192. 8:09rest of your life and like I said I
  193. 8:11think they gave us too much power here
  194. 8:12with this this AI these llms I think if
  195. 8:16the the higher ups they knew about how
  196. 8:18much power coders have now with AI they
  197. 8:21would cut it
  198. 8:22off that's why I'm going so hard every
  199. 8:25single day because I don't think we'll
  200. 8:27have access to this forever I hope I'm
  201. 8:29hopeful we
  202. 8:31do cuz the can's already out the the
  203. 8:34worm's already out of the can whatever
  204. 8:36the saying is I hope we do but I'm going
  205. 8:39to show you everything step by step here
  206. 8:40right now let's get into it stick around
  207. 8:42for the whole thing Jim Simons love the
  208. 8:45hidden markof model so I wanted to
  209. 8:47investigate a little bit more got all
  210. 8:49the code written out so it looks like
  211. 8:51we're just importing pandas here and
  212. 8:54import numpy MP and then from hmm learn
  213. 8:57import hmm Google this B pip install hmm
  214. 9:03learn then map plot li. pyplot as PLP
  215. 9:07PLT PLT SK learn. preprocessing okay
  216. 9:10we're starting the hmm analysis here I'm
  217. 9:13using like uh what year is it it's 2024
  218. 9:17so six years of BTC hourly data it's
  219. 9:20data 51,9 or 5
  220. 9:2551,9 122 rows of
  221. 9:28data um
  222. 9:29I guess I could get more I could
  223. 9:31absolutely get more absolutely
  224. 9:33absolutely and different time frames but
  225. 9:36I just want to get this set up and
  226. 9:37working and then worry about all that
  227. 9:40stuff
  228. 9:43later but
  229. 9:45essentially loading in the data okay
  230. 9:48we're naming the files open high low
  231. 9:51close volume pd. read file path names I
  232. 9:55don't think that's right but let's go
  233. 9:57ahead and look at it daytime yeah I
  234. 9:59don't think that's right but we're just
  235. 10:01going to pretend like it is for now and
  236. 10:03no let's fix it let's fix it date time
  237. 10:06date time open high low close pd. read
  238. 10:10file names what if we just dro the read
  239. 10:14yeah yeah what if we did
  240. 10:16that okay okay and then just say print
  241. 10:20data let's start there print
  242. 10:23DF doad fine time. sleep oh we don't
  243. 10:27even have time in here
  244. 10:30AI sometimes
  245. 10:32huh load pre-processing data okay let's
  246. 10:35go down to the bottom
  247. 10:37here and it says training start
  248. 10:40executing uh starting main execution
  249. 10:43okay and then it starts this okay we'll
  250. 10:46start there so we'll just start there
  251. 10:48and then go step by step because then
  252. 10:50you get to see all the code I get to see
  253. 10:52all the code and then we all get all the
  254. 10:55code you
  255. 10:57know you see the code I see the code we
  256. 11:00see the code and then we can do cool
  257. 11:03things with the code maybe but I did
  258. 11:06watch that video the other day that you
  259. 11:08know compared the the hidden Markoff
  260. 11:11model hidden I'm going to keep writing
  261. 11:12that out because it's such a nerd word
  262. 11:14hidden markof
  263. 11:16model uh
  264. 11:18was the was better less than the RNN the
  265. 11:24current neural
  266. 11:27network it was less than let but it's
  267. 11:30only on one day only on one day and one
  268. 11:34person's features really because this is
  269. 11:37just feature engineering right that's
  270. 11:39what that one dude said at least Andrew
  271. 11:42ning I'm so sorry to Butch your name if
  272. 11:46that's true you I love you so so much yo
  273. 11:50they really they
  274. 11:52really Andrew really has all of these
  275. 11:55things let's go ahead and watch a couple
  276. 11:56of
  277. 11:57them not right now
  278. 12:01but
  279. 12:03maybe this is look at that deep learning
  280. 12:06AI stop
  281. 12:16it I feel like he had like a some class
  282. 12:18at some
  283. 12:21school oh this right
  284. 12:24here stanf or
  285. 12:28something
  286. 12:29engineering this is
  287. 12:32uh I watched a good amount of
  288. 12:38this dude I think we watched this whole
  289. 12:51thing okay so the reason I guy here is
  290. 12:53because he has said something about like
  291. 12:56it's just feature engineering it's like
  292. 12:58that's where the edge is and machine
  293. 12:59learning is feature engineering it's
  294. 13:01like coming up with the ideas what you
  295. 13:02going put what data you can put in what
  296. 13:03are the uh yeah that's it that's all I
  297. 13:07got I learned I learned machine learning
  298. 13:10before learning how to code it's crazy
  299. 13:11that's how I learn how to code so
  300. 13:13whatever it is what it is weird path but
  301. 13:16I'm going be able to pick this up easy
  302. 13:18dude not easy
  303. 13:21but it's like a refresher that's it
  304. 13:25that's it dude so lecture 19 we might go
  305. 13:28up in there any anyways let's go ahead
  306. 13:29and print out this data
  307. 13:33here boom got it unnamed
  308. 13:39six yeah my data is janky dude I forgot
  309. 13:43about that this is good this is a good
  310. 13:46practice how do I do that ah how do I
  311. 13:49select all the rows no all of these
  312. 13:54there's a way to do that um let's go ask
  313. 13:57AI
  314. 14:04okay so what I'm going to say here oh my
  315. 14:06God I love this what am I doing this is
  316. 14:08amazing I can't believe it I can't
  317. 14:10believe the opportunity we have here
  318. 14:12with AI we can ask anything
  319. 14:15so my data above is super
  320. 14:19janky it has a comma at the end of the
  321. 14:26column names indicating
  322. 14:30a new
  323. 14:31column how do I I know I could just drop
  324. 14:35it probably I can I can drop I know I
  325. 14:37can drop that column okay I got that but
  326. 14:40I've seen people do this little thing
  327. 14:42where they select the end column and it
  328. 14:46it's
  329. 14:47like a keyboard shortcut and it selects
  330. 14:50you have a selector on every line yeah
  331. 14:53that's it all right how how do I make it
  332. 14:56so on the CSV I I use that keyboard
  333. 15:02shortcut to
  334. 15:05um have a
  335. 15:08selector door blinker I don't know what
  336. 15:11these are called blinker on each line
  337. 15:15and then
  338. 15:16delete the last
  339. 15:19column I know I can
  340. 15:22drop with pandas but I'm curious about
  341. 15:27that keyboard
  342. 15:30shortcut and how to do the same thing on
  343. 15:36on multiple multiple multiple
  344. 15:41lines okay you know what I'm talking
  345. 15:44about though right you know what I'm
  346. 15:45talking about I know you know what I'm
  347. 15:47talking about I see you're looking for a
  348. 15:49way to efficiently edit multiple lines
  349. 15:50yes there we
  350. 15:53go and your text editor remove the
  351. 15:55trailing commas this is a common task
  352. 15:57and many text editors have features to
  353. 15:59help us the T teni the ten the teni
  354. 16:06uh the technique you're referring to is
  355. 16:09often called multic cursor editing or
  356. 16:11column selector here's how to do it in
  357. 16:13some popular so press alt shift and I
  358. 16:18that's it that's all I need to know now
  359. 16:20I'm I'm off
  360. 16:22alt option
  361. 16:26maybe no control
  362. 16:34no dang what's all on
  363. 16:38Mac
  364. 16:39controll
  365. 16:41shift
  366. 16:45I oh okay option shift to add
  367. 16:50cursor end of each line okay let's try
  368. 16:54that
  369. 16:56option shift
  370. 17:01I maybe this not an
  371. 17:08i no I mean option shift I does it have
  372. 17:11to be in order maybe the same
  373. 17:23time n dude ain't
  374. 17:27it visual Studio
  375. 17:31code I'm just going to drop it I'm just
  376. 17:33going to drop it I'm just going to drop
  377. 17:34it because it doesn't work for
  378. 17:37me blinker
  379. 17:39cursor bro you should throw that data
  380. 17:43into a DB like postgress or my
  381. 17:47[Music]
  382. 17:50skill my
  383. 17:54skill how
  384. 17:57come how come
  385. 18:00that is the
  386. 18:07question I'm just going to drop it so
  387. 18:09let's go back to it my bad my bad I
  388. 18:12thought I would be able to pick that
  389. 18:14pick that up real quickly and it
  390. 18:17couldn't so
  391. 18:21drop drop the last
  392. 18:25column thank you okay it should be gone
  393. 18:28now look how much easier it is to do
  394. 18:30things with
  395. 18:31code you can't tell me code does not
  396. 18:34give you advantage in life can't tell me
  397. 18:36that I'm sorry I've been I've been
  398. 18:39living I know I'm not the oldest old
  399. 18:41head out there but I've been living and
  400. 18:43this stuff is Magic
  401. 18:46dude drops a column calls coding magic
  402. 18:50let's see print creating date time range
  403. 18:53okay let's say this let's say print
  404. 18:56creating date time in index calculating
  405. 19:00returns and volatility I'm not going to
  406. 19:01PR everything that'll take forever
  407. 19:03calculating returns and volatility okay
  408. 19:04the returns is the percent change of the
  409. 19:06close Okay volatility is returned the
  410. 19:09rolling standard
  411. 19:11deviation of a rolling window dang this
  412. 19:14is some good stuff be volume change
  413. 19:17volume percent change okay dropping nonv
  414. 19:19values data process and let's just print
  415. 19:22out our DF let's start there make sure
  416. 19:25everything's looking good this is we're
  417. 19:28calling the main main execution down
  418. 19:29here this is the main execution we just
  419. 19:31went through the loading and pre-process
  420. 19:32data okay you saw it all
  421. 19:36dude print
  422. 19:38data not not I want all of it though
  423. 19:41whatever I'll take the I'll take that
  424. 19:44I'm not sleep five no way 555 deal
  425. 19:48remember that you remember the 555 deal
  426. 19:50at
  427. 19:53dominoes I was
  428. 19:56good I was good I think I'm a little
  429. 19:58hungry so these returns has to be a
  430. 20:01lowercase close this needs to be a
  431. 20:04lowercase volume who did this
  432. 20:07dude should have gone with industry
  433. 20:10standards no clothes in it okay well
  434. 20:13let's go look at it close looks like a
  435. 20:15close to me did I spell it
  436. 20:18incorrectly I have to make the columns
  437. 20:20yeah I got to make the columns okay
  438. 20:22that's crazy because there are columns
  439. 20:24here but
  440. 20:38let's see
  441. 20:40here let's see what line is this on 201
  442. 20:43108
  443. 20:45um
  444. 20:4627 here we go so returns it's having an
  445. 20:51a right there no it's not it's on
  446. 20:54returns this one right here so close do
  447. 20:58you have close
  448. 20:59CL print the columns then show me what
  449. 21:02the columns
  450. 21:04are yo it's so funny because there's no
  451. 21:07reason to
  452. 21:08code stop
  453. 21:11it I don't get it how did we get here
  454. 21:15because I would rather just write in
  455. 21:16English you know that's what I'm saying
  456. 21:18like I I know I know I need to print out
  457. 21:20the columns to check it out but it's
  458. 21:21like okay easier way to play the game
  459. 21:23dog easier way to play the game dog
  460. 21:27daytime open yo these are janky look at
  461. 21:31this there's a space in
  462. 21:38between that is
  463. 21:43crazy that is insane all right so I'm
  464. 21:46just going to go say close and then
  465. 21:48volume
  466. 21:49here I'm going to say rename the columns
  467. 21:53this is easy this is light work when you
  468. 21:55when you have this stuff rename rename
  469. 21:58the call
  470. 22:00SS two open high low close volume
  471. 22:04dude thank you D have. columns okay
  472. 22:07let's just confirm
  473. 22:09it ah no no no that ain't it that ain't
  474. 22:12it we got to have date
  475. 22:19time Daye
  476. 22:23time date time that is so janky come on
  477. 22:27dude come on you got got
  478. 22:29this there we go daytime now let's see
  479. 22:33what the columns are looking like okay
  480. 22:36perfect the columns look good now just
  481. 22:38getting things all
  482. 22:40formatted okay time. sleep no more sleep
  483. 22:42now let's go back come on bring it back
  484. 23:08okay so now we have the close
  485. 23:09calculating returns of volatility
  486. 23:11perfect perfect perfect creating the
  487. 23:13volume this should all work now I mean
  488. 23:16we'll see but let's run
  489. 23:18it okay great so we got the returns here
  490. 23:22we've got the volatility here and the
  491. 23:24volume
  492. 23:26change perfect
  493. 23:28all right let's keep it moving
  494. 23:30then I think it's important to
  495. 23:32understand this codebase because this is
  496. 23:34like just a just a start B just a
  497. 23:38start with
  498. 23:41path all right so training hmm model
  499. 23:45okay so let's go check out the training
  500. 23:47so we're passing in this data
  501. 23:49here passing in
  502. 23:53the the above data to Now train
  503. 23:59the train train
  504. 24:02the hmm
  505. 24:05model OKAY training hm model let's go to
  506. 24:10train definition get go to definition
  507. 24:12okay so print training hmm with n
  508. 24:20components the features are returns
  509. 24:23volatility and volume
  510. 24:27change x equals data of the features
  511. 24:32values it's got the standard scale so
  512. 24:34it's normalizing the features standard
  513. 24:36scaler and we're going to go through all
  514. 24:37this don't worry don't worry scalar
  515. 24:39equals standard scalar X scaled equals
  516. 24:42scalar so we have to fit and transform
  517. 24:44it and then we have to fit
  518. 24:49it fitting hmm model and then this is
  519. 24:53that pip andall that we made earlier
  520. 24:56hmm. goian hm m n components equal n
  521. 25:00components ciance type equals full n
  522. 25:03iterations random state so the random
  523. 25:05State 42 model that fit okay this is the
  524. 25:09actual training of it I
  525. 25:11believe hmm training complete okay I
  526. 25:14don't think this works I think we we get
  527. 25:16into an error here so first
  528. 25:23off let's explain it so we can kind of
  529. 25:26understand and help the AI out
  530. 25:31explain the
  531. 25:33above the above code with two different
  532. 25:39uh examples that a 12 year all can
  533. 25:48understand um yeah let's see what are
  534. 25:53components uh what are components
  535. 25:59um n
  536. 26:04iterations covariance
  537. 26:10types
  538. 26:14um standard
  539. 26:18scaler all right this is good fit
  540. 26:23transform this is good this is good
  541. 26:26okay so certainly I'll explain the code
  542. 26:29using two simple examples that a
  543. 26:3112-year-old might
  544. 26:33understand this secret mood detector
  545. 26:36imagine no I can't do this B the secret
  546. 26:40mood detector all right imagine you have
  547. 26:42a magical mood detector that can figure
  548. 26:45out if your friend is happy sad or
  549. 26:47neutral based on three things how much
  550. 26:49they smile how loudly they speak and how
  551. 26:52fast they walk the components in this
  552. 26:55example the components Nal 3 n component
  553. 26:58equals three are the three moods happy
  554. 27:02sad and
  555. 27:05neutral the features are smile amount
  556. 27:09speaking volume and walking
  557. 27:13speed the standard scaler is like
  558. 27:15adjusting your eyes to see these
  559. 27:17features
  560. 27:19clearly no matter if your friend is a
  561. 27:23quiet Walker or a loud
  562. 27:26Runner fit transform is like calibrating
  563. 27:29your mood detector with all the
  564. 27:31information you've
  565. 27:32gathered and it
  566. 27:37equals means the detector will practice
  567. 27:41guessing moods a 100 times to get better
  568. 27:43at it yo this is actually pretty good
  569. 27:45covariance type equals full means the
  570. 27:49detector considers how all features
  571. 27:52might be
  572. 27:54related like maybe people walk faster
  573. 27:57when they speak
  574. 28:02loudly the gazum hmm is your magical
  575. 28:05mood detector that learns patterns to
  576. 28:08guess your friend's mood even when you
  577. 28:11can't ask them directly and remember
  578. 28:12we're trying to guess the market regimes
  579. 28:14maybe you don't remember maybe you
  580. 28:16weren't here I don't know come on bro
  581. 28:19keep it keep it up keep going that's it
  582. 28:21come on we going example two the weather
  583. 28:24prediction game let's say you're playing
  584. 28:27a weather pred addiction game you can't
  585. 28:29see outside but you have three
  586. 28:32Clues temperature humidity and wind
  587. 28:36speed you're trying to guess if it's
  588. 28:39sunny rainy or
  589. 28:41cloudy in this scenario the components n
  590. 28:44equals 3 n components equals 3 are the
  591. 28:47three types Sunny rainy and
  592. 28:51cloudy so that could be
  593. 28:54like trending
  594. 28:57consolidation downward consolidation
  595. 28:59upward I mean what Jim said there's like
  596. 29:01nine I'd be curious but those components
  597. 29:04could
  598. 29:05be could be uh those the different reg
  599. 29:10regimes
  600. 29:12regimes the features are temperature
  601. 29:14humidity and wind speed the standard
  602. 29:15scaler is like converting all
  603. 29:17measurements to a scale from 1 to 10 so
  604. 29:20it's easier to compare them fit ter
  605. 29:23transform is like studying lots of
  606. 29:25weather reports to understand what
  607. 29:26combinations usually mean
  608. 29:29n it equals 100 means you'll practice
  609. 29:33guessing the weather 100 times to
  610. 29:34improve your
  611. 29:36skills covariance type equals full means
  612. 29:39you consider how temperature humidity
  613. 29:42and wind might affect each
  614. 29:45other the gajian hmm is your brain
  615. 29:48trying to learn patterns to guess the
  616. 29:51weather
  617. 29:52correctly even when you can't look
  618. 29:55outside give me two examples
  619. 30:00me two
  620. 30:02examples of trading
  621. 30:07alos and
  622. 30:09boss for crypto
  623. 30:12um I mean I understand it but again this
  624. 30:15was hard for me to get through my thick
  625. 30:19skull oh I didn't want actually code
  626. 30:21examples
  627. 30:28I'm just going to move on let's see if
  628. 30:30this
  629. 30:33works there's plenty of videos on this
  630. 30:36people much much smarter than
  631. 30:38I okay so look at this look at that
  632. 30:42that's dope actually because yesterday
  633. 30:45this didn't work but Mund went up in
  634. 30:47there and raw doged it a little bit and
  635. 30:50fixed
  636. 30:51it if you remember the end of yesterday
  637. 30:54it was like oh well we did good but
  638. 31:02um there's an error is there still an
  639. 31:05error I don't want to start acting like
  640. 31:07I figured it out or anything oh I got to
  641. 31:09sleep there okay okay stop it I was
  642. 31:12hyping myself up real quick all right
  643. 31:14get off me get off
  644. 31:19me oh my goodness
  645. 31:22so explain what the outcome
  646. 31:29this should send back our return the
  647. 31:31model does it actually did it say
  648. 31:33training complete I don't think it did I
  649. 31:36think it was training right there
  650. 31:40yeah States predicted let's go ahead and
  651. 31:44say where does it say States
  652. 31:45predicted okay predict States dude we
  653. 31:49didn't go over this
  654. 31:54one hmm training complete okay so we
  655. 31:59didn't go over this part predicting
  656. 32:01States there's only three
  657. 32:15states analyzing States okay got you got
  658. 32:18you there's a pause there that's our
  659. 32:20pause that's fine but we didn't go over
  660. 32:22this part so
  661. 32:29I'm going to say explain this one
  662. 32:31explain this
  663. 32:33code explain this
  664. 32:36code with two examples not examples with
  665. 32:41uh the theme being trading alos and
  666. 32:47trading Bots
  667. 32:58okay so certainly let's explain predict
  668. 32:59States function so we're looking at this
  669. 33:01function here just so you can see
  670. 33:10it in the context of trading algorithms
  671. 33:12and Bot for cryptocurrency markets
  672. 33:13imagine you're running a sophisticated
  673. 33:15crypto trading bot that doesn't just
  674. 33:17look at price but tries to understand
  675. 33:19the overall mood or regime of the market
  676. 33:21this function is like the Bots Market
  677. 33:25psychologist trying to figure out what's
  678. 33:27date the market is in at any given time
  679. 33:32here's how it works features equals the
  680. 33:35returns the volatility and uh volume
  681. 33:38change and we have all that remember I
  682. 33:39printed it
  683. 33:43anyways your Bot is looking at three key
  684. 33:47aspects of the market returns how much
  685. 33:50the price has
  686. 33:52changed volatility how wildly the price
  687. 33:54is
  688. 33:56swinging volume change change how
  689. 33:58trading activity is changing this is
  690. 34:01like a Trader watching not just the
  691. 34:03price but also how nervous the market
  692. 34:05seems and how many people are
  693. 34:09trading x equals
  694. 34:12data x equals D this line here x equals
  695. 34:16data passing in features or in the
  696. 34:18features section values debot collects
  697. 34:22these three prices or pieces of
  698. 34:24information for each time period it's
  699. 34:27looking at
  700. 34:29X
  701. 34:31scaled this is like normalizing the data
  702. 34:34Maybe returns
  703. 34:35are usually tiny like 0.1% but volume
  704. 34:39change can be 50% the scaler makes sure
  705. 34:43the bot doesn't overreact to naturally
  706. 34:45large
  707. 34:48numbers that's cool but finally
  708. 34:51clicks this is where the magic happens
  709. 34:54States equals model.
  710. 34:56predict EX
  711. 34:59date so this is where this is where the
  712. 35:01magic happens the bot uses its trained
  713. 35:04model like an experienced Trader in int
  714. 35:07Traders intuition
  715. 35:10intuition to guess what state or mood
  716. 35:12the market is in based on the returns
  717. 35:15volatility and volume changes it
  718. 35:18seen print States predicted unique
  719. 35:22states the bot announces how many
  720. 35:25different states it found
  721. 35:28for example it might say it found three
  722. 35:32states which could be something like
  723. 35:35state zero calm Market low returns low
  724. 35:38volatility normal volume state one bull
  725. 35:42market High positive returns medium
  726. 35:46volatility and high volume Panic Market
  727. 35:49High negative returns High volatility
  728. 35:53and very high volume
  729. 35:58in the context of a trading bot this
  730. 36:00function would be called
  731. 36:02regularly maybe every hour or day to
  732. 36:05reassess the market State the bot would
  733. 36:09use these State predictions to make
  734. 36:12trading
  735. 36:13decisions for example in state zero
  736. 36:16which is a calm Market it may might make
  737. 36:19small careful trades
  738. 36:37what is Dar I don't know in state one
  739. 36:40bull market it might make larger buy
  740. 36:42orders in state two a panic Market it
  741. 36:45might sell to protect assets or make
  742. 36:47short trades the key idea here is that
  743. 36:50the bot is trying to adapt its strategy
  744. 36:53based on what it perceives as the market
  745. 36:56current market i s just like a human
  746. 36:59Trader would it's not just blindly
  747. 37:01following a single strategy but trying
  748. 37:03to understand the Market's mood and
  749. 37:06adjust
  750. 37:09accordingly this approach can be
  751. 37:11particularly useful in cryptocurrency
  752. 37:13markets which can rapidly switch between
  753. 37:15periods of calm explosive growth and
  754. 37:19sharp
  755. 37:20declines by detecting these states a
  756. 37:23trading bot can potentially make smarter
  757. 37:26decisions when to be aggressive when to
  758. 37:28be cautious and when to stay out of the
  759. 37:30market
  760. 38:21just move on I mean I understand that to
  761. 38:23you I hope so I mean if you don't that's
  762. 38:25fine though because it's this is like
  763. 38:28super deep stuff you know it's deep it's
  764. 38:33deep it's deep let's look at analyze
  765. 38:36stats
  766. 38:39States all right so print analyzing
  767. 38:41States DF do analysis is a data. copy
  768. 38:45and then analyze State equals state for
  769. 38:49state in range of model. n components so
  770. 38:53it grabs the components analyzing state
  771. 38:58State data equals
  772. 39:00DF where State equals
  773. 39:03State print State returns volatility and
  774. 39:07Dot
  775. 39:08describe number of periods in
  776. 39:12state
  777. 39:16okay let's just print it oh there's
  778. 39:19nothing to
  779. 39:20print plot results let's check out plot
  780. 39:26results print plotting results so we're
  781. 39:28getting subplots PLT do subplots so our
  782. 39:32good old PLT I've never understood why
  783. 39:34it's called PLT let's try to figure that
  784. 39:35out right now Matt plot lib as PLT what
  785. 39:40are you talking about my dude I don't
  786. 39:42know I don't know plot maybe yeah maybe
  787. 39:45because plot okay got it figured it out
  788. 39:48plot plot without the oh
  789. 39:50[Music]
  790. 39:52the ax1 plot index data
  791. 39:57okay we got the close now I'm glad I
  792. 39:59switched it to close because it's just
  793. 40:01all up in here bitcoin price in hmm
  794. 40:04States okay for state and range of
  795. 40:06model. end components mask equals what
  796. 40:09is a
  797. 40:22mask what is a mask
  798. 40:27great question in the context of data
  799. 40:29analysis and visualization a mask is a
  800. 40:31Boolean true or false array that's used
  801. 40:34to select or highlight specific parts of
  802. 40:36your data let's break this down in a way
  803. 40:39that's easy to understand imagine you're
  804. 40:41looking at a long series of
  805. 40:42cryptocurrency prices and you want to
  806. 40:45color code different periods based on
  807. 40:48the market State like bull market bare
  808. 40:50Market or sideways
  809. 40:53Market The Mask helps you do exactly
  810. 40:56that here here how it works in the code
  811. 40:58for state and range this Loop goes
  812. 41:01through each state the model has
  813. 41:04identified let's say there are three
  814. 41:12states 0 1 and
  815. 41:17two mask equals State equals States this
  816. 41:20is creates a Boolean array mask where
  817. 41:24it's true for every time point where the
  818. 41:28Mark is in the current
  819. 41:35state okay got
  820. 41:39it so it's just like true or
  821. 41:41false let's use a simple example to
  822. 41:45illustrate suppose you have 10 days of
  823. 41:47data and the states array looks like
  824. 41:50this States equal 00
  825. 41:520111
  826. 41:5422 011
  827. 41:58this Loop goes through each
  828. 42:01state the model has identified let's say
  829. 42:04there are three states 0 1 and two mask
  830. 42:07equals States equals State this creates
  831. 42:09a Boolean array
  832. 42:11mask where it's true
  833. 42:15okay when creating mask for each state
  834. 42:18You' get true true false false
  835. 42:22false false false false okay I got it so
  836. 42:26it's for each state
  837. 42:28so you get two it's for you that's where
  838. 42:30I was a little confused like where's
  839. 42:31this two come from but it could be a
  840. 42:33seven it could be a nine it could be
  841. 42:34whatever for State 9 is it true or false
  842. 42:38you can see for State one here it's not
  843. 42:41going to be true until 2 three 4 or
  844. 42:44whatever that is 2 three 4 all right
  845. 42:46figured it out understand it let's keep
  846. 42:49it moving B in the context of a trading
  847. 42:51B algorithm these masks could be used to
  848. 42:53back test strategies for example you
  849. 42:55might want to see how particular trading
  850. 42:58strategy performs only during periods
  851. 42:59identifies State
  852. 43:13one
  853. 43:20duh okay okay okay you could use these
  854. 43:24Mass to calculate State specific metrics
  855. 43:27like what's the average daily return
  856. 43:30since when we're in state
  857. 43:322 in live trading identifying the
  858. 43:35current state could trigger different
  859. 43:37trading rules or risk management
  860. 43:40strategies yeah I feel like I should I
  861. 43:43don't know why I say explain it to me
  862. 43:45like I'm 12 just explain it to me for
  863. 43:48outo trading
  864. 43:50always here on out all right you heard
  865. 43:53it here first Mev live
  866. 43:57Live on
  867. 44:01YouTube live on YouTube every single day
  868. 44:05dude I don't know why I just like to
  869. 44:08show it I like to show this stuff
  870. 44:10opposed to just doing it by myself I'm
  871. 44:12sorry it's just like kind of like deep
  872. 44:15it's deep you know it's deep so like I'm
  873. 44:18not going to be able to comprehend all
  874. 44:19of it that's it that's it I can't
  875. 44:22comprehend all
  876. 44:23this you got to see it bro
  877. 44:27you you you you have a hack at this
  878. 44:30stuff dog I'm G show you everything
  879. 44:32every day every day okay ax. Legend so
  880. 44:36we're just building a legend here for
  881. 44:38the uh ax one and two so it looks like
  882. 44:41we're getting two plots I wonder if it
  883. 44:43will work let's go ahead and just run it
  884. 44:48up plot plot plot plot time do sleep I
  885. 44:52don't want to see the err that's why I
  886. 44:53keep putting this these time do sleeps I
  887. 44:55want to understand every single line of
  888. 44:56code
  889. 44:58you know why not okay so plotting
  890. 45:02results yo pzy plots pzy plots pzy plots
  891. 45:07a lot of
  892. 45:09thoughts get your head out the gutter be
  893. 45:12in your mind thoughts in your
  894. 45:16mind all right
  895. 45:18so I don't know
  896. 45:21but you know what we can do from here
  897. 45:25hey guess what guess what
  898. 45:27guess what guess what we can do from
  899. 45:30here dude we can do anything this is
  900. 45:33crazy this is crazy AI is nuts I can't
  901. 45:36believe it I can't believe what I'm
  902. 45:38about how I'm about to chop this
  903. 45:39up chop it up explain to me like
  904. 45:45I'm however old I
  905. 45:48am okay and in the
  906. 45:51context of trading Bots and trading
  907. 45:55algorithms
  908. 45:58we are building out a uh hidden
  909. 46:02markof model and Below attached
  910. 46:08attached no no no attached is the
  911. 46:12plotted
  912. 46:14stats I don't know stats or States
  913. 46:18now please explain it to me please
  914. 46:22explain with
  915. 46:24examples okay let's see it not code
  916. 46:26examples though don't give me any code
  917. 46:30hey not right now no thank you certainly
  918. 46:33let's break down what this hidden
  919. 46:35Markoff model plot is showing us in the
  920. 46:37context of trading Bots and algorithms
  921. 46:39for BTC the hidden Markoff model
  922. 46:42overview in this context the hmm is
  923. 46:45trying to identify different hidden
  924. 46:47states of the BTC Market these states
  925. 46:50are directly observable but are they
  926. 46:53aren't these states aren't directly
  927. 46:55observable but are infirm inferred from
  928. 46:59the visible data okay let's look at this
  929. 47:02data too let's just look at it while
  930. 47:05while I'm reading it because
  931. 47:07then that's how you do this stuff
  932. 47:13[Music]
  933. 47:15dude all right
  934. 47:19so these states aren't directly
  935. 47:21observable but are infirmed inferred
  936. 47:23from the visible data price returns
  937. 47:26volatility Etc the three states the
  938. 47:28model has identified three distinct
  939. 47:31States state zero 1 and two represented
  940. 47:35by different colors in the top of the
  941. 47:38chart so you can see three states zero
  942. 47:41one and two zero is blue one is yellow
  943. 47:45oh I'm sorry that's like orange or peach
  944. 47:47peach and two is
  945. 47:50green all right let's get it
  946. 47:57state zero this appears to be the most
  947. 47:59common state it might represent normal
  948. 48:02or Stable Market condition State one
  949. 48:06orange this state appears less
  950. 48:08frequently and often coincides with
  951. 48:10price increases it might represent
  952. 48:13bullish or a volatile uptrend
  953. 48:27this state is least common it repres it
  954. 48:29might represent a bearish or highly
  955. 48:31volatile
  956. 48:33State price chart
  957. 48:36top I mean let's start doing to-dos here
  958. 48:40to-do too too
  959. 48:43too I'mma keep it in the ideas I'mma
  960. 48:46keep it in the
  961. 48:47ideas um
  962. 48:59put um all types of States look into I
  963. 49:06can't get my words together look into
  964. 49:09look into Jim's
  965. 49:13favorite
  966. 49:15favorite yeah gy regimes regimes and
  967. 49:20make those the states that are
  968. 49:24predicted I guess
  969. 49:27guess what that's what I'm I'm trying to
  970. 49:28say okay so whatever this St is least
  971. 49:32common okay highly volatile I haven't I
  972. 49:33don't see any greens on here to be
  973. 49:35honest do you make it big
  974. 49:41bigger I don't see any
  975. 49:46greens that's
  976. 49:49okay
  977. 49:52um the Blue Line represents btc's price
  978. 49:55overtime I think that was
  979. 50:10obvious the colored backgrounds show
  980. 50:12which state the model believes the
  981. 50:15market is in at each point
  982. 50:26returns chart which is at the
  983. 50:32bottom this shows the percentage returns
  984. 50:35of BTC spikes indicate large price
  985. 50:40movements up or down so
  986. 50:45this is
  987. 50:48co and that coincides right with the
  988. 50:50price so this is lined up which is nice
  989. 51:04that hourly though this is hourly since
  990. 51:082018 on
  991. 51:14BTC I want to put Liquidations in there
  992. 51:18I don't
  993. 51:20know all the data that we
  994. 51:22got anything throw it all throw it all
  995. 51:26at it
  996. 51:28you got ideas throw it in the chat
  997. 51:35777 every single day you're up inside my
  998. 51:39brain
  999. 51:40b it's kind of weird you you up been
  1000. 51:42here a lot
  1001. 51:44honestly so just share your your 777s in
  1002. 51:48the chat if you got a good
  1003. 51:51idea share that with your brethren meet
  1004. 51:54somebody in the Discord you don't have
  1005. 51:55to share with me dude I just 1 plus one
  1006. 51:59I just want 1 plus one to equal three
  1007. 52:01like that one dude
  1008. 52:04said all right price
  1009. 52:08chart trade B applications example one
  1010. 52:11state based strategy a Trad B could be
  1011. 52:14used could use the states to adjust the
  1012. 52:17strategy use a conservative strategy
  1013. 52:19during light blue maybe scalping small
  1014. 52:23profits State one orange Implement more
  1015. 52:25aggressive buying strategy anticipating
  1016. 52:27price
  1017. 52:32increases in state
  1018. 52:34two green either stay out of the market
  1019. 52:37or Implement a shorting
  1020. 52:41strategy example two Trend
  1021. 52:43following notice how State one orange
  1022. 52:46often appears during uptrends
  1023. 53:03aach could use this to enter long
  1024. 53:05positions when transitioning from 0o to
  1025. 53:08one 0 to
  1026. 53:12one exit or reduce positions when
  1027. 53:15transitioning out of state
  1028. 53:18one example three volatility trading the
  1029. 53:21returns chart shows periods of higher
  1030. 53:24volatility a bot could increase position
  1031. 53:27sizes during state zero when volatility
  1032. 53:30is
  1033. 53:34lower reduce risk and tighten stop
  1034. 53:36losses during States one and two when
  1035. 53:39volatility might be
  1036. 53:41higher example for mean reversion after
  1037. 53:43extended periods in state one or two so
  1038. 53:47one or
  1039. 53:52two okay I mean I I think this data just
  1040. 53:57needs to be I don't know I think we just
  1041. 54:00need to keep going through this we're
  1042. 54:02not even done we're not even done
  1043. 54:04yet
  1044. 54:06so risk management the rapid State
  1045. 54:08changes in some periods like early 2022
  1046. 54:11indicate a highly uncertain Market a
  1047. 54:14trading algorithm might reduce its
  1048. 54:16overall exposure during such times
  1049. 54:19Market regime detection the long
  1050. 54:22stretches of state zero in 201819
  1051. 54:26might indicate a bare Market or
  1052. 54:28accumulation phase a sophisticated
  1053. 54:30algorithm could adjust its long-term
  1054. 54:33strategy based on these Extended State
  1055. 54:35periods in essence this hmm is providing
  1056. 54:38a framework for a trading bot to
  1057. 54:42understand the current market context
  1058. 54:44Beyond just price it's like giving the
  1059. 54:47bot a sense of the Market's mood
  1060. 54:50allowing it to adapt its strategies to
  1061. 54:52different Market regimes this can be
  1062. 54:54particularly valuable in the volatile
  1063. 54:58Andy cyclical nature of the
  1064. 55:00cryptocurrency
  1065. 55:05market okay so let's just keep it moving
  1066. 55:07then let's see how much else like I know
  1067. 55:09we got something else here so how much
  1068. 55:12else we
  1069. 55:13got so printing the transition Matrix
  1070. 55:16let's go ahead and see that man I don't
  1071. 55:19know if it's going to let us because
  1072. 55:21we'll see let's just let's just see it
  1073. 55:23let's just see
  1074. 55:24it feel like it gets stuck on the the
  1075. 55:27output of the the other thing you know
  1076. 55:30plotting results yeah it's going to stop
  1077. 55:32there showing plot okay I can close the
  1078. 55:35plot now and then it should move on
  1079. 55:37there we go transition
  1080. 55:40Matrix
  1081. 55:43okay I want to save this plot though
  1082. 55:46analyze the stats predict the stats plot
  1083. 55:48the results let's go save it dude let's
  1084. 55:52save it to current directory tight
  1085. 55:54layout
  1086. 55:57pt. show save the save the plot to my uh
  1087. 56:04data folder B in this directory all
  1088. 56:08right that's it data dot okay but
  1089. 56:16as as a plot B not as not as the data
  1090. 56:21that's looking weird that's looking like
  1091. 56:22the other
  1092. 56:24thing okay let's go ahead and make a
  1093. 56:27data folder here look at this look at
  1094. 56:29this just just keep swimming be just
  1095. 56:31keep swimming this is fun I like it if
  1096. 56:35Jim liked it I like it all
  1097. 56:39right get off me B get off me let's go
  1098. 56:42ahead and check it out I don't even need
  1099. 56:44to show it
  1100. 56:45anymore I
  1101. 56:48could it's plotting okay perfect perfect
  1102. 56:52perfect it's still plotting but now I'm
  1103. 56:54going to close the plot
  1104. 56:57and then I see transition Matrix okay so
  1105. 56:59I
  1106. 57:01might go ahead and
  1107. 57:06say n I'm not going to do any custom
  1108. 57:08stuff there right now not the point
  1109. 57:10transition Matrix okay let's go ahead
  1110. 57:13and print out the transition
  1111. 57:15Matrix let's get the stats of
  1112. 57:21it oh snap
  1113. 57:26okay yeah we've always got that
  1114. 57:29though transition Matrix
  1115. 57:32okay I'm going to copy that in a second
  1116. 57:35I want to First go check out the
  1117. 57:38transition Matrix walk ourselves through
  1118. 57:40it see where we're at say see where
  1119. 57:42we're at oh model. Trans okay there's no
  1120. 57:46code there there's no code there dude
  1121. 57:49there's not one piece of code there I
  1122. 57:51mean mod model.
  1123. 57:53transmat so I think that's just how you
  1124. 57:55call the transation transition Matrix
  1125. 57:58which is fine that's fine with me
  1126. 58:01but mean State variance I just want to
  1127. 58:04explain that explain
  1128. 58:08this uh for my hmm can you you explain
  1129. 58:15this
  1130. 58:17transition
  1131. 58:22Matrix what dude that's it stop it
  1132. 58:36explain
  1133. 58:37this transition
  1134. 58:41Matrix
  1135. 58:43please transition Matrix where are
  1136. 58:48we I don't know I don't know anymore
  1137. 59:05okay so certainly let's break down this
  1138. 59:09transition Matrix in the context of your
  1139. 59:11hidden Markoff
  1140. 59:12model for BTC trading the transition
  1141. 59:15Matrix shows the probabilities of moving
  1142. 59:18from one state to another in the next
  1143. 59:20time
  1144. 59:22stamp in your case you have three states
  1145. 59:26let's call them 0 1 and two The Matrix
  1146. 59:29is read read as from state to
  1147. 59:33state from
  1148. 59:36state to
  1149. 59:39state so transition from state
  1150. 59:45zero you can see it's the
  1151. 59:480.92 wait wait wait wait wait wait how
  1152. 59:50are you going to change up on me oh it's
  1153. 59:53negative 1 okay got it got it there's
  1154. 59:55that to the 10th power thing up there so
  1155. 59:58it's negative one so
  1156. 1:00:0392078 okay and point blah blah blah blah
  1157. 1:00:06blah
  1158. 1:00:07254 92% chance of staying in state
  1159. 1:00:13zero 7% chance of moving to state
  1160. 1:00:19two and very small chance of moving to
  1161. 1:00:22state two sorry one and then two
  1162. 1:00:26transitions from State
  1163. 1:00:32one there's
  1164. 1:00:35a 24% chance of M moving to state
  1165. 1:00:42zero and a 75% chance of staying in
  1166. 1:00:46State One
  1167. 1:00:58essentially 0%
  1168. 1:01:00chance of moving the state
  1169. 1:01:03to transition from State
  1170. 1:01:082 100% chance of moving into state zero
  1171. 1:01:13so that means there is no state
  1172. 1:01:15two
  1173. 1:01:18right interpretation for trading state
  1174. 1:01:20zero likely normal or Baseline State
  1175. 1:01:23very stable tends to process
  1176. 1:01:26occasionally it transitions to State one
  1177. 1:01:28rarely goes to state
  1178. 1:01:30two State one possibly a bullish or
  1179. 1:01:33trending State moderately stable often
  1180. 1:01:37persists sometimes reverts to state
  1181. 1:01:46zero sorry to wake you bro sometimes
  1182. 1:01:50revers to state zero almost never goes
  1183. 1:01:53directly to state two state two possibly
  1184. 1:01:55a volatile or shock State extremely
  1185. 1:01:59unstable never persists always
  1186. 1:02:02transitions back to state zero
  1187. 1:02:04immediately trading
  1188. 1:02:06implications state zero could represent
  1189. 1:02:08represent a calm Market a trading bot
  1190. 1:02:11might use Conservative Strategies here
  1191. 1:02:14State one seems to represent a
  1192. 1:02:16persistent Trend a bot might use Trend
  1193. 1:02:20following strategies when in this
  1194. 1:02:23state state two appears to be a very
  1195. 1:02:27rare instantly selloff correcting
  1196. 1:02:30state it might represent sudden Market
  1197. 1:02:34shocks or extreme events a bot should be
  1198. 1:02:38prepared for quick reversals after
  1199. 1:02:40detecting the
  1200. 1:02:44state the Rarity and instant transition
  1201. 1:02:47of State 2 back to state zero suggests
  1202. 1:02:49it might be capturing outlier events in
  1203. 1:02:52your data you might want to investigate
  1204. 1:02:56what market conditions correspond to
  1205. 1:02:57state two and consider if it's providing
  1206. 1:03:01valuable information for your trading
  1207. 1:03:02strategy it's not printing means and
  1208. 1:03:05variances co-variances of each state
  1209. 1:03:08okay let's see it
  1210. 1:03:10dude yo I wonder if this is popping
  1211. 1:03:13out sure is sure
  1212. 1:03:18is cool cool cool we know how to code
  1213. 1:03:22just a little bit just a little we know
  1214. 1:03:24a little bit of code
  1215. 1:03:26then we got AI my
  1216. 1:03:28God come on let's
  1217. 1:03:31go let's do it
  1218. 1:03:34dude anything that's in your brain it's
  1219. 1:03:36already been learned before dude stop
  1220. 1:03:40it co-variance yes give me all that walk
  1221. 1:03:44me through all this
  1222. 1:03:47please print print print
  1223. 1:03:52okay walk me through all of this now
  1224. 1:03:58it's the last part of the prints of my
  1225. 1:04:03code my code your code our
  1226. 1:04:07code my code your code our code our code
  1227. 1:04:44so let's look at it here let's close
  1228. 1:04:47this up a little
  1229. 1:04:49bit tieing up tieen up close that yes
  1230. 1:04:53okay here we go we should get it here
  1231. 1:04:56soon where you at let's see it why you
  1232. 1:04:59moving so
  1233. 1:05:01slow she's
  1234. 1:05:03tired she's
  1235. 1:05:07tired all
  1236. 1:05:09right certainly let's walk through this
  1237. 1:05:11output in the context of a hidden markof
  1238. 1:05:13model for Bitcoin trading these
  1239. 1:05:16statistics describe the characteristics
  1240. 1:05:18of each state identified by your model
  1241. 1:05:21for each state we have mean the average
  1242. 1:05:24values of the feature in this state
  1243. 1:05:28covariance how the features relate to
  1244. 1:05:30each other in this
  1245. 1:05:32state the features appear to be in this
  1246. 1:05:34order returns volatility and volume
  1247. 1:05:36change state zero mean
  1248. 1:05:40okay slightly positive returns below
  1249. 1:05:44average volatility in state zero and
  1250. 1:05:47slightly decreased
  1251. 1:05:51volume covariance shows low correlation
  1252. 1:05:55between features interpretation this
  1253. 1:05:58could be a calm or sideways Market State
  1254. 1:06:01returns are small but positive
  1255. 1:06:03volatility is low and volume is slightly
  1256. 1:06:07decreasing State
  1257. 1:06:12one the
  1258. 1:06:15mean slightly negative
  1259. 1:06:18returns above average
  1260. 1:06:21volatility increased volume
  1261. 1:06:27covariance shows stronger
  1262. 1:06:36correlations especially between
  1263. 1:06:38volatility and
  1264. 1:06:39volume interpretation this might
  1265. 1:06:41represent a volatile or uncertain Market
  1266. 1:06:44State returns are slightly negative but
  1267. 1:06:46volatility and volume are both up
  1268. 1:06:50significantly state two strongly
  1269. 1:06:53negative returns
  1270. 1:06:56decrease
  1271. 1:07:00VA extremely high volume increase
  1272. 1:07:03covariance all values are
  1273. 1:07:0701 which is unusual and might indicate a
  1274. 1:07:11computational artifact or a very rare
  1275. 1:07:14State interpretation this could
  1276. 1:07:16represent an extreme event or Market
  1277. 1:07:19shock returns are very negative
  1278. 1:07:22volatility surprisingly drops and
  1279. 1:07:24there's an enormous spike in
  1280. 1:07:26volume trading strategy implementations
  1281. 1:07:29implementations
  1282. 1:07:31implementations in state zero use
  1283. 1:07:33Conservative Strategies look for small
  1284. 1:07:35quick profits be prepared for potential
  1285. 1:07:38transitions to more volatile States in
  1286. 1:07:41state one Implement risk management
  1287. 1:07:43strategies due to high volatility look
  1288. 1:07:46for short-term trading opportunities in
  1289. 1:07:48both directions monitor for potential
  1290. 1:07:51Trend
  1291. 1:07:52formations in state to be extremely
  1292. 1:07:55cautious
  1293. 1:07:56this state might represent rare extreme
  1294. 1:07:59events like Market
  1295. 1:08:01crashes or major news
  1296. 1:08:05events consider implementing stop losses
  1297. 1:08:08or hedging strategies be prepared for
  1298. 1:08:12quick reversals okay I want to see that
  1299. 1:08:16though where it how can I see where they
  1300. 1:08:19because I can't see it on the chart
  1301. 1:08:21maybe we can maybe we just need to make
  1302. 1:08:22it bigger let's make it bigger can you
  1303. 1:08:24see this chart
  1304. 1:08:27can you see
  1305. 1:08:28it I hope you
  1306. 1:08:30can I don't see any green up in
  1307. 1:08:35here I see no
  1308. 1:08:38green all right green green green green
  1309. 1:08:43Green where you at Green I don't see any
  1310. 1:08:45green maybe I'm color
  1311. 1:08:47blind maybe I'm color blind but that's
  1312. 1:08:50okay so where do we go from here I feel
  1313. 1:08:53like these states need to be chopped up
  1314. 1:08:54a little better
  1315. 1:08:56so um below attached is my code attached
  1316. 1:09:01is is my code I know that
  1317. 1:09:06um Jim
  1318. 1:09:09Simons said there were like eight plus
  1319. 1:09:16regimes should it we have a
  1320. 1:09:21regime uh state
  1321. 1:09:25for at
  1322. 1:09:27least six
  1323. 1:09:31then I can think of a
  1324. 1:09:35few please add them in and walk me
  1325. 1:09:40through the changes okay so let's say
  1326. 1:09:45bullish
  1327. 1:09:48trending bearish
  1328. 1:09:52trending uh sideways
  1329. 1:09:57consolidation
  1330. 1:09:59upward
  1331. 1:10:01consolidation
  1332. 1:10:03idation
  1333. 1:10:06downward
  1334. 1:10:08consolidation
  1335. 1:10:11uh
  1336. 1:10:14consolidation uh
  1337. 1:10:17downward
  1338. 1:10:20capitulation and
  1339. 1:10:24upward
  1340. 1:10:27capitulation
  1341. 1:10:29right you got more dude 1 2 3 4 5
  1342. 1:10:3467 so you got bullish trending there's
  1343. 1:10:36not that many things in in the market
  1344. 1:10:39right I don't know I don't know dude I
  1345. 1:10:42don't know anything I'm just here I'm
  1346. 1:10:44just here with you my dude me and you
  1347. 1:10:47every day around this time or another
  1348. 1:10:50time I don't know just when you see me
  1349. 1:10:52dude come on get up on here all right
  1350. 1:10:57so there you got like
  1351. 1:11:01bullish you got
  1352. 1:11:05bearish uh you got like sideways upward
  1353. 1:11:09consolidation but then in in here it's
  1354. 1:11:11like downward but then there's a
  1355. 1:11:12capitulation downward there's a
  1356. 1:11:15capitulation
  1357. 1:11:17upward I guess I need to describe these
  1358. 1:11:20areas yeah yeah let's do that okay I'll
  1359. 1:11:23describe it to
  1360. 1:11:25I'm not going to describe it um can use
  1361. 1:11:28volume I wish I had the
  1362. 1:11:30[Music]
  1363. 1:11:32uh I do
  1364. 1:11:35dude I was going to say I wish I had the
  1365. 1:11:37liquidation data but I
  1366. 1:11:48do let's just see what it does first I'm
  1367. 1:11:51just curious I'm going to put that on
  1368. 1:11:53the Note sheet though put Liquidations
  1369. 1:11:56in
  1370. 1:11:57there these could be good to help
  1371. 1:12:02identify points of
  1372. 1:12:06capitulation
  1373. 1:12:07upward or down okay because I got
  1374. 1:12:12volume um I could also put things like
  1375. 1:12:15open
  1376. 1:12:18interest inter
  1377. 1:12:21interest funding rates okay now we going
  1378. 1:12:25now we got the wheels turning
  1379. 1:12:35B open interest what
  1380. 1:12:38else okay that's good for now
  1381. 1:12:43um here's my
  1382. 1:12:47code 144 lines look at us look at us
  1383. 1:12:51go there it is
  1384. 1:12:55all right let's uh let's let it
  1385. 1:12:59run I'm gonna make
  1386. 1:13:05a this is the end though I'll see you
  1387. 1:13:07some other time this is long enough we
  1388. 1:13:10I've shown you enough we are diving into
  1389. 1:13:12unsupervised machine learning for
  1390. 1:13:14trading does machine learning work for
  1391. 1:13:17trading can you predict
  1392. 1:13:19price well I'm sorry to not bury the
  1393. 1:13:22lead but no you can't predict price
  1394. 1:13:25maybe maybe if you got some hidden model
  1395. 1:13:27but the way I look at it from testing
  1396. 1:13:30this stuff is if we're all using similar
  1397. 1:13:33models they're all available with Claud
  1398. 1:13:36or gbt or whatever if we're all using
  1399. 1:13:39the same models to predict price well
  1400. 1:13:42that price will be predicted then by you
  1401. 1:13:46you that dude over there your grandma me
  1402. 1:13:51and then that price will not be the
  1403. 1:13:52price anymore because it's already been
  1404. 1:13:54predicted by thousand thousands of
  1405. 1:13:56people so thousands of people run these
  1406. 1:13:58models I don't know how many models
  1407. 1:14:00there are 20 30 50 100 whatever like we
  1408. 1:14:04tested them all right
  1409. 1:14:07collectively predicting price the next
  1410. 1:14:09price I don't know if that's the way
  1411. 1:14:11maybe though maybe if you build some
  1412. 1:14:13unique model I don't know I'm kind of
  1413. 1:14:16thinking thinking thinking this through
  1414. 1:14:17with you as always because that's what I
  1415. 1:14:19do here I just show you everything I'm
  1416. 1:14:21doing
  1417. 1:14:22live and
  1418. 1:14:25what this has led me to is well what was
  1419. 1:14:27Jim Simons using well Jim Simons he was
  1420. 1:14:29using hidden Markoff models okay so
  1421. 1:14:31let's build a hidden Markoff model and
  1422. 1:14:33then let's watch everything about Jim
  1423. 1:14:35Simons okay that's what we did that's
  1424. 1:14:36what we've done that's what we're doing
  1425. 1:14:38I've got a bunch of notes here and a
  1426. 1:14:40bunch of ideas and we
  1427. 1:14:43have a couple models here and you can
  1428. 1:14:46see we even tested some out of sample
  1429. 1:14:50data so we have multiple models here I
  1430. 1:14:53think this was the template model so so
  1431. 1:14:55this was the first hmm with just putting
  1432. 1:14:59in the returns volatility and volume
  1433. 1:15:00change okay and then the next one we put
  1434. 1:15:03in as the features we put in these
  1435. 1:15:06features here so we added some more
  1436. 1:15:09returns volatility volume change BB
  1437. 1:15:11width RSI and ema2 okay and then this
  1438. 1:15:14one we tried some other things you can
  1439. 1:15:17see the states we're trying to predict
  1440. 1:15:19we're trying to predict seven different
  1441. 1:15:20states but the thing with hidden Markoff
  1442. 1:15:22models so far and excuse me if I or any
  1443. 1:15:25of this I'm not I'm not like a gilfoil
  1444. 1:15:27type senior engineer here I'm a womb
  1445. 1:15:29engineer I'm still in the womb
  1446. 1:15:32so bear with me gil foil but the thing
  1447. 1:15:35about hmm is it doesn't actually know
  1448. 1:15:38what the state names are so we actually
  1449. 1:15:39have to rename them after it finds the
  1450. 1:15:41states it finds different states
  1451. 1:15:43different regimes and that's kind of
  1452. 1:15:45what Jim Simons was doing supposedly but
  1453. 1:15:47do you think he'd actually tell us what
  1454. 1:15:48he's doing no way but maybe we could put
  1455. 1:15:51the pieces together that's my my
  1456. 1:15:52hypothesis here we we are just passing
  1457. 1:15:54in returns volatility and volume change
  1458. 1:15:57top three Indies these were the top
  1459. 1:15:59three ones volume change is taking up
  1460. 1:16:01most of it though and how can we know
  1461. 1:16:02that well when we run this we can see
  1462. 1:16:05that it's mostly getting weighted to the
  1463. 1:16:07volume change I'll show you some cool
  1464. 1:16:08things here first let's show the plot
  1465. 1:16:11it's making so it's fitting the model
  1466. 1:16:13this might take a
  1467. 1:16:18second take a little bit of time it's
  1468. 1:16:20doing its little AI thing machine
  1469. 1:16:22learning
  1470. 1:16:23thing it's it's fitting the
  1471. 1:16:26model boom all right saving plot perfect
  1472. 1:16:29perfect and it also plotted the plot so
  1473. 1:16:31you can see these are the different
  1474. 1:16:33regimes here it colored them but the
  1475. 1:16:35thing is it doesn't know the names of
  1476. 1:16:37these regimes so in reality we got to go
  1477. 1:16:39back and we got to set up these regimes
  1478. 1:16:46ourselves I'm sorry
  1479. 1:16:49baby I've got a dog here that constantly
  1480. 1:16:52stands right under my foot so I almost
  1481. 1:16:54just killed K her that was very very
  1482. 1:16:56scary you okay baby
  1483. 1:16:58girl I didn't put my full weight on her
  1484. 1:17:01thank God that I know she does that
  1485. 1:17:04because she likes to I I stand on one
  1486. 1:17:06foot a lot of the times while I'm coding
  1487. 1:17:08and then she'll go right under my my
  1488. 1:17:10other foot that I come down on and I'm a
  1489. 1:17:12big boy you know that's a big that's a
  1490. 1:17:15lot of way for a little dog
  1491. 1:17:17so I almost had a heart attack right
  1492. 1:17:20there I'm sorry for the for the side
  1493. 1:17:22show but this is life and I'm sure you
  1494. 1:17:25got kids or dogs and things like that
  1495. 1:17:28but anyways here you can see the seven
  1496. 1:17:31different regimes we have bullish
  1497. 1:17:32bearish sideways but like I said it
  1498. 1:17:34doesn't know the regimes it just cuts up
  1499. 1:17:36the data this is Bitcoin data here for a
  1500. 1:17:39few years and now you can see this
  1501. 1:17:42outputs
  1502. 1:17:44the the analysis the analysis has been
  1503. 1:17:48completed not fully though you can see
  1504. 1:17:50the state prediction is 89%
  1505. 1:17:55but we already know all this I'm just
  1506. 1:17:56doing a little review because again this
  1507. 1:17:58is fairly new to me as well and every
  1508. 1:18:00day I just go live and show you what I'm
  1509. 1:18:02working
  1510. 1:18:07on so it's still doing some other things
  1511. 1:18:10here and I can show you the final
  1512. 1:18:12results we have thus far if I go to the
  1513. 1:18:15read me I've been tracking them
  1514. 1:18:19here so down here
  1515. 1:18:23we you can see this hmm the seven
  1516. 1:18:28states it's our first attempt and it had
  1517. 1:18:3287% State prediction accuracy the log
  1518. 1:18:35likelihood was negative 15,000 you can
  1519. 1:18:37see this one is done now and this one is
  1520. 1:18:41uh you can see what I was trying to show
  1521. 1:18:42you is volume change is taking up all of
  1522. 1:18:44the importance can you explain this so
  1523. 1:18:47I'm I'm using H&M mm hmm with three
  1524. 1:18:51different
  1525. 1:18:52features and it converges to volume
  1526. 1:18:55change being the most important
  1527. 1:18:57feature I'm using an hmm and this is the
  1528. 1:19:03output can you explain can you
  1529. 1:19:07explain what the
  1530. 1:19:10importance means in my mind this means
  1531. 1:19:13that this is the most important feature
  1532. 1:19:14it's pretty self-explanatory but I just
  1533. 1:19:16want to make sure that I'm correct the
  1534. 1:19:19feature importance analysis you provided
  1535. 1:19:21shows the relative importance of
  1536. 1:19:23different features in your hidden Market
  1537. 1:19:24off model let me break down what these
  1538. 1:19:27numbers
  1539. 1:19:28mean volume change 94.5
  1540. 1:19:321% Bullinger band width
  1541. 1:19:372.72% volatility
  1542. 1:19:412.77% these numbers represent the
  1543. 1:19:44estimated contribution of each feature
  1544. 1:19:47to the model's prediction or performance
  1545. 1:19:50the value sum up to 100% indicating the
  1546. 1:19:53relative importance of each feature in
  1547. 1:19:56your case volume change is by far the
  1548. 1:19:58most important feature accounting for
  1549. 1:20:0194.5% you can see that here it's 0945 so
  1550. 1:20:04we just got to do a little
  1551. 1:20:06math not really but of the model's
  1552. 1:20:09predictive power this suggests that
  1553. 1:20:11changes in trading volume are the
  1554. 1:20:14primary driver of the patterns or States
  1555. 1:20:17your hmm is
  1556. 1:20:19detecting volatility and BB width which
  1557. 1:20:22I assume stands for Binger band wi have
  1558. 1:20:26much lower importance this analysis
  1559. 1:20:28suggests that hmm is relying heavily on
  1560. 1:20:30the volume changes to make its
  1561. 1:20:32predictions or determine State
  1562. 1:20:35transitions while other two features
  1563. 1:20:37play a much smaller role it is important
  1564. 1:20:39to note that feature importance doesn't
  1565. 1:20:41necessarily indicate
  1566. 1:20:44casuality cause causality sorry but
  1567. 1:20:48rather how much the model relies on each
  1568. 1:20:51feature for its predictions High
  1569. 1:20:53importance could mean mean the feature
  1570. 1:20:55is truly more relevant to the problem or
  1571. 1:20:58it could indicate that the feature is
  1572. 1:21:00easier for the model to use in
  1573. 1:21:15predictions so what I want to do here is
  1574. 1:21:17I want to look at some of our
  1575. 1:21:19notes and these notes are going to show
  1576. 1:21:22us the differences and one of the tests
  1577. 1:21:25I did was
  1578. 1:21:27since you can see here uh where is it I
  1579. 1:21:30think it's one of my last
  1580. 1:21:32ones I said no volume since volume
  1581. 1:21:36continuously took up 90 some per 94%
  1582. 1:21:40here of the importance 93% of the
  1583. 1:21:44importance here and 97% here I took it
  1584. 1:21:48out I took it out because I wanted to
  1585. 1:21:50see something a little more a little
  1586. 1:21:52more
  1587. 1:21:55what do you call it balanced yeah a
  1588. 1:21:57little more balanced so I took it out
  1589. 1:21:59here and you can see this made it way
  1590. 1:22:01more
  1591. 1:22:04balanced and you can see it actually
  1592. 1:22:06increased to 95% here so it was before
  1593. 1:22:1189% the state prediction accuracy and
  1594. 1:22:14that prediction accuracy is how accurate
  1595. 1:22:17is it changing states in predicting
  1596. 1:22:20changing states so when the CH colors
  1597. 1:22:22change how accurate is it in and uh
  1598. 1:22:26deciding predicting the
  1599. 1:22:31change and again I'm not the best in the
  1600. 1:22:33world at this stuff guys so you know
  1601. 1:22:35bear with me I'm kind of showing you as
  1602. 1:22:37I learn as always that's what this whole
  1603. 1:22:39channel is so every single day I just go
  1604. 1:22:41live and I try the hardest things and
  1605. 1:22:44try to understand it uh I was so scared
  1606. 1:22:46to learn how to code when I got started
  1607. 1:22:47dude I I waited 15 years I was in t
  1608. 1:22:50typing on this computer fully in Tech
  1609. 1:22:53without knowing how to code for so long
  1610. 1:22:55dude just cuz it's scary but I now I'm
  1611. 1:22:57at the point of life where I need scary
  1612. 1:22:59things I need hard things so I just go
  1613. 1:23:01after them viciously every single day
  1614. 1:23:02here live so then the the common thing
  1615. 1:23:07was or the obvious thing to do was Let's
  1616. 1:23:09test all of these models I think there's
  1617. 1:23:11five different models on out of sample
  1618. 1:23:15data data that the model has never seen
  1619. 1:23:17before and you can see here are the
  1620. 1:23:19results
  1621. 1:23:30state zero so these are the two best
  1622. 1:23:34ones I have so far one has volume change
  1623. 1:23:39one
  1624. 1:23:40doesn't and these are the
  1625. 1:23:43results says model one has log
  1626. 1:23:46likelihood of
  1627. 1:23:47negative 65 6956 and this one has
  1628. 1:23:533890 so I've got these two models
  1629. 1:23:57explain these
  1630. 1:23:58datas I've got uh I tested I tested two
  1631. 1:24:02different uh hmm
  1632. 1:24:06models and the code uh on out of sample
  1633. 1:24:10data models on
  1634. 1:24:12oos and the code is attached below are
  1635. 1:24:18the results and the
  1636. 1:24:22plot please watch walk me through
  1637. 1:24:25them so I understand okay let's put the
  1638. 1:24:29code the code in there as well copy okay
  1639. 1:24:34and here's the
  1640. 1:24:38code okay and then also I want to put
  1641. 1:24:40this screenshot in there and do you
  1642. 1:24:42think I saved it
  1643. 1:24:43here
  1644. 1:24:45no I did
  1645. 1:24:48not I just want it to to have
  1646. 1:24:51everything everything I got and I know I
  1647. 1:24:54already reviewed this actually yesterday
  1648. 1:24:56but dude this is the only way I can
  1649. 1:24:58learn is with
  1650. 1:24:59repetition 500 shots a day baby 500
  1651. 1:25:02shots a day I've been doing that since I
  1652. 1:25:04was a kid come on you think I'm not just
  1653. 1:25:06going to do the same thing over and over
  1654. 1:25:08again till I learn it of course I am
  1655. 1:25:10worked for me in the past it's going to
  1656. 1:25:12work for me in the future repetition is
  1657. 1:25:14key just keep attacking every single day
  1658. 1:25:17four hours a day 4 hours a day if you're
  1659. 1:25:20not doing 4 hours a day then don't talk
  1660. 1:25:21to me don't ask me me questions because
  1661. 1:25:26all your questions can be answered in
  1662. 1:25:28four hours a day we got AI my guy don't
  1663. 1:25:30tag me don't DM me nothing if you're not
  1664. 1:25:33putting four hours a day of focused work
  1665. 1:25:36at this goal to automate your trading
  1666. 1:25:39don't hit me about nothing about
  1667. 1:25:41automated trading nothing I'm sorry dog
  1668. 1:25:45we're competitors at the end of the day
  1669. 1:25:47but I'm showing you every single thing
  1670. 1:25:48cuz I believe code is a great equalizer
  1671. 1:25:50for me it is at
  1672. 1:25:52least can't stop me now dog I know how
  1673. 1:25:55to code I can build anything you can
  1674. 1:25:56build anything we got AI my
  1675. 1:25:59guy thank you for providing the code and
  1676. 1:26:01results I'll walk you through the key
  1677. 1:26:03aspects of your hidden Markoff model
  1678. 1:26:06analysis let's get these up model
  1679. 1:26:09comparison you've tested two hmm on out
  1680. 1:26:12of sample data model one uses Binger
  1681. 1:26:15bands volatility and RSI as features
  1682. 1:26:18model 2 uses volume change Binger band
  1683. 1:26:21width and volatility as features
  1684. 1:26:26so the log likelihood
  1685. 1:26:27scores did I write this down in the out
  1686. 1:26:31of sample data no I didn't
  1687. 1:26:34unfortunately that's okay we'll write it
  1688. 1:26:36down right
  1689. 1:26:40now so model 1 has - 6956 model 2 has
  1690. 1:26:453890 the log likelihood is a measure of
  1691. 1:26:48how well the model fits the data higher
  1692. 1:26:50values indicate better fit
  1693. 1:26:58model 2 has a significantly higher log
  1694. 1:27:01likelihood suggesting it fits out of
  1695. 1:27:03sample data much better than model one
  1696. 1:27:06visualization the plot shows three
  1697. 1:27:09panels top panel bitcoin price over time
  1698. 1:27:12this gives context on the market
  1699. 1:27:14conditions during the out of sample
  1700. 1:27:22period middle panel shows the I need to
  1701. 1:27:25get this up if we're going to I need to
  1702. 1:27:27get the
  1703. 1:27:29um what they're talking about up or else
  1704. 1:27:32we can't understand it can't understand
  1705. 1:27:35anything you can't see even if it's in
  1706. 1:27:36your mind B you can see it in your mind
  1707. 1:27:39your mind doesn't know what's real or
  1708. 1:27:41not because your mind is
  1709. 1:27:44real so if you can see something in your
  1710. 1:27:46mind you can have it I believe I can
  1711. 1:27:50fly I believe I Could Touch the Sky
  1712. 1:27:55I think about it every night and
  1713. 1:27:59day spread my wings and fly
  1714. 1:28:03away I believe I
  1715. 1:28:06[Music]
  1716. 1:28:07can I see me running through that open
  1717. 1:28:13door I Believe I Can
  1718. 1:28:17Fly
  1719. 1:28:19D you got to believe it before you do it
  1720. 1:28:21D the log likelihood okay here we go um
  1721. 1:28:27top panel is the Bitcoin price over time
  1722. 1:28:29just so we can see it this is the out of
  1723. 1:28:31sample data here middle panel model one
  1724. 1:28:35States shows how model one classifies
  1725. 1:28:38different time periods into seven
  1726. 1:28:40distinct States 01 through
  1727. 1:28:44six each color represents a different
  1728. 1:28:46state
  1729. 1:28:54bottom panel model two State
  1730. 1:28:57similarly shows State classification for
  1731. 1:28:59model two this is interesting so while
  1732. 1:29:02the price is here you can see how the
  1733. 1:29:04state changes it's kind of hard to see
  1734. 1:29:07to be real
  1735. 1:29:08but State transition both models show
  1736. 1:29:11frequent State transitions indicated by
  1737. 1:29:14the changing colors in the lower two
  1738. 1:29:17panels model 2 appears to have more
  1739. 1:29:20distinct and longer lasting State
  1740. 1:29:22periods which might suggest it's
  1741. 1:29:24capturing more persistent Market
  1742. 1:29:27regimes feature importance given that
  1743. 1:29:30model 2 performs significantly better it
  1744. 1:29:33suggests that volume change which is in
  1745. 1:29:37model 2 but not in model
  1746. 1:29:43one is a crucial feature for predicting
  1747. 1:29:46bitcoin price
  1748. 1:29:48States this aligns with the importance
  1749. 1:29:51feature analysis you shared earlier
  1750. 1:29:54where volume change had the highest
  1751. 1:29:55importance model stability model 2 seems
  1752. 1:29:58to produce more stable State assignments
  1753. 1:30:02longer periods of consistent
  1754. 1:30:05colors implications implications the
  1755. 1:30:08superior performance of model 2 suggests
  1756. 1:30:11what volume changes are more
  1757. 1:30:14import informative for predicting
  1758. 1:30:16bitcoin price than
  1759. 1:30:21RSI the frequent State changes in both
  1760. 1:30:25models reflect the volatile nature of
  1761. 1:30:27cryptocurrency
  1762. 1:30:30Market to further understand the models
  1763. 1:30:33you might want to analyze the
  1764. 1:30:34characteristics of each
  1765. 1:30:38state interpret look at transition
  1766. 1:30:40probabilities between states consider
  1767. 1:30:43how you might use these State
  1768. 1:30:45predictions in trading so
  1769. 1:31:02analyze the characteristics of each
  1770. 1:31:03state okay how can I make this how can I
  1771. 1:31:06make this more
  1772. 1:31:09robust and test
  1773. 1:31:13more
  1774. 1:31:15features I was
  1775. 1:31:18thinking I can add in more indicators I
  1776. 1:31:23have un
  1777. 1:31:24limited from pandas
  1778. 1:31:27ta um and ta
  1779. 1:31:31Li I was also
  1780. 1:31:35thinking about trying just four
  1781. 1:31:41states and what were those four states
  1782. 1:31:43somebody shouted it out the other day so
  1783. 1:31:45much love to
  1784. 1:31:46them and those four states he said that
  1785. 1:31:49Jim Simons looked at
  1786. 1:31:57we those four states dude let's go look
  1787. 1:31:59at our notes Here notes are quite
  1788. 1:32:16dope four volatility regimes
  1789. 1:32:32this was the
  1790. 1:32:34comment on four
  1791. 1:32:40states okay let's just let's kind of IDE
  1792. 1:32:44ideate
  1793. 1:32:48ideate yo 777 Smokey what up bro what
  1794. 1:32:52does each state mean the different
  1795. 1:32:53regimes
  1796. 1:32:54uh you were flying bro I saw it
  1797. 1:32:57happen
  1798. 1:32:59uh puppy is
  1799. 1:33:02Gucci Gucci Gucci bless you thank you
  1800. 1:33:04thank you thank you apple apple apple
  1801. 1:33:08little apple little
  1802. 1:33:14mananita okay your ideas for improving
  1803. 1:33:16the robustness of your hmm model are
  1804. 1:33:19excellent let's explore how excellent
  1805. 1:33:21you gave me excellent hey shorty you
  1806. 1:33:23ain't never said hey I'm excellent dog I
  1807. 1:33:25don't I don't care I'm not I'm new to
  1808. 1:33:28this game dog and I already got
  1809. 1:33:29Excellence from a a AI my guy is this
  1810. 1:33:33excellent is this am I excellent dog I
  1811. 1:33:36did not know that that is the biggest
  1812. 1:33:38compliment I could ever get from CLA I
  1813. 1:33:40think I'm on CLA forever yo they
  1814. 1:33:42probably coated that in they're like yo
  1815. 1:33:44juice them up juice them up hey hey hey
  1816. 1:33:47if moev ever gets on claw juice him up
  1817. 1:33:49say he's excellent all the
  1818. 1:33:51time that's crazy excellent I never
  1819. 1:33:54heard any AI tell me excellent okay
  1820. 1:33:57let's explore how you can enhance your
  1821. 1:34:00approach excellent GE your boy ain't
  1822. 1:34:03excellent I'll tell you that much we did
  1823. 1:34:05the math the other day I've been at this
  1824. 1:34:07for three and a half years 3.5 * 365
  1825. 1:34:11days time. 85 because I took some time
  1826. 1:34:14off 1,000 hours Time 4 hours I'm only at
  1827. 1:34:184,343 hours I ain't excellent bro you
  1828. 1:34:21know who excellent is Jim Simon's
  1829. 1:34:23excellent rest in peace my
  1830. 1:34:31guy let's explore how you can enhance
  1831. 1:34:34your
  1832. 1:34:35approach testing more features
  1833. 1:34:37leveraging panas ta and ta lib gives you
  1834. 1:34:39access to a wide range of technical
  1835. 1:34:41indicators here's how you could approach
  1836. 1:34:43this add more indicators Trend
  1837. 1:34:44indicators moving averages SMA EMA magd
  1838. 1:34:47P parabolic star momentum indicators
  1839. 1:34:50stochastic oscillator CCI volume
  1840. 1:34:53indicators on
  1841. 1:34:55balance cool cool ATR nice keler
  1842. 1:34:58channels nice feature selection after
  1843. 1:35:00adding more indicators you might want to
  1844. 1:35:02use feature selection techniques to
  1845. 1:35:04identify the most informative ones
  1846. 1:35:06consider using methods like correlation
  1847. 1:35:10analysis
  1848. 1:35:11PCA random Force
  1849. 1:35:21importance try and force state Jim
  1850. 1:35:24Simon's insight about four volatility
  1851. 1:35:26regimes is valuable here's how you can
  1852. 1:35:28implement this modify your hidden hmm
  1853. 1:35:31initialization to have four components
  1854. 1:35:33instead interpret the four states you
  1855. 1:35:36could potentially interpret these four
  1856. 1:35:37states as low volatility Rising
  1857. 1:35:39volatility High volatility yo that's F
  1858. 1:35:41four that's four making the model more
  1859. 1:35:43robust cross validation instead of
  1860. 1:35:46single train test split use time
  1861. 1:35:50series cross validation to ensure your
  1862. 1:35:52model performs well
  1863. 1:35:54across different time periods Ensemble
  1864. 1:35:57methods consider creating an ensemble of
  1865. 1:36:00hmm with different feature sets or
  1866. 1:36:06parameters regularization if overfitting
  1867. 1:36:09is a concern you can add regularization
  1868. 1:36:12while hmm doesn't directly support this
  1869. 1:36:16you can implement it by adding a small
  1870. 1:36:18constant sensitivity analysis test how
  1871. 1:36:21sensitive your model is to changes in
  1872. 1:36:23the input features or parameters this
  1873. 1:36:25can help you understand which aspects of
  1874. 1:36:27your model are most crucial back testing
  1875. 1:36:29Implement a back testing framework to
  1876. 1:36:31evaluate how well your hmm States
  1877. 1:36:34predicted predict future price movements
  1878. 1:36:36or
  1879. 1:36:38volatility okay so these are pretty good
  1880. 1:36:40ideas
  1881. 1:36:46honestly I'm only saying that because
  1882. 1:36:48she hyped me up though you know it oh
  1883. 1:36:51yeah you got some pretty good ideas is
  1884. 1:36:53gbt or
  1885. 1:36:59Claudia but in real you know is just cuz
  1886. 1:37:02she hyped me up and you know I'm a
  1887. 1:37:04lifetime I'm a lifetime now I'm a
  1888. 1:37:07lifetime now to do next next things I
  1889. 1:37:12can do to improve
  1890. 1:37:16hmm dope dope
  1891. 1:37:19dope okay so get him out of here get
  1892. 1:37:22that BTC little boy out of here 150
  1893. 1:37:26racks 150 racks I hope that's not you
  1894. 1:37:29dude I hope you're here instead tap in
  1895. 1:37:33777 Claud B
  1896. 1:37:35glazing yo that's fire
  1897. 1:37:38B I don't even I've never heard that in
  1898. 1:37:40my life but she do be glazing be CLA be
  1899. 1:37:46glazing y'all keep me hip I'll tell you
  1900. 1:37:49that much y'all keep me hip CLA be glaz
  1901. 1:37:53in be I'm about to start saying that all
  1902. 1:37:56the
  1903. 1:37:57time she be glazing be I be glazing
  1904. 1:38:02too let's just double check make sure
  1905. 1:38:04that's not something bad Urban de
  1906. 1:38:08dictionary glazing the act of f
  1907. 1:38:13no when you are meat riding someone
  1908. 1:38:19oh I don't be doing that I don't be
  1909. 1:38:22doing that I be doing tomor so it's me
  1910. 1:38:25kby glazy okay okay okay see this is old
  1911. 1:38:29man old man trying to be hip over here
  1912. 1:38:32he trying to be hip saying the word hip
  1913. 1:38:34ain't hip dog she be glazing that's good
  1914. 1:38:37I need to be
  1915. 1:38:38glazing all the time that's how she
  1916. 1:38:41going to keep my subscription she better
  1917. 1:38:43keep glazing this
  1918. 1:38:46she hey what year were you born dog
  1919. 1:38:49that's crazy that's crazy I love it I
  1920. 1:38:52love I love how Lang language
  1921. 1:38:54changes I love it I love how slang
  1922. 1:38:57changes and I feel like we're going
  1923. 1:38:59through a pretty big shift right
  1924. 1:39:02here for us old heads yo Brian says
  1925. 1:39:06hello sir I wanted to ask the mentorship
  1926. 1:39:10I can use code build trading Bots like
  1927. 1:39:13Jim Simons you got to you got to build
  1928. 1:39:14it yourself for sure but um the boot
  1929. 1:39:17camp I think is what you're asking about
  1930. 1:39:20the boot camp will help you I've been
  1931. 1:39:22doing this for how many hours did we
  1932. 1:39:23just say I've been doing this for 4,300
  1933. 1:39:26hours so I have a boot camp that I try
  1934. 1:39:28to just share the things that I know
  1935. 1:39:32most and the things that work for me and
  1936. 1:39:35the pieces to the puzzle but at the end
  1937. 1:39:37of the day everybody's puzzle is going
  1938. 1:39:39to be different Jim Simon's puzzle is
  1939. 1:39:41going to be much different than my
  1940. 1:39:43puzzle my puzzle is going to be much
  1941. 1:39:44different than Brian's puzzle Jane's
  1942. 1:39:47puzzle is going to be different than
  1943. 1:39:49Brian's puzzle so it all comes down to
  1944. 1:39:52your unique Ed your strategy your
  1945. 1:39:54approach to the markets but I can show
  1946. 1:39:56you everything in between step by step
  1947. 1:39:59how to automate your trading how to test
  1948. 1:40:01if it worked in the
  1949. 1:40:02past gives you a better hope that it's
  1950. 1:40:05going to work in the future but it's not
  1951. 1:40:08guaranteed and uh yeah everything's in
  1952. 1:40:10the boot camp 69 bucks stupid cheap high
  1953. 1:40:15vow you can read what others have to say
  1954. 1:40:18that's
  1955. 1:40:21it landlord says are we continuous in
  1956. 1:40:23the hmm from yesterday
  1957. 1:40:26yeah yeah dog yeah
  1958. 1:40:39we send me back send me a simple
  1959. 1:40:50script that will print out all of the
  1960. 1:40:56indicators for
  1961. 1:40:59pandas ta and ta
  1962. 1:41:05live yo Brian says saw you your channel
  1963. 1:41:10and you're a King sir I appreciate you
  1964. 1:41:11dog that is so much love much love to
  1965. 1:41:13you dude glad you're here I'm so so
  1966. 1:41:16happy you're here let's say uh all
  1967. 1:41:20indicators
  1968. 1:41:21all sh
  1969. 1:41:23no all
  1970. 1:41:26indicators
  1971. 1:41:28please AI my guy ai
  1972. 1:41:33ai dude this is over it's over for me
  1973. 1:41:36and you all of the indicators yo all of
  1974. 1:41:40the indicators you see that dude you
  1975. 1:41:42want that script come with me dog
  1976. 1:41:45I'll show it every day dog I'll show you
  1977. 1:41:49everything
  1978. 1:41:51everything output them to a
  1979. 1:41:54output to a txt in my data folder yo I
  1980. 1:41:59don't care who you are dog I don't care
  1981. 1:42:01if you've been coding for 30 years dog
  1982. 1:42:03I'm coming at your neck every single day
  1983. 1:42:06I got the power now we got the AI my gu
  1984. 1:42:10stop
  1985. 1:42:11it stop it do you see this it's just one
  1986. 1:42:15idea and boom I get every single
  1987. 1:42:18indicator just like that I don't need
  1988. 1:42:20some long tutorial I don't need a c
  1989. 1:42:22stack overflow I don't need to go to
  1990. 1:42:24school for 82 years like you did dude
  1991. 1:42:27we're not the same I go harder than you
  1992. 1:42:29you can't keep up I'm
  1993. 1:42:32sorry yo print them out too
  1994. 1:42:35cousin whatever that's
  1995. 1:42:39cool so these are all the indicators
  1996. 1:42:46here for ta lib pandas ta
  1997. 1:42:50indicators so we have
  1998. 1:42:54all these I'm going to use adx yeah
  1999. 1:42:57let's do that let's do that so I'm going
  2000. 1:42:58open this to the side
  2001. 1:43:00here split right show all indicators
  2002. 1:43:27sorry burped in your ear my bad that was
  2003. 1:43:29super in
  2004. 1:43:37poite yo Mev you need to start using
  2005. 1:43:40multi-processing and multi-threading
  2006. 1:43:43why it's good comment
  2007. 1:43:47though it's good comment but why
  2008. 1:43:51do especially when accessing large sets
  2009. 1:43:54of
  2010. 1:43:56data okay okay I seen somebody play with
  2011. 1:43:59that the other day up in the
  2012. 1:44:02Discord just so I can test faster back
  2013. 1:44:05test faster multiple times
  2014. 1:44:08multiple multiple processors I
  2015. 1:44:12guess I like the idea I appreciate the
  2016. 1:44:15share much love to you for that you can
  2017. 1:44:17use Python and
  2018. 1:44:22C++
  2019. 1:44:52e for
  2020. 1:45:28all right so I'm going to go ahead and
  2021. 1:45:30start writing some of these ideas
  2022. 1:45:33now so test two test
  2023. 1:45:41three
  2024. 1:45:43Indies to
  2025. 1:45:45try so I want to try the adx because
  2026. 1:45:49homegirl talked about it a lot um one
  2027. 1:45:52from my first podcast I
  2028. 1:45:55did uh Mansion says I use multi
  2029. 1:45:59processing it's much faster to train the
  2030. 1:46:02model okay there we go that's a good why
  2031. 1:46:05that's a good why that's on
  2032. 1:46:07track use
  2033. 1:46:11multi-processing to train models and
  2034. 1:46:15also to back test faster appreciate you
  2035. 1:46:18guys this is like you see that right
  2036. 1:46:20there like it might have taken me two
  2037. 1:46:22years to get there and y'all just
  2038. 1:46:24dropped a dime like that you just Dro
  2039. 1:46:26you just dropped Mev a dime you threw
  2040. 1:46:28the alleyoop and I just dunked it I
  2041. 1:46:31haven't dunked it yet but I'll dunk it
  2042. 1:46:33soon landlord says he wishes he had a
  2043. 1:46:35supercomputer Connor says uh was using
  2044. 1:46:39my uni one for the last couple years and
  2045. 1:46:41I miss it dearly dang dude what's the
  2046. 1:46:43super computer looking
  2047. 1:46:48like Connor says plus one for the faster
  2048. 1:46:51training thank you landlord
  2049. 1:46:53thank
  2050. 1:46:55you appreciate all of your your
  2051. 1:46:57Brilliant Minds I don't know a lot I
  2052. 1:47:00don't know most honestly I only have
  2053. 1:47:034334 hours in this game so far and
  2054. 1:47:08um quantum computer dang I got the I got
  2055. 1:47:12the quantum MacBook no I'm just kidding
  2056. 1:47:15let's see what other indicators we want
  2057. 1:47:17to try I'm just going to use ones that
  2058. 1:47:20are um
  2059. 1:47:26I
  2060. 1:47:28guess I don't know that's the hard part
  2061. 1:47:31like which ones do you use
  2062. 1:47:34adx try that I just the ones that I
  2063. 1:47:38guess I know
  2064. 1:47:42ATR there's just so
  2065. 1:47:51many Don
  2066. 1:47:54Chan I'm just based off memory of tests
  2067. 1:47:57I've done in the past or ideas I've
  2068. 1:48:00heard I'm just going to use
  2069. 1:48:04those I
  2070. 1:48:08guess and if you got any ideas that you
  2071. 1:48:11see here holler at your boy just be like
  2072. 1:48:14yo Moon try that
  2073. 1:48:18one Lyn regression
  2074. 1:48:36macd yo how much like RAM and stuff does
  2075. 1:48:39a supercomputer have I'm just curious to
  2076. 1:48:41see like yeah how far off I am I know I
  2077. 1:48:44don't have anything near a supercomputer
  2078. 1:48:46but like what is yeah cores 2 I guess
  2079. 1:48:50again I'm not very I'm not very
  2080. 1:48:51technical I'm just kind of a new
  2081. 1:48:53but appreciate y'all yeah I want to Cur
  2082. 1:48:56I'm curious how far off I
  2083. 1:48:59am prom super computer status what is
  2084. 1:49:03out there and then can we use gcp Google
  2085. 1:49:06cloud or GC
  2086. 1:49:08whatever to get supercomputers is it
  2087. 1:49:11worth it I'm curious about all that
  2088. 1:49:14stuff but this is fun this is fun true
  2089. 1:49:21range I love this game game dog this is
  2090. 1:49:23just this is my element here feature
  2091. 1:49:25engineering this is where I'm at this is
  2092. 1:49:28this is my game right here come up with
  2093. 1:49:29ideas I love it I love it I love it ta
  2094. 1:49:43live they got all the math
  2095. 1:49:49here cosign seal
  2096. 1:50:00RSI Stoke Stoke RSI how about
  2097. 1:50:11that what's
  2098. 1:50:13Kama
  2099. 1:50:15Kamala Kamala
  2100. 1:50:25CDL CDL engulfing what are these I don't
  2101. 1:50:28even know what these are D CDL is chart
  2102. 1:50:31something doy
  2103. 1:50:35Hammer let's put it let's just try it I
  2104. 1:50:37don't know dude I'm just trying
  2105. 1:50:39everything dude this is the game right I
  2106. 1:50:42don't know we'll see see I mean we'll
  2107. 1:50:45see if it's better or
  2108. 1:50:47worse
  2109. 1:50:49ly standard DV T range ATR we got the
  2110. 1:50:54ATR in there already the
  2111. 1:50:57VAR the
  2112. 1:50:58obv you down with obv yeah you know me
  2113. 1:51:03candlesticks CDLs got it thank you bro
  2114. 1:51:08um so Connor says it was mainly the GPU
  2115. 1:51:11access training models was like day and
  2116. 1:51:13night when looking at using
  2117. 1:51:16supercomputer versus
  2118. 1:51:17not angga says you can use tpus tensor
  2119. 1:51:21processing units in Google collab nice
  2120. 1:51:25landlord says you can run your scripts
  2121. 1:51:26on AWS and
  2122. 1:51:28gcp but you pay for the increase in Ram
  2123. 1:51:32I think I'll stick with gcp for now if a
  2124. 1:51:35Candlestick is
  2125. 1:51:36100 it's bullish if it's negative 100 is
  2126. 1:51:39bearish good Intel
  2127. 1:51:51bro for
  2128. 1:52:25you good I didn't kill you over there
  2129. 1:52:27did I okay let's try this um I'm going
  2130. 1:52:29to
  2131. 1:52:30say top three Indies no no no do not
  2132. 1:52:35there top three
  2133. 1:52:37Indies is this use the volume change
  2134. 1:52:40okay let's say update this
  2135. 1:52:43code update the attached code to not use
  2136. 1:52:49the features or the
  2137. 1:52:52yeah
  2138. 1:52:54features it
  2139. 1:52:56currently has but use the ones
  2140. 1:53:01below from pandas ta I think that's the
  2141. 1:53:05first one
  2142. 1:53:07right let's try these
  2143. 1:53:10three yo is this is this a approach is
  2144. 1:53:13this how people approach this stuff or
  2145. 1:53:15are there like smarter people out there
  2146. 1:53:24I found that three is better than seven
  2147. 1:53:31so Myra says you come from data science
  2148. 1:53:36background Munda I
  2149. 1:53:40mean I don't know not really not at all
  2150. 1:53:44actually so I learned how to code 3 and
  2151. 1:53:47a half years ago but I learned through
  2152. 1:53:49watching like 10 machine learning
  2153. 1:53:52courses
  2154. 1:53:53so I've seen everything not everything
  2155. 1:53:55but I've seen a lot of machine learning
  2156. 1:53:58stuff I was just super fascinated by it
  2157. 1:54:00but I also was learning how to code at
  2158. 1:54:02that same time so I was just typing all
  2159. 1:54:03this machine learning code out in Python
  2160. 1:54:06and kind of learning python at the same
  2161. 1:54:08time I don't think it was the correct
  2162. 1:54:09way to do it but I've seen it all now
  2163. 1:54:11and now I'm three and a half years
  2164. 1:54:13deeper and I actually know how to code
  2165. 1:54:14in Python I can build any Bots anything
  2166. 1:54:16like that build a bunch of alos that I
  2167. 1:54:18run every single day and now I'm diving
  2168. 1:54:21back into machine learning so I think
  2169. 1:54:22it's going to click it has been clicking
  2170. 1:54:24a little easier so if you want to say
  2171. 1:54:27that's a background then yes but no I
  2172. 1:54:29didn't go to school for any of this
  2173. 1:54:30stuff
  2174. 1:54:32dog I did not go to school for coding
  2175. 1:54:34machine learning
  2176. 1:54:36nothing I didn't read a lot of these
  2177. 1:54:39boring books and try to absorb what I
  2178. 1:54:44can so all this all everybody commenting
  2179. 1:54:47here you guys are Lifesavers bro
  2180. 1:54:50teaching me what you know
  2181. 1:54:52because I know we got some guil foils in
  2182. 1:54:54the
  2183. 1:54:55audience Connor says for individual
  2184. 1:54:57sessions I could run I could request up
  2185. 1:55:00to 72 CES
  2186. 1:55:05dang wow so 72 time eight I can't do
  2187. 1:55:09that math
  2188. 1:55:13bro all right so I'm way off I got 96
  2189. 1:55:16gigabyt of RAM on my computer though
  2190. 1:55:23altered says I want to enter your
  2191. 1:55:26community I don't speak English is it
  2192. 1:55:29possible to add French language or
  2193. 1:55:31Italian dude you literally just said
  2194. 1:55:34that in English you do speak English
  2195. 1:55:36give yourself some credit first
  2196. 1:55:39off but yeah
  2197. 1:55:43um yeah everything's got subtitles for
  2198. 1:55:45you bro so you can pick French or
  2199. 1:55:47Italian that's cool you know French and
  2200. 1:55:50Italian that's amazing but yeah you can
  2201. 1:55:52join the boot camp everything in the
  2202. 1:55:54boot camp has subtitles to every
  2203. 1:55:56language pretty
  2204. 1:56:01much so that's dope uh Myer says that's
  2205. 1:56:05cold straight to ml had to go for the
  2206. 1:56:08top man had to you know that's that's
  2207. 1:56:10who I got inspired by it seems super
  2208. 1:56:14hard super fascinating too and it was
  2209. 1:56:17before AI was
  2210. 1:56:19here well before llms were usable from
  2211. 1:56:24the desktop like they
  2212. 1:56:27are so I'm glad I learned it kind of by
  2213. 1:56:33him before I just demand AI to do
  2214. 1:56:39everything all right I just had to
  2215. 1:56:42finish my little Waffle
  2216. 1:56:47there what do we want to call this one
  2217. 1:56:50adx ATR
  2218. 1:56:52Don
  2219. 1:56:55chin adx
  2220. 1:56:58ATR
  2221. 1:57:02Don I like that adx ATR Don
  2222. 1:57:06Chim let's just pop it in let's pop the
  2223. 1:57:09code
  2224. 1:57:11in dump it too yeah dude dump it I want
  2225. 1:57:18that update this though I want to say
  2226. 1:57:21train models
  2227. 1:57:23here
  2228. 1:57:25data I want to make a folder this make
  2229. 1:57:27this a little
  2230. 1:57:28neater
  2231. 1:57:30trained
  2232. 1:57:32models and let's put all of these models
  2233. 1:57:38here copy
  2234. 1:57:43path update the code so
  2235. 1:57:48it I'm not going to do that
  2236. 1:57:54just going to do it myself
  2237. 1:57:56dude did I put it in there already dang
  2238. 1:57:59that boy
  2239. 1:58:01nice that boy
  2240. 1:58:04nice look at this I can type code in the
  2241. 1:58:07in the thing
  2242. 1:58:09dude all right let's see what it
  2243. 1:58:13does run it do fit in
  2244. 1:58:21fitting somebody just got licked we got
  2245. 1:58:24licks always let's see what's going on
  2246. 1:58:26today oh my
  2247. 1:58:28God people getting wrecked
  2248. 1:58:32today I'm looking at the 15minute chart
  2249. 1:58:34that's why this taking a long time to
  2250. 1:58:36fit or
  2251. 1:58:38whatever there it is there we
  2252. 1:58:43go
  2253. 1:58:48so be in the market in green and out of
  2254. 1:58:51the market outside of the green I like
  2255. 1:58:54this in the market green out of the
  2256. 1:58:57market outside
  2257. 1:59:00green yo call trading what up bro oh is
  2258. 1:59:04JPY going crazy again what's going on
  2259. 1:59:06over
  2260. 1:59:11there Connor was training models to
  2261. 1:59:14predict gra gravitational waveforms of
  2262. 1:59:17binary black hole collisions on the
  2263. 1:59:19supercomputer very resource intensive
  2264. 1:59:21stuff
  2265. 1:59:22not as applicable as I'll go trading
  2266. 1:59:25though oh man that sounds intense
  2267. 1:59:29though okay so this is interesting data
  2268. 1:59:32so let's go ahead and analyze
  2269. 1:59:39it we just got to do repetition dog I
  2270. 1:59:42don't know where you're at in your
  2271. 1:59:43journey but for me I just need reps I
  2272. 1:59:46need reps reps reps reps reps reps
  2273. 1:59:5798% likelihood
  2274. 2:00:05wow I'm curious about the importance
  2275. 2:00:08here
  2276. 2:00:24count okay that's fine I was like why
  2277. 2:00:26are they all the same it's still working
  2278. 2:00:30here nice to see you here again Call of
  2279. 2:00:34Duty what is
  2280. 2:00:37happening is the expectation over the
  2281. 2:00:40September meeting in fomc 25 bips versus
  2282. 2:00:4350 bips and inflation is running
  2283. 2:00:45relatively high in Japan which leads
  2284. 2:00:47them to have to increase rates they will
  2285. 2:00:50do so slightly but what matters most is
  2286. 2:00:52future
  2287. 2:00:54expectations over falling rates in the
  2288. 2:00:56US
  2289. 2:00:57interesting okay look at this I like
  2290. 2:00:59this too because this uh see how it's
  2291. 2:01:03pretty even I don't know if that matters
  2292. 2:01:12but and compare it to our best model
  2293. 2:01:18below and what was our best model below
  2294. 2:01:20is the question damn
  2295. 2:01:29um hey it didn't update into our
  2296. 2:01:34models
  2297. 2:01:40uhoh ibly just overwrote it
  2298. 2:01:48huh h
  2299. 2:01:53I put it in the data folder yeah my
  2300. 2:02:08bad it's typically me that's what I love
  2301. 2:02:11about coding when something goes
  2302. 2:02:14wrong it's typically
  2303. 2:02:17me it's like such great accountability
  2304. 2:02:25and then I want to compare it
  2305. 2:02:33to let's see where are our other hmm
  2306. 2:02:36models here noall dang I don't know how
  2307. 2:02:40to tell which is the best one I can look
  2308. 2:02:42at the out of sample so out of sample
  2309. 2:02:45data
  2310. 2:02:47here and X2 X1 so X 2 model 2 is the
  2311. 2:02:52best volume change BB width and
  2312. 2:02:57volatility Vol BB and
  2313. 2:03:08VA I love this game dog you'll never get
  2314. 2:03:11me to stop I'm sorry
  2315. 2:03:23you'll never get me to stop this game
  2316. 2:03:25I'm sorry BB volatility and
  2317. 2:03:29RSI I'm sorry dude I'm not going
  2318. 2:03:32anywhere for 60 years at least I'll be
  2319. 2:03:34standing my black ass right here for 60
  2320. 2:03:37years at
  2321. 2:03:38least BB width
  2322. 2:03:42volatility and RSI
  2323. 2:03:55how do you evaluate Indie importance I
  2324. 2:03:58don't know dude it says right
  2325. 2:04:02here it's a good question
  2326. 2:04:07though um and then compare it to our
  2327. 2:04:10best model which is model two so I just
  2328. 2:04:14don't I don't know any of this yet I'm
  2329. 2:04:16I'm getting there though I'm getting
  2330. 2:04:17there I'm starting to understand a
  2331. 2:04:18little better a little bit better every
  2332. 2:04:21day every day
  2333. 2:04:33everywhere uh it's Jan says is each
  2334. 2:04:36console log a unique trading bot
  2335. 2:04:40no it's
  2336. 2:04:42not right now I'm working on the hmm
  2337. 2:04:45which is a hidden markof model which
  2338. 2:04:46supposedly Jim Simons liked but you know
  2339. 2:04:49that boy capping
  2340. 2:04:53ain't nobody going to tell us what that
  2341. 2:04:54was actually
  2342. 2:04:55working but we did figure out yesterday
  2343. 2:04:58that he definitely starts with data
  2344. 2:05:01first and if you start with data first
  2345. 2:05:02that means that you're not looking at
  2346. 2:05:03indicators and stuff like that you're
  2347. 2:05:05looking at the data so we're going to
  2348. 2:05:06let the data be do it Thug fizzle you
  2349. 2:05:09know we're going to start with data
  2350. 2:05:11First Data first and that's what we're
  2351. 2:05:13doing now we're going to we're sending
  2352. 2:05:14into the the AI the machine learning
  2353. 2:05:17what's this JPY you're talking about I
  2354. 2:05:19don't even know how to get there let's
  2355. 2:05:20see if I can get there JP
  2356. 2:05:24I I'm not a I'm not a Forex guy I
  2357. 2:05:28see oh boy is this what's this
  2358. 2:05:33mean what does up mean is that bad or
  2359. 2:05:37good because I know with these pairs and
  2360. 2:05:41stuff cuz the other day didn't it like
  2361. 2:05:44okay the JP I capitulated down
  2362. 2:05:49here honestly I do not know
  2363. 2:05:55I need to get a little better at
  2364. 2:05:56currency understanding I
  2365. 2:05:59think cuz it looks like it's
  2366. 2:06:02important but see if this is done
  2367. 2:06:06yet being I feel like you need to
  2368. 2:06:09understand currencies and how they
  2369. 2:06:17move USD JPY
  2370. 2:06:21oh so this was
  2371. 2:06:29opposite oh that's a different
  2372. 2:06:32story so was that just
  2373. 2:06:38backwards did I just look at it
  2374. 2:06:42backwards this is what yeah okay yeah
  2375. 2:06:45this crashed the other
  2376. 2:06:46day but that doesn't look like a
  2377. 2:06:48backwards chart does it
  2378. 2:06:50JPY I don't
  2379. 2:06:52know JPY
  2380. 2:06:55USD uh that's not backwards though is
  2381. 2:06:58that a different
  2382. 2:07:00thing sorry for my ignorance again
  2383. 2:07:02appreciate you guys' love
  2384. 2:07:06though okay
  2385. 2:07:08so it's the
  2386. 2:07:11inverse okay so this down bad today huh
  2387. 2:07:15I should add this to the list
  2388. 2:07:18here what are some other good ones I
  2389. 2:07:20should start looking at that like move
  2390. 2:07:23the
  2391. 2:07:24economy let me just add them to the list
  2392. 2:07:26because you know I canceled this you
  2393. 2:07:28know I canel the uh trading view there's
  2394. 2:07:31no reason for it what are some good
  2395. 2:07:32symbols I should watch in order to get
  2396. 2:07:35more in tune with Forex because I know a
  2397. 2:07:37lot of you want
  2398. 2:07:38Forex over here and um I've heard that
  2399. 2:07:42Forex is more mean reverting so it could
  2400. 2:07:45be interesting to look
  2401. 2:07:46into but let's go ahead and analyze this
  2402. 2:07:50data so we got two new models done or
  2403. 2:07:53one new
  2404. 2:07:54model and I want to keep just working
  2405. 2:07:57through this until it just so so
  2406. 2:07:59clear okay yo thank you for this so we
  2407. 2:08:03have we've got some good suggestions as
  2408. 2:08:06well I know I'm always doing this
  2409. 2:08:10but always getting over here so Euro
  2410. 2:08:15USD that makes
  2411. 2:08:20sense just got to get them on the uh the
  2412. 2:08:24thing before it cancels on
  2413. 2:08:26me so Euro
  2414. 2:08:28USD what else GP GBP GBP the British
  2415. 2:08:34pound GBP
  2416. 2:08:39USD and
  2417. 2:08:41USD
  2418. 2:08:43JPY those are the main three sweet yo I
  2419. 2:08:46appreciate you
  2420. 2:08:48dude caller trading and landlord I appre
  2421. 2:08:51appreciate both of
  2422. 2:08:53y'all so these are the three
  2423. 2:08:59movers so Euro
  2424. 2:09:10USD
  2425. 2:09:12GBP so the British
  2426. 2:09:15pound who uses the British pound Britain
  2427. 2:09:28oh the UK okay so Jane uses the British
  2428. 2:09:33pound and then everybody else uses the
  2429. 2:09:35Euro
  2430. 2:09:36right so I see why this is important is
  2431. 2:09:39there not like one for uh China China's
  2432. 2:09:43dollar and stuff whatever that
  2433. 2:09:46is is not important or something
  2434. 2:09:51Jane uses the British pound everybody
  2435. 2:09:54else in Europe uses the Euro Japan uses
  2436. 2:09:58the JPY I feel like the two missing from
  2437. 2:10:01an outsider standpoint are the Yen yeah
  2438. 2:10:05the Yen and then
  2439. 2:10:08also
  2440. 2:10:10India and
  2441. 2:10:13Russia those are all the big ones I
  2442. 2:10:16don't know if those are tradable though
  2443. 2:10:18so it's
  2444. 2:10:20interesting Swiss
  2445. 2:10:22frank
  2446. 2:10:25okay dang
  2447. 2:10:27so yeah I'm not going to go down that
  2448. 2:10:29that rabbit hole because I guess there's
  2449. 2:10:31a lot more not everybody uses the Euro I
  2450. 2:10:34was thinking everybody uses the Euro but
  2451. 2:10:36I guess not like everybody on over
  2452. 2:10:40there over there where y'all
  2453. 2:10:43at everybody over there uses
  2454. 2:10:46EUR Yan yen is Japan oh yen is
  2455. 2:10:52you w you w anyways let's go ahead and
  2456. 2:10:55analyze this data because we got a new
  2457. 2:10:56model here and this is what it looks
  2458. 2:11:00like it looks good to me did you see it
  2459. 2:11:05look at
  2460. 2:11:06this look at me 98%
  2461. 2:11:17prediction the thing is the whole
  2462. 2:11:19system's all dollarized so the majority
  2463. 2:11:22of the flow is dependent on the US the
  2464. 2:11:24Swiss frank is interesting because of
  2465. 2:11:26how tied into International banking it
  2466. 2:11:29is wonder what info could be inferred
  2467. 2:11:32from analyzing
  2468. 2:11:33that dang UJ is going to fly higher in
  2469. 2:11:39this coming week what is UJ is that Euro
  2470. 2:11:43or us
  2471. 2:11:45Japan dxy is a good indicator of USD
  2472. 2:11:49strength I think I got that right here
  2473. 2:11:52yep
  2474. 2:11:53dxy so dollar
  2475. 2:11:57down risk assets
  2476. 2:12:00up dollar up risk assets down that's
  2477. 2:12:04what I learned at least I don't know if
  2478. 2:12:07that's
  2479. 2:12:08right but dollar down today and risk
  2480. 2:12:11assets
  2481. 2:12:13down so down BTC down interesting this
  2482. 2:12:18game is super fun because there's so
  2483. 2:12:19many different levels to it in different
  2484. 2:12:21Arenas like y'all are over here in the
  2485. 2:12:24uh Forex Arena and I haven't touched
  2486. 2:12:26that I read baby Pips when I was in
  2487. 2:12:29college maybe or whatever and I I was
  2488. 2:12:32bored to tears I was bored to tears dude
  2489. 2:12:35I was bored to tears that baby Pips
  2490. 2:12:38there's so much information there but I
  2491. 2:12:41probably could I probably could dive
  2492. 2:12:43back in now that I'm a little more
  2493. 2:12:44financial Savvy I
  2494. 2:12:47guess that's my interpretation too
  2495. 2:12:49Connor says
  2496. 2:12:51it is half right it's half right until
  2497. 2:12:54like a big down day like this I feel
  2498. 2:12:57like then it's like everything just hits
  2499. 2:12:59the fan that's what I've observed at
  2500. 2:13:02least is that like on days that it's
  2501. 2:13:06slightly
  2502. 2:13:08down risk assets up if it's mad down
  2503. 2:13:12then everything down dxy is a basket of
  2504. 2:13:15currencies against the
  2505. 2:13:18dollar so if people are in Europe and
  2506. 2:13:20want to invest in US Securities they
  2507. 2:13:22need to raise the US dollar
  2508. 2:13:26interesting well let's stop let's stop
  2509. 2:13:28talking about that stuff because I I
  2510. 2:13:30don't know where that's going to take
  2511. 2:13:32me so maybe in those days there's a
  2512. 2:13:35rotation from Euro to USD dang it's
  2513. 2:13:38awesome there's so many games in this
  2514. 2:13:40game that's why like I'm not worried
  2515. 2:13:42about allocating time to algorithmic
  2516. 2:13:44trading like you you allocate time to
  2517. 2:13:47like new trends like Shopify or apps or
  2518. 2:13:52I don't know social media you don't know
  2519. 2:13:54if it's going to be here in 5
  2520. 2:13:57years I needed something that was so
  2521. 2:13:59hard and I know that's going to be here
  2522. 2:14:02for the next 60 years and I know for a
  2523. 2:14:04fact there's going to be some sort of
  2524. 2:14:06Market here for the next 60 years so
  2525. 2:14:08every single minute I put into this
  2526. 2:14:10stuff I'm
  2527. 2:14:12compounding and I know in the future
  2528. 2:14:14it's going to be
  2529. 2:14:15useful I'm getting better and better
  2530. 2:14:17every day and thankful to you guys that
  2531. 2:14:21like accelerate this stuff too so if
  2532. 2:14:23you're in the chat you see everything I
  2533. 2:14:25see I wouldn't miss it I wouldn't miss
  2534. 2:14:28it if I were
  2535. 2:14:30you thank you for providing the results
  2536. 2:14:33of both models I'll compare them based
  2537. 2:14:36on the given metrics and features State
  2538. 2:14:39prediction accuracy new model adx ATR
  2539. 2:14:42and Donan 98% model
  2540. 2:14:452 volume change BB width volatility 89
  2541. 2:14:50the new model model shows higher
  2542. 2:14:52accuracy in predicting the next
  2543. 2:14:56state new
  2544. 2:14:58model log
  2545. 2:15:01likelihood minus
  2546. 2:15:0693,000 model 2 plus
  2547. 2:15:1114,000 model 2 has a much higher log
  2548. 2:15:14likelihood indicating a better
  2549. 2:15:17fit back to model 2 Bic basian
  2550. 2:15:20information
  2551. 2:15:22Criterion damn
  2552. 2:15:24187,000 verse negative
  2553. 2:15:2827,000 lower Bic indicates a better
  2554. 2:15:31model model 2 has a significantly lower
  2555. 2:15:34negative Bic suggesting it's a better
  2556. 2:15:36fit cross validation score new
  2557. 2:15:41model
  2558. 2:15:42-47 47k verse 20 2000 model 2 has a
  2559. 2:15:47higher and positive cross validation
  2560. 2:15:49score indicating better generaliz ation
  2561. 2:15:51to unseen data import feature importance
  2562. 2:15:55new model adx 27
  2563. 2:16:0085 ATR
  2564. 2:16:03point4 I like how it's a little more
  2565. 2:16:08spread out but model 2 is all about
  2566. 2:16:11volume essentially visual
  2567. 2:16:13inspection the new model's chart shows
  2568. 2:16:15more distinct and prolong State periods
  2569. 2:16:18especially in the later half of the time
  2570. 2:16:20series this could indicate that it's
  2571. 2:16:22capturing longer term Market regimes
  2572. 2:16:25conclusion while the new model adx ATR
  2573. 2:16:27Donan shows higher state prediction
  2574. 2:16:30accuracy and more balanced feature
  2575. 2:16:31importance model 2 volume change BB
  2576. 2:16:34width and volatility outperforms it in
  2577. 2:16:37terms of log likelihood Bic and cross
  2578. 2:16:39validation score this suggests that
  2579. 2:16:41model 2 is likely the better model
  2580. 2:16:45overall as it fits the data and
  2581. 2:16:47generalizes more effectively to unseen
  2582. 2:16:50data
  2583. 2:16:51the heavy Reliance on volume change in
  2584. 2:16:53model 2 appears to be capturing
  2585. 2:16:55something fundamental about bitcoin
  2586. 2:16:57price movements that others don't
  2587. 2:17:00however the new models more balanced
  2588. 2:17:02feature importance and distinct State
  2589. 2:17:04visualization might offer different
  2590. 2:17:09insights using model 2 is a primary
  2591. 2:17:14model keeping the new model as a
  2592. 2:17:16complimentary tool for additional
  2593. 2:17:19insights all right this is dope dude I
  2594. 2:17:22love this
  2595. 2:17:24game cuz you know what's next a new
  2596. 2:17:27idea and then you know what's next after
  2597. 2:17:30that a new idea I don't care if I miss
  2598. 2:17:32the shot bro I will just keep shooting I
  2599. 2:17:34will keep shooting I know I'm a shooter
  2600. 2:17:36I'mma keep shooting I'mma keep shooting
  2601. 2:17:39dude I'm just going to keep shooting and
  2602. 2:17:42keep shooting and then I'mma shoot again
  2603. 2:17:45and then I'm going to shoot again and I
  2604. 2:17:47don't care how much time this stuff
  2605. 2:17:49takes dog cuz I'm here for 60
  2606. 2:17:5160 years
  2607. 2:17:54B I don't care I'm here
  2608. 2:18:00present do you use volume as a
  2609. 2:18:02percentage change yes
  2610. 2:18:04sir volume
  2611. 2:18:08change all right let's try another
  2612. 2:18:18one use these three new
  2613. 2:18:25features instead of the old ones in the
  2614. 2:18:31attached
  2615. 2:18:34code they are all from
  2616. 2:18:38pandas
  2617. 2:18:44ta yo I haven't watched pton fo probably
  2618. 2:18:47for 20 years
  2619. 2:18:48though so I don't know what I'm even
  2620. 2:18:51referring to paid and full when did this
  2621. 2:18:54launch yeah 20 2002 probably watched it
  2622. 2:18:56when it came out or around that time I
  2623. 2:18:59was a kid I need to watch this again as
  2624. 2:19:01an
  2625. 2:19:02adult because you know all that stuff
  2626. 2:19:05goes over your
  2627. 2:19:06head all of it goes over your head so uh
  2628. 2:19:09I started watching this show I grew up
  2629. 2:19:11on like uh fresh prince of belir I love
  2630. 2:19:13that show yo they have a new show oh
  2631. 2:19:16because you said B remind oh okay they
  2632. 2:19:19maybe that's where I got it from
  2633. 2:19:21B I don't
  2634. 2:19:25know but
  2635. 2:19:30um I don't watch TV too much but I start
  2636. 2:19:33watching the new Fresh Prince it's
  2637. 2:19:35pretty it's pretty good A lot of like a
  2638. 2:19:38lot of references to old black movies
  2639. 2:19:40which is
  2640. 2:19:41dope
  2641. 2:19:46Kan do you care if you live or you die
  2642. 2:19:51that threw me off I was like I know what
  2643. 2:19:53he's about to say that's exactly what
  2644. 2:19:55Kane's grandpa said to him and they just
  2645. 2:19:57LED this they started the show the new
  2646. 2:19:59fresh PR show oh it's called belir sorry
  2647. 2:20:03it's called Bel Air um it started with
  2648. 2:20:07will you care if you live or you die and
  2649. 2:20:10that's like you got to be you got to be
  2650. 2:20:12watching all the old movies in order to
  2651. 2:20:14understand the show fully which is dope
  2652. 2:20:16I love it I love it I love it I love it
  2653. 2:20:19and they give I love how they ALS like
  2654. 2:20:21totally changed the show like Carlton is
  2655. 2:20:27somewhat
  2656. 2:20:28cool um
  2657. 2:20:31jazz jazz finally swoops his
  2658. 2:20:35girl whatever her name
  2659. 2:20:39is
  2660. 2:20:40uh Jeffrey is like an assassin L key
  2661. 2:20:45he'd be holding it
  2662. 2:20:48down it's crazy I love how they just
  2663. 2:20:50like switched it up a little bit at
  2664. 2:20:51first I was thrown off like why is Uncle
  2665. 2:20:54Phil some like skinny dude rest in peace
  2666. 2:20:58Uncle Phil I like how they did that at
  2667. 2:21:00first I was like apprehensive towards it
  2668. 2:21:02like why is Uncle Phil like is he he who
  2669. 2:21:05is this guy but he's still a great
  2670. 2:21:08father figure takes care of will I'm
  2671. 2:21:10only on like the seventh episode so I
  2672. 2:21:13was happy to see that there's three
  2673. 2:21:15seasons to
  2674. 2:21:16it it's a good show and I don't say that
  2675. 2:21:19about many shows
  2676. 2:21:21I I don't usually like watch this
  2677. 2:21:24St a got time B yo I need to watch this
  2678. 2:21:28movie again though got Regina a young
  2679. 2:21:31Regina Hall we got Cameron in it hey Ma
  2680. 2:21:35that used to be my
  2681. 2:21:37head I used to sing that all day
  2682. 2:21:43long damn there's some good movies I'm a
  2683. 2:21:46old head dude there just some old head
  2684. 2:21:48stuff to be saying back in my day back
  2685. 2:21:51in my day we had some good
  2686. 2:21:54movies cast is Elite absolutely damn I
  2687. 2:21:58can't wait I might watch this tonight I
  2688. 2:22:00mean I'm sure it's on somewhere
  2689. 2:22:03Netflix eight more where to
  2690. 2:22:09watch
  2691. 2:22:12YouTube I got Amazon
  2692. 2:22:15Prime thank
  2693. 2:22:18you you're an territory I know it's uh
  2694. 2:22:22it's crazy dog it's really crazy I mean
  2695. 2:22:25what it is what it is but I am I'm there
  2696. 2:22:28I'm
  2697. 2:22:29there off officially an
  2698. 2:22:32unk you never think you're going to get
  2699. 2:22:34here till you get here dude I'm
  2700. 2:22:37literally an
  2701. 2:22:38uncle I got two two little Young
  2702. 2:22:43Bucks and it's cool it's cool man it's
  2703. 2:22:45cool to see cool to see cool to see him
  2704. 2:22:49jack my SCH SW my swag is irrelevant but
  2705. 2:22:52they Jack it anyways because I'm you
  2706. 2:22:55know so somebody got to give it to
  2707. 2:22:58him all right so I'm writing down Pon
  2708. 2:23:01full real quick all right let's get back
  2709. 2:23:03to it I'm going to go ahead and test one
  2710. 2:23:06more so use these three new features
  2711. 2:23:09instead of the old ones in the attached
  2712. 2:23:11code Lin regression macd and true range
  2713. 2:23:15see I like just switching it up entirely
  2714. 2:23:18so our best one is volume change
  2715. 2:23:25but we just tried the adx and it at
  2716. 2:23:28first it looked better because of the
  2717. 2:23:3398% it looked better but was it better
  2718. 2:23:37no
  2719. 2:23:39way uh send me back send me back all the
  2720. 2:23:44code all right I love this game dog we
  2721. 2:23:47literally are competing with the the
  2722. 2:23:49machine learning people over
  2723. 2:23:52at name your Fang name your Fang you
  2724. 2:23:56gave us too much power dude you gave us
  2725. 2:23:58too much power Claudia you gave us too
  2726. 2:24:00much power Gigi you gave us too much
  2727. 2:24:03power
  2728. 2:24:05luxie you don't understand it okay go
  2729. 2:24:08ask
  2730. 2:24:15AI I say CO's the great equalizer but
  2731. 2:24:17like damn AI is really the great
  2732. 2:24:19equalizer but you got you got to know
  2733. 2:24:21how to code you got to know how to code
  2734. 2:24:23to be able to get the best out of AI
  2735. 2:24:24because what are you using it for
  2736. 2:24:26otherwise right like emails and stuff
  2737. 2:24:29okay I see through I I can see through
  2738. 2:24:31that you can't see through my code you
  2739. 2:24:33know what I'm saying like code is code
  2740. 2:24:35so like you can kind of feel when AI is
  2741. 2:24:37talking to you almost I mean not always
  2742. 2:24:40but like how often are you writing
  2743. 2:24:42papers how often are you writing emails
  2744. 2:24:44I mean how often are you writing
  2745. 2:24:46Facebook posts I mean it's cool whatever
  2746. 2:24:48like that's a cool use case for it but
  2747. 2:24:50coding is the killer app coding is the
  2748. 2:24:54killer app for AI right now and if you
  2749. 2:24:57don't know how to code you can't use it
  2750. 2:24:58properly I mean you can learn through it
  2751. 2:25:01at least but you got to you got to be
  2752. 2:25:02able to learn it so that sends me to
  2753. 2:25:06let's let's let's actually go through it
  2754. 2:25:08because I know there are people here
  2755. 2:25:10that weren't here at the start of
  2756. 2:25:13this so this one's Lin Rag macd and
  2757. 2:25:19TR l ly reg Mac and
  2758. 2:25:24tr. py paste it in and then we're going
  2759. 2:25:27to just do a little study session here
  2760. 2:25:28because I need to see it dude like I
  2761. 2:25:31said I I grew up getting 500 shots a day
  2762. 2:25:34dog and this is the same game this is
  2763. 2:25:36literally the same game you get better
  2764. 2:25:37over time get wetter over
  2765. 2:25:41time every single day I don't care how
  2766. 2:25:45tired I am I don't care don't care how
  2767. 2:25:47little I slept last night I don't care
  2768. 2:25:49that's when I really double down and I
  2769. 2:25:51make sure to get my hours in so import
  2770. 2:25:53these are a bunch of imports then we're
  2771. 2:25:55starting the hmm analysis on BTC we're
  2772. 2:25:57loading in pre-processing we're dropping
  2773. 2:25:59a column because my data is janky we're
  2774. 2:26:02creating the index okay open high low
  2775. 2:26:04close this is the linear linear
  2776. 2:26:07regression with the TA pandas ta Library
  2777. 2:26:10pandas ta Library so linear regression
  2778. 2:26:13is a type of machine learning as well so
  2779. 2:26:15cool we got macd here calculating the
  2780. 2:26:18macd we're getting the true range here
  2781. 2:26:20then we're dropping any na any non I'm
  2782. 2:26:23actually about to go get some mother
  2783. 2:26:24naan right now
  2784. 2:26:29be train hmm seven components lyre macd
  2785. 2:26:35true range I swear there's a new na
  2786. 2:26:37place I mean it's Indian place but you
  2787. 2:26:39know you know how you know how that goes
  2788. 2:26:41train hmm we've got seven components
  2789. 2:26:44that's seven different regimes we are
  2790. 2:26:46training on but we have features three
  2791. 2:26:48features linear regression magd and true
  2792. 2:26:52range we normalize those features
  2793. 2:26:54meaning put them between zero and one I
  2794. 2:26:56believe then we run the hmm the goian
  2795. 2:27:00hmm are there other hmm that we can
  2796. 2:27:06run put it on the read me put it on the
  2797. 2:27:09read
  2798. 2:27:14me we are using the
  2799. 2:27:18goian hmm are there
  2800. 2:27:22others that we can
  2801. 2:27:26run where we at where we at ly red okay
  2802. 2:27:29so and now we the Asian is completed we
  2803. 2:27:33predict States so it's predicting States
  2804. 2:27:41remember this is the actual prediction
  2805. 2:27:45here we have seven different states but
  2806. 2:27:47the thing is is it doesn't actually know
  2807. 2:27:49the states it's just ch them in the
  2808. 2:27:50states and then we're going to have to
  2809. 2:27:51do that later but that's okay I just
  2810. 2:27:53want to see a lot I want to see a lot
  2811. 2:27:55and then see what the best is of a lot
  2812. 2:27:57since I'm starting at a zero point
  2813. 2:27:58origin where moev knows nothing I want
  2814. 2:28:00to see a lot of different tests here and
  2815. 2:28:02then out of those tests imagine you've
  2816. 2:28:05never played a game before I have no
  2817. 2:28:07idea how to play this game I'm going to
  2818. 2:28:09play the game a 100 times and see my
  2819. 2:28:11score over the course of a hundred times
  2820. 2:28:14and then I'm going to go with the method
  2821. 2:28:16of the best score that's all I'm doing
  2822. 2:28:19that's that's all I'm ever doing that's
  2823. 2:28:22what this whole this whole world is
  2824. 2:28:23about to me right
  2825. 2:28:26now that's what life is about really
  2826. 2:28:29just a test your way into figuring
  2827. 2:28:31things out predict next state save
  2828. 2:28:33changes it's just saving the
  2829. 2:28:35changes St
  2830. 2:28:38changes pending it to a
  2831. 2:28:41folder and we haven't even been looking
  2832. 2:28:43at them but
  2833. 2:28:47okay model scaler where are those
  2834. 2:29:02I can delete these actually need to
  2835. 2:29:05update them real quick I'm going to
  2836. 2:29:06update them in my thing so you can see
  2837. 2:29:09here that I updated the file path so
  2838. 2:29:12here at the
  2839. 2:29:16bottom I added a folder to all these so
  2840. 2:29:20I got to just update this real quick um
  2841. 2:29:23hmm model 2 here every time I run this
  2842. 2:29:26it's going to try to save it again
  2843. 2:29:29so this is our best model so far model
  2844. 2:29:33one here second best actually I don't
  2845. 2:29:36know if it's second best but I don't
  2846. 2:29:37really care about the second
  2847. 2:29:38best I just want the best be that's it
  2848. 2:29:43just trying to be the best I can be I
  2849. 2:29:44don't know how good I can be but been
  2850. 2:29:47able to figure it out thus far so I'm G
  2851. 2:29:49keep going
  2852. 2:29:57plot the results okay that's just a
  2853. 2:29:58bunch of plotting I just want to make
  2854. 2:29:59sure you see all this code so you can
  2855. 2:30:01leave here with your hands
  2856. 2:30:03full of ideas and
  2857. 2:30:07code data saved to a
  2858. 2:30:10plot calculate prediction
  2859. 2:30:14accuracy calculate Bic Bic is a
  2860. 2:30:17evaluation technique so something about
  2861. 2:30:20basy and something something something
  2862. 2:30:22death time series CV okay analyze
  2863. 2:30:25feature importance okay starting main
  2864. 2:30:30execution training the model predicting
  2865. 2:30:33States these are the names of the states
  2866. 2:30:35but remember these names are just made
  2867. 2:30:36up
  2868. 2:30:38really the model we have to place the
  2869. 2:30:41states later this is just running all
  2870. 2:30:43the code but I just want to make sure
  2871. 2:30:44you see it all try to show you all the
  2872. 2:30:46code but sometimes I'll be forgetting
  2873. 2:30:48dog that's my my bad Mal M
  2874. 2:30:53bro Lyn reg 14 key error come on cousin
  2875. 2:30:59I showed you all the wrong code then
  2876. 2:31:01it's not done yet calculating
  2877. 2:31:05lyre okay I get this
  2878. 2:31:10air but I can see in the available
  2879. 2:31:16available
  2880. 2:31:18indicators that
  2881. 2:31:21let's see what the available indicators
  2882. 2:31:22look like these are all the available
  2883. 2:31:24indicators on Lin
  2884. 2:31:29rag I have these two
  2885. 2:31:33options I have uh
  2886. 2:31:37indicators on Panda ta that I have these
  2887. 2:31:42options
  2888. 2:31:46here okay um let's see they gave us too
  2889. 2:31:50much power llord said I think they did
  2890. 2:31:52and they can't take it back now was the
  2891. 2:31:53crazy thing you can't go backwards with
  2892. 2:31:55this they did give us too much power
  2893. 2:31:57they gave us kids out here too much
  2894. 2:31:59power now noobs you can't tell that I'm
  2895. 2:32:01a Noob anymore like if you look at my
  2896. 2:32:03code if you look at my code you can't
  2897. 2:32:06tell that I'm I'm just at the start of
  2898. 2:32:08the game I'm only at my 3400 hour and I
  2899. 2:32:12have to get to 10,000 hours before I
  2900. 2:32:14know anything before I'll ever people
  2901. 2:32:17ask oh moev get on my podcast tell me
  2902. 2:32:19this and it's like bro I don't know
  2903. 2:32:21nothing yet I'm not even halfway there
  2904. 2:32:24yet stop it maybe I know more than some
  2905. 2:32:28but 4,000 hours no way I need to get
  2906. 2:32:3110,000
  2907. 2:32:33hours I need to get to 10,000 hours
  2908. 2:32:35before I can confidently say I know
  2909. 2:32:38anything I'm sorry dude sorry to do it
  2910. 2:32:42to you I'm sorry I'm not your Guru sorry
  2911. 2:32:45I don't know everything in the world
  2912. 2:32:50the only thing I do know is I will keep
  2913. 2:32:52going I will keep finding new Secrets
  2914. 2:32:55live every single day there's aha
  2915. 2:32:58moments every single day
  2916. 2:33:01dog every single
  2917. 2:33:04day take care make sure you're
  2918. 2:33:09here I think uh man man Manuel
  2919. 2:33:14maybe I think learning writing and
  2920. 2:33:16coding separately are very important
  2921. 2:33:18like me I'm learning the English
  2922. 2:33:20language because of AI
  2923. 2:33:23sick that's Fire Dog you're born in New
  2924. 2:33:27England so you're learning English
  2925. 2:33:29because of AI That's fire okay I could
  2926. 2:33:32see that I can see that learning just in
  2927. 2:33:34general with AI is crazy like anything
  2928. 2:33:37you want to learn it knows mostly
  2929. 2:33:38everything at leasts a structure to
  2930. 2:33:40everything that's awesome you're learn
  2931. 2:33:42English and
  2932. 2:33:45coding this would be killer for resumés
  2933. 2:33:47too absolutely dude the bay indicator
  2934. 2:33:51thing is a comparison of the log
  2935. 2:33:54likelihoods it's used to gauge whether
  2936. 2:33:57you could choose one model or the other
  2937. 2:34:00thank you bro so the Bic it compares the
  2938. 2:34:04log likelihoods which we've seen a lot
  2939. 2:34:07of and we're about to see it
  2940. 2:34:10again Bas factor basian basian factor
  2941. 2:34:14base
  2942. 2:34:15Factor
  2943. 2:34:18so that's cool man you show up to these
  2944. 2:34:20lives dude you learn at exponential Pace
  2945. 2:34:22because I'm pushing us into a direction
  2946. 2:34:25that I I'm interested in every day and
  2947. 2:34:29then there's people way smarter than me
  2948. 2:34:31up in the chat that are so gracious with
  2949. 2:34:33their time and gracious with their
  2950. 2:34:35thoughts and they went to school for
  2951. 2:34:37this stuff dog I ain't go to school for
  2952. 2:34:44this let's try it again
  2953. 2:34:46doggy doggy style
  2954. 2:34:52sad sad did I not put the right code in
  2955. 2:34:55h you
  2956. 2:34:56nerd I apologize for the confusion
  2957. 2:34:58you're right and thank you for providing
  2958. 2:34:59the information the error occurs in the
  2959. 2:35:01Lin R function in pandis ta with
  2960. 2:35:04different column names okay let's modify
  2961. 2:35:06it so we need to put the load and
  2962. 2:35:08pre-processed data we need to change
  2963. 2:35:14that here are the other parts of the
  2964. 2:35:16code that need to be updated okay I'll
  2965. 2:35:17do that all right do
  2966. 2:35:24it load and pre-process data
  2967. 2:35:47here beaters
  2968. 2:35:50yo what up Nick how are
  2969. 2:35:54you how are you Nick have never seen
  2970. 2:35:57your name before so welcome welcome
  2971. 2:35:59welcome welcome in the predict States
  2972. 2:36:04function so I'm going to go to all the
  2973. 2:36:06Lin Rags
  2974. 2:36:08here train hmm
  2975. 2:36:13here what did it change do I don't think
  2976. 2:36:16it changed
  2977. 2:36:18anything anything think is plenty
  2978. 2:36:30man that looks guzy to me
  2979. 2:36:34beef all right let's just run it see
  2980. 2:36:37what happens
  2981. 2:36:54send back full code with any prints you
  2982. 2:36:59need to debug my dog
  2983. 2:37:31does unknown says I upgraded Twitter to
  2984. 2:37:34get grock but can't handle heavy coding
  2985. 2:37:39challenges wonder
  2986. 2:37:42why PO is the best amount for free
  2987. 2:37:47interesting Nick says he a newbie here
  2988. 2:37:50salute salute to you dude much love 777
  2989. 2:37:54how pass Love Good Vibes all the time
  2990. 2:37:57you'll see it all the time in the chat
  2991. 2:37:59light the chat up with the 777s for our
  2992. 2:38:01new friend
  2993. 2:38:03Nick so much love so much love all right
  2994. 2:38:06let's go ahead here and try this new
  2995. 2:38:08code out see what you got Litt
  2996. 2:38:11Mama
  2997. 2:38:13nothing linear regression calculating
  2998. 2:38:16time series dang we're stuck this is
  2999. 2:38:19good this is good exercise
  3000. 2:38:24though good
  3001. 2:38:29exercise Jane says 777 welcome to the
  3002. 2:38:32fan fam
  3003. 2:38:33fam wow dollar huh look at that dollar
  3004. 2:38:37we look at the dollar now BTC this
  3005. 2:38:41liquidation Point still got me tripping
  3006. 2:38:44here 150 mil liquidated right here going
  3007. 2:38:48downwards came all all the way back up
  3008. 2:38:50did a cherry kiss to
  3009. 2:38:53it and then reverted right back down and
  3010. 2:38:57then jump got liquidated right
  3011. 2:39:02here that's wild that's wild that's all
  3012. 2:39:05I've got to say though because I don't
  3013. 2:39:07want to predict Market movements or
  3014. 2:39:10anything like that here it's not what we
  3015. 2:39:12do here
  3016. 2:39:13dude we let the AI do the
  3017. 2:39:16work yo I like your pfp bro
  3018. 2:39:21Nick it's a good
  3019. 2:39:23one yo what happened to the live stream
  3020. 2:39:26yesterday I cut it off randomly didn't
  3021. 2:39:28I I forgot I had a hard stop at 3 and
  3022. 2:39:31then it was
  3023. 2:39:34305 West
  3024. 2:39:43Side see what she found out here
  3025. 2:39:51I apologize for the confusion it seems
  3026. 2:39:53that ta Lin red function is returning a
  3027. 2:39:55series instead of a data
  3028. 2:40:17frame run it back then
  3029. 2:40:21there we go
  3030. 2:40:22shorty we can do it all dog we can do it
  3031. 2:40:25all where's the m d at
  3032. 2:40:44though okay there we go beautiful
  3033. 2:40:46looking chart I'll tell you that much
  3034. 2:40:53beautiful all right let's analyze it do
  3035. 2:40:56exactly what we did with the last one
  3036. 2:40:59repetition is key dude for me and this
  3037. 2:41:02is my world I'm sorry if you're way
  3038. 2:41:05ahead of me and this is too easy for you
  3039. 2:41:07but for me it's a challenge I like I
  3040. 2:41:10like challenges but I got to understand
  3041. 2:41:12this stuff fly FY because I got to be
  3042. 2:41:16able to grab it by the mother balls and
  3043. 2:41:18then just understand all okay you know
  3044. 2:41:21if I understand it all I'm a threat if I
  3045. 2:41:23don't understand it all I'm not a
  3046. 2:41:26threat dude I'm just following in the
  3047. 2:41:29footsteps of Jim Simons
  3048. 2:41:31he he did this till he died
  3049. 2:41:35dog that's
  3050. 2:41:38amazing it's amazing I'mma do it till I
  3051. 2:41:41die
  3052. 2:41:45too I'm do it till I die
  3053. 2:41:57I'm just waiting on this stat these
  3054. 2:41:59stats to be done
  3055. 2:42:00here and I actually think I have my um
  3056. 2:42:04best one here show all
  3057. 2:42:08indicators the if I got to read me
  3058. 2:42:11here I wonder why it takes a little bit
  3059. 2:42:13of time in between
  3060. 2:42:16this okay here we go
  3061. 2:42:23let's see if she can just compare them
  3062. 2:42:26to my model
  3063. 2:42:31to to the previous ones let's just not
  3064. 2:42:34even give it to
  3065. 2:42:36her let's see what she really about
  3066. 2:42:39let's see what Claudia is really
  3067. 2:42:44about see if she can really memorize
  3068. 2:42:46things nine more messages get off my D
  3069. 2:42:48you know I'm running it up every single
  3070. 2:42:50day nine more messages why do I even pay
  3071. 2:42:53you fool what you even pay
  3072. 2:43:02for who even pays for this stuff
  3073. 2:43:10dog I
  3074. 2:43:13do dag
  3075. 2:43:16NAIT Jiminy Christmas certainly I'll
  3076. 2:43:20compare the results of this new model
  3077. 2:43:21using Lin Rag macd and true range with
  3078. 2:43:25the previous two models we discussed
  3079. 2:43:27let's break it down by each metric and
  3080. 2:43:29let's get that thing back up
  3081. 2:43:31here let's get the image the
  3082. 2:43:35image
  3083. 2:43:37open revealing finder please plot it
  3084. 2:43:42plot It Like It's
  3085. 2:43:45Hot Leg is hot baby
  3086. 2:43:49my leg is
  3087. 2:43:54hot yeah you don't get much I mean you
  3088. 2:43:56get a good amount
  3089. 2:43:59Jane but you can see I only got eight
  3090. 2:44:02more messages
  3091. 2:44:04left for like three more hours this
  3092. 2:44:08crazy stuff so I think I'm going pretty
  3093. 2:44:12hard on it today
  3094. 2:44:14but um I feel like it's less than
  3095. 2:44:17yesterday I'll say that much
  3096. 2:44:22feel like it's less than
  3097. 2:44:29yesterday I've been
  3098. 2:44:31using kote says I've been using open AI
  3099. 2:44:34API plus pine cone DB to avoid the rate
  3100. 2:44:40limit okay okay I'll feel you what is
  3101. 2:44:44pine cone DB
  3102. 2:44:53oh the V vector vector B I remember this
  3103. 2:44:56tripo yo I got luxie so I'm Gucci like I
  3104. 2:44:59got a backup I got luxie is you know
  3105. 2:45:03unlimited
  3106. 2:45:06so she's my
  3107. 2:45:08backup and she does great it's using all
  3108. 2:45:11GPT stuff so I'm Gucci on that on the
  3109. 2:45:15backup so I was just complaining to
  3110. 2:45:16complain cuz but I appreciate all the
  3111. 2:45:19tips because this is how how we find out
  3112. 2:45:22about new stuff you know
  3113. 2:45:56okay my monthly spends looking pretty
  3114. 2:45:58solid
  3115. 2:45:59here on
  3116. 2:46:01gbt I was trying to keep it down a
  3117. 2:46:03little bit but you know it's all good
  3118. 2:46:06we're going to use luxie here when we
  3119. 2:46:08get worn out of or we're done with the
  3120. 2:46:12whatevers so here's the model here that
  3121. 2:46:16we just
  3122. 2:46:17tested and this model uses adx the ATR
  3123. 2:46:22no sorry new model is linear
  3124. 2:46:27regression macd and true range
  3125. 2:46:3297% and we're comparing it to our other
  3126. 2:46:34model or other two models now previous
  3127. 2:46:37model was
  3128. 2:46:41098 so that's better there model two
  3129. 2:46:44though which is our best model has a
  3130. 2:46:47lower prediction
  3131. 2:46:49State prediction accuracy the new model
  3132. 2:46:51performs very well in terms of State
  3133. 2:46:53prediction accuracy almost matching the
  3134. 2:46:55adx ATR daan model and outperforming the
  3135. 2:46:59volume change model new model is 30,000
  3136. 2:47:02minus 30,000 and the other one was minus
  3137. 2:47:0593 so it made an improvement model 2 is
  3138. 2:47:0814,000 the new model shows a significant
  3139. 2:47:10improvement over the adx ATR but still
  3140. 2:47:13doesn't reach the positive log
  3141. 2:47:16likelihood of volume change that's funny
  3142. 2:47:17our first one of our first models or
  3143. 2:47:19second model Bic Bay in information
  3144. 2:47:22Criterion new model
  3145. 2:47:2461k previous model was 187k and then
  3146. 2:47:28model 2 was minus 27k the new model has
  3147. 2:47:31a much lower which is better Bic than
  3148. 2:47:35the adx ATR Donan model indicating a
  3149. 2:47:38better fit while accounting for model
  3150. 2:47:41complexity however the volume change
  3151. 2:47:43model still has the best lowest Bic
  3152. 2:47:47cross validation score new model is-
  3153. 2:47:52100K previous model is -
  3154. 2:47:5550k and I think this is the important
  3155. 2:47:57part the standard deviation model 2 is
  3156. 2:48:002000 still the best the new model shows
  3157. 2:48:04worst cross validation performance
  3158. 2:48:06compared to new previous model with a
  3159. 2:48:08lower mean score feature importance new
  3160. 2:48:11model Lin regression um 47 so this
  3161. 2:48:15doesn't matter too much it shows more
  3162. 2:48:18balance which is nice visual inspection
  3163. 2:48:21the new models chart shows more frequent
  3164. 2:48:23State changes compared to the previous
  3165. 2:48:26ones particularly in the earlier part of
  3166. 2:48:29the time series this could indicate that
  3167. 2:48:31it's more sensitive to short-term price
  3168. 2:48:33movements conclusion the new model
  3169. 2:48:35linreg macd true range shows
  3170. 2:48:38improvements in some areas particularly
  3171. 2:48:40in state prediction accuracy and log
  3172. 2:48:43likelihood compared to the adx ATR Donan
  3173. 2:48:46model however it still doesn't
  3174. 2:48:48outperform the volume
  3175. 2:48:50change the new model's feature
  3176. 2:48:53importance is more balanced than the
  3177. 2:48:54volume change one which might provide
  3178. 2:48:56more diverse insights into Market
  3179. 2:49:01Behavior the frequent State changes in
  3180. 2:49:04the visual representation suggests that
  3181. 2:49:06this model might be more reactive to
  3182. 2:49:08short-term price movements overall while
  3183. 2:49:11the new model shows some promising
  3184. 2:49:13characteristics especially in its
  3185. 2:49:15balanced feature importance and high
  3186. 2:49:17State prediction accuracy it doesn't
  3187. 2:49:19conclusively outperform the volume
  3188. 2:49:21change model across all metrics the
  3189. 2:49:24volume change model still appears to be
  3190. 2:49:26the most effective in capturing the
  3191. 2:49:28underlying dynamics of Bitcoin price
  3192. 2:49:32movements okay sick well let's keep it
  3193. 2:49:34moving then let's try it again I'm going
  3194. 2:49:37to take all this
  3195. 2:49:47information just plop it in there
  3196. 2:49:49because why wouldn't
  3197. 2:49:51I just plop her
  3198. 2:49:57in plopped it
  3199. 2:50:11in perfect perfect I'm getting
  3200. 2:50:13comfortable with this I can see ly
  3201. 2:50:15regres macd true range like sometimes
  3202. 2:50:17this stuff's so intim then you can't
  3203. 2:50:19even see
  3204. 2:50:20it you know you can't even look at it
  3205. 2:50:23like don't even look at me don't yo you
  3206. 2:50:25are so complicated I don't even want you
  3207. 2:50:27to look at me right now CL no don't look
  3208. 2:50:30at me stop looking at me dude could you
  3209. 2:50:33imagine if I was on camera there's no
  3210. 2:50:35way the show would not go on if y'all
  3211. 2:50:38fools were looking at me this whole time
  3212. 2:50:40I would stop it stop it stop
  3213. 2:50:43it stop it stop it stop it y'all would
  3214. 2:50:45fall in love with me you already fall in
  3215. 2:50:48love with my voice
  3216. 2:50:52voice 97% males in the audience by the
  3217. 2:50:57way
  3218. 2:51:01weirdos oh my
  3219. 2:51:04god let's go ahead and try some
  3220. 2:51:08more so what I'm going to do do here is
  3221. 2:51:11I'mma paste this
  3222. 2:51:14in the things I do without actually
  3223. 2:51:17thinking I did is crazy you see that
  3224. 2:51:20over and over again like moev you
  3225. 2:51:23already did
  3226. 2:51:24that look at this look at this
  3227. 2:51:27professional looking file
  3228. 2:51:31dude this is a good looking I'm GNA push
  3229. 2:51:33this to GitHub right now this is just a
  3230. 2:51:36good looking non moev
  3231. 2:51:40like dang really cool really cool I
  3232. 2:51:44remember back in the day when I saw
  3233. 2:51:46folders I would just oh pretty much just
  3234. 2:51:50puke I pretty much just puke because
  3235. 2:51:54it's so intimidating looking at this
  3236. 2:51:56code over here and then folders of the
  3237. 2:51:58code how do you
  3238. 2:52:00even oh man that's why it's hard to work
  3239. 2:52:03on other people's code bases in my
  3240. 2:52:05opinion that's one of the reasons
  3241. 2:52:24what is this fer called hidden Markoff
  3242. 2:52:27model rest in peace Jim so much love to
  3243. 2:52:30you dog you don't understand how
  3244. 2:52:32inspiring you are
  3245. 2:52:34dog appreciate every every thought you
  3246. 2:52:37put out every thought you put out in the
  3247. 2:52:40universe I know you're not going to show
  3248. 2:52:41us everything and now we'll never know
  3249. 2:52:43but I feel like you gave us enough
  3250. 2:52:46enough pieces I'm grateful I'm grateful
  3251. 2:52:49for him thank you Jim rest in peace 777
  3252. 2:52:52to you your loved
  3253. 2:52:54ones I hope there's somewhere amazing
  3254. 2:52:57that you had it after
  3255. 2:53:00death and other gy too I love you like a
  3256. 2:53:03pops to
  3257. 2:53:05me much love Eerie that you both died in
  3258. 2:53:08the same year Eerie Eerie stuff when I
  3259. 2:53:12say Jim I'm really talking to both
  3260. 2:53:16y'all much love
  3261. 2:53:19pops let's go ahead here
  3262. 2:53:29and let's try these new
  3263. 2:53:33ones
  3264. 2:53:35so instead of using the current
  3265. 2:53:40indicators in the above
  3266. 2:53:43code use these three
  3267. 2:53:48from
  3268. 2:53:50ta all right and one of them is a
  3269. 2:53:53Candlestick that's weird I don't know if
  3270. 2:53:56it'll work
  3271. 2:54:02but
  3272. 2:54:08tripo metac CLA GPT did you check grock
  3273. 2:54:13NOP
  3274. 2:54:15nope so the vector database I remember
  3275. 2:54:17that from uh um Auto GPT
  3276. 2:54:22days Jane says grock many
  3277. 2:54:25apis it looks like it's a drop in code
  3278. 2:54:28for open AI compatible so not much
  3279. 2:54:33changes that's
  3280. 2:54:35dope feel like I got my trippy kit for
  3281. 2:54:38now but keep it coming keep it
  3282. 2:54:46coming so I need to go to H mm models
  3283. 2:54:49what was the last one we did we did Lin
  3284. 2:54:53rag so I'm going to copy all this code
  3285. 2:54:56over and this new one is
  3286. 2:55:00called Stoke comma
  3287. 2:55:10Hammer yo am I doing this right like
  3288. 2:55:13that's my question is this what is this
  3289. 2:55:16what machine learning is it's just
  3290. 2:55:17coming up with a bunch of ideas and
  3291. 2:55:18testing them anybody in the audience
  3292. 2:55:21know
  3293. 2:55:23like you know are you supposed to switch
  3294. 2:55:26models more often am I doing this right
  3295. 2:55:29yeah I guess that's the question I feel
  3296. 2:55:30like I'm just going in a loop which is
  3297. 2:55:33good because I'm seeing new data but
  3298. 2:55:35again I'm trying to get like 50 shots up
  3299. 2:55:37just so I can see where to go but I'm
  3300. 2:55:39curious if there's another approach to
  3301. 2:55:41this I'm actually just GNA ask
  3302. 2:55:44AI I'm running out of I'm running out of
  3303. 2:55:47chat so I'm not gonna I'm not going to
  3304. 2:55:48ask her not right now but I'll put it on
  3305. 2:55:51the Note sheet let's go to read
  3306. 2:55:57me ask AI am I doing this
  3307. 2:56:02right am I
  3308. 2:56:05literally
  3309. 2:56:08supposed to
  3310. 2:56:11just just test all of these different
  3311. 2:56:17indicators
  3312. 2:56:20indicators and
  3313. 2:56:23ideas with different models and
  3314. 2:56:30features to predict different
  3315. 2:56:36things I know price isn't the best to
  3316. 2:56:41predict but test uh
  3317. 2:56:45predicting Market r
  3318. 2:56:49regimes
  3319. 2:56:51and when to run
  3320. 2:56:55each
  3321. 2:56:57um
  3322. 2:56:59strategy could be good ideas but just
  3323. 2:57:05curious if this is the right
  3324. 2:57:09route
  3325. 2:57:11route to take When
  3326. 2:57:15approaching ml for trading
  3327. 2:57:19is it really just about testing all
  3328. 2:57:24these different
  3329. 2:57:26ideas
  3330. 2:57:29features
  3331. 2:57:32indicators
  3332. 2:57:35Etc trying to find a model that works
  3333. 2:57:40best what is best I still I'm not clear
  3334. 2:57:43on that my best right now is just I'm
  3335. 2:57:45trying to compare it against others you
  3336. 2:57:47know a different other ones that I do
  3337. 2:57:50but you
  3338. 2:57:58know Rick RI what's up
  3339. 2:58:01bro good to have you here dude Anga G
  3340. 2:58:05says you're just fine-tuning the
  3341. 2:58:07parameters and putting the model through
  3342. 2:58:09various tests you have designed to get
  3343. 2:58:12it to reflect reality as close as
  3344. 2:58:14possible
  3345. 2:58:16essentially so do you feel like this is
  3346. 2:58:18a good path I mean I feel like I haven't
  3347. 2:58:20found anything better than the volume
  3348. 2:58:22one yet and I'm going to keep going
  3349. 2:58:26obviously keep going but I just want to
  3350. 2:58:28make sure like when I come back at
  3351. 2:58:30it that um it's the right path to take
  3352. 2:58:35but I I like this so far I also want to
  3353. 2:58:37try some should I be trying should I be
  3354. 2:58:41trying rnn's or other um
  3355. 2:58:46models where can can I find all the
  3356. 2:58:50suitable models to use on this time
  3357. 2:58:55series
  3358. 2:58:58data do you have a GitHub you says Nah I
  3359. 2:59:01mean I got a GitHub but it's a private
  3360. 2:59:05GitHub
  3361. 2:59:07um Kieran says first time here and I
  3362. 2:59:09don't understand a thing on the screen
  3363. 2:59:11LOL that's fun man or lady yo B I'm
  3364. 2:59:16going stick it to B that's fun I'm I I'm
  3365. 2:59:19really proud to hear that honestly
  3366. 2:59:21because I didn't understand any of this
  3367. 2:59:23when I got started either and it just
  3368. 2:59:24takes like persistence day after day
  3369. 2:59:29um I believe code's a great equalizer if
  3370. 2:59:32you don't know how to code then you got
  3371. 2:59:34to learn bro you got to
  3372. 2:59:37learn that's the first
  3373. 2:59:41step cuz then you can build
  3374. 2:59:43anything riss says I'm pursuing a data
  3375. 2:59:46science degree at the moment and have
  3376. 2:59:48beginner coding experience what concepts
  3377. 2:59:49do you recommend I study needed to make
  3378. 2:59:52a trading
  3379. 2:59:53bot damn you're going to school for
  3380. 2:59:56this you should be recommending stuff to
  3381. 2:59:58me
  3382. 3:00:00honestly no but in all seriousness I've
  3383. 3:00:02been coding here for 3 and a half years
  3384. 3:00:04so I don't know where you're at but I
  3385. 3:00:06show it all on my YouTube channel I've
  3386. 3:00:09been tra building trading Bots pretty
  3387. 3:00:10much
  3388. 3:00:11specifically for three and a half years
  3389. 3:00:14on my YouTube so you can just start here
  3390. 3:00:16and just kind of pick through however
  3391. 3:00:17you want
  3392. 3:00:18I know you're in school so you probably
  3393. 3:00:20don't have a lot of cash but the boot
  3394. 3:00:22camp I have a boot camp that walks you
  3395. 3:00:23through all this stuff step by step you
  3396. 3:00:25can read about it here and probably
  3397. 3:00:27reverse engineer it if you don't want to
  3398. 3:00:28join but $69 I know you're already
  3399. 3:00:30spending a ton of money at school so no
  3400. 3:00:33worries if you can't afford it um you
  3401. 3:00:35can always just learn stuff at a little
  3402. 3:00:37little slower speed on my YouTube
  3403. 3:00:39because everything that I've learned
  3404. 3:00:41I've done here Live on YouTube or
  3405. 3:00:43somewhat live and um
  3406. 3:00:48I just put the good stuff in the boot
  3407. 3:00:50camp so my YouTube has everything and
  3408. 3:00:54people always ask me to do like short
  3409. 3:00:55concise videos but this helps motivate
  3410. 3:00:58me to keep going when I'm I'm kind of
  3411. 3:01:00like showing you over my shoulders it's
  3412. 3:01:01like you guys are watching me do this
  3413. 3:01:03entire thing every single day for the
  3414. 3:01:05last multiple years and I can't stop I
  3415. 3:01:10can't stop because we're a squad now you
  3416. 3:01:12know yo kieran's from Singapore and you
  3417. 3:01:16is from Singapore yo you y'all are on it
  3418. 3:01:20your whole country is on it I never been
  3419. 3:01:22to Malaysia but
  3420. 3:01:26um I know Singapore like y'all are high
  3421. 3:01:29tech over there angan G says I think
  3422. 3:01:32you're on the right path Industries like
  3423. 3:01:34Aerospace weapons and GPS have un or
  3424. 3:01:37utilize hmm the most but finding the
  3425. 3:01:40position of something in a Newtonian
  3426. 3:01:44space is way easier than markets ah yeah
  3427. 3:01:47makes sense but I still think it's worth
  3428. 3:01:50looking at if you're stuck for examples
  3429. 3:01:52ah it's good
  3430. 3:01:55idea it's a good idea to look at that
  3431. 3:01:57stuff over there in other spaces okay
  3432. 3:02:02so I was just I wanted to ask AI this
  3433. 3:02:05eventually but for now let's go ahead
  3434. 3:02:07and compare the data or what were we
  3435. 3:02:10doing oh I was doing a new one Stoke
  3436. 3:02:14comma Stoke Cala
  3437. 3:02:20stoked stoked Kamala is about to be our
  3438. 3:02:24president first woman president first
  3439. 3:02:27second second Brown president dude yo yo
  3440. 3:02:31yo yo yo yo that's sick if we got two
  3441. 3:02:34brown presidents in my lifetime I don't
  3442. 3:02:36care what side you're on dog I literally
  3443. 3:02:39couldn't care
  3444. 3:02:41less I vote for race
  3445. 3:02:48that's kind of whack but that's kind of
  3446. 3:02:51whack
  3447. 3:02:52but if you know you know you know and
  3448. 3:02:56now gender I'm voting for a woman every
  3449. 3:02:59time I can't vote but that's my input
  3450. 3:03:03I'm voting for a woman every time way
  3451. 3:03:05more
  3452. 3:03:08organized and then you put you put the
  3453. 3:03:10race card out there you know I'm voting
  3454. 3:03:14Brown so
  3455. 3:03:18you do you dude but you know my take on
  3456. 3:03:22that I ain't going to vote anti Brown
  3457. 3:03:25that's for
  3458. 3:03:27sure that's pizy all right States my
  3459. 3:03:32opinion doesn't matter though I'm not
  3460. 3:03:33able to vote
  3461. 3:03:35unfortunately or
  3462. 3:03:38fortunately probably
  3463. 3:03:42fortunately okay let's go ahead and
  3464. 3:03:44paste those in there main execution
  3465. 3:04:00okay past her in okay let's see what
  3466. 3:04:03she's got let's see what Cala
  3467. 3:04:06got I know I say her name wrong
  3468. 3:04:09but I should I should correct
  3469. 3:04:12that I should correct that
  3470. 3:04:21kamla kamla didn't work on this one
  3471. 3:04:24let's go ahead and see if what she can
  3472. 3:04:26do come on baby
  3473. 3:04:41girl there she go
  3474. 3:04:48down bang
  3475. 3:04:54bang your trading bot can automatically
  3476. 3:04:57place orders on centralized exchanges
  3477. 3:05:00yep um as long as you have an account
  3478. 3:05:02you should be able to Via bance yep hey
  3479. 3:05:06Mund dad you've inspired me to learn
  3480. 3:05:07dude that's so
  3481. 3:05:09dope I'm so happy for you
  3482. 3:05:13bro learning coding is like the best
  3483. 3:05:16decision in your life life in my
  3484. 3:05:22opinion that is the best decision you
  3485. 3:05:25could ever
  3486. 3:05:29make so let's go ahead and copy the load
  3487. 3:05:33and pre-process
  3488. 3:05:41here and our
  3489. 3:05:43our comma
  3490. 3:05:46code comma code code see what our comma
  3491. 3:05:49code does
  3492. 3:05:51now oh but this might be a problem we'll
  3493. 3:05:55see I've never used the Candlestick
  3494. 3:06:00before what AI model you use uh so I'm
  3495. 3:06:05using the hidden markof model right now
  3496. 3:06:08just on day four though so I'm still
  3497. 3:06:10barely new what type of models do you
  3498. 3:06:12use for time series data we're trying to
  3499. 3:06:14predict the state so not necessarily the
  3500. 3:06:16price predict the uh regimes this is
  3501. 3:06:19based off of some hints that um our guy
  3502. 3:06:23Steve Jobs oops I mean Jim
  3503. 3:06:27Simons okay
  3504. 3:06:29dude same thing same
  3505. 3:06:32thing I don't know I don't know dog
  3506. 3:06:35Visionaries B
  3507. 3:06:38Visionaries anyways we're using hidden
  3508. 3:06:40Markov models because homeboy said he
  3509. 3:06:42used
  3510. 3:06:44them or his people used them but it's
  3511. 3:06:48not only the only thing he used so any
  3512. 3:06:51ideas you got please do drop them in the
  3513. 3:06:53chesy predict States and analyze States
  3514. 3:06:56here so this is a hidden Markoff model
  3515. 3:06:59predict and analyze States we're trying
  3516. 3:07:01to predict seven different states I
  3517. 3:07:03think I'm going to start testing after
  3518. 3:07:05this one with less States though because
  3519. 3:07:09I think seven is
  3520. 3:07:15aggressive use that it can help but in
  3521. 3:07:17combination with something interesting
  3522. 3:07:20so how would you combine it I
  3523. 3:07:23guess and what like combin it with what
  3524. 3:07:26like lstm
  3525. 3:07:27[Music]
  3526. 3:07:30or change oh did you take
  3527. 3:07:37out she took it out
  3528. 3:07:49why did you take it out of
  3529. 3:07:52here look at that let's see what she
  3530. 3:07:56said at least apologize for the error
  3531. 3:07:58the issu is that likely caused by the
  3532. 3:08:01nature of CDL indicator which returns
  3533. 3:08:03discreet values usually minus 100 yo
  3534. 3:08:06homeboy said this earlier dude listen to
  3535. 3:08:08the chat the chat is where everything's
  3536. 3:08:11at dog the chat is where everything's at
  3537. 3:08:15somebody said this earlier and I just
  3538. 3:08:16didn't understand it
  3539. 3:08:18yet see that's the thing sometimes y'all
  3540. 3:08:21say stuff I don't understand and I love
  3541. 3:08:23that I love that because then I see it
  3542. 3:08:26later and it's like okay now I
  3543. 3:08:27understand what homeboy was trying to
  3544. 3:08:28tell me
  3545. 3:08:31earlier I love it it's a whole another
  3546. 3:08:34element to this game and if you're here
  3547. 3:08:35live you get the same you're here like
  3548. 3:08:38you get the same things and you probably
  3549. 3:08:39come to even better ideas cuz you see
  3550. 3:08:42the chat
  3551. 3:08:43too people leave with love around here
  3552. 3:08:46this ain't scary scarcity set mindset
  3553. 3:08:49Finance no way not around here I know
  3554. 3:08:51there's a couple scarcity MOS up in the
  3555. 3:08:53the chat right now but they ain't
  3556. 3:08:55chatting they ain't chatting in the
  3557. 3:08:56audience I say that there's some
  3558. 3:08:59scarcely L mos in the audience but not
  3559. 3:09:01in the chat chat chatly would love chat
  3560. 3:09:04brings all ideas I apologize for the
  3561. 3:09:06error the it's because the negative 100
  3562. 3:09:09or zero or 100 doesn't continuously like
  3563. 3:09:12other indicators this can lead to
  3564. 3:09:13singularities Let's modify approach
  3565. 3:09:16we'll keep stoke SI I and comma but
  3566. 3:09:18replace CDL Hammer with A continuous
  3567. 3:09:21indicator a good choice could be the
  3568. 3:09:24average
  3569. 3:09:25directional
  3570. 3:09:28adx all right I'm with it I'm with it if
  3571. 3:09:31you with
  3572. 3:09:32it I'm with if you with it
  3573. 3:09:48she sneaked me though she sneaked me
  3574. 3:09:51real quick on that that's good though I
  3575. 3:09:53love it I love it I love it I love it
  3576. 3:09:55let's go push me to the limits
  3577. 3:09:58dog push me to the edge all of my
  3578. 3:10:02friends are
  3579. 3:10:03dead push me to the
  3580. 3:10:14edge all right
  3581. 3:10:17P her
  3582. 3:10:23in okay let's run
  3583. 3:10:30it there we go so Vladimir what up bro
  3584. 3:10:34I'm glad you're here dude never seen you
  3585. 3:10:38before he says use the hmm in
  3586. 3:10:41combination with something find state
  3587. 3:10:44for example and then combine with other
  3588. 3:10:47Model H boost or some
  3589. 3:10:50signals
  3590. 3:10:53interesting interesting stuff you got
  3591. 3:10:56there dude I don't quite understand it
  3592. 3:10:58but I will so yeah yeah let me just ask
  3593. 3:11:02then if you don't
  3594. 3:11:04mind let me ask you a question about
  3595. 3:11:06that but the question would
  3596. 3:11:09be wait a
  3597. 3:11:12minute the question is okay so he says
  3598. 3:11:15to use the hmm in combination with
  3599. 3:11:17something like hxg boost okay
  3600. 3:11:19comfortable with
  3601. 3:11:21that find state what does that mean find
  3602. 3:11:25state for example you mean like the
  3603. 3:11:27regime like the states okay that's I've
  3604. 3:11:29been working on for the last 3 hours and
  3605. 3:11:31I don't even know what state means come
  3606. 3:11:32on
  3607. 3:11:34mondev come on
  3608. 3:11:36mondev so we find the state and then
  3609. 3:11:39combine it with another model XG boost
  3610. 3:11:42or some signals so do you mean to
  3611. 3:11:43predict price after so predict price in
  3612. 3:11:47the states while predicting price is
  3613. 3:11:49pretty Noob and everybody is trying to
  3614. 3:11:51predict
  3615. 3:11:52price is everybody trying to predict
  3616. 3:11:55price during specific states there we go
  3617. 3:11:58see now we're a level deeper see
  3618. 3:12:01everybody wants to predict price I don't
  3619. 3:12:02know is this right am I going there
  3620. 3:12:04right Vlad I don't know everybody wants
  3621. 3:12:06to predict price right
  3622. 3:12:09away but if everybody predicts price the
  3623. 3:12:11price ain't going to be the price
  3624. 3:12:12anymore get it does that make sense if
  3625. 3:12:15everybody predicts price and the price
  3626. 3:12:16ain't going to be the price
  3627. 3:12:20noo but not
  3628. 3:12:23everybody he says few working on algo
  3629. 3:12:27trading already few years
  3630. 3:12:32dope dope dude but not
  3631. 3:12:36everyone
  3632. 3:12:37predicts
  3633. 3:12:39regime and then predicts
  3634. 3:12:45price the this is one level
  3635. 3:12:50deeper is it the
  3636. 3:12:54answer maybe not
  3637. 3:12:57but but now we thinking really I like
  3638. 3:13:10it I like it though
  3639. 3:13:18I love it I love this game so grateful
  3640. 3:13:20to
  3641. 3:13:22play so so grateful dog that we have a
  3642. 3:13:25long Runway here a unlimited Runway to
  3643. 3:13:29play this game come on B let's go come
  3644. 3:13:34on you do you whatever you do do it hard
  3645. 3:13:37dog rest at the end not in the middle
  3646. 3:13:41rest at the end come on be let's get it
  3647. 3:13:44I'm talking to me dog I apologize for
  3648. 3:13:47for people that don't like hearing that
  3649. 3:13:48but it's me I'm going every day this is
  3650. 3:13:52the day to
  3651. 3:14:10do I mean we could back test things too
  3652. 3:14:14oh my God bro stop it this game is too
  3653. 3:14:17fun there's too many levels there's too
  3654. 3:14:19many ideas
  3655. 3:14:22dude we can back test some of this data
  3656. 3:14:28too like buy when in
  3657. 3:14:32state one and then sell when in state
  3658. 3:14:39three
  3659. 3:14:40unlimited ideas
  3660. 3:14:43dog unlimited Come on B let's go
  3661. 3:14:48go um let's see here vad says yes you
  3662. 3:14:53find state for example one bullish
  3663. 3:14:55signal plus then XG boost can predict
  3664. 3:14:58your direction for example with 80%
  3665. 3:15:01confidence if bot match you put long if
  3666. 3:15:05both match you put long you're fire bro
  3667. 3:15:08you are fire you are fire I like your
  3668. 3:15:12mind dog I'm so happy that you're
  3669. 3:15:15here I'm so so happy that you're here I
  3670. 3:15:18hope I hope you come back jump in the
  3671. 3:15:22Discord you're you're my people
  3672. 3:15:25bro it's good to good to meet you I like
  3673. 3:15:29how you think that's
  3674. 3:15:31a bu
  3675. 3:15:34idea buy idea I'm giving you the crown
  3676. 3:15:36I'm giving you the crown for the day I'm
  3677. 3:15:38sorry just you just hopped in dropped
  3678. 3:15:40the mic and yeah yeah duh like of course
  3679. 3:15:44of course you do it that way and now
  3680. 3:15:46it's like cuz predicting price
  3681. 3:15:48everybody's predicting price just put
  3682. 3:15:51some put some get some separation in
  3683. 3:15:53between predicting price and everybody
  3684. 3:15:54else you know okay if you want to
  3685. 3:15:56predict price everybody's got access to
  3686. 3:15:58XG boost everybody's got access to open
  3687. 3:16:00high low close volume
  3688. 3:16:02data landlord said send details
  3689. 3:16:08bro oh man you ain't got to send nothing
  3690. 3:16:12you ain't got to send nothing more Vlad
  3691. 3:16:14you drop mic you can you don't have to
  3692. 3:16:16even come back honestly N I hope you do
  3693. 3:16:19you're a homie and I hope you do
  3694. 3:16:24but you provided your value thank you
  3695. 3:16:27dog so much love
  3696. 3:16:36C all
  3697. 3:16:38right I said we going to be here for 60
  3698. 3:16:41years
  3699. 3:16:43I D there's unlimited things two tests
  3700. 3:16:48all right sorry I'm just tripping now
  3701. 3:16:50I'm just tripping relax relax I only got
  3702. 3:16:53five more messages for today
  3703. 3:16:57is I'm GLA I'm I'm over here glazing
  3704. 3:17:00Vlad I'm over here glazing
  3705. 3:17:04Vlad look at that I be learning hypers
  3706. 3:17:07speed cuz of Y I learned a new I learned
  3707. 3:17:09a whole new word today and then Vlad
  3708. 3:17:12came up in here and dropped some dimes
  3709. 3:17:18and then I use my new word because I am
  3710. 3:17:21lowkey glazing right
  3711. 3:17:26now oh man I love this game so grateful
  3712. 3:17:28for this life that we live every single
  3713. 3:17:30day we get to wake up and do anything
  3714. 3:17:32that we want to do just close your eyes
  3715. 3:17:34dude whatever you want just close your
  3716. 3:17:36eyes 10 minutes a day dude I meditate
  3717. 3:17:38for 1 hour a
  3718. 3:17:41day I don't just say this stuff
  3719. 3:17:44dog I really believe
  3720. 3:17:48most people aren't thinking about what
  3721. 3:17:49they want in
  3722. 3:17:51life most people don't don't have the
  3723. 3:17:53right direction they don't know which
  3724. 3:17:55direction they want to go in they're
  3725. 3:17:56just
  3726. 3:18:00reacting but when you close your eyes
  3727. 3:18:03and it's not just for sleeping when you
  3728. 3:18:06close your eyes and you just sit there
  3729. 3:18:07you can see where you want to go and you
  3730. 3:18:08just go there it's going to be hard but
  3731. 3:18:10it's supposed to be hard life supposed
  3732. 3:18:12to be hard dog I love I'm so grateful
  3733. 3:18:14for this let's get it let's keep going
  3734. 3:18:17okay so here's the data analyze it so oh
  3735. 3:18:22oh this one is poor I've never seen one
  3736. 3:18:25so bad this is our worst one in the
  3737. 3:18:28accuracy but let's see if it does
  3738. 3:18:30anything else here's my here is the
  3739. 3:18:35latest uh data
  3740. 3:18:38output please compare to our other
  3741. 3:18:42models
  3742. 3:18:52so a Transformer model to predict price
  3743. 3:18:55or Transformer model to yeah I guess
  3744. 3:18:57that's that's the question
  3745. 3:19:02right that's the question Transformer
  3746. 3:19:05model to do
  3747. 3:19:07what I've heard that a couple times now
  3748. 3:19:10in the chat which is fire because when I
  3749. 3:19:12see things a couple of
  3750. 3:19:14times you know that people are
  3751. 3:19:17people just leave with love around here
  3752. 3:19:18dog this is the leave with love with
  3753. 3:19:20Munda because I'm showing you literally
  3754. 3:19:23everything I ever see every single day
  3755. 3:19:25no matter what and y'all do the same
  3756. 3:19:27thing back stop it I love it I love this
  3757. 3:19:31world I love this world so so much you
  3758. 3:19:34get what you put out dog you get what
  3759. 3:19:35you put out all the time that's always
  3760. 3:19:37you smile at somebody what do they do do
  3761. 3:19:40they frown back no they don't frown back
  3762. 3:19:45bro uh I found meditation very powerful
  3763. 3:19:48and after was guided to Lord much closer
  3764. 3:19:54dude don't look at accuracy I feel no
  3765. 3:19:58Dimitri I don't want to skip over that
  3766. 3:20:01I'm glad I'm glad you found meditation
  3767. 3:20:02to be a powerful thing I
  3768. 3:20:04it's I think it's in my mind it's one of
  3769. 3:20:07the most powerful
  3770. 3:20:08things I can do each
  3771. 3:20:11day it's just magical it's magical it's
  3772. 3:20:14magical how like or uh your room's all
  3773. 3:20:17messy your brain your thoughts are all
  3774. 3:20:18messy and then you just meditate for 10
  3775. 3:20:2020 minutes and now it's all organized
  3776. 3:20:22everything's organized and now you know
  3777. 3:20:24exactly where you want to go and how to
  3778. 3:20:25do it and it's just amazing it's amazing
  3779. 3:20:29so don't look at accuracy profit and
  3780. 3:20:31draw down we don't we're not even back
  3781. 3:20:32testing yet
  3782. 3:20:36though how do we even start back testing
  3783. 3:20:44this we're not even back testing
  3784. 3:20:48yet maybe I should start back testing
  3785. 3:20:52build this
  3786. 3:20:54into our back testing model cuz
  3787. 3:21:00Vlad said don't even Lookout
  3788. 3:21:12accuracy so I need to move this note
  3789. 3:21:15here it's all coming together dog
  3790. 3:21:17it's all coming together you know it too
  3791. 3:21:19you're here you're present build this
  3792. 3:21:22into our back testing
  3793. 3:21:24models I don't know whatever cuz FL said
  3794. 3:21:27don't even look at
  3795. 3:21:29accuracy profit draw down obviously so
  3796. 3:21:33that's profit draw down it's calar ratio
  3797. 3:21:36I
  3798. 3:21:36believe what is calar ratio I believe
  3799. 3:21:39it's profit draw
  3800. 3:21:41down draw down but yeah why wouldn't we
  3801. 3:21:44be testing on actual data funds maximum
  3802. 3:21:46loss
  3803. 3:21:47maximum loss from Peak to tro over a
  3804. 3:21:50given period not quite but
  3805. 3:21:54whatever um or
  3806. 3:22:05Direction and then we can use some
  3807. 3:22:08things from the past to enter well
  3808. 3:22:18or
  3809. 3:22:19Direction then layer
  3810. 3:22:22in straps do enter well ah not going to
  3811. 3:22:28flush that out right now
  3812. 3:22:30but I think that's the next Play From
  3813. 3:22:33Here I'mma I'mma update
  3814. 3:22:37this test three damn we haven't got test
  3815. 3:22:40two
  3816. 3:22:41yet get back testing. py into the
  3817. 3:22:48equation and back test on OSS o o
  3818. 3:22:56data and yeah
  3819. 3:22:59yeah super dope Vlad much love to you
  3820. 3:23:02what's up shorty what you
  3821. 3:23:06doing
  3822. 3:23:08hey hey glad my dog's been quiet this
  3823. 3:23:11whole time and she just started
  3824. 3:23:13congratulating you she's said woof woof
  3825. 3:23:16she said woof
  3826. 3:23:19woof such a good girl much to you do I'm
  3827. 3:23:23saying you puppy Vibes I'm send you
  3828. 3:23:25puppy Vibes dog back testing is the most
  3829. 3:23:27important part and most complex I have
  3830. 3:23:29great tools for it nice what type of
  3831. 3:23:31tools you use I just use back testing.
  3832. 3:23:33py I just use back testing. py which is
  3833. 3:23:37wild
  3834. 3:23:44old okay um um see what else we got
  3835. 3:23:49here this is this is comparing our other
  3836. 3:23:53two get big body get get them get him
  3837. 3:23:57that's a big body bag right there
  3838. 3:23:59somebody just got taken out on a
  3839. 3:24:00stretcher BTC let's go look at it I love
  3840. 3:24:05seeing these body bags no offense when
  3841. 3:24:08it's on the short side I love to see it
  3842. 3:24:10yo Zeus what up good to have you back
  3843. 3:24:11bro it's been a while it's been a whole
  3844. 3:24:14day it's been actually hasn't even been
  3845. 3:24:1624 hours so I'm glad I see you every day
  3846. 3:24:19now much love how's it going I'm doing
  3847. 3:24:21great dog um we're just we're just
  3848. 3:24:24hacking our way through these hidden
  3849. 3:24:26Markoff models and got mad ideas got mad
  3850. 3:24:30ideas I'm just watching somebody get
  3851. 3:24:32body bagged on the chopper here they
  3852. 3:24:35just got liquidated for 341 thou y'all
  3853. 3:24:38probably can't even see the numbers on
  3854. 3:24:40here
  3855. 3:24:43huh yo is this screen stuck
  3856. 3:24:51no it's not stuck is
  3857. 3:24:53it can you see when I move it around oh
  3858. 3:24:56my God how long has the screen been
  3859. 3:24:58stuck
  3860. 3:24:59for how many
  3861. 3:25:03hours that's
  3862. 3:25:07wild how many hours has this screen been
  3863. 3:25:10suck for
  3864. 3:25:19all right well I think
  3865. 3:25:22that I think I got a
  3866. 3:25:24bounc we're going to look I'll talk
  3867. 3:25:26through this I'll talk through this I'll
  3868. 3:25:27talk through
  3869. 3:25:28this long time landlord says yo ain't
  3870. 3:25:33nobody said
  3871. 3:25:37nothing what's this a podcast
  3872. 3:25:41now Jane says she's listening not
  3873. 3:25:44watching
  3874. 3:25:54okay so it was fine before okay maybe it
  3875. 3:25:56just happened
  3876. 3:25:57recently
  3877. 3:26:00um I'm just going to end it with here
  3878. 3:26:02and then I'm going to go grab some food
  3879. 3:26:04and then I'll be back live later just
  3880. 3:26:06because I got to reset this or something
  3881. 3:26:09um Jane's got
  3882. 3:26:12meetings she's getting ready
  3883. 3:26:17certainly I'll compare this new model
  3884. 3:26:19using Stoke RSI camo and adx with the
  3885. 3:26:22previous models we've
  3886. 3:26:25discussed yo have a great day Jane much
  3887. 3:26:28love to you always
  3888. 3:26:30777 landlord said about 20 minutes okay
  3889. 3:26:34that's not bad Zeus I'm going to I'm
  3890. 3:26:36going to restart this here soon I just
  3891. 3:26:37want to compare these
  3892. 3:26:44models so new model is 41 previous 97 98
  3893. 3:26:4889 new model likelihood 3us 37k previous
  3894. 3:26:53model minus 30 and the best one was 142
  3895. 3:26:57the new model has a lower log likelihood
  3896. 3:26:58indicating poor fit okay so this model
  3897. 3:27:10sucks this model sucks that's okay
  3898. 3:27:14that's good that's a shot that's a shot
  3899. 3:27:17we took and um at the end of the day and
  3900. 3:27:20I know you can't see this so it's kind
  3901. 3:27:21of awkward
  3902. 3:27:23but at the end of the day
  3903. 3:27:27this Stoke comma
  3904. 3:27:31unfortunately doesn't work
  3905. 3:27:39well you
  3906. 3:27:42know I'll let Vlad go ahead and say his
  3907. 3:27:45seven steps though
  3908. 3:27:47I'd love to hear it I'd love to hear
  3909. 3:27:49your seven steps because you've been
  3910. 3:27:51dropping dimes today other than that I'm
  3911. 3:27:55Aude all right so I've tried seven
  3912. 3:27:58different hmm which are hidden markof
  3913. 3:28:02models and the best one so far is model
  3914. 3:28:042 so model two was there another good
  3915. 3:28:08one this Stoke did not do well so we
  3916. 3:28:11passed in some different indicators oh
  3917. 3:28:14that's a good idea right there so model
  3918. 3:28:162 is the best what are the main
  3919. 3:28:18predictors here it was Stoke
  3920. 3:28:23here let's see let's see no it was um it
  3921. 3:28:26was a volume change so this is the best
  3922. 3:28:29thing for these inputs thus
  3923. 3:28:32far best I don't know how to define that
  3924. 3:28:35but it is what it is let's go ahead and
  3925. 3:28:39see okay this is 0 41 but that that
  3926. 3:28:41model didn't do well what is our second
  3927. 3:28:44best model yeah from what you've seen
  3928. 3:28:48from what
  3929. 3:28:51you've seen which are our top
  3930. 3:28:57two two
  3931. 3:29:00modelas so model two okay this model
  3932. 3:29:04consistently outperformed others with
  3933. 3:29:07high State prediction accuracy 89% but
  3934. 3:29:11then the lowest log or the highest log
  3935. 3:29:14and the lowest Bic
  3936. 3:29:17the second one is the linear linear
  3937. 3:29:20regression macd and true Range model
  3938. 3:29:24this model showed good performance
  3939. 3:29:26though not as strong as number one so
  3940. 3:29:29let's go ahead and say so far the best
  3941. 3:29:33one is this model 2 where can we put
  3942. 3:29:36that let's just go ahead and put a date
  3943. 3:29:39here dat it I don't know the thing is
  3944. 3:29:42his time is irrelevant
  3945. 3:29:44so let's go ahead and say
  3946. 3:29:48820b
  3947. 3:29:52and Top Model is model to best obviously
  3948. 3:29:58and
  3949. 3:29:59second is Lyn rag Mac TR
  3950. 3:30:05okay let's go ahead and just say hey
  3951. 3:30:08okay well let's test this on how to
  3952. 3:30:10sample data for both of them um
  3953. 3:30:16update the above code in order
  3954. 3:30:27to test model 2
  3955. 3:30:30verse the um and model 2 and
  3956. 3:30:36the
  3957. 3:30:38linreg Mac one as well
  3958. 3:30:43because you said it's second best this
  3959. 3:30:49is oos data where are we dude how do we
  3960. 3:30:53get
  3961. 3:30:53here what am I even saying at this point
  3962. 3:30:57oos wow wow wow wow wow wow wow wow wow
  3963. 3:31:02wow wow this is why I don't like coding
  3964. 3:31:04B it's a whole different language that's
  3965. 3:31:06it's they speak in a different language
  3966. 3:31:08y'all speak in a different language too
  3967. 3:31:10it's just it's just like any industry
  3968. 3:31:12though there's jargon so just got to get
  3969. 3:31:14with it or get lost essentially and they
  3970. 3:31:17had me lost for a long
  3971. 3:31:18time okay this is O data L ma above
  3972. 3:31:26please what is
  3973. 3:31:29the please please send new code back
  3974. 3:31:36that will test these
  3975. 3:31:40models ah man I feel like I'm missing
  3976. 3:31:43something there she's going to need
  3977. 3:31:44something else but I'm kind of BL
  3978. 3:31:54certainly I'll update the
  3979. 3:31:59code model l r so these aren't quite it
  3980. 3:32:03but okay I see I could have just done
  3981. 3:32:05this myself really but it's okay why
  3982. 3:32:08would I type why would I waste my I only
  3983. 3:32:10have so many keystrokes left in my life
  3984. 3:32:13I'mma save them I'mma save
  3985. 3:32:16them o testing this one here
  3986. 3:32:23is oh that's testing 2 it's the same
  3987. 3:32:25thing let's see how much it changes 78
  3988. 3:32:2979 okay what did I have up here nothing
  3989. 3:32:33perfect so this isn't quite right but
  3990. 3:32:37that's okay I just have to say something
  3991. 3:32:39in front of it model two scaler two I
  3992. 3:32:42said trained models trained models
  3993. 3:32:47I was about to use some of my key extra
  3994. 3:32:49keystrokes right there but I'm just
  3995. 3:32:51going to copy paste I mean that's a
  3996. 3:32:53smart thing to
  3997. 3:32:55do o s okay slope what is going on here
  3998. 3:33:01dude why do you have an
  3999. 3:33:05air why would you ever have an air on me
  4000. 3:33:08dog but you know I got Shooters be
  4001. 3:33:17Claude Claude and then
  4002. 3:33:20gbt that's it dude two messages left you
  4003. 3:33:25are kidding me right you are joking
  4004. 3:33:28right you are a silly silly B Billy
  4005. 3:33:32right that is some wild wild stuff I
  4006. 3:33:35apologize for the oversight the error is
  4007. 3:33:37occurring because ta. linreg function is
  4008. 3:33:40returning a series instead of a data
  4009. 3:33:43frame it's all good shorty don't worry
  4010. 3:33:46about
  4011. 3:33:47it I'm gon let you slide this
  4012. 3:33:49time obviously don't do it again
  4013. 3:33:53but you decide to handle it at that time
  4014. 3:33:57there we go shorty that's all you needed
  4015. 3:34:00all you needed a little threat little
  4016. 3:34:02threat that's all you need but Claude
  4017. 3:34:04Claude is Claude is
  4018. 3:34:06nice I like it so far I haven't switched
  4019. 3:34:08back to GPT have you have I I mean other
  4020. 3:34:11than
  4021. 3:34:11like N I like it I have no no complaints
  4022. 3:34:15I think it's is mobbing
  4023. 3:34:18too but you know I can always jump back
  4024. 3:34:20on the GPT when they need
  4025. 3:34:22me
  4026. 3:34:24um when I need it honestly when I'm out
  4027. 3:34:27I'm actually about to jump on it so I
  4028. 3:34:29better stop pumping up claw because I
  4029. 3:34:32guess that's the complaint that's the
  4030. 3:34:33complaint I got what do you mean you're
  4031. 3:34:35cutting me off dog for an hour get out
  4032. 3:34:38of here dog how you going to just cut me
  4033. 3:34:41off maybe pay more that's fine
  4034. 3:34:47you're just telling me that you're
  4035. 3:34:48burning VC cash then you're exposing
  4036. 3:34:50your hand dog that's all that's all it
  4037. 3:34:53tells me if you have to cut me off at
  4038. 3:34:54$20 and you won't let me you won't let
  4039. 3:34:57me uh run it up then that tells me that
  4040. 3:35:00these AI companies are they're upside
  4041. 3:35:02down dog the metrics ain't right
  4042. 3:35:05B something's going on there I'm
  4043. 3:35:07sniffing it I'm sniffing it why you kind
  4044. 3:35:09of why you charge and then not let me
  4045. 3:35:11buy more I guess that's the question
  4046. 3:35:14what's going on over there
  4047. 3:35:17is it super expensive to run these
  4048. 3:35:19models no yeah it could be it's cuz
  4049. 3:35:22you're buying chips like a bajillion
  4050. 3:35:24years out I don't know I'm not edicated
  4051. 3:35:26enough to have this
  4052. 3:35:29argument I'm sorry but this is the data
  4053. 3:35:33so let's just go look at it let's use
  4054. 3:35:35the use our last couple shots here CLA I
  4055. 3:35:38love you so much you got to understand
  4056. 3:35:40that it's all from love I love this you
  4057. 3:35:44you got me through some hard hard times
  4058. 3:35:46with
  4059. 3:35:46rust the gbt couldn't
  4060. 3:35:49do she couldn't do it and you could
  4061. 3:35:55dude let's uh use one of our we only
  4062. 3:35:59have one message left and this is going
  4063. 3:36:00to be the end
  4064. 3:36:02so the end of me and
  4065. 3:36:06Claudia I'm going to make it a good one
  4066. 3:36:08so I'm going to put a bunch of questions
  4067. 3:36:10in it yeah let's run it up dude let's
  4068. 3:36:11run it
  4069. 3:36:12up one
  4070. 3:36:18please follow the
  4071. 3:36:22following follow the steps follow the
  4072. 3:36:25following
  4073. 3:36:26steps
  4074. 3:36:30one help me
  4075. 3:36:35Analyze This
  4076. 3:36:38return print
  4077. 3:36:41out and the chart to understand which
  4078. 3:36:46did
  4079. 3:36:48better in
  4080. 3:36:51the out of sample
  4081. 3:36:57data why did it do better I don't know
  4082. 3:37:03this is a lot of pressure to have a
  4083. 3:37:05limit on I can't just I can't just be
  4084. 3:37:07thinking like that come on I'm closing
  4085. 3:37:10this I'm gonna put a bunch of good
  4086. 3:37:11questions in here though because I got
  4087. 3:37:13this question ask AI
  4088. 3:37:19get that up in
  4089. 3:37:21there PA
  4090. 3:37:23it paste that in what else what are we
  4091. 3:37:27are using go
  4092. 3:37:29yep yep there's another good question
  4093. 3:37:31see just stack the brain
  4094. 3:37:34dude I I mean I would smash the me of
  4095. 3:37:37the past not just only because I know
  4096. 3:37:39better python but just like we have ai
  4097. 3:37:42now my guy they gave us way too much
  4098. 3:37:44power
  4099. 3:37:47but only coders can use
  4100. 3:37:50it if this was widespread if this if
  4101. 3:37:53they get if everybody could have access
  4102. 3:37:55to the power that we have access to with
  4103. 3:37:56python and AI or coding and AI in
  4104. 3:37:59general they would shut that stuff down
  4105. 3:38:01quick they just don't
  4106. 3:38:05know they don't know dude we can launch
  4107. 3:38:08a startup in an
  4108. 3:38:11hour like a SAS
  4109. 3:38:15we're literally sitting here
  4110. 3:38:17in building alos all day
  4111. 3:38:21long I know I'm just getting started
  4112. 3:38:24know I don't know anything
  4113. 3:38:26yet I'm only 4,300 hours into this game
  4114. 3:38:29and I'm not saying anything till I'm at
  4115. 3:38:3210,000 I'm not saying anything I don't
  4116. 3:38:35have to say nothing I'm just going to
  4117. 3:38:37code you can watch the code and feel the
  4118. 3:38:41Vibes send love 247 777 maybe not 247
  4119. 3:38:45but if you really want to watch me 24/7
  4120. 3:38:46you
  4121. 3:38:48could think about that
  4122. 3:38:53bro that's all love it's all
  4123. 3:38:56love all right use multiprocessing to
  4124. 3:38:59train models okay I don't really want to
  4125. 3:39:04take a hard pivot but I might need this
  4126. 3:39:07I might need
  4127. 3:39:11this how
  4128. 3:39:13would dang I was excited to I was
  4129. 3:39:17excited to get get this going
  4130. 3:39:20today I'm going to use gbd4 mini yeah EP
  4131. 3:39:28it see see how she can get down you
  4132. 3:39:33know let's see if she can
  4133. 3:39:37move all right we're going to gbt for
  4134. 3:39:39mini
  4135. 3:39:41and I'm not even going to ask this
  4136. 3:39:43question well
  4137. 3:39:46man no I am going to ask this question
  4138. 3:39:49let's get one more good question then so
  4139. 3:39:52what else is there use multiprocessing
  4140. 3:39:54we are using gazi and hmm good ask that
  4141. 3:39:57predict price
  4142. 3:40:01um or send me back some code
  4143. 3:40:09that
  4144. 3:40:11predicts the state change and then uses
  4145. 3:40:16back testing.
  4146. 3:40:18py like the
  4147. 3:40:22below the attached the
  4148. 3:40:25attached gript does in order to combine
  4149. 3:40:32processes or whatever the most efficient
  4150. 3:40:38way of doing this is the
  4151. 3:40:42goal is to be able to to test
  4152. 3:40:48the a
  4153. 3:40:50strategy where it
  4154. 3:40:53switches from where where when when
  4155. 3:40:58price
  4156. 3:41:00switches from not price
  4157. 3:41:04when the
  4158. 3:41:08state switches from
  4159. 3:41:12one state to
  4160. 3:41:17another buy or sell based on what you
  4161. 3:41:22see in the image
  4162. 3:41:27attached make
  4163. 3:41:30things uh use the
  4164. 3:41:33optimizer use
  4165. 3:41:36Optimizer like the attached code
  4166. 3:41:41shows so that you can test
  4167. 3:41:46for all types
  4168. 3:41:49of State changes okay and
  4169. 3:41:55whether to buy sell or hold I don't know
  4170. 3:41:59dog I'm asking the world of her right
  4171. 3:42:01now why wouldn't I why wouldn't
  4172. 3:42:06I now we got to figure out where that
  4173. 3:42:08code's at because I was making big
  4174. 3:42:10promises over there I was making very
  4175. 3:42:12very big promises and I got to figure
  4176. 3:42:14out where the codes at
  4177. 3:42:16do so just get up in the little hyper
  4178. 3:42:21liquid action here push a little code
  4179. 3:42:24here and there can cancel because that's
  4180. 3:42:26not going to open Visual Studio code
  4181. 3:42:29okay it's already open the now I want to
  4182. 3:42:32just see what type of back test any back
  4183. 3:42:35test that looks good that has Optimizer
  4184. 3:42:38in it that
  4185. 3:42:43runs good thing we do this a lot
  4186. 3:42:47right that's a good thing we do this a
  4187. 3:42:51lot
  4188. 3:42:57okay there we go okay let's run it let's
  4189. 3:43:00see what you got
  4190. 3:43:02dog oh she can't even handle this she
  4191. 3:43:06couldn't handle that paste right there
  4192. 3:43:08where you at oh you're down there okay I
  4193. 3:43:12was going to
  4194. 3:43:13say all right so I threw a back pest in
  4195. 3:43:17there asked a bunch of questions from
  4196. 3:43:25her Ox Auto says is this
  4197. 3:43:29live it's not it's crazy pre-recorded
  4198. 3:43:33though DUS Monta says how do I find the
  4199. 3:43:37moonshot coin before it explodes and a
  4200. 3:43:40bot to take trade quickly any video you
  4201. 3:43:42would suggest none of them bro nah no
  4202. 3:43:46moon shots around here dude actually the
  4203. 3:43:48sniper I guess was kind of a moonshot
  4204. 3:43:50but but um back in February I was
  4205. 3:43:52building the salana sniper if that's
  4206. 3:43:54what you're referring to 777 OE what up
  4207. 3:43:58bro good to have you here I'm asking the
  4208. 3:44:00biggest I'm asking the most out of out
  4209. 3:44:02of whatever her name is right now and I
  4210. 3:44:04just did
  4211. 3:44:06because it's my last
  4212. 3:44:10chat it's the last chat
  4213. 3:44:15that's the
  4214. 3:44:16finale so certainly let's go through
  4215. 3:44:19your questions step by step one
  4216. 3:44:24analyze analysis of the out of sample
  4217. 3:44:27data results the model volume volume
  4218. 3:44:30change BB width volatility performed
  4219. 3:44:33significantly better on the out of
  4220. 3:44:35sample data with a likelihood of 3859
  4221. 3:44:39compared to 27 798 for the Lin regge
  4222. 3:44:44model
  4223. 3:44:45a higher log
  4224. 3:44:48likelihood indicates a better fit to the
  4225. 3:44:52data looking at the chart the volume
  4226. 3:44:55model shows more varied and frequent
  4227. 3:44:57State changes which might be capturing
  4228. 3:45:00more nuanced Market
  4229. 3:45:03behaviors the Lin rge model seems to get
  4230. 3:45:06stuck in one state state six for most of
  4231. 3:45:09the later part of the data which
  4232. 3:45:11suggests it's not adapting well to
  4233. 3:45:13changing Market I
  4234. 3:45:17conditions the volume model likely
  4235. 3:45:20performed better because volume changes
  4236. 3:45:22can be a strong indicator of Market
  4237. 3:45:24sentiment and potential price movements
  4238. 3:45:27the combination of volume volatility and
  4239. 3:45:30price range BB width captures different
  4240. 3:45:33aspects of the market
  4241. 3:45:36Behavior it seems more responsive to
  4242. 3:45:39changing markets as evidenced by the
  4243. 3:45:42frequent State changes approach to ml
  4244. 3:45:45for trading okay so this was the first
  4245. 3:45:46part and that was
  4246. 3:45:48interesting
  4247. 3:45:50um you
  4248. 3:45:53know I think the winner out of this
  4249. 3:45:55whole test so
  4250. 3:46:00far is modeled
  4251. 3:46:03to that volume
  4252. 3:46:06percent
  4253. 3:46:10change
  4254. 3:46:13is producing
  4255. 3:46:16best
  4256. 3:46:17results okay there we go I just got so
  4257. 3:46:20much in that read me
  4258. 3:46:22dude proach to ml you're on the right
  4259. 3:46:24track H that feels
  4260. 3:46:27good feels good you're on the right
  4261. 3:46:29track the process of testing different
  4262. 3:46:31indicators features and models is indeed
  4263. 3:46:33a crucial part of developing machine
  4264. 3:46:35learning strategies for trading there
  4265. 3:46:37are some key points feature selection
  4266. 3:46:39and Engineering is
  4267. 3:46:41critical testing different combinations
  4268. 3:46:44helps identify y what's most predictive
  4269. 3:46:47for your specific
  4270. 3:46:49problem when predicting price
  4271. 3:46:53directly while predicting price directly
  4272. 3:46:55is challenging predicting Market regimes
  4273. 3:46:57or optimal strategy selection can be
  4274. 3:46:59very
  4275. 3:47:01valuable it's important to have a clear
  4276. 3:47:03objective maximizing returns minimizing
  4277. 3:47:05draw
  4278. 3:47:07downs and to evaluate models based on
  4279. 3:47:09these criteria not just statistical
  4280. 3:47:12measures consider using other models
  4281. 3:47:15like random Force gradient boosting or
  4282. 3:47:18neural networks including rnn's and
  4283. 3:47:21lstms for time
  4284. 3:47:25series I
  4285. 3:47:29mean
  4286. 3:47:30yes you are on the right
  4287. 3:47:35track cool just want to make sure I'm on
  4288. 3:47:37the right track you know on the race I'm
  4289. 3:47:40racing but I want to make sure I'm
  4290. 3:47:41racing the right way look into libraries
  4291. 3:47:43like s learn t flow and P torch for a
  4292. 3:47:46wide range of ml models suitable for
  4293. 3:47:48time series data hmm
  4294. 3:47:51variations
  4295. 3:47:53okay got some more Alpha
  4296. 3:47:57here so hmm variations
  4297. 3:48:15dang I can't see it okay here we
  4298. 3:48:18go
  4299. 3:48:21discreet
  4300. 3:48:23hmm higher AR kle
  4301. 3:48:28hmm
  4302. 3:48:32factoral
  4303. 3:48:34factorial
  4304. 3:48:36hmm input output
  4305. 3:48:41hmm
  4306. 3:48:42W you might also consider consider other
  4307. 3:48:45state space models like cman filters or
  4308. 3:48:48particle
  4309. 3:48:55filters oh goodness
  4310. 3:49:00sorry oh the Inner
  4311. 3:49:03Circle this your
  4312. 3:49:06shot that was your chance that was your
  4313. 3:49:09chance what's going on
  4314. 3:49:12here so
  4315. 3:49:17looks like a wild day everybody's
  4316. 3:49:19getting liquidated both
  4317. 3:49:23sides I want to feed in liquidation data
  4318. 3:49:28dog feed in
  4319. 3:49:30liquidation data and Clump it to be
  4320. 3:49:36hourly
  4321. 3:49:38Daily 4
  4322. 3:49:40Hour Etc dude that's going to be far you
  4323. 3:49:44know that's going to be far that's why
  4324. 3:49:46you here dog you're like yeah that's
  4325. 3:49:49going to be far that's going to be
  4326. 3:49:52far it's for sure going to be far let's
  4327. 3:49:54start that
  4328. 3:49:58now yo 777 blessings to you dude and
  4329. 3:50:02drct or Mr tomur re what's up
  4330. 3:50:06dog uh can you teach me what you
  4331. 3:50:10do
  4332. 3:50:13um yeah
  4333. 3:50:15I can for
  4334. 3:50:18sure hey man he said he said he is
  4335. 3:50:21literally teaching in every video watch
  4336. 3:50:23all the old videos yeah dude that's the
  4337. 3:50:26way that's the way just watch the old
  4338. 3:50:27videos pick out what you want um good to
  4339. 3:50:30have you guys here much
  4340. 3:50:32love Jason hey dude how are you I'm
  4341. 3:50:35doing I'm doing well thank you thank you
  4342. 3:50:36very much we uh working on these hidden
  4343. 3:50:41markof models right now and um
  4344. 3:50:45man I love this
  4345. 3:50:48stuff I love this stuff
  4346. 3:50:53dude find some good ideas all right
  4347. 3:51:00um we ran out of credits here
  4348. 3:51:04but this is going to be interesting
  4349. 3:51:06here's sample code that combines hmm
  4350. 3:51:08State predicting with back
  4351. 3:51:11testing all right so let's see how this
  4352. 3:51:13finale is
  4353. 3:51:15go
  4354. 3:51:17to hmm
  4355. 3:51:24models dang I knew something was Eerie
  4356. 3:51:27around
  4357. 3:51:29here I haven't had a music on bro
  4358. 3:51:33wow spooky
  4359. 3:51:35hours like what is going on dog
  4360. 3:51:47e this was this
  4361. 3:51:54was I'm going to listen to a little I'm
  4362. 3:51:57going switch it up a little
  4363. 3:51:58bit oh it's not on my computer you nerdy
  4364. 3:52:04nerd but yeah I'mma switch it up a
  4365. 3:52:06little bit let's get a
  4366. 3:52:09little something going you
  4367. 3:52:12know let's get a little vibe
  4368. 3:52:15going all right now I got it there we
  4369. 3:52:18go now we can hear it
  4370. 3:52:22okay um feed in liquidation data and
  4371. 3:52:25Clump it into hourly 4 hour so let's go
  4372. 3:52:29ahead and see if we can get this back
  4373. 3:52:31test uh hmm bt. py this is a new Avenue
  4374. 3:52:37here we just took a left here not full
  4375. 3:52:40left but here's the sample code let's
  4376. 3:52:43just see what it does
  4377. 3:52:45does it work we off bat I got to put the
  4378. 3:52:47data in let's not hold it not hold it to
  4379. 3:52:50that high of a standard no way this
  4380. 3:52:51ain't going to work but maybe hey this
  4381. 3:52:53is looking nice where's the day to go
  4382. 3:52:56dude back test cash hmm
  4383. 3:53:02strategy M
  4384. 3:53:05cash why does it say it twice though
  4385. 3:53:09that's
  4386. 3:53:10interesting I don't know what's going to
  4387. 3:53:12happen here if this is going to work but
  4388. 3:53:14let's just work our way through it final
  4389. 3:53:16results is
  4390. 3:53:18stats they okay so yeah
  4391. 3:53:25yeah let's just walk through it because
  4392. 3:53:28I can't even ask oh your data path here
  4393. 3:53:29we go I was like what is going on dude
  4394. 3:53:33load data but I want to see
  4395. 3:53:35the yeah so I don't know if this is
  4396. 3:53:38going to do
  4397. 3:53:40it not quite I what I need I didn't
  4398. 3:53:42explain it well enough it's always me
  4399. 3:53:45that's
  4400. 3:53:47okay run back test run
  4401. 3:53:51optimization Run final back test with
  4402. 3:53:53best parameters okay let's just read
  4403. 3:53:55through it see what we can get out of
  4404. 3:53:56this load and pre-process data okay we
  4405. 3:53:58got that we know that we load the data
  4406. 3:54:02in so I'mma put the data here but the
  4407. 3:54:05thing is dude is I want I want different
  4408. 3:54:10data this is out of sample data here
  4409. 3:54:25I don't know I got to figure out how to
  4410. 3:54:27piece these
  4411. 3:54:28together but we we got let's just move
  4412. 3:54:31forward let's just move forward I'mma
  4413. 3:54:32put this data in there for now copy
  4414. 3:54:37path past
  4415. 3:54:41in okay and then let's and get the first
  4416. 3:54:45ER whatever that first error is let's
  4417. 3:54:48get it no clothes what are you talking
  4418. 3:54:50about no
  4419. 3:55:02clothes I don't have ai on my side
  4420. 3:55:04anymore yes I
  4421. 3:55:07do above is the sample
  4422. 3:55:13data of the CSV
  4423. 3:55:17attached uh
  4424. 3:55:19CSV for the code attached I got to say I
  4425. 3:55:23like the desktop app big
  4426. 3:55:26time I like the
  4427. 3:55:30app I don't want a summary
  4428. 3:55:34dog maybe she's going to do a summary
  4429. 3:55:39and what did I put in there dude that
  4430. 3:55:41was stupid of me I'm sorry I put the
  4431. 3:55:43wrong thing in in
  4432. 3:55:45there so I'm sorry AI GG first minute
  4433. 3:55:49back I'm already dogging you no way it's
  4434. 3:55:50me it's always me that's why I love this
  4435. 3:55:53game so so
  4436. 3:55:54much oh you lose money that's you oh you
  4437. 3:55:57make money that's
  4438. 3:56:00you it's crazy dude it's a good
  4439. 3:56:04game the error you're encountering in
  4440. 3:56:06case the code is trying to access a
  4441. 3:56:08column name closes in your data frame
  4442. 3:56:10but the data doesn't exist typically
  4443. 3:56:12happens the CSV doesn't match what are
  4444. 3:56:13you talking about we have it I
  4445. 3:56:18thought is it because I have the file
  4446. 3:56:21maybe because I have the file let's see
  4447. 3:56:23if it drops
  4448. 3:56:26it let's see one time
  4449. 3:56:31no I think it's because the
  4450. 3:56:37B
  4451. 3:56:39CSV is a bit
  4452. 3:56:41quirky and has an addition
  4453. 3:56:46additional row we need to
  4454. 3:56:49drop B like it's
  4455. 3:57:00hot all right let's run
  4456. 3:57:10it let's see what's Gucci
  4457. 3:57:17wow you're really thinking about it
  4458. 3:57:18that's that's
  4459. 3:57:23good yeah but I got to have the code in
  4460. 3:57:25there too you dumb
  4461. 3:57:27dummy nah she's know she knows the
  4462. 3:57:30code oh man it's not a good first show
  4463. 3:57:35showing
  4464. 3:57:36here but let's go ahead and uh make sure
  4465. 3:57:40that we get everything that we have in
  4466. 3:57:41here because remember we started with
  4467. 3:57:43the uh clock and now we're over on
  4468. 3:57:46GG send back full code send back fixed
  4469. 3:57:53code with correct
  4470. 3:57:56paths uh
  4471. 3:57:58ideally ideally we train on the data
  4472. 3:58:04that is above and then we save the model
  4473. 3:58:10no no I have a model I already have it
  4474. 3:58:12trained dude let's go look at it let's
  4475. 3:58:15go get it trained model OKAY model two
  4476. 3:58:19model two copy path copy path GG are you
  4477. 3:58:24here are you here to stay we'll
  4478. 3:58:28see I want to scratch
  4479. 3:58:30this no and when we save the model
  4480. 3:58:34ideally we train on the
  4481. 3:58:37data which we already did and now we are
  4482. 3:58:43just using using the O data below in
  4483. 3:58:47order to test the
  4484. 3:58:52model I guess I don't understand why we
  4485. 3:58:58need to train the
  4486. 3:59:02model again when I
  4487. 3:59:06have one
  4488. 3:59:09already
  4489. 3:59:10trained I just now
  4490. 3:59:14want to use it in a back test and be
  4491. 3:59:19able to change the variables of the back
  4492. 3:59:25test this is a the back
  4493. 3:59:29test the back test should be testing
  4494. 3:59:34what happens when the bot
  4495. 3:59:40buys at state
  4496. 3:59:44two and then cells at State four with
  4497. 3:59:50changeable
  4498. 3:59:52variables making those making
  4499. 3:59:55those making those
  4500. 3:59:59variables easy to change
  4501. 4:00:11okay okay here's the other data
  4502. 4:00:14um scaler to copy
  4503. 4:00:20path what else do you
  4504. 4:00:23need OS
  4505. 4:00:28data copy
  4506. 4:00:35pass sample of os
  4507. 4:00:40data CSV okay let's show it
  4508. 4:00:47all right let's see what you got gg40
  4509. 4:00:49mini whatever your name is let's see
  4510. 4:00:51what you
  4511. 4:00:53got we need
  4512. 4:00:55you okay to utilize your pre-trained hmn
  4513. 4:00:58model and scaler of Al s day for back
  4514. 4:01:01testing here's how you would modify your
  4515. 4:01:05script load the trained model and scaler
  4516. 4:01:09from the provided
  4517. 4:01:12paths process the oh as data to use the
  4518. 4:01:15same features as used in the training
  4519. 4:01:22phase process the OS data to use the
  4520. 4:01:25same features as used in the training Fe
  4521. 4:01:28phase perform the back test use the
  4522. 4:01:31loaded model to predict the states and
  4523. 4:01:34evaluate the strategy
  4524. 4:01:47try to prepare features predict stat
  4525. 4:01:50using pre-trained model find the
  4526. 4:01:52strategy for back
  4527. 4:02:02testing okay she just needs a little
  4528. 4:02:04help with the back testing
  4529. 4:02:12part It's Tricky GG don't
  4530. 4:02:21notice uh above is a back tester I use
  4531. 4:02:28and
  4532. 4:02:30it it
  4533. 4:02:34works please use it as a template in
  4534. 4:02:39order to
  4535. 4:02:42recode the above
  4536. 4:02:46just recode it for me
  4537. 4:02:58please all right hmm models BT okay this
  4538. 4:03:02is where we're at attempting to back
  4539. 4:03:04test the open out of sample data I
  4540. 4:03:08missed the start what's your main goal
  4541. 4:03:09of this
  4542. 4:03:11rewind how did you train your model or
  4543. 4:03:14did you download pre-trained
  4544. 4:03:19models um I don't know
  4545. 4:03:22honestly I don't know the answer to
  4546. 4:03:25that these are pre- Trend pre- train
  4547. 4:03:28model loaded the hmm oh no I trained my
  4548. 4:03:30own
  4549. 4:03:31model yeah now it's
  4550. 4:03:34pre-trained I think that's the answer
  4551. 4:03:36I'm sorry sorry I can't answer yeah but
  4552. 4:03:40thanks for getting that in my mind
  4553. 4:03:46okay let's pass it
  4554. 4:03:48in okay so let's see here how does this
  4555. 4:03:52look now dude okay we're passing in the
  4556. 4:03:55model path okay this is the path model 2
  4557. 4:03:58is the best scaler 2 is the best okay
  4558. 4:04:01the model equals jb. load I don't know
  4559. 4:04:03what that does dude but it's okay I
  4560. 4:04:05don't need to know everything this is
  4561. 4:04:07the out of sample data this is out of
  4562. 4:04:09sample
  4563. 4:04:11data it reads it in okay okay process
  4564. 4:04:14the
  4565. 4:04:15data okay but what about ta dude what ta
  4566. 4:04:19are we
  4567. 4:04:29using that's why we
  4568. 4:04:31look it's why we look at it dude it
  4569. 4:04:34doesn't matter though cuz you know you
  4570. 4:04:37know how that goes we got unlimited
  4571. 4:04:39unlimited uses over here at open AI I
  4572. 4:04:42guess we open AI guys again look at that
  4573. 4:04:45we switch up
  4574. 4:04:47quick I don't care dog just get the job
  4575. 4:04:54done let's get it done dude okay print
  4576. 4:04:57out the best optimization I I'm I'm not
  4577. 4:05:00I'm not I'm not too confident in this
  4578. 4:05:02but it's okay CU we'll just keep going
  4579. 4:05:05so Define the strategy Define by state
  4580. 4:05:08Define cell State I like this actually
  4581. 4:05:11how did we get here I don't know
  4582. 4:05:14last state none
  4583. 4:05:16okay yes there we go buy and then sell
  4584. 4:05:19and you can see it sets it up
  4585. 4:05:22correctly but we don't have a stop loss
  4586. 4:05:24why would we have a stop
  4587. 4:05:32loss I think that I can just remove all
  4588. 4:05:35of this be honest but let's just let it
  4589. 4:05:37let's let it do it Thug
  4590. 4:05:39fizzle let's add one more zero there
  4591. 4:05:42because
  4592. 4:05:50no why do I even have this dude I'm
  4593. 4:05:53taking it out I'm just going to take it
  4594. 4:05:55out
  4595. 4:05:56sorry look at that your boy's learning
  4596. 4:06:00maybe I don't want any of this
  4597. 4:06:05here I'm just going to take all this
  4598. 4:06:08out no stop
  4599. 4:06:12loss wait wait
  4600. 4:06:21I think it's just buying so
  4601. 4:06:51all let's check
  4602. 4:06:53it no way dude that's
  4603. 4:06:56wild that's really
  4604. 4:07:00wild
  4605. 4:07:07989 minus
  4606. 4:07:0946% cool that we got that the first time
  4607. 4:07:12though
  4608. 4:07:15line
  4609. 4:07:1689 I mean we kind of got it you know no
  4610. 4:07:20attribute called take profit online 89 I
  4611. 4:07:22get it out of here I don't want it then
  4612. 4:07:24I don't want it I don't want it I don't
  4613. 4:07:26want it get it out of here bye byebye
  4614. 4:07:29good
  4615. 4:07:31night all right dude we done did it we
  4616. 4:07:34done did it look at this oh how can we
  4617. 4:07:38do things so fast this AI is crazy man
  4618. 4:07:44it's really crazy
  4619. 4:07:49dude really
  4620. 4:07:52crazy so the original or the best it
  4621. 4:07:55converged on was one trade pretty much
  4622. 4:07:57Buy and
  4623. 4:07:58Hold whoop whoop whoop fun fun
  4624. 4:08:07fun and it optimized from buy state to
  4625. 4:08:10four sell state to one
  4626. 4:08:30are you running the code locally yeah I
  4627. 4:08:34am I am I am I'm here
  4628. 4:08:37locally oh what you doing boo I didn't
  4629. 4:08:39even know you were down
  4630. 4:08:42there I'm
  4631. 4:08:45local yeah I'm running on my
  4632. 4:08:48computer so this is an interesting thing
  4633. 4:08:52here
  4634. 4:09:00that I mean what are we testing through
  4635. 4:09:03let's look at
  4636. 4:09:11that what is and component
  4637. 4:09:14I don't know what that
  4638. 4:09:20is optimizing optimizing for n
  4639. 4:09:26components yeah but I want all that
  4640. 4:09:43seven that's how many states I have
  4641. 4:09:46perfect perfect I was just double
  4642. 4:09:48checking just double checking you
  4643. 4:09:52know I reckon we all double check a
  4644. 4:09:55little bit more
  4645. 4:09:58but insure buy and sell states are
  4646. 4:10:01different
  4647. 4:10:21all right well need a better idea than
  4648. 4:10:23this clearly because I don't see
  4649. 4:10:25anything wrong with
  4650. 4:10:27this I said buy CH from buy from
  4651. 4:10:32changing one state to another and with
  4652. 4:10:36the hardcoded
  4653. 4:10:38stuff it's down 45 but that was like a
  4654. 4:10:41total random guess
  4655. 4:10:43and then the optimizer just converges to
  4656. 4:10:47buy and hold
  4657. 4:10:50but you
  4658. 4:10:52know you can always do that that's one
  4659. 4:10:56way to do this but that's not really
  4660. 4:11:01trading and there's a lot of risk risk
  4661. 4:11:04risis aiz says hi bro I'm a CS student
  4662. 4:11:07how can I start into trading and what's
  4663. 4:11:09your advice my advice is to go watch my
  4664. 4:11:11oldest YouTube video and wherever you're
  4665. 4:11:14at in this process find the ones that
  4666. 4:11:15Vibe with you and what you learn from
  4667. 4:11:18and if you ever need extra help I got
  4668. 4:11:21the boot camp but the boot camp is not
  4669. 4:11:23required by any means it's just
  4670. 4:11:26like it's like the fast track at
  4671. 4:11:28Disneyland
  4672. 4:11:30bud it's like the fast
  4673. 4:11:37track but it's all here it's all on
  4674. 4:11:39YouTube so I want to make sure it's like
  4675. 4:11:42a equal plan playing field you
  4676. 4:11:45know I mean it's unequal because people
  4677. 4:11:48get the fast track but it's unequal
  4678. 4:11:50enough and other than that I've learned
  4679. 4:11:52everything on
  4680. 4:11:53YouTube like while doing it on
  4681. 4:12:05YouTube all right so this is just not
  4682. 4:12:07that good of
  4683. 4:12:10idea but it's a good Baseline
  4684. 4:12:19peran okay let's copy path
  4685. 4:12:23here this is a good
  4686. 4:12:30Baseline solid
  4687. 4:12:32Baseline for now chopping the market up
  4688. 4:12:39into regimes and then testing only in
  4689. 4:12:44one regime the code
  4690. 4:12:48attached
  4691. 4:12:54is
  4692. 4:12:58um I don't
  4693. 4:13:11know is is
  4694. 4:13:14predicting the
  4695. 4:13:16next date and then
  4696. 4:13:20just buying or selling so that can be
  4697. 4:13:27useful in order to code out something
  4698. 4:13:33that
  4699. 4:13:38is only
  4700. 4:13:40buying or selling during
  4701. 4:13:44specific
  4702. 4:13:50periods blow blow up says have I made an
  4703. 4:13:53outgo for stocks one of my first alos
  4704. 4:13:55was for stocks but I just got distracted
  4705. 4:13:59by crypto and it's just more interesting
  4706. 4:14:02to me essentially so it's not really a
  4707. 4:14:04distraction I'm just more interested in
  4708. 4:14:07crypto
  4709. 4:14:08and but yeah one of my
  4710. 4:14:11first or
  4711. 4:14:14was
  4712. 4:14:16U interactive
  4713. 4:14:18stockbot interactive brokers so I got it
  4714. 4:14:22in my bag let's just say that I got it
  4715. 4:14:24in the bag and
  4716. 4:14:27um maybe 2025 or something I'll play
  4717. 4:14:30around there I don't know though to be
  4718. 4:14:32honest I've been saying
  4719. 4:14:34that just more interested in
  4720. 4:14:39crypto and you got to do what you're
  4721. 4:14:41interested in in order to do things a
  4722. 4:14:43long
  4723. 4:14:45time I
  4724. 4:14:51amo in the boot camp do you teach
  4725. 4:14:54machine learning and how to get your
  4726. 4:14:55data
  4727. 4:14:56sets um no I teach you how to get data
  4728. 4:15:00sets though so this is a boot camp
  4729. 4:15:03you're asking about and I do give you a
  4730. 4:15:05data source in the boot
  4731. 4:15:07camp so if you need like open high low
  4732. 4:15:09close volume data for minute five minute
  4733. 4:15:12whatever you need whatever you need dude
  4734. 4:15:14I show you exactly how to get
  4735. 4:15:17it Robo what's up dog he said my dude I
  4736. 4:15:21started taking Harvard
  4737. 4:15:23cs50 python class and I've been dabbling
  4738. 4:15:25with my own bots in Python and also Pine
  4739. 4:15:28script you're a big Ino yo I'm so happy
  4740. 4:15:31you're here dude thank you thank you for
  4741. 4:15:33introducing
  4742. 4:15:35yourself I keep showing up if you keep
  4743. 4:15:38showing up dog this is uh this is a game
  4744. 4:15:41we can play Forever get always always
  4745. 4:15:43find new
  4746. 4:15:45edges and as our boy Jim
  4747. 4:15:51said the Market's constantly
  4748. 4:15:54changing the Market's constantly
  4749. 4:15:57changing so there will always be new
  4750. 4:16:01edges that
  4751. 4:16:04appear anomalies anomalies there we go
  4752. 4:16:08let's look through
  4753. 4:16:10that I think this is a really good place
  4754. 4:16:12we got got to because now I got this
  4755. 4:16:15tool that can number one split any data
  4756. 4:16:19into multiple regimes based on the
  4757. 4:16:22hmm I haven't done this yet not
  4758. 4:16:34done but maybe I'll do that right now
  4759. 4:16:37and then to get back testing done back
  4760. 4:16:40testing equation this
  4761. 4:16:46now I have a great starting place for
  4762. 4:16:53hmm bt.
  4763. 4:16:56py as
  4764. 4:16:59it allows
  4765. 4:17:04for buying selling in different
  4766. 4:17:08regimes just update to only allow
  4767. 4:17:13trading in
  4768. 4:17:19certain
  4769. 4:17:21regimes okay but let's do this real
  4770. 4:17:23quick
  4771. 4:17:53let's see what gbt can
  4772. 4:18:04do update the above hmm so that it only
  4773. 4:18:12looks for four
  4774. 4:18:16different um
  4775. 4:18:20States I want to see if
  4776. 4:18:26the results
  4777. 4:18:31change send back all
  4778. 4:18:40code so let's do a uh
  4779. 4:18:44seven
  4780. 4:18:46states and then
  4781. 4:18:50uh four
  4782. 4:19:01states okay these are going to be four
  4783. 4:19:06states I'm going say seven regimes
  4784. 4:19:18forward
  4785. 4:19:19James okay
  4786. 4:19:28so below is a continuation
  4787. 4:19:43oh
  4788. 4:19:48snap I'm using GG
  4789. 4:19:51free right now so we'll see how she
  4790. 4:19:56does dang claw got me hooked B I might
  4791. 4:19:59have to upgrade to uh chat gbt
  4792. 4:20:07again are you running multiple python
  4793. 4:20:10programs Robo ass
  4794. 4:20:14um yeah like you can see all the ones
  4795. 4:20:17like on the screen right now what up
  4796. 4:20:22programs and they collect data they'll
  4797. 4:20:25do things like
  4798. 4:20:28that you just got gbt plus and it's
  4799. 4:20:31worth it
  4800. 4:20:34nice I used to have it but then I uh
  4801. 4:20:37switched to
  4802. 4:20:39Cloud cuz that's what all cool kids are
  4803. 4:20:41doing these days
  4804. 4:20:50okay let's go ahead and look through
  4805. 4:20:51this code
  4806. 4:20:53here n components okay this is good this
  4807. 4:20:57is good let's see if it's really good
  4808. 4:20:59though this is four it should be four
  4809. 4:21:02components now so the the idea here
  4810. 4:21:06was we have somebody that works uh at
  4811. 4:21:09the Quan firm and they say that they use
  4812. 4:21:12uh four regimes risk on risk
  4813. 4:21:21off I should do two regimes
  4814. 4:21:26too let's just past it in there let's
  4815. 4:21:29start there
  4816. 4:21:30yeah let's see what's going on down here
  4817. 4:21:33though state
  4818. 4:21:35names update the state names
  4819. 4:21:39B what is going on how many has got how
  4820. 4:21:42many
  4821. 4:21:43uh components does it have here is that
  4822. 4:21:46what it's
  4823. 4:21:47called I don't even
  4824. 4:21:50know seven components dog
  4825. 4:21:53what so does she just not have memory
  4826. 4:21:56like
  4827. 4:22:17risk on risk off what eles they say
  4828. 4:22:39do
  4829. 4:22:41please pretty please send back full
  4830. 4:22:44code I might have to upgrade right now
  4831. 4:22:47levia what's up where do I start
  4832. 4:22:49learning if I want to get into data
  4833. 4:22:51science YouTube dude YouTube YouTube has
  4834. 4:22:55it
  4835. 4:23:01all any channels Moon
  4836. 4:23:05Dev Moon Dev
  4837. 4:23:26this a lot of code let's see what gbt 4
  4838. 4:23:28min's like
  4839. 4:23:30here let's see if she can handle
  4840. 4:23:39it can she do it
  4841. 4:23:43oh she looking a little soft be
  4842. 4:23:53honest she's looking a little
  4843. 4:23:58soft I'm nervous for her that's why I'm
  4844. 4:24:00looking
  4845. 4:24:01through see where she done messed up we
  4846. 4:24:04got risk on risk off high volatility low
  4847. 4:24:07volatility all let's run it dog gbt 40
  4848. 4:24:11mini she can handle it
  4849. 4:24:13she can do it too
  4850. 4:24:15okay that's nice that's really
  4851. 4:24:19nice here we go we got four different
  4852. 4:24:22colors
  4853. 4:24:23now do I get access to the uh thing I
  4854. 4:24:27can't believe I'm over
  4855. 4:24:29here I'm over here without GPT 40 she's
  4856. 4:24:33the one who started it for us and I turn
  4857. 4:24:35my back I turn my back that's so whack
  4858. 4:24:39that's so
  4859. 4:24:41whack but gb40 minis they're trying to
  4860. 4:24:43take over the world give it to me for
  4861. 4:24:45free then I I'll take it for free I'll
  4862. 4:24:48take it for free yeah sure sure
  4863. 4:24:51sure hey but now it's missing the
  4864. 4:25:02uhoh okay but it worked which is good to
  4865. 4:25:06see risk on risk
  4866. 4:25:08off that's all I want to know
  4867. 4:25:18yo use this use this as a templet
  4868. 4:25:21you you lost me
  4869. 4:25:24B it looks like you lost a little
  4870. 4:25:29code use the below as a template but
  4871. 4:25:35just with the
  4872. 4:25:38four gem Simons RI
  4873. 4:25:44features features
  4874. 4:25:48or States ah this is tough dude a lot of
  4875. 4:25:51new stuff coming at me send back auto
  4876. 4:25:54code send
  4877. 4:25:56back full code nothing less
  4878. 4:26:00please pretty
  4879. 4:26:04please got a risk it for the biscuit
  4880. 4:26:07risk on baby Robo says 777 Eric good to
  4881. 4:26:11see you d
  4882. 4:26:16Robo we're about to Robo we about to
  4883. 4:26:19start working through gbt virtually
  4884. 4:26:22I'mma ask him stuff and he's going to
  4885. 4:26:23put it into his gbt and then send it to
  4886. 4:26:25me oh get him get
  4887. 4:26:32him I would run up your bill though not
  4888. 4:26:36your bill but I be run up your credits
  4889. 4:26:37mad you see I already got logged
  4890. 4:26:40out oh it's about that time though 11
  4891. 4:26:43minutes I can wait I can wait for it I
  4892. 4:26:46might do a little meditation in between
  4893. 4:26:48actually that sounds quite nice you've
  4894. 4:26:51hit the free plan limit continue with
  4895. 4:26:53other basic models or wow wow wow wow
  4896. 4:26:56wow I didn't know they had a I did not
  4897. 4:26:58know they had a upsell right there dude
  4898. 4:27:00that got me that one got
  4899. 4:27:04me they're goingon to they're choking me
  4900. 4:27:06out here be they're choking me out I
  4901. 4:27:09think I'm just going to meditate then
  4902. 4:27:10because I own my
  4903. 4:27:14Time come on B let's go let me upgrade
  4904. 4:27:19Claud is there a is there a bigger plan
  4905. 4:27:21you got a bigger plan Come on B I'll
  4906. 4:27:23give you 10 more
  4907. 4:27:26Claude
  4908. 4:27:28pricing I'll give you a little bit more
  4909. 4:27:31I'll give you 30 I'll give you 30 bro
  4910. 4:27:35okay team per why you guys just always
  4911. 4:27:38copy each other be creative come on
  4912. 4:27:41throw this 69 on the
  4913. 4:27:43price price build annually
  4914. 4:27:48free learn about CLA
  4915. 4:27:51team I learn about it don't know
  4916. 4:27:55if gonna be about it
  4917. 4:28:00but okay
  4918. 4:28:03well that's too
  4919. 4:28:07bad um I guess I could just get another
  4920. 4:28:09membership but if I'm going to get
  4921. 4:28:11another membership I'm I'm going back to
  4922. 4:28:12open
  4923. 4:28:14AI yeah that's what I'm feeling
  4924. 4:28:18like that's how Doug said Clyde can have
  4925. 4:28:21my
  4926. 4:28:22babies shaking you down for that 20 Robo
  4927. 4:28:28says I run mine up every day but I don't
  4928. 4:28:31got experience like you Robo said well
  4929. 4:28:33thank you man that's that's odd that's
  4930. 4:28:35odd to think but I'm just a I'm a womb
  4931. 4:28:39engineer I'm new to the game 77 7 KW
  4932. 4:28:43what up bro much love to
  4933. 4:28:46you much love much
  4934. 4:28:52love okay so Claus got
  4935. 4:28:56me Claus got me in a choke
  4936. 4:29:00hole so I think I'm just going to
  4937. 4:29:03meditate and come back
  4938. 4:29:09later use hmm to predict four V regimes
  4939. 4:29:15and then determine risk on or risk off
  4940. 4:29:18okay let's just start there because I
  4941. 4:29:20have these risk on risk off here and
  4942. 4:29:22these are the four regimes right this is
  4943. 4:29:25what we
  4944. 4:29:28created let's go ahead and see what's
  4945. 4:29:32Gucci with
  4946. 4:29:34it so okay now it has four different
  4947. 4:29:38regimes here and it says risk on riskof
  4948. 4:29:41High Vol volatility low volatility but
  4949. 4:29:45remember remember those don't really
  4950. 4:29:47mean anything they're just four
  4951. 4:29:49different things here people are getting
  4952. 4:29:50licked right now
  4953. 4:30:01um did we
  4954. 4:30:03already test this let's see
  4955. 4:30:08here execution complete
  4956. 4:30:12I don't think we did the second part of
  4957. 4:30:15this
  4958. 4:30:17yet because we got cut
  4959. 4:30:19off we got cut off train the hmm analyze
  4960. 4:30:24States Save State
  4961. 4:30:36changes let's go to our best one here so
  4962. 4:30:38this is the B best hmm so far and the
  4963. 4:30:42idea I wanted
  4964. 4:30:43to tap into today
  4965. 4:30:49was splitting up to four four different
  4966. 4:30:54states maybe even
  4967. 4:30:57less no I think four would be
  4968. 4:31:02appropriate okay so here's the the best
  4969. 4:31:04one here I just want to see the data
  4970. 4:31:06that I get back I get this stuff back so
  4971. 4:31:09hmm likelihood State prediction all that
  4972. 4:31:11good stuff so that's what I need back
  4973. 4:31:14here and if I go to the best here best
  4974. 4:31:17is here and then I'm just going to say
  4975. 4:31:21um State prediction okay I need all this
  4976. 4:31:25code
  4977. 4:31:27dog so I'm going to copy all this
  4978. 4:31:31in to Claudia and say what's up hey
  4979. 4:31:37there I have
  4980. 4:31:40attached some
  4981. 4:31:42[Music]
  4982. 4:31:43um
  4983. 4:31:45code of an hmm which is about 250
  4984. 4:31:52lines of
  4985. 4:31:54code use that as a template to update
  4986. 4:31:59this the other the other
  4987. 4:32:03script it is missing a few
  4988. 4:32:09prints and
  4989. 4:32:13model
  4990. 4:32:16saves send back full code right back to
  4991. 4:32:21it CLA Cuts us off and it slows us down
  4992. 4:32:23for a second I think I'm just gonna I
  4993. 4:32:25think I'm just going to buy open AI as
  4994. 4:32:37well I'm just careful with that
  4995. 4:32:39subscription addiction
  4996. 4:32:43careful I'm
  4997. 4:32:46careful but we'll see today if it cuts
  4998. 4:32:48us off I might have to just light it
  4999. 4:32:50back up just run it back
  5000. 4:33:00up yo what up Nicholas how are you 777
  5001. 4:33:04Aqua what's up bro he says yeah Aqua
  5002. 4:33:07says yeah it's weird paying for
  5003. 4:33:08something and still being cut off AI
  5004. 4:33:10products are interesting
  5005. 4:33:12bro drop your script PL says okay so
  5006. 4:33:16I've dropped it it's dropped I dropped
  5007. 4:33:19it on the floor I dropped it on every
  5008. 4:33:21single YouTube video but let's keep it
  5009. 4:33:24going B much love much
  5010. 4:33:26love
  5011. 4:33:28777 all right so I understand you'd like
  5012. 4:33:30me to update the second script from the
  5013. 4:33:33past 2.txt using the first script from
  5014. 4:33:37paste. txe interesting okay so they'
  5015. 4:33:39have paste and then page two as a
  5016. 4:33:42template adding some prints and model
  5017. 4:33:43saves I'll do that and provide the full
  5018. 4:33:46updated code added more print statements
  5019. 4:33:49included additional
  5020. 4:33:51analysis all right let's check it out
  5021. 4:33:57copy there we go that's looking
  5022. 4:34:00better it's looking a lot better and
  5023. 4:34:03it's got the save yes there we
  5024. 4:34:09go wow
  5025. 4:34:12they really gave us too much power here
  5026. 4:34:13with this AI dog too much power that's
  5027. 4:34:17why they had to cut us
  5028. 4:34:19off yeah duh I'm just going to I'm just
  5029. 4:34:21going to get open AI back and I'll just
  5030. 4:34:24I'll be running
  5031. 4:34:26both cuz if it's going to come me off
  5032. 4:34:28every
  5033. 4:34:33day I wonder if it's based on times too
  5034. 4:34:36like times of
  5035. 4:34:38day but this is our data back or this is
  5036. 4:34:41our chart back you can see it splits
  5037. 4:34:42into four different states they call it
  5038. 4:34:47um I often refer to as
  5039. 4:34:50regimes and risk on riskof high
  5040. 4:34:53volatility low volatility are the four
  5041. 4:34:56regimes but these names don't matter
  5042. 4:34:58remember that remember that remember
  5043. 4:34:59that okay here we go this is the stuff
  5044. 4:35:02we really wanted to see here
  5045. 4:35:13it's going to take a second it's gonna
  5046. 4:35:16take a
  5047. 4:35:17second there it is Boom okay and it save
  5048. 4:35:19the model as well
  5049. 4:35:22so that is our analysis here and that's
  5050. 4:35:25pretty good I mean the prediction at
  5051. 4:35:29least let's go ahead and triple triple
  5052. 4:35:31no no no let's put it I need to put it
  5053. 4:35:34somewhere better I need to put it
  5054. 4:35:35somewhere better uh read me
  5055. 4:35:44[Music]
  5056. 4:35:49um live ops. MD I love it dog all right
  5057. 4:35:55so let's go ahead and say 821 okay this
  5058. 4:36:01is the this is for risk on risk off copy
  5059. 4:36:04relative
  5060. 4:36:08path all right so that's that now I have
  5061. 4:36:12that let's just open Live UPS to the
  5062. 4:36:14right and then go ahead and go back and
  5063. 4:36:19get the best model here so the best
  5064. 4:36:21model model two best and then I want to
  5065. 4:36:24run this against that and just see what
  5066. 4:36:27the diffys are if there are diffys or
  5067. 4:36:30not if there's not then we'll
  5068. 4:36:33just I don't know move on keep keep it
  5069. 4:36:35moving you know keep moving forward
  5070. 4:36:37that's it next idea you see the list
  5071. 4:36:42all right this is fitting the model so
  5072. 4:36:43it takes a little bit of time time time
  5073. 4:36:48time so this one predicts seven
  5074. 4:36:51different states so the reason I went
  5075. 4:36:54down to four was
  5076. 4:36:56because I wanted to try four and I've
  5077. 4:37:01heard Jim Simons say or I haven't heard
  5078. 4:37:04him but I've heard it it's been
  5079. 4:37:06said that he thinks there's nine
  5080. 4:37:10states but I've also o heard somebody
  5081. 4:37:12say that he thought there's
  5082. 4:37:14four so I did
  5083. 4:37:16seven cuz I couldn't think of nine right
  5084. 4:37:19away remember these names don't matter
  5085. 4:37:22all right so I'm just testing
  5086. 4:37:24both just testing both copy
  5087. 4:37:28path copy relative path here and
  5088. 4:37:33say VV the heck this is supposed to be
  5089. 4:37:37our best
  5090. 4:37:39model best model
  5091. 4:37:42I don't expect good but you know that's
  5092. 4:37:45our
  5093. 4:37:46best
  5094. 4:37:49and let's see let's look at this one the
  5095. 4:37:52Bic I think this
  5096. 4:37:55is I mean that looks
  5097. 4:37:58better not better but I can't remember
  5098. 4:38:01that's the thing is I can't remember
  5099. 4:38:02what the the good one was but you can
  5100. 4:38:04see the bicc here on our best model it's
  5101. 4:38:07supposed to be negative so it looks like
  5102. 4:38:09this one's not very good either
  5103. 4:38:11unfortunately our best model is still
  5104. 4:38:13the volume change okay H what does that
  5105. 4:38:17tell me I don't know but that's my
  5106. 4:38:19prediction let's see if I've learned
  5107. 4:38:21because if I've learned that's that's
  5108. 4:38:23awesome we've been here and uh you've
  5109. 4:38:25been here dog
  5110. 4:38:27so let's go ahead and compare these two
  5111. 4:38:29models
  5112. 4:38:33here Claudia what's
  5113. 4:38:37up
  5114. 4:38:39above I have two two hmm
  5115. 4:38:43models one with four
  5116. 4:38:48states and the other with seven
  5117. 4:38:52states um
  5118. 4:38:55please walk me through the
  5119. 4:39:06results and compare
  5120. 4:39:08them which is better okay and that just
  5121. 4:39:11had me think of something what are the
  5122. 4:39:14inputs we're putting into this one
  5123. 4:39:16that's the question because here you can
  5124. 4:39:20see it volume change and that's taking
  5125. 4:39:22up most of the I don't know I don't know
  5126. 4:39:24what you call it dog the brain power of
  5127. 4:39:26the
  5128. 4:39:27hmm the volume change is that weighted
  5129. 4:39:30the most it's the most important it's
  5130. 4:39:33the most
  5131. 4:39:34important
  5132. 4:39:37so what am I using over here am I using
  5133. 4:39:39the volume change
  5134. 4:39:42I am perfect perfect perfect are these
  5135. 4:39:46the same these should be the
  5136. 4:39:48same let's go and look at it
  5137. 4:39:53Lynn
  5138. 4:39:56okay these should be the same they
  5139. 4:39:58should be the same let's see it they're
  5140. 4:40:00the same perfect perfect so it's a fair
  5141. 4:40:02match it's a fair match four vers seven
  5142. 4:40:05this one has seven this one has four
  5143. 4:40:07regimes
  5144. 4:40:11okay let's go ahead and see what shorty
  5145. 4:40:15said certainly I'll walk you through the
  5146. 4:40:18results of both models and compare them
  5147. 4:40:20based on the metrics provided let's
  5148. 4:40:22analyze each aspect State prediction
  5149. 4:40:25accuracy for State model 91 that was the
  5150. 4:40:29new one 7even state model 89 the four
  5151. 4:40:33state model has a slightly higher
  5152. 4:40:35accuracy in predicting the next
  5153. 4:40:38state this suggests it might be more
  5154. 4:40:40state
  5155. 4:40:42in it State
  5156. 4:40:45transitions the log likelihood of four
  5157. 4:40:48state is - 29k 7 state is 14K the seven
  5158. 4:40:53State model has a much higher log
  5159. 4:40:55likelihood which typically indicates a
  5160. 4:40:58better fit to the
  5161. 4:40:59data a positive log likelihood as in the
  5162. 4:41:04seven State model is generally better
  5163. 4:41:06than a negative one
  5164. 4:41:08[Music]
  5165. 4:41:11ban information Bic four state 58 daow
  5166. 4:41:16and 7 State negative
  5167. 4:41:1927 lower bic is better cross
  5168. 4:41:23validation
  5169. 4:41:25negative has a higher positive cross
  5170. 4:41:27validation indicating better
  5171. 4:41:29generalization on unseen data however
  5172. 4:41:31both have high standard
  5173. 4:41:38deviations suggesting some instability
  5174. 4:41:41cross
  5175. 4:41:45folds feature
  5176. 4:41:54importance the four state volume
  5177. 4:41:57change 97 but 94 on the seven State
  5178. 4:42:02interesting a little bit more but did
  5179. 4:42:04not make it better model fit comparison
  5180. 4:42:06and conclusion the seven State model
  5181. 4:42:09shows a significantly better fit to the
  5182. 4:42:11data higher log likelihood lower Bic
  5183. 4:42:14generalization the seven State model
  5184. 4:42:16generalizes better to unseen
  5185. 4:42:19data higher cross
  5186. 4:42:24validation despite having more States
  5187. 4:42:26the seven State model perform performs
  5188. 4:42:30better according to Bic suggesting the
  5189. 4:42:32additional complexity is justified by
  5190. 4:42:35improved
  5191. 4:42:36fit prediction stability the four state
  5192. 4:42:39model is slightly more stable in
  5193. 4:42:41predicting the next state but the
  5194. 4:42:44difference is
  5195. 4:42:51small overall the seven State model
  5196. 4:42:54appears to be better choice it
  5197. 4:42:56demonstrates Superior fit to the data
  5198. 4:42:59better better generalization and more
  5199. 4:43:01nuanced state
  5200. 4:43:03representation the only metric where is
  5201. 4:43:05slightly behind is the state prediction
  5202. 4:43:08okay so the seven State still better
  5203. 4:43:11seven State still better okay well I
  5204. 4:43:16think we
  5205. 4:43:20uh I'm going call this multi- regimes
  5206. 4:43:25regim
  5207. 4:43:27reimy multi-
  5208. 4:43:29regimes okay risk on risk off I'm G say
  5209. 4:43:32four here
  5210. 4:43:43yo what happened to
  5211. 4:43:45it four regimes okay I need to do this
  5212. 4:43:49for all of them let's do it for two
  5213. 4:43:53three two
  5214. 4:43:58three turn this
  5215. 4:44:03into just two
  5216. 4:44:05regimes three regimes
  5217. 4:44:12uh risk
  5218. 4:44:14on risk
  5219. 4:44:17off and
  5220. 4:44:21frenzy send back all code send back all
  5221. 4:44:27code frenzy that sounds
  5222. 4:44:32fun a
  5223. 4:44:34frenzy all right so three
  5224. 4:44:39regimes py all I'm just going to start
  5225. 4:44:41cooking up here I'm going say two
  5226. 4:44:44regimes py you working for me today baby
  5227. 4:44:47girl you working for me regimes. py 6
  5228. 4:44:53six
  5229. 4:44:54regimes six there's got to be a better
  5230. 4:44:56way to do this
  5231. 4:45:00but oh my God I'm just going to use all
  5232. 4:45:03my credits here I'm going to use all my
  5233. 4:45:05credits let's run it three regimes
  5234. 4:45:16okay okay risk on risk off
  5235. 4:45:20frenzy risk on risk off and
  5236. 4:45:25frenzy that's good 95%
  5237. 4:45:30killer
  5238. 4:45:32wow log likelihood though let's see it
  5239. 4:45:36let's see our good log likelihood log
  5240. 4:45:38likelihood this is like a test how do
  5241. 4:45:41you how do you remember
  5242. 4:45:43this how do you remember if it's
  5243. 4:45:45supposed to be high or low just
  5244. 4:45:47repetition be so let's go ahead
  5245. 4:45:52and say uh this one is that and what is
  5246. 4:45:55it though three regimes copy copy copy
  5247. 4:46:00relative path you thought I was going to
  5248. 4:46:02say
  5249. 4:46:04path all right send me
  5250. 4:46:08um now do one
  5251. 4:46:11with only two
  5252. 4:46:19regimes excuse
  5253. 4:46:24me yo send me back all the code
  5254. 4:46:27too don't play me don't play me not
  5255. 4:46:32today don't play me dude I think this
  5256. 4:46:35one's better no it's not cross
  5257. 4:46:39validation not looking good
  5258. 4:46:41that should be positive if you look
  5259. 4:46:44here see our best one
  5260. 4:46:46here
  5261. 4:46:51um up
  5262. 4:46:54here hey where are you
  5263. 4:46:59dude it was positive all these others
  5264. 4:47:02are negative this one's not good either
  5265. 4:47:05but it's
  5266. 4:47:06uh SS
  5267. 4:47:15copy paste
  5268. 4:47:20it run
  5269. 4:47:24it do
  5270. 4:47:26this the
  5271. 4:47:29same do the same but with five
  5272. 4:47:34regimes
  5273. 4:47:36then do the same with six regimes then
  5274. 4:47:43do the same
  5275. 4:47:45with eight
  5276. 4:47:47regimes you
  5277. 4:47:49name the
  5278. 4:47:52states send back full code one script at
  5279. 4:47:59a time then please ask me if I would
  5280. 4:48:06like to move to the next
  5281. 4:48:09one yo you know what I was thinking just
  5282. 4:48:12right now is Sonet
  5283. 4:48:153.5 they got to change the name because
  5284. 4:48:183.5 n they don't got to do anything
  5285. 4:48:20honestly they can do whatever they want
  5286. 4:48:21to do but 3.5 like degrades it lowkey
  5287. 4:48:25because you know open AI over
  5288. 4:48:27here 3.5 is not you know not popping
  5289. 4:48:33like that we're on four
  5290. 4:48:36now dos dude all right let's get this
  5291. 4:48:39plot out of here actually want to look
  5292. 4:48:41at it first risk on risk
  5293. 4:48:45off risk on risk
  5294. 4:48:49off all right so now you see
  5295. 4:48:53it log
  5296. 4:48:59likelihood okay
  5297. 4:49:07okay so this one here then live Ops
  5298. 4:49:13and paste it right there and this was
  5299. 4:49:16two regimes right copy
  5300. 4:49:18P we got AI working over there right she
  5301. 4:49:21working
  5302. 4:49:22right she working right I hope
  5303. 4:49:29so
  5304. 4:49:31yes there you go shorty that's how we're
  5305. 4:49:35going to do it from here on out
  5306. 4:49:39okay so that was I believe that was five
  5307. 4:49:43let's see let's see let's see what their
  5308. 4:49:45names are 1 2 3 4
  5309. 4:49:47five okay because the names don't matter
  5310. 4:49:50remember that just remember that dog
  5311. 4:49:52names don't matter we got to label them
  5312. 4:49:53later I guess I guess that's how it goes
  5313. 4:49:56I don't know to be honest I'm just out
  5314. 4:49:58here in the ocean I swam out in the
  5315. 4:49:59ocean there's no boat actually there is
  5316. 4:50:01a boat Cloud but she left me yesterday
  5317. 4:50:04that was so whack it was so so
  5318. 4:50:09whack okay handle
  5319. 4:50:14that Claudia Claudia
  5320. 4:50:20Claudia all right so this one's looking
  5321. 4:50:24bullish bearish sideways volatile and
  5322. 4:50:29accumulation looks suitable to
  5323. 4:50:32me
  5324. 4:50:3692% let's wait for this to finish up and
  5325. 4:50:39then I'm gonna have oh yeah you're going
  5326. 4:50:42to keep
  5327. 4:50:43going yes copi you you're going to keep
  5328. 4:50:49going yes let's go ahead and put six up
  5329. 4:50:52in there let's go check out the
  5330. 4:50:54uniqueness of the names they came up
  5331. 4:50:56with strong ball weak bull
  5332. 4:50:58sideways weak bear strong bear High
  5333. 4:51:01volatility okay we got this this is a
  5334. 4:51:04good flow right
  5335. 4:51:05here nice
  5336. 4:51:08dude don't drop the ball don't drop the
  5337. 4:51:11ball in this nice float let's go let's
  5338. 4:51:13keep going what was that five copy
  5339. 4:51:15relative path
  5340. 4:51:20yes and then that was the last one we
  5341. 4:51:25wanted let's do a nine
  5342. 4:51:36to why not why not oh because they cut
  5343. 4:51:41you off yeah that's why not
  5344. 4:51:44but that's it is what it is I'm just
  5345. 4:51:47about to run it up I'm G get them both
  5346. 4:51:49my goal is to get cut off from both open
  5347. 4:51:53Ai
  5348. 4:51:56and
  5349. 4:51:58Claudia in one
  5350. 4:52:02day that would be dope that means we're
  5351. 4:52:05working that means we're going hard and
  5352. 4:52:08I'm sorry I'm sorry I actually feel
  5353. 4:52:10better bad I feel bad I feel bad like if
  5354. 4:52:14I feel bad if somebody has any hard
  5355. 4:52:16feelings
  5356. 4:52:18about that's being able code so fast now
  5357. 4:52:22God 1 two 3 4 five 6 1 2 3 4 five 6 7 8
  5358. 4:52:30all right let's do it let's run it don't
  5359. 4:52:34drop the ball I said don't drop the ball
  5360. 4:52:36keep it going did we get six on there I
  5361. 4:52:39hope so
  5362. 4:52:43six we
  5363. 4:52:50didn't okay so let's run six
  5364. 4:52:55first it's going to take a little bit
  5365. 4:52:57longer I believe I don't know
  5366. 4:53:09though how's this looking whoa whoa whoa
  5367. 4:53:11whoa
  5368. 4:53:28whoa you can print out 10
  5369. 4:53:31now get copy
  5370. 4:53:41nine regimes.
  5371. 4:53:44py okay and then please please print out
  5372. 4:53:4810 please print out 10 okay and we got
  5373. 4:53:54I'm not going to show you the plot on
  5374. 4:53:55this one sorry I'm just closing
  5375. 4:53:57it so we're on six I
  5376. 4:54:05believe so let me go ahead and grab the
  5377. 4:54:08copy path here
  5378. 4:54:12five and then let's just wait for
  5379. 4:54:15it let's make
  5380. 4:54:2110 10 regimes. py now just wait on six
  5381. 4:54:26so these look like they're getting
  5382. 4:54:28longer every time I guess that makes
  5383. 4:54:31sense I guess that makes sense
  5384. 4:54:3495 okay look at this cross validation
  5385. 4:54:36score
  5386. 4:54:40take shots
  5387. 4:54:42dude so six six is dirty but I don't
  5388. 4:54:46know I I don't trust me on that I have
  5389. 4:54:48to ask a i
  5390. 4:54:51because you
  5391. 4:54:53know they know
  5392. 4:54:56everything so this is eight and then we
  5393. 4:54:58got to run eight let's run
  5394. 4:55:03it and then we got 10 in the
  5395. 4:55:07oven yep
  5396. 4:55:11there it is I'm not going over 10 I'm
  5397. 4:55:14not going over 10 that's
  5398. 4:55:16just
  5399. 4:55:30[Music]
  5400. 4:55:33egregious there we go dang my computer
  5401. 4:55:36working right now I can feel it I can
  5402. 4:55:39smell it
  5403. 4:55:42so this is eight we're running right now
  5404. 4:55:44and then here we
  5405. 4:55:47go what yo what's up
  5406. 4:55:50Wishy
  5407. 4:55:52anthropic
  5408. 4:55:55um everything in Cosmos is
  5409. 4:55:59up is Claude better than gbt
  5410. 4:56:0240 uh I don't know I like it right now
  5411. 4:56:05but I don't I'm indifferent
  5412. 4:56:33all
  5413. 4:56:38right this is taking a long time huh
  5414. 4:56:42this is 8 so we'll see if nine comes
  5415. 4:56:45through I'm chilling Wishy how you doing
  5416. 4:56:49bro how you
  5417. 4:56:54doing there we go got
  5418. 4:57:02it all right let's do nine now copy
  5419. 4:57:05path relative path here
  5420. 4:57:11hey hey
  5421. 4:57:13hey copy relative path okay perfect
  5422. 4:57:17perfect perfect all right now did we get
  5423. 4:57:19eight in there yeah we did we
  5424. 4:57:23did nine copy path okay now I'm just
  5425. 4:57:26waiting for the data just waiting for
  5426. 4:57:29this fitting of the machine learning
  5427. 4:57:31model the hidden markof model um let's
  5428. 4:57:35see you got any questions what do you
  5429. 4:57:37always mean with 777 it's just a way to
  5430. 4:57:40some love and some good
  5431. 4:57:43vibes Aqua says 777 symbolizes spiritual
  5432. 4:57:47Perfection and divine completion
  5433. 4:57:49representing the ultimate alignment of
  5434. 4:57:51mind body and spirit with Cosmic
  5435. 4:57:54forces wow that's
  5436. 4:57:57deep that is deep I love it so this is
  5437. 4:58:01the thing but I'm just going to let it
  5438. 4:58:02go through perfect perfect you can see
  5439. 4:58:05this one's a little less here
  5440. 4:58:0788 uh how much resources does this kind
  5441. 4:58:09of a I use oh that's a good question
  5442. 4:58:12dude I don't know
  5443. 4:58:14um I don't know I don't know about
  5444. 4:58:18that everything in Cosmos is
  5445. 4:58:31up
  5446. 4:58:33Cosmos everything in Cosmos is up all
  5447. 4:58:37right since I got a little time I'll go
  5448. 4:58:40over there see what categories maybe is
  5449. 4:58:43that how you do
  5450. 4:58:44it oh clicked on an ad they got me
  5451. 4:58:47already monetize me
  5452. 4:58:56already um
  5453. 4:59:07Adam yes so this is awkward
  5454. 4:59:10I thought they had like a category or
  5455. 4:59:16something maybe you just go to Adam or
  5456. 4:59:18[Music]
  5457. 4:59:22something similar coins
  5458. 4:59:25Marcus how do you yeah how do you
  5459. 4:59:27observe how do you observe everything's
  5460. 4:59:30up in
  5461. 4:59:33Cosmos that's my question so this is
  5462. 4:59:36what number is this that was nine nice
  5463. 4:59:38now we're just going to do 10
  5464. 4:59:42copy path copy relative path here and
  5465. 4:59:46then I'm going to run
  5466. 4:59:51this yo Derek what's up 77 bro
  5467. 4:59:55777 how are you how are you Daniel 777
  5468. 5:00:00to you as well much
  5469. 5:00:02love
  5470. 5:00:08peace all right so this one is training
  5471. 5:00:12with 10
  5472. 5:00:13components 10 different components 10
  5473. 5:00:16states 10
  5474. 5:00:18regimes whatever you want to call
  5475. 5:00:21them call them what you want to call
  5476. 5:00:33them all right so here we
  5477. 5:00:38go and um these are the 10 states now
  5478. 5:00:54so what do you think about
  5479. 5:00:56him what are your thoughts my thoughts
  5480. 5:01:00are close it and let's get the data back
  5481. 5:01:03and then let's get some a professional
  5482. 5:01:05thoughts how about that that's a good
  5483. 5:01:07idea right I think so
  5484. 5:01:10we got all the data from our our file
  5485. 5:01:13here compare all of these 10
  5486. 5:01:20models Maybe not maybe
  5487. 5:01:23not I'm going to do it one by
  5488. 5:01:29one yo Wishy yeah I'm working on a
  5489. 5:01:32hidden markof model um Jim Simons tipped
  5490. 5:01:35me off so I just wanted to dive into it
  5491. 5:01:37SP some time it's been the last few days
  5492. 5:01:40still Noob as usual just a womb engineer
  5493. 5:01:42over here trying to find his way in this
  5494. 5:01:44deep deep ocean without a boat but I got
  5495. 5:01:47a boat until the boat rugs
  5496. 5:01:50me and we'll see if Claudia rugs me
  5497. 5:01:54today if she does then you know maybe
  5498. 5:01:57it's time
  5499. 5:01:59to go beg beg for forgiveness from open
  5500. 5:02:02Ai and get back on chat
  5501. 5:02:05gbt because I might need both
  5502. 5:02:10how's Gemini in comparison to GPD
  5503. 5:02:1340 and Claude
  5504. 5:02:163.5 are be curious cuz it you
  5505. 5:02:23know I just be
  5506. 5:02:29curious come on baby show yourself show
  5507. 5:02:34yourself you're almost there so it has
  5508. 5:02:3710 states so it should be a little bit
  5509. 5:02:39long
  5510. 5:02:43longer Daniel says thanks I've been
  5511. 5:02:45discovering and testing Alo trading
  5512. 5:02:47thanks to your channel my goal for 2025
  5513. 5:02:50is to move from webdev to trading and
  5514. 5:02:53Bot that's dope dude that's
  5515. 5:02:55dope welcome to the
  5516. 5:02:59world all right here we go glad you're
  5517. 5:03:02here my brother let's go ahead
  5518. 5:03:05and throw this 10 in there and compare
  5519. 5:03:10all these just compare them all just
  5520. 5:03:12compare them all except the first one
  5521. 5:03:14because the first one we know is doooo
  5522. 5:03:27berries above is
  5523. 5:03:30[Music]
  5524. 5:03:34are a
  5525. 5:03:37bunch of different
  5526. 5:03:40hmm
  5527. 5:03:42test Iran please walk me
  5528. 5:03:47[Music]
  5529. 5:03:48through
  5530. 5:03:51them what which did
  5531. 5:03:58best
  5532. 5:04:01why I mean that's that's you know it's
  5533. 5:04:04good enough that's good
  5534. 5:04:06enough it's good enough prompt you know
  5535. 5:04:09we're deep deep deep in this game now
  5536. 5:04:11and
  5537. 5:04:13um you know it's been a journey this has
  5538. 5:04:15been a journey I love I love these
  5539. 5:04:17Journeys though I
  5540. 5:04:20do I do love these Journeys
  5541. 5:04:23[Music]
  5542. 5:04:29bro uh oh are we back on mic
  5543. 5:04:33talk is my mic messing up
  5544. 5:04:36again everything clear for everybody
  5545. 5:04:43[Music]
  5546. 5:04:50dang I'm from the
  5547. 5:04:53US West
  5548. 5:04:57Coast where you where are you I think I
  5549. 5:05:00think you've told me before Daniel the
  5550. 5:05:03mic sounds good okay cool
  5551. 5:05:10oh it's clear that's why I'm asking it's
  5552. 5:05:13a um cool that's cool to hear because
  5553. 5:05:17yesterday we took a pivot some uh there
  5554. 5:05:20was an audio engineer
  5555. 5:05:22here or somebody that sitting in a
  5556. 5:05:24studio and he had some problems with the
  5557. 5:05:26bass so he helped me with like
  5558. 5:05:28the I don't even know honestly it was
  5559. 5:05:31like learning how to code again playing
  5560. 5:05:33with the little meters and stuff anyways
  5561. 5:05:35it's a ATR or it's a audio tech audio
  5562. 5:05:39tech
  5563. 5:05:41sorry it's upside down audio tech
  5564. 5:05:46Nika Cuban half Cuban half Spanish I'm
  5565. 5:05:50from Spain dope
  5566. 5:05:52dude great place it's a great place I
  5567. 5:05:54would love to go
  5568. 5:05:57back all right let's go ahead and see
  5569. 5:06:01what they said so certainly I'll walk
  5570. 5:06:03you through the results of the different
  5571. 5:06:05hmm models and analyze their performance
  5572. 5:06:07let's break this down by looking at
  5573. 5:06:08various metrics
  5574. 5:06:10State prediction accuracy so two regimes
  5575. 5:06:12had
  5576. 5:06:1497 three regimes had 95 five regines 92
  5577. 5:06:19six regines okay this kind of makes
  5578. 5:06:21sense I
  5579. 5:06:25guess the models with fewer States tend
  5580. 5:06:28to have higher prediction
  5581. 5:06:33accuracy this is expected as fewer
  5582. 5:06:36states are easier to predict but it
  5583. 5:06:38doesn't necessarily mean they're better
  5584. 5:06:40at capturing market
  5585. 5:06:43dynamics log likelihood higher is better
  5586. 5:06:4710 regimes was the
  5587. 5:06:50best nine regimes was second best Okay
  5588. 5:06:54so this just go 10 n six all the way
  5589. 5:06:57down straight up this is insightful
  5590. 5:07:01because it seems like it's all in
  5591. 5:07:04order the models with more states have
  5592. 5:07:07higher log likelihood indicating better
  5593. 5:07:10fit to the
  5594. 5:07:16data BC basian information
  5595. 5:07:19Criterion lower is better so 10 regimes
  5596. 5:07:22is the lowest so it's just the more
  5597. 5:07:25regimes the better
  5598. 5:07:40the Bic penalizes model complexity yet
  5599. 5:07:43we see the more complex models more
  5600. 5:07:46States perform better cross validation
  5601. 5:07:49score higher is
  5602. 5:07:53better so the more States the
  5603. 5:07:56better I mean that's what it's saying I
  5604. 5:08:00ain't say
  5605. 5:08:01it I mean we'll see we'll see we're not
  5606. 5:08:03even done reading come on moon read the
  5607. 5:08:05whole
  5608. 5:08:06thing again models with more States for
  5609. 5:08:09perform better in the cross validation F
  5610. 5:08:11feature
  5611. 5:08:13importance most models heavily rely on
  5612. 5:08:16volume change except for the two regime
  5613. 5:08:18model which gives more weight to the BB
  5614. 5:08:20W width and
  5615. 5:08:23volatility based on these metrics the
  5616. 5:08:25models that perform best are 10 regime
  5617. 5:08:27nine regime and eight regime and we had
  5618. 5:08:30we weren't even going to test those
  5619. 5:08:32dude give me something with 50 regimes
  5620. 5:08:38B let's see see how that
  5621. 5:08:42does the 10 regime model shows the best
  5622. 5:08:45performance across most metrics highest
  5623. 5:08:48log likelihood lowest Bic highest cross
  5624. 5:08:52validation score why did why did these
  5625. 5:08:55models perform best complexity matching
  5626. 5:08:57market dynamics the cryptocurrency
  5627. 5:08:59market especially Bitcoin is known for
  5628. 5:09:01its complex and volatile Behavior models
  5629. 5:09:04with more states can capture more Nuance
  5630. 5:09:06market conditions balancing fit and
  5631. 5:09:10generalization while the 10 regime model
  5632. 5:09:12has the highest complexity it still
  5633. 5:09:15outperforms simpler models in Cross
  5634. 5:09:17validation suggesting it's not
  5635. 5:09:24overfitting capturing diverse Market
  5636. 5:09:26states with 10 regimes the model can
  5637. 5:09:29distinguish between subtle market
  5638. 5:09:31conditions easy neutral bullish and
  5639. 5:09:35neutral vers neutral bearish which might
  5640. 5:09:37be crucial for trading strategies
  5641. 5:09:40feature utilization as the number of
  5642. 5:09:43regimes increases the models start to
  5643. 5:09:46make slightly more balanced use of BB
  5644. 5:09:49width and volatility
  5645. 5:09:51features potentially capturing more
  5646. 5:09:54information from the
  5647. 5:09:55data however it's worth noting the
  5648. 5:09:57difference in performance between 89 and
  5649. 5:09:5910 seems relatively small the 8 regime
  5650. 5:10:02model might be a good balance between
  5651. 5:10:04performance and complexity get them out
  5652. 5:10:06of
  5653. 5:10:07here ldo whatever that is somebody just
  5654. 5:10:11got Cho it off rest in peace don't trade
  5655. 5:10:14by
  5656. 5:10:15hand somebody else just got Chopper it
  5657. 5:10:18off n they just got shot dang both ways
  5658. 5:10:22what's going on over there that's always
  5659. 5:10:25interesting when I see liquidations on
  5660. 5:10:27both
  5661. 5:10:30sides how did this guy get licked right
  5662. 5:10:33there on
  5663. 5:10:35BTC what is you doing dude right here
  5664. 5:10:40what are you
  5665. 5:10:45[Music]
  5666. 5:10:50doing what are you doing how do you get
  5667. 5:10:55licked right there how much Levy did you
  5668. 5:10:57use maybe that's a mistake too I don't
  5669. 5:11:00know ldo okay let's check it out let's
  5670. 5:11:02see what ldo is sorry for the the switch
  5671. 5:11:05up here but
  5672. 5:11:09dang I don't get that maybe this data
  5673. 5:11:13comes in wrong sometimes um I don't know
  5674. 5:11:17but that would not be
  5675. 5:11:20good somebody just got r wrecked for a
  5676. 5:11:24mill on uni swap a hand Trader of
  5677. 5:11:28course it's so sad to
  5678. 5:11:32see may he rest in
  5679. 5:11:36peace on Unis swap you were shorting
  5680. 5:11:39Unis Swap and got licked let's see his
  5681. 5:11:46decision okay so I
  5682. 5:11:48mean shorting by hand is just a bad idea
  5683. 5:11:51in general in my
  5684. 5:11:54opinion all right so let's go ahead and
  5685. 5:11:57say however is worth no
  5686. 5:12:00noting the difference in performance
  5687. 5:12:03between 89 and 10 the two regime model
  5688. 5:12:05stands out for its unique feature
  5689. 5:12:07importance distribution giving
  5690. 5:12:10weight to BB width while it performs
  5691. 5:12:13poorly on the other metrics 400,000
  5692. 5:12:17Chopper out of here every time you hear
  5693. 5:12:20that copter that means somebody just
  5694. 5:12:21lost all that cash
  5695. 5:12:24B they're on tilt they'll probably lose
  5696. 5:12:27some
  5697. 5:12:28more
  5698. 5:12:30boy don't go back there dog don't go
  5699. 5:12:34back there
  5700. 5:12:41as the number of regimes increases the
  5701. 5:12:44state prediction AC accuracy
  5702. 5:12:47decreases this trade-off might be
  5703. 5:12:49important depending on your specific
  5704. 5:12:52case in conclusion the 10 regime
  5705. 5:12:55performs best overall but eight or nine
  5706. 5:12:58may be the give
  5707. 5:13:00me please please send me the full code
  5708. 5:13:06for a 15 regime
  5709. 5:13:10one yo civil what's up dog good to see
  5710. 5:13:14you yo Ry bear why are so many people
  5711. 5:13:17hyped over Tron and their memes are they
  5712. 5:13:20that good I don't know dog I don't know
  5713. 5:13:22I don't know but Jane hit me up about it
  5714. 5:13:25you hit me up about it right there
  5715. 5:13:27anybody else hearing things about tronny
  5716. 5:13:29Tron I've had bad out a bad outlook on
  5717. 5:13:32Tron since you know for a long time so I
  5718. 5:13:36instantly faded but then I think it
  5719. 5:13:37through and it's like okay if I
  5720. 5:13:39instantly fade something I got to at
  5721. 5:13:41least look at
  5722. 5:13:44it I'm that biased against a whole
  5723. 5:13:48chain I got to at least Peak
  5724. 5:13:51but I feel like they always have this
  5725. 5:13:54thing every year or so they've got some
  5726. 5:13:57sort of bubble of something that goes on
  5727. 5:14:00um I'd be curious if other people are
  5728. 5:14:02hearing about Tron and all that stuff um
  5729. 5:14:05I've never really been a fan but you
  5730. 5:14:08know
  5731. 5:14:10that makes me want to look into
  5732. 5:14:14it I get bad vibes from Tron Derek says
  5733. 5:14:17I agree always have probably always will
  5734. 5:14:21unfortunately so I don't know enough
  5735. 5:14:26just though I don't want to dog it or
  5736. 5:14:28anything but 10 regimes now we got the
  5737. 5:14:3215 regime Mac
  5738. 5:14:36Daddy let's see how this one does
  5739. 5:14:39let's see it dance I know you're going
  5740. 5:14:41to take a while it's okay I'm here I'm
  5741. 5:14:45patient I'll be here for 60
  5742. 5:14:47years until I can't stand no more let's
  5743. 5:14:50read out these names extreme bolt let's
  5744. 5:14:53see one two strong bolt three 4 5 6 7 8
  5745. 5:14:579 10 11 12 13 14 15 indeed so extreme
  5746. 5:15:02bear strong bear moderate bear weak bear
  5747. 5:15:04bearish consolidation neutral bearish
  5748. 5:15:07slightly bearish neutral slightly
  5749. 5:15:09bullish neutral bullish bullish
  5750. 5:15:12consolidation weak bull moderately bull
  5751. 5:15:15strong bull extreme bull I can see how
  5752. 5:15:16this does well now that they've
  5753. 5:15:18explained it to me thank you AI
  5754. 5:15:41here we go it's plotting we're done with
  5755. 5:15:43half of
  5756. 5:15:45it you want to see
  5757. 5:15:47it I sh you do let me just copy this
  5758. 5:15:51over real
  5759. 5:15:52quick seven state is still
  5760. 5:15:55better not
  5761. 5:15:588910 is
  5762. 5:16:02best all right past
  5763. 5:16:05it yo civil bro you are the you you are
  5764. 5:16:09the man thank you
  5765. 5:16:13dude got to hop in a meeting just wanted
  5766. 5:16:16to
  5767. 5:16:17say hope you all a blessed day dang so
  5768. 5:16:21much love to you dude 777 from me and
  5769. 5:16:24everybody in this chat that is so much
  5770. 5:16:26love
  5771. 5:16:28dog you didn't ever have to do that so
  5772. 5:16:32kind of you all right so let's see this
  5773. 5:16:36this here 15 I see how this could be
  5774. 5:16:45good how many days are in the year
  5775. 5:16:50365 so what would this equate to 365 /
  5776. 5:16:5415 24 different 24
  5777. 5:16:58days 24 day
  5778. 5:17:02regimes yeah 24 day regimes essentially
  5779. 5:17:06let's let's not get ahead of ourselves
  5780. 5:17:07looks cool colorful yeah yeah let's
  5781. 5:17:10check it out though so okay okay okay so
  5782. 5:17:1410 regimes what's the highest right here
  5783. 5:17:16log likelihood we need High 47,000 is
  5784. 5:17:19the highest oh
  5785. 5:17:22snap so what if Jim was
  5786. 5:17:26capping not capping
  5787. 5:17:29but you know like you got to keep his
  5788. 5:17:32stuff a
  5789. 5:17:33secret and I don't know where I heard
  5790. 5:17:36him say nine regimes but somebody else
  5791. 5:17:38said four regimes what if it's really
  5792. 5:17:40like 18 regimes what if it's 20 regimes
  5793. 5:17:43what if it's 30
  5794. 5:17:46regimes I don't
  5795. 5:17:48know I'm going to keep testing this
  5796. 5:17:50though yeah why wouldn't I why wouldn't
  5797. 5:18:01I why wouldn't I dude
  5798. 5:18:12so much love to you dog
  5799. 5:18:15civil he said be for real you put you
  5800. 5:18:18putting on Game for free
  5801. 5:18:2099 every day got to respect
  5802. 5:18:25that you're a good dude
  5803. 5:18:28man you're a good
  5804. 5:18:35dude you got me over here shooting
  5805. 5:18:37jumpers
  5806. 5:18:38he just threw five at your boy for no
  5807. 5:18:41reason I'm over here shooting jump air
  5808. 5:18:44jumpers probably a couple air balls but
  5809. 5:18:47you
  5810. 5:18:48know appreciate you man that's love
  5811. 5:18:51that's love I just know the pro the
  5812. 5:18:54process of pulling out a credit card to
  5813. 5:18:57to send a super like that is just like
  5814. 5:18:59you're spending your time which is so
  5815. 5:19:03kind so kind so kind good to see you my
  5816. 5:19:07dude good to see you
  5817. 5:19:10so this takes longer every time which is
  5818. 5:19:14it makes sense right so it makes sense
  5819. 5:19:18explain why explain why it takes longer
  5820. 5:19:23to run
  5821. 5:19:24the um
  5822. 5:19:28man this
  5823. 5:19:30stuff this part of run the code with
  5824. 5:19:35more
  5825. 5:19:37um more
  5826. 5:19:45States I just want
  5827. 5:19:49to get an ai's perspective on this
  5828. 5:19:52because you know me I know nothing
  5829. 5:19:56B I'm just here
  5830. 5:20:05vibing all right so here we go this is
  5831. 5:20:07good
  5832. 5:20:10the increase in runtime for models with
  5833. 5:20:12more States is due to several factors
  5834. 5:20:14related to the computation computational
  5835. 5:20:16complexity of hidden Markoff models hmm
  5836. 5:20:19let me explain the main reasons
  5837. 5:20:21parameter estimation in an hmm the end
  5838. 5:20:24States we need to estimate n * n
  5839. 5:20:27transition
  5840. 5:20:28probabilities the transition Matrix and
  5841. 5:20:31initial State probabilities
  5842. 5:20:33probabilities and sets of emissions
  5843. 5:20:37probabilities in this case means and
  5844. 5:20:40covariances for each state as n
  5845. 5:20:42increases the number of parameters to
  5846. 5:20:44estimate grows rapidly requiring more
  5847. 5:20:47computations expectation maximization em
  5848. 5:20:50algorithm the bomb Welch algorithm a
  5849. 5:20:53type of em is typically used to train
  5850. 5:20:56hmm each iteration of this algorithm
  5851. 5:20:59involves forward backward procedure
  5852. 5:21:02complexity where T is the length of the
  5853. 5:21:06sequence reestimation
  5854. 5:21:08maybe I asked to I asked the wrong
  5855. 5:21:11question reestimation of parameters also
  5856. 5:21:14grows within more States mean more
  5857. 5:21:17iterations are often needed for
  5858. 5:21:20convergence State sequence prediction
  5859. 5:21:22the vctor B algorithm has a Time
  5860. 5:21:26complexity of N2 S as n increases the
  5861. 5:21:31time to predict States grows
  5862. 5:21:34quadratically Matrix operations
  5863. 5:21:37operations like Matrix multiplication
  5864. 5:21:39have a complexity of O to the N the 3
  5865. 5:21:44for n * n matrices larger State spaces
  5866. 5:21:48okay so convergence time the likelihood
  5867. 5:21:51landscape becomes more complex with more
  5868. 5:21:55parameters this can lead to more
  5869. 5:21:57iterations of the EM memory usage more
  5870. 5:22:00states require more memory to store
  5871. 5:22:03parameters and intermediate
  5872. 5:22:06calculations if memory usage exams
  5873. 5:22:08exceeds available Ram it can lead to dis
  5874. 5:22:12swapping dramatically slowing down
  5875. 5:22:14computations cross validation and model
  5876. 5:22:19evaluation okay so it just takes longer
  5877. 5:22:22sweet I'm going to get one send me one
  5878. 5:22:25send me
  5879. 5:22:27one one with uh I want two two per month
  5880. 5:22:3324 States
  5881. 5:22:40two states per
  5882. 5:22:42month cuz what if that's the case you
  5883. 5:22:56know so this is the new one and it looks
  5884. 5:23:01like this was 15
  5885. 5:23:07regime so
  5886. 5:23:11more I don't know how to make my notes
  5887. 5:23:14look good
  5888. 5:23:22but 15
  5889. 5:23:26State
  5890. 5:23:28cuz that's what she
  5891. 5:23:31said no it's not what she said but I'm
  5892. 5:23:34just going to have it there so Bic how's
  5893. 5:23:38that looking so it's obviously not as
  5894. 5:23:42good
  5895. 5:23:4486 83 so it just goes straight
  5896. 5:23:47down that makes
  5897. 5:23:49sense I don't know maybe I'm going
  5898. 5:23:51overboard now but we'll
  5899. 5:23:54see you
  5900. 5:23:55know uh hmm it means hidden markof
  5901. 5:24:00model ryar says I've always stayed away
  5902. 5:24:03from Tron he did a fork of pump fun on
  5903. 5:24:07Tron the volume looks interesting but
  5904. 5:24:09Tron
  5905. 5:24:11Tron yo what's the link it's called Sun
  5906. 5:24:14pump or
  5907. 5:24:15something that's just so sketch this is
  5908. 5:24:23it okay um I'll look into this a little
  5909. 5:24:26bit later though let me uh get this last
  5910. 5:24:29one done here and then I think this is a
  5911. 5:24:34pretty
  5912. 5:24:35good tippity tip tip dude
  5913. 5:24:39I think we learned something big here
  5914. 5:24:42dude we learned something big
  5915. 5:24:46today already
  5916. 5:24:52dude all right so this is the 24 regimes
  5917. 5:24:55let's see if it's truth I think it is
  5918. 5:24:58let's run it
  5919. 5:25:00dude all right so this is 24 regimes if
  5920. 5:25:03you got questions let me know
  5921. 5:25:18Sun pump are there any other resources
  5922. 5:25:21for sun
  5923. 5:25:23pump while I'm waiting on this
  5924. 5:25:26Hmm this is so funny we're using machine
  5925. 5:25:29learning models to predict Market
  5926. 5:25:31regimes but also looking at some
  5927. 5:25:36punp oh my God
  5928. 5:25:39okay
  5929. 5:25:40so I don't see much movement like the
  5930. 5:25:42other one but what's Sun swap is that
  5931. 5:25:46there that
  5932. 5:25:48thing
  5933. 5:26:00um one minute
  5934. 5:26:16the thing is I don't know how to use
  5935. 5:26:17pump fun I never I never used it and I
  5936. 5:26:20can't build a bot for it I'm not that
  5937. 5:26:22interested is this just because it just
  5938. 5:26:26launched like if there's a ton of volume
  5939. 5:26:29I don't know what is this where are you
  5940. 5:26:30guys getting this volume from like uh
  5941. 5:26:33not volume where you getting this uh
  5942. 5:26:35this information from is like Twitter
  5943. 5:26:37everybody's talking about on Twitter
  5944. 5:26:38are there
  5945. 5:26:41anybody yeah like I'm curious I'm
  5946. 5:26:44curious anyways here's 24 this this is
  5947. 5:26:47for Kobe so it should be the best yeah
  5948. 5:26:50it is the best log likelihood so
  5949. 5:26:53far I'm going to go ahead and say hey
  5950. 5:26:58please tell me one or two things about
  5951. 5:27:01my
  5952. 5:27:03data please go ahead here and tell me
  5953. 5:27:06this here's the 15
  5954. 5:27:09here's 15
  5955. 5:27:12regimes attached is 15
  5956. 5:27:16regimes and 24 regimes compare them to
  5957. 5:27:22my
  5958. 5:27:2478 my
  5959. 5:27:308910 which is best okay
  5960. 5:27:34so that's going to be done here in a few
  5961. 5:27:39everybody's talking about this over here
  5962. 5:27:42it seems super sketch already I mean I
  5963. 5:27:45think pum fun seems sketch but so if you
  5964. 5:27:49get to put it on Tron then it's like
  5965. 5:27:52okay A little Sketcher
  5966. 5:27:54but so sketch on sketch equals super
  5967. 5:27:58sketch in my opinion
  5968. 5:28:09a few seconds ago here we
  5969. 5:28:22go I'm a pass for now I'm G pass on any
  5970. 5:28:26uh any of this I'mma fade it I'mma fade
  5971. 5:28:29it I think I'm G
  5972. 5:28:33fade is this a bad idea I don't think so
  5973. 5:28:36I think it's I think it's a good idea
  5974. 5:28:39anything Tron I instantly fade I'm sorry
  5975. 5:28:44it's
  5976. 5:28:47sketch I don't know why but I got no
  5977. 5:28:50proof I've got no proof but see they got
  5978. 5:28:55API he's over here
  5979. 5:28:57like they got API
  5980. 5:29:01though yeah I'm
  5981. 5:29:03good I'll keep an eye on it thank you
  5982. 5:29:05for
  5983. 5:29:06like like it for me but you know pump
  5984. 5:29:12fun seems cool like I just never got
  5985. 5:29:15into it I can't use right API whatever I
  5986. 5:29:20build snipers I build snipers so I just
  5987. 5:29:23kind of faded pump
  5988. 5:29:26fun
  5989. 5:29:28um probably for the better it seems like
  5990. 5:29:31I'll keep an eye on it so Tron double
  5991. 5:29:36fade I'mma stick get I'mma stay right
  5992. 5:29:39here I'mma stay right here I'mma stay
  5993. 5:29:41right
  5994. 5:29:42here let's check out the see what people
  5995. 5:29:45are saying though
  5996. 5:29:48maybe maybe it
  5997. 5:29:52will convince
  5998. 5:29:59me while we're waiting
  5999. 5:30:09ton dropped an
  6000. 5:30:20R all right nothing yet nothing
  6001. 5:30:31yet dang this is taking a long
  6002. 5:30:35time but that's good let's see what my
  6003. 5:30:38computer activity is looking
  6004. 5:30:40like I haven't looked at that in a long
  6005. 5:30:43time that's a luxury right there
  6006. 5:30:48dude remember back in the day when I
  6007. 5:30:50could barely keep the stream up we've
  6008. 5:30:51come so
  6009. 5:30:55far I could barely keep this stream
  6010. 5:30:59going now we got every order coming in
  6011. 5:31:03every order on binance flying through
  6012. 5:31:05our screen all the time
  6013. 5:31:09add a apple good job good job much love
  6014. 5:31:15so much
  6015. 5:31:17love so much
  6016. 5:31:25love here we
  6017. 5:31:29go this might be the best one
  6018. 5:31:34so I mean what does that tell me I don't
  6019. 5:31:37know
  6020. 5:31:4224
  6021. 5:31:48State let's just let's just go ahead and
  6022. 5:31:50see what she
  6023. 5:31:52says oh no no no no
  6024. 5:31:55no did
  6025. 5:31:59that oh my
  6026. 5:32:02God copy pass no no no no paste it in
  6027. 5:32:05paste it in 24 States copy
  6028. 5:32:08P why do I just switch up the whole
  6029. 5:32:11thing from here I don't get
  6030. 5:32:15that okay okay now we're good we're good
  6031. 5:32:19now that's the
  6032. 5:32:21path this is the path every day
  6033. 5:32:28dog every
  6034. 5:32:31day every day dude every day just keep
  6035. 5:32:36going
  6036. 5:32:44just keep going Peace by piece makes a
  6037. 5:32:46little more sense every day every day
  6038. 5:32:49dude copy
  6039. 5:32:53path flag
  6040. 5:32:55it that's a flag right that's what they
  6041. 5:32:58call
  6042. 5:32:59it I'm growing up in front of your eyes
  6043. 5:33:02it's
  6044. 5:33:03amazing thank you for all your help
  6045. 5:33:07could not have done it without
  6046. 5:33:11you you teach me things I don't even
  6047. 5:33:13know I need to
  6048. 5:33:15know attached is 15 regimes and 24
  6049. 5:33:18regimes compare them to the 89 10 and we
  6050. 5:33:21just keep on
  6051. 5:33:25going come on
  6052. 5:33:27dog I'm still here where you
  6053. 5:33:32at the screen's gone is what you're
  6054. 5:33:35telling
  6055. 5:33:35me I was just talking about this I was
  6056. 5:33:39just giving you props Apple the screen's
  6057. 5:33:42gone again so that means I'm gone
  6058. 5:33:50again that's crazy dude essentially it
  6059. 5:33:54takes the stream
  6060. 5:33:56down all right this makes sense though
  6061. 5:33:58I'm might have to cut some of these
  6062. 5:33:59orders off I was just giving daps to
  6063. 5:34:05Apple thank you for providing the
  6064. 5:34:08results for the 15 regime and the 24
  6065. 5:34:10regime models let's compare these with
  6066. 5:34:13your previous 89 and 10 regime models to
  6067. 5:34:16determine which performs best we analyze
  6068. 5:34:19each
  6069. 5:34:21metric State prediction accuracy eight
  6070. 5:34:24regimes not
  6071. 5:34:27provided nine regimes 88 10 regimes
  6072. 5:34:3286 81 okay the accuracy decreases as the
  6073. 5:34:35number of regimes increases which is
  6074. 5:34:37expected the more state to make
  6075. 5:34:38predictions more challenging log
  6076. 5:34:42likelihood higher is
  6077. 5:34:48better the log likelihood consistently
  6078. 5:34:50increases
  6079. 5:35:0815,000 versus 68,000 log likelihood in
  6080. 5:35:11consistently increases with more regimes
  6081. 5:35:13indicating better fit to the
  6082. 5:35:15data this keeps decreasing lower is
  6083. 5:35:18better the Bic continues to decrease
  6084. 5:35:20with more regimes suggesting that the
  6085. 5:35:23increased complexity is Justified to
  6086. 5:35:25improve to the improved fit cross
  6087. 5:35:28validation score higher is better dude
  6088. 5:35:33so this is just telling me that more
  6089. 5:35:36regimes more better more regimes more
  6090. 5:35:38better let's do 56
  6091. 5:35:40regimes no no no no come on now you're
  6092. 5:35:43going crazy dog 24 is
  6093. 5:35:48fine what you think I should do 56 throw
  6094. 5:35:50a 56 and if I should do 56 it's going to
  6095. 5:35:52take a
  6096. 5:35:53minute I might have to shut some of this
  6097. 5:35:56stuff down shut some of these order
  6098. 5:35:58flows down should I do 56 that's how
  6099. 5:36:01many years are months are in the year
  6100. 5:36:03right weeks in a year 52 56 it's 52
  6101. 5:36:06isn't it it's 52 isn't it how many weeks
  6102. 5:36:09in a year how many
  6103. 5:36:11weeks in a year time is irrelevant to
  6104. 5:36:15me I don't live by time I time I live I
  6105. 5:36:19time my
  6106. 5:36:22living 4 hours a day
  6107. 5:36:26dog that's
  6108. 5:36:30it I locked in I didn't know how to code
  6109. 5:36:32I locked in for 4 hours a day and it was
  6110. 5:36:34so hard it was so hard dog it was so
  6111. 5:36:38hard boohoo me oh I have to tap my
  6112. 5:36:40fingers for 4 hours a day on this little
  6113. 5:36:43code and now we got AI this is so so
  6114. 5:36:46hard 4 hours a day you kidding me
  6115. 5:36:49dog I used to game for eight hours a day
  6116. 5:36:52dude I used to game for eight hours a
  6117. 5:36:55day four hours is
  6118. 5:37:02easy feature importance
  6119. 5:37:07interesting I like this on the 24
  6120. 5:37:09regimes it goes down a little bit it it
  6121. 5:37:12passes it over to
  6122. 5:37:14volatility analysis model fit the 24
  6123. 5:37:17regimes chose to fit best fit the data
  6124. 5:37:20with the highest log likelihood and
  6125. 5:37:22lowest
  6126. 5:37:24bicc the 24 regime this is for
  6127. 5:37:27Kobe this is for Kobe we got to use the
  6128. 5:37:3024
  6129. 5:37:40yeah I'm I'm sticking with it though
  6130. 5:37:43maybe the maybe it's better maybe
  6131. 5:37:45there's others that are better but I got
  6132. 5:37:47to I got to kick it with the 24 I mean
  6133. 5:37:5050 is pretty pretty N I got to do
  6134. 5:37:5350 give me the code for a 50
  6135. 5:38:04state that's probably GNA be too many
  6136. 5:38:07but
  6137. 5:38:12but let's just get it anyways let's just
  6138. 5:38:14get it anyways might take a while that's
  6139. 5:38:17okay I'll just run it on a terminal dog
  6140. 5:38:21that we can keep it coding duh come on
  6141. 5:38:25moon you got to be thinking sharp all
  6142. 5:38:27the
  6143. 5:38:29time Come on B tap in
  6144. 5:38:38based on the metrics the 24 model
  6145. 5:38:40appears to be the best performing model
  6146. 5:38:43overall it shows the best fit to the
  6147. 5:38:46data the best
  6148. 5:38:48generalization and the the most balanced
  6149. 5:38:55features this is fun dog this is fun
  6150. 5:39:10all right I'm going to do 150 and we're
  6151. 5:39:11just going to let this run for a while
  6152. 5:39:12over somewhere else I'm not going to
  6153. 5:39:14worry about it but it's free it's free
  6154. 5:39:16dog this is free a free it's a free beat
  6155. 5:39:20dog if it's working 24 or 50 those are
  6156. 5:39:23the two most important numbers to me
  6157. 5:39:32so I would love that to be part
  6158. 5:39:35of part of
  6159. 5:39:38a
  6160. 5:39:40system
  6161. 5:39:42because then I get to smile every time I
  6162. 5:39:45think about it
  6163. 5:39:48cond activate T flow bro cond activate T
  6164. 5:39:53flow bro python run it what cussing what
  6165. 5:39:58is going on copy P python python python
  6166. 5:40:04python python python
  6167. 5:40:09python
  6168. 5:40:11whoa dude what's going on
  6169. 5:40:17here con activate T
  6170. 5:40:20FL okay I'm
  6171. 5:40:23there copy
  6172. 5:40:26path LS CD oh maybe I got to do
  6173. 5:40:33that no I don't have to CD in anything
  6174. 5:40:49[Music]
  6175. 5:40:51python what's going on
  6176. 5:40:58dog what is this right
  6177. 5:41:01here is that a thing it's always been
  6178. 5:41:05there
  6179. 5:41:07look at it I've never seen
  6180. 5:41:10that yeah I guess
  6181. 5:41:15so and does it run from
  6182. 5:41:18here
  6183. 5:41:26oh okay I'm not quite
  6184. 5:41:34sure all right big guy
  6185. 5:41:37love you
  6186. 5:41:42bro I don't know if the 50 is going to
  6187. 5:41:44work out for us but let's try it let's
  6188. 5:41:46give let's give it a try give it a
  6189. 5:41:52try let's give it a
  6190. 5:41:55try 24 seems acceptable though that's
  6191. 5:41:58what um
  6192. 5:42:02every 10 days or something 4 days 14
  6193. 5:42:06days 17
  6194. 5:42:08n 365 /
  6195. 5:42:1224
  6196. 5:42:13365 / by 24 so 15 days every 15
  6197. 5:42:23days main execution this is what we're
  6198. 5:42:25changing dude this is what we're
  6199. 5:42:28changing okay let's check it out
  6200. 5:42:32then main
  6201. 5:42:34execution no we want all of that out of
  6202. 5:42:37here peace all right let's run
  6203. 5:42:40it all right so here we go we got 50 for
  6204. 5:42:43the big guy this is going to take a long
  6205. 5:42:45time let's see if I can run it from my
  6206. 5:42:48other thing here copy path okay um
  6207. 5:43:00cond all right we're not doing
  6208. 5:43:0450 we're not doing 50 I'm deleting in it
  6209. 5:43:08much
  6210. 5:43:10love 24 is the
  6211. 5:43:13best so if there's 24 regimes for Kobe
  6212. 5:43:19that means
  6213. 5:43:28that okay I got this now if there's 24
  6214. 5:43:31for Kobe
  6215. 5:43:37I was
  6216. 5:43:40pre-shock that was pre-shock for sure
  6217. 5:43:43post
  6218. 5:43:46Shack
  6219. 5:43:47trained I want to get one of these back
  6220. 5:43:49tests
  6221. 5:43:51going BT
  6222. 5:43:53okay the first
  6223. 5:43:59paste let started new new little
  6224. 5:44:04chesy the first paste of code above
  6225. 5:44:11is a template template for you to follow
  6226. 5:44:17for the hmm plus back
  6227. 5:44:21test I want to test the trading idea of
  6228. 5:44:37I mean what idea do we want to do is the
  6229. 5:44:39question
  6230. 5:44:40dude hmm
  6231. 5:44:47models 24 regimes
  6232. 5:45:02dog this is what my I want to make a
  6233. 5:45:04script here to explore this data
  6234. 5:45:07no
  6235. 5:45:14dude I want to make a script to explore
  6236. 5:45:19the above data with Matt plot
  6237. 5:45:24live um I'd like
  6238. 5:45:28to print out
  6239. 5:45:31pie of it
  6240. 5:45:57all right so I'm plotting it out now M
  6241. 5:46:00plot
  6242. 5:46:05Liv all right so so from all this I
  6243. 5:46:08found the conclusion is 24 regimes
  6244. 5:46:12volume change
  6245. 5:46:14heavy there you go there's the alpha
  6246. 5:46:16dude much
  6247. 5:46:19love I don't know if it's actually Alpha
  6248. 5:46:21but we'll see
  6249. 5:46:56strong ball okay this is sketch AF
  6250. 5:47:03dog I don't like it already I'm sorry
  6251. 5:47:08so this is I'm glad we're looking at
  6252. 5:47:09this because this
  6253. 5:47:11is this shows me okay this is looking at
  6254. 5:47:15the past
  6255. 5:47:19right let's ask AI let me try to get
  6256. 5:47:22this thought out
  6257. 5:47:29here a sample of the state changes for
  6258. 5:47:35the 24 regime is
  6259. 5:47:39above My worry is that each row has a
  6260. 5:47:46different
  6261. 5:47:49regime but
  6262. 5:47:51these are all
  6263. 5:47:53decided after they
  6264. 5:47:58happen so how do we know
  6265. 5:48:03that the accuracy
  6266. 5:48:08is 80% 80% or whatever is shown below I
  6267. 5:48:15do that why am I like
  6268. 5:48:25this it's not whatever below it's
  6269. 5:48:27literally 83% dog
  6270. 5:48:39dang that's funny I didn't even do it I
  6271. 5:48:41didn't even get
  6272. 5:48:45it I think it's up here though
  6273. 5:49:13post Haw classification you're correct
  6274. 5:49:15that these regimes or states are
  6275. 5:49:16typically classified after the fact this
  6276. 5:49:19is common in financial market analysis
  6277. 5:49:21where patterns and Trends are often
  6278. 5:49:23identified
  6279. 5:49:24retrospectively accuracy
  6280. 5:49:27measurement when someone claims an
  6281. 5:49:29accuracy at 80% or any percentage for
  6282. 5:49:32such a classification system they're
  6283. 5:49:34referring to how well the system
  6284. 5:49:37performs in predicting future Market
  6285. 5:49:40Behavior based on these identified
  6286. 5:49:43States here's how to think this might
  6287. 5:49:48work historical analysis the system is
  6288. 5:49:51first developed in tested on historical
  6289. 5:49:56data where states are identified post
  6290. 5:50:02HW forward testing the system is then
  6291. 5:50:05applied to new unseen data either
  6292. 5:50:07through out of sample testing or actual
  6293. 5:50:10real time
  6294. 5:50:14application to see how well it predicts
  6295. 5:50:16the future Market
  6296. 5:50:18Behavior accuracy
  6297. 5:50:20calculation the accuracy percentage
  6298. 5:50:23would typically be calculated based on
  6299. 5:50:25how often the market behaves as expected
  6300. 5:50:28given a particular State
  6301. 5:50:34classification verification process to
  6302. 5:50:36truly verify the claimed 80% you would
  6303. 5:50:39need a clear definition of what
  6304. 5:50:41constitutes correct prediction for each
  6305. 5:50:44state a set of test data that wasn't
  6306. 5:50:47used in developing
  6307. 5:50:51the classification
  6308. 5:50:58system that's what we need to do thank
  6309. 5:51:02you I'm
  6310. 5:51:05AI Alis Le okay I want to I want to go
  6311. 5:51:09back
  6312. 5:51:14here send me back the code
  6313. 5:51:21that yo what up 777
  6314. 5:51:25Bailey uh that um
  6315. 5:51:48okay so model regimes hmm models trained
  6316. 5:51:51models 24 copy
  6317. 5:51:58path where's the other 24 here somewhere
  6318. 5:52:08copy
  6319. 5:52:11P okay and
  6320. 5:52:14then what was the best one before it was
  6321. 5:52:18seven
  6322. 5:52:20seven
  6323. 5:52:21s
  6324. 5:52:25seven 6 10 3 where is
  6325. 5:52:30seven we on a seven here all right we're
  6326. 5:52:32going to do eight
  6327. 5:52:34then we're going to do eight cuz eight
  6328. 5:52:36was good
  6329. 5:52:38too copy path oh sorry seven is two duh
  6330. 5:52:43seven is
  6331. 5:52:45two model two copy
  6332. 5:52:52pass
  6333. 5:52:58duh copy
  6334. 5:53:01path okay
  6335. 5:53:04so yeah I want to do that now
  6336. 5:53:07so
  6337. 5:53:09now let's go up
  6338. 5:53:17here now back to or not
  6339. 5:53:20now doing an oos test on model
  6340. 5:53:272 7
  6341. 5:53:30States verse Model 24
  6342. 5:53:36States
  6343. 5:53:38stats okay so that's going to be good
  6344. 5:53:42dude it's going to be really good I like
  6345. 5:53:45the idea how about
  6346. 5:53:46you how about you dude do you like it I
  6347. 5:53:50like it a lot o
  6348. 5:53:54s o o s
  6349. 5:53:58okay o s two No 7 verse 7 v24
  6350. 5:54:06py hi my name is
  6351. 5:54:09Mev let's run it
  6352. 5:54:13cousin all right there we go what's that
  6353. 5:54:17looking like I don't know you don't you
  6354. 5:54:19know I don't know I need shots I need to
  6355. 5:54:22get shots up I need to get shots
  6356. 5:54:24up till I can say anything I don't know
  6357. 5:54:27anything in confidence I'm sorry
  6358. 5:54:45um thank
  6359. 5:54:47you but I also want to get my
  6360. 5:54:51uh Bic 15 24 here's my 24 that I need
  6361. 5:54:57because I didn't write it down and it's
  6362. 5:55:00the
  6363. 5:55:04best it's the best in the
  6364. 5:55:07ass all right 24 past it in there
  6365. 5:55:13yes let's do a little two-hand action
  6366. 5:55:19here
  6367. 5:55:21Bic cross
  6368. 5:55:24Valley feature
  6369. 5:55:26importance ball change BB
  6370. 5:55:29with uhoh I'm lost to be
  6371. 5:55:33there okay there we go
  6372. 5:55:46now
  6373. 5:55:56what this I'm going to actually run this
  6374. 5:55:59again because I'm going get on over here
  6375. 5:56:02and say hey I actually no this ain't
  6376. 5:56:07it
  6377. 5:56:11hmm did we get this script though this
  6378. 5:56:15ain't
  6379. 5:56:17it this ain't
  6380. 5:56:20it oh
  6381. 5:56:23no I lost
  6382. 5:56:26it okay that's
  6383. 5:56:28fine fine we're just going to run it
  6384. 5:56:30from here
  6385. 5:56:31then OSS o o OSS s s
  6386. 5:56:43oos let's get it okay okay
  6387. 5:56:47[Music]
  6388. 5:56:51okay to throw extra couple KS on there
  6389. 5:56:55because I was
  6390. 5:56:58sketch boy sketch seven State versus 24
  6391. 5:57:04State please
  6392. 5:57:07break
  6393. 5:57:09down the uh
  6394. 5:57:11OS
  6395. 5:57:13test and
  6396. 5:57:16the results which is
  6397. 5:57:25better so I did a OS test here copy copy
  6398. 5:57:29copy relative path
  6399. 5:57:33okay live Ops here
  6400. 5:57:41let's go ahead and check it
  6401. 5:57:44out certainly let's break it down out of
  6402. 5:57:47sample uh test for the seventh stay in
  6403. 5:57:50the 24 Hidden stay applied to BTC price
  6404. 5:57:54log likelihood 7 State 3890
  6405. 5:57:5824933 the log likelihood is a measure of
  6406. 5:58:01how well the model fits the data a
  6407. 5:58:03higher log likelihood indicates a better
  6408. 5:58:05fit in this case 24 model has
  6409. 5:58:07significantly
  6410. 5:58:08higher suggesting it fits the out of
  6411. 5:58:11sample data better than the seven State
  6412. 5:58:13model visual interpretation the seven
  6413. 5:58:16State model shows distinct broad State
  6414. 5:58:20changes over time the 24 State model
  6415. 5:58:23exhibits more frequent and granular
  6416. 5:58:26State
  6417. 5:58:28transitions the 24 State model appears
  6418. 5:58:30to capture more Nuance market conditions
  6419. 5:58:33potentially identifying s sulo
  6420. 5:58:37subtler shifts in the Bitcoin price
  6421. 5:58:41Dynamics State utilization these seven
  6422. 5:58:44State model seems to use all of its
  6423. 5:58:47states
  6424. 5:58:49regularly the 24 State model also
  6425. 5:58:52appears to utilize most if not all the
  6426. 5:58:55states indicating that the additional
  6427. 5:58:58complexity is being put to use in
  6428. 5:59:01describing the
  6429. 5:59:03data responsiveness to price movements
  6430. 5:59:06the 24 State model shows more frequent
  6431. 5:59:09State changes which could indicate
  6432. 5:59:12higher responsiveness to short-term
  6433. 5:59:15price movements and market
  6434. 5:59:17conditions the seven State model
  6435. 5:59:19captures broader longer term Trends in
  6436. 5:59:23the market complexity versus
  6437. 5:59:27interpretability interpretability
  6438. 5:59:29interpreting being able to interpret it
  6439. 5:59:31the seven State model is simpler and
  6440. 5:59:33potentially easier to interpret
  6441. 5:59:36with each state possibly representing a
  6442. 5:59:38more distinct Market condition the 24
  6443. 5:59:42State model offers more granularity but
  6444. 5:59:45may be more challenging to interpret the
  6445. 5:59:48differences between some states could be
  6446. 5:59:51subtle which is better based on the
  6447. 5:59:53information the 24 State model appears
  6448. 5:59:55to perform better in terms of fitting
  6449. 5:59:58out of sample data as evidenced by a
  6450. 6:00:01higher log likelihood score it captures
  6451. 6:00:04more nuanced Market Behavior and
  6452. 6:00:06potentially offers a more detailed
  6453. 6:00:10representation however better depends on
  6454. 6:00:12your specific
  6455. 6:00:14goals if you're aiming for the most
  6456. 6:00:16accurate representation of Market States
  6457. 6:00:19and don't mind dealing with increased
  6458. 6:00:21complexity the 24 State model is
  6459. 6:00:28superior if you prefer a simpler model
  6460. 6:00:31that's easier to interpret and still
  6461. 6:00:33captures
  6462. 6:00:37major market trends the state seven
  6463. 6:00:41State model might be more appropriate
  6464. 6:00:44for trading purposes the 24 State model
  6465. 6:00:47might provide more frequent signals
  6466. 6:00:50which could be beneficial for shortterm
  6467. 6:00:52trading strategies the seven State model
  6468. 6:00:56might be more suitable to for longer
  6469. 6:01:00term Trend
  6470. 6:01:02following the 24 State models better
  6471. 6:01:06fit suggests it might be more predictive
  6472. 6:01:10but this should be verified with
  6473. 6:01:11additional metrics like prediction
  6474. 6:01:13accuracy on future
  6475. 6:01:18data what other
  6476. 6:01:21metrics could we print out to see which
  6477. 6:01:27is
  6478. 6:01:29better Jane what up
  6479. 6:01:31777 good to see you good to see you Jane
  6480. 6:01:37says check your
  6481. 6:01:39DMs I check them I'll check them I'll
  6482. 6:01:42check them I appreciate you so so
  6483. 6:01:44[Music]
  6484. 6:01:45much lots of licks Happening
  6485. 6:01:49Here excellent question to get more
  6486. 6:01:51comprehensive comparison between the 7th
  6487. 6:01:53State and 24th State models we can add
  6488. 6:01:56several additional metrics here are some
  6489. 6:01:58important metrics we could calculate and
  6490. 6:02:01print out the basian the Bic the basian
  6491. 6:02:04information Criterion this metric
  6492. 6:02:06balances model fit with model complexity
  6493. 6:02:09lower bic is
  6494. 6:02:11better
  6495. 6:02:13aaii information Criterion on the I AIC
  6496. 6:02:16similar to Bic but penalizes complexity
  6497. 6:02:20less lower AIC is better State
  6498. 6:02:24prediction accuracy how well the model
  6499. 6:02:26predicts the next State Higher accuracy
  6500. 6:02:30is better transition Matrix analysis
  6501. 6:02:33entropy of the transition Matrix to to
  6502. 6:02:35measure State
  6503. 6:02:37stability feature importance to see
  6504. 6:02:40which features are most influential in
  6505. 6:02:44each model perplexity a measure of how
  6506. 6:02:47well the model predicts a
  6507. 6:02:52sample send back full
  6508. 6:02:56C I'm getting the most out of you you're
  6509. 6:02:58typing every letter I'm sorry I'm sorry
  6510. 6:03:02I'm not sorry I'm going to run you up
  6511. 6:03:03every single day until you cut me off
  6512. 6:03:05and then I'm going to go get somebody
  6513. 6:03:06else I'm sorry every single day
  6514. 6:03:11dude CLA you know we're hitting we're
  6515. 6:03:14hitting the limits every single day I'm
  6516. 6:03:16not leaving till we hit the limits
  6517. 6:03:18that's my new thing I'm not leaving till
  6518. 6:03:19I hit the limits on both no let's start
  6519. 6:03:21with Cloud let's
  6520. 6:03:22start: no no but I get I be get the
  6521. 6:03:25limits too early no way keep going keep
  6522. 6:03:28going every single
  6523. 6:03:34second for
  6524. 6:04:06iby
  6525. 6:04:09contents 10 messages look I'm already
  6526. 6:04:12there that's funny bunny some funny
  6527. 6:04:14bunny stuff think I'm just going to sign
  6528. 6:04:17right back
  6529. 6:04:19up I think I'm just going to sign right
  6530. 6:04:21back
  6531. 6:04:28up so this is going to give us a little
  6532. 6:04:30bit more detail
  6533. 6:04:34supposedly let's check it out though if
  6534. 6:04:36that's truth or
  6535. 6:04:39not oh
  6536. 6:04:41man here we go we got some things though
  6537. 6:04:45there we go that's what I like to see
  6538. 6:04:51dude all code back if they're like
  6539. 6:04:53limitting on messages number of messages
  6540. 6:04:56then that's different
  6541. 6:05:07have you experimented with any high
  6542. 6:05:09frequency models for voting
  6543. 6:05:11agents I'm new your streams introduced
  6544. 6:05:13from Twitter don't know which AI to use
  6545. 6:05:17if any to execute logic or if it's all
  6546. 6:05:22Quant what are HF
  6547. 6:05:25models not sure what that is like high
  6548. 6:05:30frequency models as voting
  6549. 6:05:33agents nah man you're ahead of me you're
  6550. 6:05:36ahead of me
  6551. 6:05:42bro let's go ahead and pop this in here
  6552. 6:05:46thanks for stopping by though appreciate
  6553. 6:05:48you much love let's go ahead and say run
  6554. 6:05:53it up there we
  6555. 6:05:55go okay this is more
  6556. 6:05:58info here's more info
  6557. 6:06:05oh and
  6558. 6:06:07there's okay okay cool cool
  6559. 6:06:12Co above is the prince out
  6560. 6:06:17please walk me through it and how if and
  6561. 6:06:23if it changes your
  6562. 6:06:27outlook or things I should know about it
  6563. 6:06:32I don't know dude I don't know dude
  6564. 6:06:36I just be asking anything this is why I
  6565. 6:06:38run out of chat so fast they want me to
  6566. 6:06:41be more thoughtful and I'm not going to
  6567. 6:06:43be I'm
  6568. 6:06:44sorry certainly let's walk through the
  6569. 6:06:47results for both models and analyze what
  6570. 6:06:50they tell us about their performance on
  6571. 6:06:52the out of sample data seven State Model
  6572. 6:06:54results log likelihood of 3890 this is
  6573. 6:06:58lower than the 24 State indicating a
  6574. 6:07:01less precise fit viic minus 7,000
  6575. 6:07:062 and the AIC isus
  6576. 6:07:107, 601 this is on the 7th State lower
  6577. 6:07:14values indicate better models these are
  6578. 6:07:16higher less negative than the 24 State
  6579. 6:07:19suggesting the 24 State model provides a
  6580. 6:07:22better balance of fit let's go see it I
  6581. 6:07:25mean okay so here I can see a little
  6582. 6:07:28bigger
  6583. 6:07:30here just so we can kind of understand
  6584. 6:07:4424 State you can see the accuracy is
  6585. 6:07:46much lower
  6586. 6:07:47though transition entropy what the heck
  6587. 6:07:50does that mean dude what does that mean
  6588. 6:07:53I don't know it's okay though cuz it's
  6589. 6:07:57just a
  6590. 6:07:58word feure importance perplexity I'm
  6591. 6:08:02perplexed you would say perplexity on
  6592. 6:08:05the print
  6593. 6:08:06out average State
  6594. 6:08:09duration
  6595. 6:08:123.59
  6596. 6:08:166.3 average State
  6597. 6:08:23[Music]
  6598. 6:08:27duration okay we looked at them well
  6599. 6:08:30let's compare them now so State
  6600. 6:08:33prediction is 84%
  6601. 6:08:35on the 7 verse 72 transition entropy
  6602. 6:08:393.96 verse
  6603. 6:08:422.41 and then that stuff doesn't matter
  6604. 6:08:45I mean it does matter but State
  6605. 6:08:47prediction is
  6606. 6:08:4884 on the 24 indicating a better short
  6607. 6:08:51term is that cap no no this is higher
  6608. 6:08:55than the 24 all right transition entropy
  6609. 6:08:592.41 lower than 24 State model
  6610. 6:09:02suggesting stable State transitions
  6611. 6:09:05feature importance the volume change of
  6612. 6:09:0994% perplexity is
  6613. 6:09:130.0000 very low perplexity and indicates
  6614. 6:09:15high confidence in
  6615. 6:09:17predictions
  6616. 6:09:24nice average State duration is 6.3
  6617. 6:09:27States persist no longer for longer
  6618. 6:09:29periods compared to the 24 State model
  6619. 6:09:36State usage 0 two 4 and six
  6620. 6:09:41are most frequently used while state
  6621. 6:09:44three is never
  6622. 6:09:56used all right this is actually useful
  6623. 6:09:59this is awful right
  6624. 6:10:00here I mean maybe we'll see let's go
  6625. 6:10:03check it out let's go check it out see
  6626. 6:10:05what can do with this thing
  6627. 6:10:09dude all right so State usage for the
  6628. 6:10:1624 I want to see that for seven too why
  6629. 6:10:19because then I can I can do some thg
  6630. 6:10:21dizzles over here and try some
  6631. 6:10:28things all right for seven cool cool
  6632. 6:10:32cool um now let's says model fit the 24
  6633. 6:10:36State model provides a better fit to the
  6634. 6:10:38data higher log
  6635. 6:10:42okay the seventh state has a a higher
  6636. 6:10:45short-term prediction accuracy stability
  6637. 6:10:48the seventh state shows more stable
  6638. 6:10:51State
  6639. 6:10:55transitions feature utilization the 24
  6640. 6:10:59State model makes more balanced use of
  6641. 6:11:01all features unused States
  6642. 6:11:06both models have unused States 1 and 7
  6643. 6:11:09and 2 and 24 suggesting some redundancy
  6644. 6:11:12in the
  6645. 6:11:13space State distribution the 24th state
  6646. 6:11:16has a more even State Chopper him out of
  6647. 6:11:19here get him out of here 400k off damn
  6648. 6:11:24dude that hurts that hurts my soul that
  6649. 6:11:27hurts my soul that hurts my soul rest in
  6650. 6:11:30peace young
  6651. 6:11:32cat changes in Outlook the the 24 State
  6652. 6:11:37model shows stronger statistical
  6653. 6:11:40performance better fit lower Bic AIC
  6654. 6:11:42than initially thought despite its
  6655. 6:11:44complexity the seven State model's
  6656. 6:11:46higher prediction accuracy and stability
  6657. 6:11:48could make it more practical for certain
  6658. 6:11:51applications especially short-term
  6659. 6:11:53predictions things to consider the
  6660. 6:11:55trade-off between model complexity and
  6661. 6:11:57interpretability is more pronounced than
  6662. 6:12:00initially apparent the unused States in
  6663. 6:12:03both models suggests that further
  6664. 6:12:05optimization of number of states might
  6665. 6:12:07be
  6666. 6:12:09beneficial the high Reliance on volume
  6667. 6:12:11change in both models indicates this
  6668. 6:12:13feature is crucial for bitcoin price
  6669. 6:12:15Dynamics the very low perplexity in both
  6670. 6:12:18models suggests high confidence but this
  6671. 6:12:21should be verified with additional out
  6672. 6:12:22of sample testing to ensure it's not
  6673. 6:12:25overfitting in conclusion while the 24
  6674. 6:12:29State model shows better statistical fit
  6675. 6:12:32the seven State models higher prediction
  6676. 6:12:35accuracy and stability make it a
  6677. 6:12:37stronger Contender especially for
  6678. 6:12:41practical applications where
  6679. 6:12:43interpretability and short-term
  6680. 6:12:45predictions are important the choice
  6681. 6:12:47between them would depend on specific
  6682. 6:12:49use case and whether the additional
  6683. 6:12:51complexity of the set 24 State model
  6684. 6:12:54provides actionable insights for your
  6685. 6:12:57Bitcoin analysis or trading strategy in
  6686. 6:13:00conclusion while the 24 State model
  6687. 6:13:02shows better statistical fit the seven
  6688. 6:13:05State model higher prediction accuracy
  6689. 6:13:07and stability make it a stronger
  6690. 6:13:09Contender especially for practical
  6691. 6:13:12applications where inter predicability
  6692. 6:13:14and short-term predictions are important
  6693. 6:13:18the choice between them would depend on
  6694. 6:13:21the specific use case and whether the
  6695. 6:13:23additional complexity of the 24 State
  6696. 6:13:25model provides actionable insights for
  6697. 6:13:27your Bitcoin analysis or trading
  6698. 6:13:31strategy all right so that's interesting
  6699. 6:13:36so rip
  6700. 6:13:3924 much love my
  6701. 6:13:43brother we miss
  6702. 6:13:47you but I think we got to go with
  6703. 6:13:50seven we got to hit the Jaylen Brown on
  6704. 6:13:53them I think we got to hit the Jaylen
  6705. 6:13:55Brown on them all right so that's all
  6706. 6:13:58this is saying I mean not entirely
  6707. 6:14:03but okay the top two the top two are 24
  6708. 6:14:08and S but it
  6709. 6:14:12may be
  6710. 6:14:15beneficial
  6711. 6:14:17beneficial to use just the
  6712. 6:14:23um just the seven so we can read States
  6713. 6:14:33easier all right
  6714. 6:14:36so that's that people are getting licked
  6715. 6:14:38over here what's going on let's check it
  6716. 6:14:41out oh yeah we had that huge Unis swap
  6717. 6:14:44liquidation
  6718. 6:14:46of 1
  6719. 6:14:49million that was earlier
  6720. 6:14:53today
  6721. 6:14:58um looks like BTC is
  6722. 6:15:01up to this liquidation here
  6723. 6:15:06I'm sure we have it what day was this
  6724. 6:15:08August 20th
  6725. 6:15:10at
  6726. 6:15:2414400 probably this right
  6727. 6:15:29here yeah that's what I would guess it's
  6728. 6:15:32my best guess but
  6729. 6:15:42not much liquidity
  6730. 6:15:43huh not much liquidation going on for
  6731. 6:15:47this move right here to be real with you
  6732. 6:15:50cuz what is this two hours of time so
  6733. 6:15:52I'm looking for like a group of two
  6734. 6:15:54hours of liquidation 7 to 11 that's 4
  6735. 6:15:56hours dude this is it right here 9:30 to
  6736. 6:16:0011
  6737. 6:16:06so that only that move right here what
  6738. 6:16:09does that tell you dog I don't know I
  6739. 6:16:12don't know but that move right there 3%
  6740. 6:16:16move was this much in
  6741. 6:16:22liquidations it's
  6742. 6:16:24interesting what does it tell you though
  6743. 6:16:26I don't
  6744. 6:16:27know let's go look at the seven regimes
  6745. 6:16:30it's funny that we are back on model
  6746. 6:16:32number two after we tested 82 models not
  6747. 6:16:3682
  6748. 6:16:44but I want to go ahead
  6749. 6:16:52and I want to go get this back test
  6750. 6:16:55going again I know I
  6751. 6:16:58just asked
  6752. 6:17:00AI for some sort of back test but I
  6753. 6:17:02don't think I went through with it so
  6754. 6:17:05multi- regimes here and then BT I want
  6755. 6:17:08to go see what this back test looking
  6756. 6:17:10like dude copy why did I copy it I don't
  6757. 6:17:14know save close save
  6758. 6:17:17close close close close close close
  6759. 6:17:20close all right we closed them all and
  6760. 6:17:23now I'm going to look at the back test
  6761. 6:17:24because I want to see what the back test
  6762. 6:17:26was
  6763. 6:17:27doing was this the
  6764. 6:17:30seven 34 weeks train scaler model 2 okay
  6765. 6:17:34okay okay okay so I want to
  6766. 6:17:38say I don't want to say anything yet but
  6767. 6:17:41I want to run this model two again and
  6768. 6:17:44then try to
  6769. 6:17:47identify some of the yeah that's what we
  6770. 6:17:49F to do right
  6771. 6:17:51now I want to identify some of the
  6772. 6:17:56um the
  6773. 6:18:01things identify the seven regimes and
  6774. 6:18:07label
  6775. 6:18:17them
  6776. 6:18:20um okay that's still a lot though but
  6777. 6:18:23maybe I can like zoom in or
  6778. 6:18:29something this gets a little bit of
  6779. 6:18:31everything right still be
  6780. 6:18:35oh I'll do that I'll do that I got these
  6781. 6:18:38seven regimes right
  6782. 6:18:51here dagn where I put those
  6783. 6:18:55suckers right here we got them right
  6784. 6:18:58here so this is
  6785. 6:19:03um 24
  6786. 6:19:05seven do you see seven in here I don't
  6787. 6:19:07see it no
  6788. 6:19:09[Music]
  6789. 6:19:21volume yeah it's just that
  6790. 6:19:24one okay
  6791. 6:19:28so it's not what I wanted
  6792. 6:19:31though sheesh
  6793. 6:19:37I think it's this right
  6794. 6:19:45here let's double check it you can see
  6795. 6:19:48here that says bullish trending bearish
  6796. 6:19:52trending so sideways consolidation I see
  6797. 6:19:54it bearish
  6798. 6:19:56trending I see it sideways consolidation
  6799. 6:19:59I see it bearish trending I see it
  6800. 6:20:11sideways consolidation I see it bearish
  6801. 6:20:14trending I see it sideways consolidation
  6802. 6:20:17I see it downward consolidation I see
  6803. 6:20:21it what's the objective
  6804. 6:20:32here I wish they stayed longer
  6805. 6:20:38but I guess that's what the uh like
  6806. 6:20:40three states does let's go look at the
  6807. 6:20:42three states then
  6808. 6:20:54dude how are we back to three
  6809. 6:21:00states open reveal and finder
  6810. 6:21:21okay why is this like this though that's
  6811. 6:21:24weird because it says green
  6812. 6:21:28here
  6813. 6:21:30H let's check out three states here with
  6814. 6:21:33um
  6815. 6:21:36less frenzy risk on frenzy risk on
  6816. 6:21:39frenzy risk on frenzy risk on
  6817. 6:21:44[Music]
  6818. 6:21:52[Music]
  6819. 6:22:10H this only says risk
  6820. 6:22:22on I'm not sure about
  6821. 6:22:31this how do it only show Once
  6822. 6:22:36this entire
  6823. 6:22:38data from 2018
  6824. 6:23:07and just keep switching this is a good
  6825. 6:23:09exercise
  6826. 6:23:11though strong neutral bullish it's just
  6827. 6:23:14looping through these
  6828. 6:23:18dude strong bear strong
  6829. 6:23:22bear neutral
  6830. 6:23:25bullish but these again these aren't
  6831. 6:23:28these aren't real the names aren't real
  6832. 6:23:30so it keeps tricking me in my mind
  6833. 6:23:33they're not real
  6834. 6:23:51all right I'm going to say build a back
  6835. 6:23:53test here what are the
  6836. 6:23:55[Music]
  6837. 6:24:00uh the state
  6838. 6:24:02uses zero
  6839. 6:24:05two four and
  6840. 6:24:22six okay so I have these
  6841. 6:24:31states use the below as a template back
  6842. 6:24:38test in order to send me back a fullback
  6843. 6:24:45test
  6844. 6:24:47code
  6845. 6:24:54that
  6846. 6:24:55test all possible buy and sell
  6847. 6:25:01combos like
  6848. 6:25:05buy at zero sell
  6849. 6:25:10at next
  6850. 6:25:14zero then
  6851. 6:25:16test then test
  6852. 6:25:19sell at two then four then
  6853. 6:25:25six all different
  6854. 6:25:28iterations of this back test and I think
  6855. 6:25:32this is different what I did before
  6856. 6:25:35It's tricky to for my brand to get
  6857. 6:25:37around it but we'll
  6858. 6:25:39see um I optimized it before but I was
  6859. 6:25:43trying let me just get this out we'll
  6860. 6:25:45see um all different iterations on this
  6861. 6:25:48back
  6862. 6:25:50test so after
  6863. 6:25:55so test buying on two selling on zero
  6864. 6:26:01then two then four
  6865. 6:26:06Etc below is the
  6866. 6:26:09model we will use get
  6867. 6:26:14them all right so
  6868. 6:26:17this we like deep up in here we're so
  6869. 6:26:24deep copy
  6870. 6:26:30path okay and then model two here scaler
  6871. 6:26:39two
  6872. 6:26:42okay by the way what is the model
  6873. 6:26:472. job lib verse the
  6874. 6:26:51scaler
  6875. 6:26:54to okay let's paste in the BT code the
  6876. 6:26:58BT code okay uh BT the back has code
  6877. 6:27:03somewhere
  6878. 6:27:06this is so intimidating bro I tell you
  6879. 6:27:09that much so I'm
  6880. 6:27:11sorry I'm really
  6881. 6:27:20sorry send back pull
  6882. 6:27:22code okay there we go and um let's watch
  6883. 6:27:27her
  6884. 6:27:28work trying to cut me off crazy crazy
  6885. 6:27:32stuff hey man can I make a suggestion
  6886. 6:27:34for this CLA rate limit issue please
  6887. 6:27:36please please do please please please
  6888. 6:27:40Josiah says oh I already WR that one go
  6889. 6:27:42for it subp Jane hope you ate on time
  6890. 6:27:48today uh not at all brother thank you
  6891. 6:27:50for all you do my pleasure bro my
  6892. 6:27:55pleasure agnan G says I've been trailing
  6893. 6:28:00this VC Fork code Fork cursor AI that
  6894. 6:28:04implements its own C- pilot you get 500
  6895. 6:28:06CLA uses per month and cursor expands
  6896. 6:28:09the context to your entire code base
  6897. 6:28:13it's like 20 a month and if you have an
  6898. 6:28:15anthropic API key different than the
  6899. 6:28:18base Cloud plan you can use
  6900. 6:28:20Claud at Cost
  6901. 6:28:27instead I've been trailing this VC code
  6902. 6:28:31Fork what do you mean no way so you're
  6903. 6:28:34just watching okay you saw somebody get
  6904. 6:28:36funded and you've watching their code
  6905. 6:28:38that's
  6906. 6:28:39dope smart smart man that imple that
  6907. 6:28:43implements its own co-pilot you get 500
  6908. 6:28:45claw uses per month and cursor expands
  6909. 6:28:48the context to your entire code base
  6910. 6:28:51it's like a $20 a month or if you have
  6911. 6:28:54an anthropic API different than base you
  6912. 6:28:56can
  6913. 6:28:58um use claw
  6914. 6:29:01instead dang
  6915. 6:29:08I'm G write that
  6916. 6:29:10down appreciate you sharing that how did
  6917. 6:29:12you get started I just started on
  6918. 6:29:14YouTube and just started learning it's
  6919. 6:29:16all there um Josiah Valentine says don't
  6920. 6:29:19want to distract you from the session
  6921. 6:29:21here's a link that runs through how to
  6922. 6:29:22leverage multiple models to complete
  6923. 6:29:25task you never have to shut up bro stop
  6924. 6:29:28it how do you get started how's it going
  6925. 6:29:31I'm doing good man thank you was thanks
  6926. 6:29:35do Uber scalping in one minute candle um
  6927. 6:29:40something about scalping the one minute
  6928. 6:29:41I'm not sure what do you think about SC
  6929. 6:29:43in one minute it's harder down there
  6930. 6:29:45Zeus what's up bro 777 much love hope
  6931. 6:29:48you're doing great he said thank you 777
  6932. 6:29:51ditto Jane yo ditto even ditto
  6933. 6:29:54ditto Zeus you you on Discord Discord
  6934. 6:29:58question Mar we have a Discord Zeus
  6935. 6:30:01please one sec finally
  6936. 6:30:04I've joined the Discord zo says by the
  6937. 6:30:06way I'm working on a project for a SAS
  6938. 6:30:08course at my University I am extremely
  6939. 6:30:10impressed with the Claud Dev plugin for
  6940. 6:30:12vs code it's like Claw on
  6941. 6:30:16steroids that's the second time I've
  6942. 6:30:18heard that that's the second time I've
  6943. 6:30:21heard
  6944. 6:30:31it Claude Dev
  6945. 6:30:45e
  6946. 6:30:53eest appreciate your shares
  6947. 6:30:58Fellers okay so thank you thank you both
  6948. 6:31:01for that
  6949. 6:31:16plug in by sa
  6950. 6:31:19rzan there a few YouTube videos on it if
  6951. 6:31:22you search something like claw Dev that
  6952. 6:31:24might help at first to get a hang of it
  6953. 6:31:27I gotta go peace see you Jane 777
  6954. 6:31:38to be honest they got you for this 20
  6955. 6:31:41this it's super
  6956. 6:31:51valuable nice I'll just check out the
  6957. 6:31:54YouTube videos or
  6958. 6:32:02something why YouTube
  6959. 6:32:05video okay there we
  6960. 6:32:13go it's called cursor AI
  6961. 6:32:18essentially essentially actually for
  6962. 6:32:30real so test States here 024 four and
  6963. 6:32:34six by stay
  6964. 6:32:36okay let's see how this do do
  6965. 6:32:41dude seven regimes multi- regimes o o
  6966. 6:32:46testing let's call these
  6967. 6:32:49uh
  6968. 6:32:57testing where that back test at you come
  6969. 6:32:59up in here the testing dude testing
  6970. 6:33:07okay let's add it
  6971. 6:33:10um what do we do here we say this is uh
  6972. 6:33:22BT
  6973. 6:33:24seven states I don't know
  6974. 6:33:27dog I don't
  6975. 6:33:30know I know nothing
  6976. 6:33:35except I'mma keep
  6977. 6:33:38going I'm keep going and
  6978. 6:33:41going and then I'm going keep
  6979. 6:33:44going I'm going get
  6980. 6:33:46rxed I'mma keep
  6981. 6:33:49going I'm going be stuck I'mma keep
  6982. 6:33:52going every day
  6983. 6:33:55dude every
  6984. 6:33:57day all right look at
  6985. 6:34:02that uh-oh
  6986. 6:34:05what did I just show
  6987. 6:34:09you what did I just show you dude win
  6988. 6:34:12rate 60% 1.1 sharp return
  6989. 6:34:1823 okay I
  6990. 6:34:21mean exposure times 11% that's what I
  6991. 6:34:24just showed you is that worth it to you
  6992. 6:34:26I like
  6993. 6:34:27it I would give up a few percentage
  6994. 6:34:30points for that
  6995. 6:34:46okay let's go ahead and copy this error
  6996. 6:34:52here man I love this game
  6997. 6:34:55dog love this game so much it's so
  6998. 6:35:01hard I love it so much it's so hard
  6999. 6:35:06boohoo let's get it every day dog come
  7000. 6:35:10on come
  7001. 6:35:12on that's just a warning cousin that's
  7002. 6:35:15great to see let's see what it said
  7003. 6:35:19though those warnings are related to the
  7004. 6:35:22Boke Library used for plotting back
  7005. 6:35:24testing package they don't affect the
  7006. 6:35:27functionality of your back test but
  7007. 6:35:29let's address them to clean up the
  7008. 6:35:31output clean up the output for me
  7009. 6:35:35please clean up the output for me please
  7010. 6:35:38cuz you know we're just getting started
  7011. 6:35:40Oh I thought we've been going a while
  7012. 6:35:42now no way no way dude why why would I
  7013. 6:35:47slow down I'm sorry I'm sorry every time
  7014. 6:35:49you see me here I'm working on something
  7015. 6:35:51new my
  7016. 6:35:55bad my
  7017. 6:36:00bad I'mma keep going
  7018. 6:36:06I'll show you everything
  7019. 6:36:08though I'll show you everything
  7020. 6:36:12bro every
  7021. 6:36:15day what I find you find that's the
  7022. 6:36:19game replace the original plotting call
  7023. 6:36:22with this
  7024. 6:36:23okay let's go to the plot plot plot
  7025. 6:36:28plot BT plot oh is that the one
  7026. 6:36:36nah yeah it is all right all right let's
  7027. 6:36:39go ahead and run in
  7028. 6:36:42now Warning free beautiful beautiful
  7029. 6:36:48beautiful okay
  7030. 6:36:56dude what else can I
  7031. 6:36:59do there's a lot I can do
  7032. 6:37:13I like this a lot
  7033. 6:37:43all right so I'm just going to save this
  7034. 6:37:50then
  7035. 6:37:53dog stop playing stop playing dog that's
  7036. 6:37:57out of sample data
  7037. 6:37:59too I like this dude 23% return is not
  7038. 6:38:04better than Buy and Hold but you're only
  7039. 6:38:06holding 12% of the time
  7040. 6:38:09dog 8 months 9 months 8
  7041. 6:38:13months stop it stop it stop playing with
  7042. 6:38:17your boy I don't know how many hours
  7043. 6:38:19this has been dog but it's been a lot of
  7044. 6:38:22hours been here a long
  7045. 6:38:26time feel like this is just a start
  7046. 6:38:29though
  7047. 6:38:31[Music]
  7048. 6:38:36Max trade time two
  7049. 6:38:38days expectancy how L is your boy
  7050. 6:38:41[Music]
  7051. 6:38:44Nate 2.3 okay this doesn't mean anything
  7052. 6:38:47though all it means is we're just
  7053. 6:38:49getting
  7054. 6:38:51started seven states let's do 24 States
  7055. 6:38:55cousin I got mad I got mad things I need
  7056. 6:38:58to do now okay live Ops copy path copy
  7057. 6:39:02path copy path Cy relative path read me
  7058. 6:39:05live Ops where you at Dog there you are
  7059. 6:39:09okay so I'm just going to keep vibing
  7060. 6:39:10out here until I'm done I don't know
  7061. 6:39:12when I'm done I'm never going to be done
  7062. 6:39:24dog I'm never going to be done there is
  7063. 6:39:27no done in this game that's why I love
  7064. 6:39:32it hey
  7065. 6:39:34mm this is a great looking back test
  7066. 6:39:41with 11%
  7067. 6:39:46exposure and 1.1 sharp it's not the
  7068. 6:39:50highest but you know it's a good
  7069. 6:39:53start now I want to
  7070. 6:39:57test with uh eth hourly data let's grab
  7071. 6:40:01that eth data right now
  7072. 6:40:04let's just grab it right now eth data
  7073. 6:40:06how many weeks we want is the
  7074. 6:40:08question do I already got
  7075. 6:40:11it no I'm going to get it I'm G to get
  7076. 6:40:13it from here how many weeks we want is
  7077. 6:40:15the question let's do 100 weeks let's do
  7078. 6:40:17104 weeks let's do 104 weeks that's two
  7079. 6:40:21years
  7080. 6:40:22dog maybe I should go more
  7081. 6:40:25though 10 weeks what do I got in here
  7082. 6:40:28already I got 34 weeks I got a th weeks
  7083. 6:40:31of BTC data okay I should try it on that
  7084. 6:40:34for
  7085. 6:40:36sure copy
  7086. 6:40:39path this we probably just break it but
  7087. 6:40:42it's
  7088. 6:40:44okay there's a th
  7089. 6:40:47weeks of data and I'mma put this janky
  7090. 6:40:50little comma there
  7091. 6:40:52because no wait wait wait wait needs to
  7092. 6:40:56be in the data Boulder one no janky
  7093. 6:41:00comma no janky comma
  7094. 6:41:06no comma no
  7095. 6:41:20comma I'm just going to get all the data
  7096. 6:41:23I can yeah I'm just going to do like 500
  7097. 6:41:25weeks of e
  7098. 6:41:27data I can't
  7099. 6:41:29imagine it's going to disrupt things but
  7100. 6:41:33what's going to happen is it's going to
  7101. 6:41:35not be as good I mean but it wasn't as
  7102. 6:41:37good as buying hole anyways that's fine
  7103. 6:41:39how many weeks let's do 200 weeks so
  7104. 6:41:41that's like four years just I got to be
  7105. 6:41:43conscious of the time that takes to
  7106. 6:41:45download all the data but now it's
  7107. 6:41:47downloading
  7108. 6:41:48[Music]
  7109. 6:41:50um one of the many things I show you in
  7110. 6:41:53the boot camp the boot camp shows you
  7111. 6:41:55step by step how to automate your
  7112. 6:41:56trading 100% money back guarantee always
  7113. 6:41:58always
  7114. 6:42:01always if if you got questions about any
  7115. 6:42:04of this stuff it's probably not because
  7116. 6:42:05you can't do it it's just you haven't
  7117. 6:42:07started yet so this will help you out a
  7118. 6:42:09lot I wish I had this when I got started
  7119. 6:42:12step by step how to automate your
  7120. 6:42:13trading how to back test how to build
  7121. 6:42:16your own Edge and um yeah I'm flying bro
  7122. 6:42:19I'm
  7123. 6:42:20flying I'm out of here I'm gonna keep
  7124. 6:42:26going all right so
  7125. 6:42:34see what happens can I just pop this in
  7126. 6:42:36let's see if I can just pop it
  7127. 6:42:37in yeah this is out of sample data copy
  7128. 6:42:40relative path
  7129. 6:42:45here and back test seven states this
  7130. 6:42:50is for that okay and now we'll try it
  7131. 6:42:55with this
  7132. 6:42:57thousand I don't expect it to be better
  7133. 6:43:00than Buy and Hold because this this is
  7134. 6:43:03all Bitcoin data and there's uh that's a
  7135. 6:43:06pretty good strategy in retrospect to
  7136. 6:43:08just buy and
  7137. 6:43:10hold from the start of
  7138. 6:43:13Bitcoin but that's not what we're
  7139. 6:43:15looking
  7140. 6:43:17at all right so copy path okay I'm just
  7141. 6:43:22going to plop in that data
  7142. 6:43:24now let's just say uh let's mark this
  7143. 6:43:27one out and then maybe my AI can just do
  7144. 6:43:29it for me yes thanks shorty look at that
  7145. 6:43:31I don't even have to code I just move
  7146. 6:43:33things around playing Legos all right
  7147. 6:43:36let's see if it can do it with a th then
  7148. 6:43:39it looks like it's working so I bet we
  7149. 6:43:42have our information here in a little
  7150. 6:43:44bit of time there it is dude okay how's
  7151. 6:43:48that look to
  7152. 6:43:50you I don't know it's 10 years of
  7153. 6:43:55data 2015 wowers bro cool stuff cool
  7154. 6:44:01stuff
  7155. 6:44:03all right so the profit factor is 1.6
  7156. 6:44:06the expectancy is
  7157. 6:44:091.83 sqn is
  7158. 6:44:111.47 280 trades sharp ratio kind of low
  7159. 6:44:16the return 56%
  7160. 6:44:22[Music]
  7161. 6:44:24annualized but like I said it's the Buy
  7162. 6:44:26and Hold is
  7163. 6:44:27like obviously goat here exposure time
  7164. 6:44:3268% % so over 3,000
  7165. 6:44:41days it's not the
  7166. 6:44:53goat but you can't go back 3,000 days in
  7167. 6:44:57Bitcoin that's the that's the tricky
  7168. 6:44:58part about back testing against a lot of
  7169. 6:45:01Bitcoin data
  7170. 6:45:05so I like to look at other things like
  7171. 6:45:07the
  7172. 6:45:08expectancy that's
  7173. 6:45:12nice The Profit factor is
  7174. 6:45:16nice win rate is
  7175. 6:45:28solid draw down is not solid
  7176. 6:45:39but it's you
  7177. 6:45:40know that return
  7178. 6:45:43[Music]
  7179. 6:45:46um oh cool I got the uh eth
  7180. 6:45:57data I'm going to do the same thing for
  7181. 6:45:59uh soul but all of these are just up
  7182. 6:46:01over the years which which is makes it
  7183. 6:46:04tricky tricky tricky I'm going to do it
  7184. 6:46:05for sa as well so let's go ahead here
  7185. 6:46:10and try it
  7186. 6:46:23out eth 1
  7187. 6:46:27hour okay this is the 1 hour data for
  7188. 6:46:29200 weeks it
  7189. 6:46:31says and I haven't tried a different
  7190. 6:46:38um choer him out of here get get them
  7191. 6:46:41ghost it's time to go home buddy quit
  7192. 6:46:44the game if you're going to play the
  7193. 6:46:46game the same way you always play quit
  7194. 6:46:47the game you're going to get liquidated
  7195. 6:46:50over and over and over and over again
  7196. 6:46:52till you can't even play the game no
  7197. 6:46:54more so quit the game now put the game
  7198. 6:47:01down put the game
  7199. 6:47:03down dude come on stop
  7200. 6:47:07playing stop
  7201. 6:47:10playing stop playing like
  7202. 6:47:15that
  7203. 6:47:16so you can see it's a 380 per return I
  7204. 6:47:21like this one though exposure is only
  7205. 6:47:2433% so to get that close of return
  7206. 6:47:27versus Buy and Hold that's like a lot of
  7207. 6:47:29capital free that's a lot less risk
  7208. 6:47:33Sharp's not great
  7209. 6:47:3848
  7210. 6:47:40228 this is cool though this is a cool
  7211. 6:47:43new
  7212. 6:47:46um new back test here
  7213. 6:47:54so yeah that's pretty neat it's pretty
  7214. 6:48:01neat it's got me a lot it got me
  7215. 6:48:03thinking a lot like
  7216. 6:48:05um where' it go from here with
  7217. 6:48:10this cuz this back test is really just
  7218. 6:48:12like a
  7219. 6:48:14filter it's a regime
  7220. 6:48:18Creator it's a regime
  7221. 6:48:25Creator
  7222. 6:48:27so I'm going to grab this one as well
  7223. 6:48:38I'll just leave this here for
  7224. 6:48:40now 23% Buy and Hold
  7225. 6:48:4335 this is
  7226. 6:48:45a I
  7227. 6:48:48mean as a filter and now layer
  7228. 6:48:51strategies in could be
  7229. 6:48:54interesting we'll
  7230. 6:48:57see we shall see
  7231. 6:49:19copy this down here
  7232. 6:49:46I already did that dum dummy come on
  7233. 6:49:49baby boy come
  7234. 6:49:54on
  7235. 6:49:55copy relative
  7236. 6:49:58path okay so that's that and this is
  7237. 6:50:04not as good return as Buy and
  7238. 6:50:08Hold if you would have bought on
  7239. 6:50:111023 of this
  7240. 6:50:13date to this date four
  7241. 6:50:17years but a lot of free
  7242. 6:50:27capital and this is just a
  7243. 6:50:29filter so I'm actually super interested
  7244. 6:50:32in this now
  7245. 6:50:35man I need to write some stuff
  7246. 6:50:47down
  7247. 6:50:50so eth
  7248. 6:50:52was like
  7249. 6:50:55four 380 return verse 500 Buy and Hold
  7250. 6:51:02with 30 3% whole
  7251. 6:51:04time but that's pretty biased like I
  7252. 6:51:07just wrote that down there's another one
  7253. 6:51:08in there um what I look forward to what
  7254. 6:51:12I look forward to here is that these are
  7255. 6:51:19simply
  7256. 6:51:23regimes or
  7257. 6:51:27filters so being able to find a
  7258. 6:51:31profitable in the past not guaranteed
  7259. 6:51:34the Prof in the
  7260. 6:51:35future
  7261. 6:51:39Strat off regime
  7262. 6:51:42changes is dope but also the market just
  7263. 6:51:45goes straight up so I'd be interested to
  7264. 6:51:47see how this looks on other data yo
  7265. 6:51:51rigar what's up
  7266. 6:51:52dude Samir says is the strategy finding
  7267. 6:51:55the hidden states on the entire data set
  7268. 6:51:58once or is hmn predicting future States
  7269. 6:52:01based on a window of past data
  7270. 6:52:04[Music]
  7271. 6:52:06um I uh it's it's past data past data
  7272. 6:52:10it's trained on past data and predicts
  7273. 6:52:13with that
  7274. 6:52:14model Jamie says hey man I see your
  7275. 6:52:16streams appear on my
  7276. 6:52:18YouTube what is it that you're doing hey
  7277. 6:52:23dude
  7278. 6:52:25welcome much love to
  7279. 6:52:28you I am uh I'm coding I'm coding a uh
  7280. 6:52:32machine learning model it's
  7281. 6:52:35a hidden markof
  7282. 6:52:38model and we've been playing around with
  7283. 6:52:40it for a
  7284. 6:52:41while and we got the back testing it
  7285. 6:52:43today it's a pretty big uh pretty big
  7286. 6:52:46moment actually pretty big
  7287. 6:52:51moment but I still think it's just a
  7288. 6:52:54start I still think it's just the
  7289. 6:52:59start cuz there's so many ways we can
  7290. 6:53:01slice and dice this
  7291. 6:53:05now so live Ops I wanted to write that
  7292. 6:53:13okay I want to do the same
  7293. 6:53:17thing I want to do the same concept
  7294. 6:53:27here for the
  7295. 6:53:3024 um
  7296. 6:53:34State model I want to do the same type
  7297. 6:53:39of back test where we test all
  7298. 6:53:45variables
  7299. 6:53:47again uh
  7300. 6:53:50but for
  7301. 6:53:54this these
  7302. 6:53:56many more states listed above
  7303. 6:54:06which appear most in the 24 model okay
  7304. 6:54:13and then we got to get that code because
  7305. 6:54:14I don't know if she remembers I don't
  7306. 6:54:18even remember so you know how's she F to
  7307. 6:54:22remember if I can't even remember cuz
  7308. 6:54:23she's smarter than you
  7309. 6:54:31Moon she can definitely remember that
  7310. 6:54:34she can defin I didn't know it was the
  7311. 6:54:36last one it's just been a while we've
  7312. 6:54:38been over here
  7313. 6:54:40executing what a great teammate she is
  7314. 6:54:43huh it's crazy it's crazy stuff here
  7315. 6:54:46dude trained model let's go to 24 copy
  7316. 6:54:51path she probably doesn't even need this
  7317. 6:54:53to be honest she's so smart
  7318. 6:55:12send back full
  7319. 6:55:31code
  7320. 6:56:01for for
  7321. 6:56:55what
  7322. 6:57:01up
  7323. 6:57:31for for
  7324. 6:59:01e
  7325. 6:59:31e e
  7326. 7:00:13all right
  7327. 7:00:14so this is the 24 back
  7328. 7:00:17test just curious you
  7329. 7:00:22know 24 rest in peace
  7330. 7:00:26King all
  7331. 7:00:29right R it
  7332. 7:00:37all right so looks
  7333. 7:00:45uh oh this is on the that data too wait
  7334. 7:00:49what dat is on worst
  7335. 7:00:51trade good expectancy good profit
  7336. 7:00:57Factor beats the Buy and Hold
  7337. 7:01:04uhoh what does that tell me
  7338. 7:01:07dog that tells me
  7339. 7:01:10good dang
  7340. 7:01:14dude another
  7341. 7:01:28one H so 240 days
  7342. 7:01:49all right so that's that and what data
  7343. 7:01:52was that on
  7344. 7:01:53dude 31 we 34 weeks okay let's try on
  7345. 7:01:58some other data then
  7346. 7:02:05this is this one's almost impossible to
  7347. 7:02:07beat but might as well try
  7348. 7:02:11it the
  7349. 7:02:13uh
  7350. 7:02:15data from BTC 10
  7351. 7:02:18years 10 year BTC data let's see it
  7352. 7:02:22let's see it dude let's see you
  7353. 7:02:27dance all right it's going to take a
  7354. 7:02:30little bit of time
  7355. 7:02:37there it
  7356. 7:02:38is expan See's
  7357. 7:02:49nuts 8,000% verse
  7358. 7:02:53um 23,000 so no didn't beat
  7359. 7:02:59it 53
  7360. 7:03:0588 win rate is good though
  7361. 7:03:1154% expectancy is good draw down how's
  7362. 7:03:15that draw down looking 74% so not so hot
  7363. 7:03:22but I think that's pretty
  7364. 7:03:25standard or this 70% exposure time
  7365. 7:03:31and volatile asset I don't know what to
  7366. 7:03:34conclude I have no conclusion except low
  7367. 7:03:38s s Lo
  7368. 7:03:41s all
  7369. 7:03:43right let's go
  7370. 7:03:46ahead paste it here B it up
  7371. 7:03:50here okay
  7372. 7:03:53so it's cool it's really cool I like
  7373. 7:03:56this idea I like this idea of cutting
  7374. 7:03:59things up into regimes and having AI
  7375. 7:04:03mess with
  7376. 7:04:05it so here I'm going to say this is the
  7377. 7:04:08out of sample out of
  7378. 7:04:11sample data here this is the first one
  7379. 7:04:16okay and
  7380. 7:04:18now this one here is the BTC 1
  7381. 7:04:26hour all right sick so let's try that
  7382. 7:04:30eth here let's say copy
  7383. 7:04:34path um I don't know why I'm up in there
  7384. 7:04:37but copy path
  7385. 7:04:40and say data path let's go ahead and
  7386. 7:04:42delete this one be out dog data path
  7387. 7:04:46okay that's cool with me hey guess what
  7388. 7:04:49else we got some more data too so oh you
  7389. 7:04:53tickling me oh you're hungry again you
  7390. 7:04:55hungry I'm hungry too we both hungry
  7391. 7:04:58shorty we both hungry I'mma feed you
  7392. 7:05:01right now
  7393. 7:05:02you grow and grow and
  7394. 7:05:06grow um you stay on track just for a few
  7395. 7:05:09more seconds here and then I'm G get you
  7396. 7:05:15something I want to get this Soul one
  7397. 7:05:18hour in
  7398. 7:05:20here all right I got it in
  7399. 7:05:23there um this here
  7400. 7:05:26is the detailed results for that Strat
  7401. 7:05:3124
  7402. 7:05:35States this one was for the eth okay it
  7403. 7:05:39looks solid
  7404. 7:05:422.54 sharp a little better 7 beats the
  7405. 7:05:45Buy and Hold it's cool to
  7406. 7:05:49see exposure time is 2/3 of the
  7407. 7:05:54time
  7408. 7:05:56okay
  7409. 7:05:59so what was that that was the e 1 hour I
  7410. 7:06:05believe let's try something new dude
  7411. 7:06:07let's try something
  7412. 7:06:10new let's say data
  7413. 7:06:14path
  7414. 7:06:16equals data path data path data path
  7415. 7:06:19data path data path data path data path
  7416. 7:06:23copy path copy
  7417. 7:06:26path paste it in okay now we're going to
  7418. 7:06:30say up here okay
  7419. 7:06:33copy run
  7420. 7:06:35it all right that one's going to take a
  7421. 7:06:37minute but this is it this is that oh
  7422. 7:06:40snap what is this
  7423. 7:06:42though okay
  7424. 7:06:47so this was eth copy relative path here
  7425. 7:06:51ET States I just want to make sure that
  7426. 7:06:53it's here so I know what I'm doing data
  7427. 7:06:56okay what did the what did that chart
  7428. 7:06:58looked kind of
  7429. 7:07:07so this is the draw Down August
  7430. 7:07:1020
  7431. 7:07:1622
  7432. 7:07:19interesting profit factor is 10 only six
  7433. 7:07:23trades
  7434. 7:07:27interesting and it beat b and hold
  7435. 7:07:31but not very many trades
  7436. 7:07:36so you know so quick look six trades
  7437. 7:07:39this one had 150 trades a little more
  7438. 7:07:41statistically significant better than
  7439. 7:07:43Buy and Hold but then the BTC one from
  7440. 7:07:4610 years is
  7441. 7:07:50not what about BTC for
  7442. 7:07:57like I don't have it I could get it
  7443. 7:08:00pretty easily though
  7444. 7:08:02I could do other time frames but you
  7445. 7:08:04know I think I don't want to over test
  7446. 7:08:06this just it is what it is it's good
  7447. 7:08:10information to have what you going to do
  7448. 7:08:13with that information
  7449. 7:08:14though that's a cute
  7450. 7:08:17dude that's the
  7451. 7:08:20queue
  7452. 7:08:27so this is a good place this is a good
  7453. 7:08:29place to now look at this and see how do
  7454. 7:08:33we layer
  7455. 7:08:34it how do we take it from
  7456. 7:08:37here I'm always constantly just
  7457. 7:08:39following this if you're ever wondering
  7458. 7:08:41what I'm doing it's
  7459. 7:08:43this every day every day for the next 60
  7460. 7:08:46Years bro RBI system for AO trading it's
  7461. 7:08:49just my simplified version of this the
  7462. 7:08:53process of automating your trading comes
  7463. 7:08:54down to researching trading
  7464. 7:08:57strategies watching videos listening to
  7465. 7:09:00podcasts
  7466. 7:09:01reading
  7467. 7:09:03books I didn't love reading growing up
  7468. 7:09:05but now you're just
  7469. 7:09:07searching searching for ideas one idea
  7470. 7:09:09can change the
  7471. 7:09:11world then back test those ideas
  7472. 7:09:14strategies to see if they actually work
  7473. 7:09:16in the past so the idea today was the
  7474. 7:09:20hmm a markof model to predict the
  7475. 7:09:24different states in the market and then
  7476. 7:09:26have a back test that trades based off
  7477. 7:09:28of the changes of those States
  7478. 7:09:35see if it works in past data and then if
  7479. 7:09:39that's Prof profitable in the past it
  7480. 7:09:41might work in the future so I always
  7481. 7:09:43start with tiny size but most of the
  7482. 7:09:46work is in the r and the B and everybody
  7483. 7:09:49wants to build a bot including myself
  7484. 7:09:53just take that lesson from my experience
  7485. 7:09:56seriously and don't just go build a bot
  7486. 7:09:58don't buy a bot on the internet none of
  7487. 7:10:01that that dude
  7488. 7:10:03please if everybody's running the same
  7489. 7:10:05algo it's going to converge to zero
  7490. 7:10:07profits over time pretty much guaranteed
  7491. 7:10:09it's just
  7492. 7:10:11math and I think we went over this a few
  7493. 7:10:13times in
  7494. 7:10:15this this uh this stretch uh this
  7495. 7:10:19journey this Marathon this journey
  7496. 7:10:21that's what it's been it's been a
  7497. 7:10:29journey that's why machine Lear seems to
  7498. 7:10:31be hard for trading because if everybody
  7499. 7:10:33can predict the price then the price is
  7500. 7:10:35not going to be the same anymore because
  7501. 7:10:37everybody's going to trade off that
  7502. 7:10:42price it's not like if everybody knows
  7503. 7:10:45the prediction of the
  7504. 7:10:48weather it's going to change the weather
  7505. 7:10:54no it's
  7506. 7:10:58different it's a fun Journey
  7507. 7:11:02I like this journey a lot

About this transcript

This page contains the full transcript of how to actually use ai for trading by Moon Dev, generated from the public captions YouTube serves with the video. The transcript has 45,437 words across 7,507 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 translate the transcript into 100+ languages.

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, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.