YouTube2Text

how to actually do algorithmic trading — Transcript

by Moon Dev · 53,612 words · 9,177 segments · language en · Watch on YouTube

Full transcript

  1. 0:00algorithmic trading in Python can be one
  2. 0:03of the hardest things to learn because
  3. 0:05everybody is keeping their Edge to
  4. 0:07themselves it makes sense to me but when
  5. 0:10I was learning this and not being able
  6. 0:13to look online for anything I got lost I
  7. 0:16had to try a lot of stuff and now here
  8. 0:19right now I'm going to show you from
  9. 0:22idea from coming up with the idea of a
  10. 0:25trading
  11. 0:26algorithm so you can start algo Trading
  12. 0:30coming up with an idea I'm showing you
  13. 0:31how I come up with the idea for for all
  14. 0:34of my algorithms I build I'll show you
  15. 0:38that and then I'll show you how we build
  16. 0:40out a a custom data source and then use
  17. 0:44that custom data source to build our own
  18. 0:47trading algorith algorithms so I'm
  19. 0:50showing you absolutely everything here
  20. 0:53and you don't have to do anything for me
  21. 0:54I'm just glad you're here I'm glad you
  22. 0:56found me I'm glad you have somebody
  23. 0:58walking you through this process it all
  24. 1:01comes down to your own strategy at the
  25. 1:03end of the day and your own Edge but I
  26. 1:05can show you ideas and how I Implement
  27. 1:09my own ideas my ideas aren't necessarily
  28. 1:13right or wrong I'm not the best in the
  29. 1:15world at this I just go live every
  30. 1:17single day and I work on the hardest
  31. 1:20problem possible to get me to my big
  32. 1:23algorithmic trading goals so I'm just
  33. 1:25going to continue to do that every
  34. 1:27single day live here and here I'm going
  35. 1:30to show you step by step how to go from
  36. 1:33no idea all the way to trading algorithm
  37. 1:37so you can build whatever you can
  38. 1:40imagine I look forward to diving in
  39. 1:42let's go today we are going to do a
  40. 1:45brainstorm here on um essentially algo
  41. 1:50algorithmic trading systems uh ideas I
  42. 1:53have from the past um things I want to
  43. 1:56review and we're just going to get all
  44. 1:58our our thoughts together because we've
  45. 2:00been running running running for the
  46. 2:04last few weeks months years I don't know
  47. 2:08dude but I've got a lot of notes a lot
  48. 2:11of notes a lot of
  49. 2:13ideas and uh yeah we want to go ahead
  50. 2:16and get those all here on paper
  51. 2:20so I can make sure
  52. 2:23to make sure to do everything in the
  53. 2:26correct Manner and
  54. 2:30yeah I mean that's it that's that so I'm
  55. 2:32just going to kind of put my thoughts
  56. 2:33together here today and you know maybe
  57. 2:35it'll be interesting to you maybe not um
  58. 2:38every day I'm attacking a crazy goal in
  59. 2:40our ghost raing and today are my
  60. 2:42thinking days the days that I I think
  61. 2:45and I spend all day as you can see I'm
  62. 2:46up early I've already worked out um and
  63. 2:49my brain is activated I'm this is this
  64. 2:51is the best I'm going to be
  65. 2:54so it's all down here from downhill from
  66. 2:57here D it's already happening
  67. 3:01I need to get some Spotify going some
  68. 3:03good tones in my
  69. 3:05ear and now we're live oh see that
  70. 3:09already already welcome to easy
  71. 3:13[Music]
  72. 3:14Rod all right let's go ahead and I'm
  73. 3:18just going to pull up my notes here
  74. 3:20because I'm going to pretty much I have
  75. 3:21a build list and has 367 things on it
  76. 3:25okay code reviews though um code reviews
  77. 3:27projects these are my projects so
  78. 3:31um I would say I put all of these in
  79. 3:36some sort
  80. 3:39of drop down or something duplicate
  81. 3:43copy turn page into turn into bullet
  82. 3:47list page to-do list I think it's a
  83. 3:49toggle list maybe toggle with heading
  84. 3:55three there we go okay now oh boy this
  85. 4:00is going to change the game for my
  86. 4:03brainstorms all right
  87. 4:04[Music]
  88. 4:06um projects code
  89. 4:08reviews so we've been talking about the
  90. 4:10code reviews for a while code
  91. 4:14reviews I want to go ahead here
  92. 4:17and use this over here to go over to my
  93. 4:21YouTube and see what we've been working
  94. 4:24on I use this as well as a tool so
  95. 4:31okay these are all the videos we've done
  96. 4:32in the past so I can see where we've
  97. 4:35been going from here actually you know
  98. 4:38what better way
  99. 5:00I'm just going to take this slow and go
  100. 5:02through these and see um I know the last
  101. 5:05few months we've been doing a lot of
  102. 5:07Solana
  103. 5:09chbt unlimited crypto data Bitcoin
  104. 5:14runes Solana memes
  105. 5:35want to do a rest
  106. 5:43review one through whatever I think
  107. 5:46there's like
  108. 5:49nine let's make these um
  109. 6:10what's Review 1 through
  110. 6:17n coding
  111. 6:40review R through
  112. 6:42n absolutely got to do that
  113. 7:09am I using gbt desktop in
  114. 7:28this e
  115. 8:06unchain trading
  116. 8:13bot that's
  117. 8:15Jupiter trading Bots I mean that's what
  118. 8:18it really is on chain though I mean it
  119. 8:21is on chain so I think that's going to
  120. 8:23be interesting
  121. 8:26um definitely put that in there
  122. 8:41projects yep definitely want
  123. 8:49to I think toggle list is the best thing
  124. 8:52ever
  125. 8:53invented I'm going say that right
  126. 8:56now so I think that's that to list are
  127. 8:59the best thing ever invented that's the
  128. 9:02killer app here on notion for
  129. 9:05me so
  130. 9:07far just exploring notion a little bit
  131. 9:09for this Blaze
  132. 9:15St all right let's go ahead here and say
  133. 9:24projects I lost it oh yeah here it is
  134. 9:28store
  135. 9:31[Music]
  136. 9:37liquidation data source that's
  137. 9:40stable also want to have whoa whoa
  138. 9:47whoa okay that's good toggles
  139. 9:50there oh because maybe the thing
  140. 9:54is
  141. 9:57yep I want to work on
  142. 10:00[Music]
  143. 10:01um new back
  144. 10:03tests for
  145. 10:10the
  146. 10:12um funding
  147. 10:17right
  148. 10:28data
  149. 10:58e
  150. 11:28e
  151. 11:58e e
  152. 12:34open AI
  153. 12:39swarm and
  154. 12:44assistance from
  155. 12:46November all the way
  156. 12:53to ail
  157. 12:59cuz it changed a
  158. 13:01lot we got them in November and we've
  159. 13:03been working working with them since
  160. 13:05April so um that is
  161. 13:10interesting I want to keep working
  162. 13:12hacking at
  163. 13:14this building back
  164. 13:18tester back
  165. 13:20tester that I can run with
  166. 13:27RBI AI
  167. 13:51that's a project for sure sniper bot is
  168. 13:54really um meme scanner we'll get to it
  169. 13:58maybe these are just going to be up in
  170. 14:00here cuz these
  171. 14:10are these are
  172. 14:12good okay let's keep going
  173. 14:52back
  174. 14:54test trading strategies
  175. 15:03essentially I just want to do the RBI
  176. 15:05just I I like getting in there just and
  177. 15:08follow my process that's what I build it
  178. 15:13for or uh 8 hours or something
  179. 15:45unlimited that's a good project actually
  180. 15:47I want to break
  181. 15:49down uh
  182. 15:52Earnest
  183. 15:54Chan interview
  184. 16:00and build off
  185. 16:25it and um
  186. 16:29three
  187. 16:30days
  188. 16:32working on this subject I think it's
  189. 16:36just super interesting approach to
  190. 16:38machine learning
  191. 16:40so want to spend some
  192. 16:43time spend some of our stream time doing
  193. 16:57that e
  194. 17:42what meme coins were we doing okay three
  195. 17:46months oh okay yeah that's right that's
  196. 17:48right sorry I recorded the uh
  197. 17:51Earnest video so long ago this [ __ ]
  198. 17:57gu e
  199. 18:33want a sniper
  200. 18:57review
  201. 19:27e e
  202. 20:09okay so open AI trading Bots I want to
  203. 20:12revisit
  204. 20:13[Music]
  205. 20:17that cuz we were using like vision and
  206. 20:24stuff some on a
  207. 20:27sniper e
  208. 21:14statistical
  209. 21:17Arbitrage
  210. 21:19honestly project as well I mean these
  211. 21:23reviews
  212. 21:37stat ARB at points of
  213. 21:47liquidation like
  214. 21:55that I've built a great
  215. 21:59that
  216. 22:00AR
  217. 22:02but now need to tweak
  218. 22:10it to know when to run so you know I've
  219. 22:15tested it
  220. 22:18and I feel like I have some good ideas
  221. 22:21using
  222. 22:22liquidations that would be a cool time
  223. 22:24that's when I feel like the price is
  224. 22:26most unreal that's a that's definite
  225. 22:28hypothesis so it's not like
  226. 22:32real none of this is real until it's
  227. 22:34real you
  228. 22:47know this is actually a really
  229. 22:48interesting conversation as
  230. 22:52well breakdown Evan
  231. 22:59[Music]
  232. 23:02me
  233. 23:07P
  234. 23:08build
  235. 23:15offit I like his
  236. 23:17approach I like his approach a lot so
  237. 23:19I'd like to listen to
  238. 23:24that we got some liquidations coming
  239. 23:27through here
  240. 23:29orders are
  241. 23:30flying why what are y'all doing it's too
  242. 23:33early for you it's too early for you
  243. 23:38dog why are you trading why you trading
  244. 23:40by hand I don't know I do not
  245. 23:45know okay what else can we do
  246. 23:49here this is good this is good this is a
  247. 23:52good little uh review of everything
  248. 23:56that's out there right now for you I
  249. 23:57mean
  250. 23:58and this gets my brain going in the
  251. 24:04morning what you know what we have been
  252. 24:11building and where to move the
  253. 24:17boat where to tilt the
  254. 24:21plane it
  255. 24:30okay so this was
  256. 24:43the Big Lick
  257. 24:50here somebody just wreck got wrecked
  258. 24:52[Music]
  259. 24:54312k the liquidations here I'll make
  260. 24:57them a little smaller done
  261. 25:00here um had another idea
  262. 25:08oh okay cool already got
  263. 25:13that let's see what here what else we
  264. 25:16have here
  265. 25:25um okay so 6 months ago ago we were
  266. 25:28doing a lot of the AI stuff assistance
  267. 25:31open AI
  268. 25:36stuff I really like this one really like
  269. 25:40this
  270. 25:41one and I think that goes right under
  271. 25:43the liquidations
  272. 25:45because we'll get the liquidation data
  273. 25:58start back
  274. 26:00testing lick
  275. 26:04data see look this is what this is the
  276. 26:06type of stuff that happens to be this
  277. 26:08ain't
  278. 26:20stable what's going on do how you use
  279. 26:24this how you use this
  280. 26:29this ain't
  281. 26:33stable and I'm going go ahead
  282. 26:35[Music]
  283. 26:36and show why we need the stability
  284. 26:43here there we
  285. 26:45go oh my God this is clean B this is
  286. 26:52clean that's wild this is clean I like
  287. 26:56it
  288. 26:59I don't know how to change my stuff
  289. 27:01though maybe have
  290. 27:06to where's my cursor at what's going on
  291. 27:09I lost
  292. 27:12it okay
  293. 27:15so this this ain't
  294. 27:21stable I got to figure that out for
  295. 27:25sure for sure for sure
  296. 27:28all right and it's sad when that happens
  297. 27:32because that that set of colors being
  298. 27:36able to see that is so nice to stack up
  299. 27:39on top of each other you
  300. 27:42know so that usually happens when my
  301. 27:44internet goes out so I hope we're still
  302. 27:47here throw 777 in the chat if we're
  303. 27:49still here good morning good
  304. 27:53morning I hope everybody's doing amazing
  305. 27:55today
  306. 28:01honestly can you disable this uh these
  307. 28:04red lines though
  308. 28:06cuz or can you be a little more easy on
  309. 28:08me maybe yeah that'd be nice be a little
  310. 28:11more easy on
  311. 28:13me when it comes to uh
  312. 28:24typing I want to do this as well I think
  313. 28:27this is really interesting
  314. 28:29ah dang all of these things are
  315. 28:30interesting this is great this is great
  316. 28:33I haven't even got them my note sheet
  317. 28:34yet it's the funny
  318. 28:36thing I like I build like on Apple
  319. 28:42notes Apple
  320. 28:45notes yeah yeah yeah take a while to
  321. 28:48adapt new things it's okay
  322. 28:53be see what else is in here
  323. 29:05gold in here
  324. 29:06B there gold in here
  325. 29:32finding tring altcoins on coin gecko
  326. 29:35dang we really we really found a better
  327. 29:38source for that that's awesome that's
  328. 29:40awesome that's awesome I need to pick my
  329. 29:42top four today actually too gotta pick
  330. 29:45those top four every
  331. 29:50day yo panador 777 bro and zero art
  332. 29:56sound thank you as well thank thank you
  333. 29:58for being here much love to you much
  334. 30:04love Okay so
  335. 30:38ML on
  336. 30:41liquidation data
  337. 30:44funding
  338. 30:48um another Big Lick huh we missed
  339. 30:51it
  340. 30:53okay
  341. 30:55funding liquidation funding data and
  342. 31:01um
  343. 31:05orderflow I think these are really
  344. 31:09good I'm getting
  345. 31:26excited
  346. 31:56for e
  347. 32:40so I think time P script is really uh
  348. 32:42trading view is really dope in the sense
  349. 32:45that has so many
  350. 32:49indicators and different approaches to
  351. 32:51the market that is
  352. 32:53crowdsourced and since we can have
  353. 32:55access via pin script
  354. 32:58I want to give a little love to it again
  355. 33:00I want to keep up with it you know every
  356. 33:02few
  357. 33:21months M text table of contents
  358. 33:25duplicate link show deleted page turn
  359. 33:27off off this
  360. 33:30um what's it
  361. 33:34called
  362. 33:35[Music]
  363. 33:42underline it's it's all
  364. 33:45good I let it ride for now but I'm not
  365. 33:48going to let it ride forever sorry you
  366. 33:52got to go you got to get him out of here
  367. 33:55he's got to go he's got to go
  368. 34:00it's not his time no more I'm
  369. 34:11sorry Jim Simons
  370. 34:41Doc
  371. 34:44review and build
  372. 34:46off rest in peace do rest in
  373. 34:56peace
  374. 35:26e e
  375. 36:11I want to build a market regime uh
  376. 36:14project
  377. 36:49that might be the play honestly the
  378. 36:52instead of double double doing it I
  379. 36:55think this getting kind kind of long we
  380. 36:57got uh too much stuff too much stuff but
  381. 36:59that's okay it's okay with me it's okay
  382. 37:03with me to have too much
  383. 37:05here it sure
  384. 37:07is it sure is
  385. 37:14dude add cover change cover dog upload
  386. 37:18cover okay
  387. 37:298:
  388. 37:31a.m. I'll be here where you going to be
  389. 37:34at 777 if you're going to be here too
  390. 37:37777 to you if you're going to be here as
  391. 37:40[Music]
  392. 37:44well to
  393. 37:48do change that boom you got
  394. 37:54changed you got changed dog
  395. 37:59okay turn
  396. 38:01into toggle
  397. 38:04list I need to um
  398. 38:09build
  399. 38:12application
  400. 38:14typeform for the
  401. 38:17weekly code reviews
  402. 38:30yeah um to
  403. 38:32ensure only the most
  404. 38:36committed
  405. 38:38people are in the code
  406. 38:42reviews since I will
  407. 38:45be
  408. 38:49going over all of my week's
  409. 38:54code so that's how what I decided to do
  410. 38:57is
  411. 39:00just code reviews are going to be pretty
  412. 39:02much free I mean like two bucks two
  413. 39:04bucks a week or
  414. 39:07whatever and then
  415. 39:14um since it's kind of sketch like having
  416. 39:18weekly payments I'm not going to let
  417. 39:20just anybody pay
  418. 39:22me you know got to do a little
  419. 39:27not kyc but like ask a couple questions
  420. 39:31what you in it for I get weak weak
  421. 39:33responses or I
  422. 39:38don't just not everybody's going to be
  423. 39:41in cuz you
  424. 39:44know there are people on the
  425. 39:49internet that I don't want to be
  426. 39:52around so if you're going to come to my
  427. 39:54weekly co-
  428. 39:56reviews it's going to be pretty much
  429. 39:58free $2 per week but not everybody can
  430. 40:01join I'm
  431. 40:03sorry keep this tight it's going to be
  432. 40:05an inner
  433. 40:06[Music]
  434. 40:12circle the inner
  435. 40:15circles weekly code
  436. 40:18review it's the Inner Circle the people
  437. 40:20I actually want to talk to no offense
  438. 40:22dude you're still welcome around here so
  439. 40:24much love to you so so much love to
  440. 40:27everybody out
  441. 40:29there
  442. 40:32777 always always always and
  443. 40:35forever
  444. 40:36Todo now we got a Todo List look at
  445. 40:41that I feel like this is
  446. 40:44where this is where I put a little color
  447. 40:48here put like a Emoji or something just
  448. 40:50like colored up a little bit color it up
  449. 40:53but I'm not going to do that right now
  450. 40:56I'm sorry
  451. 40:59instantly trade better with this funding
  452. 41:01rate funding rate using funding
  453. 41:26rate e
  454. 42:06do I want to break down all these pods
  455. 42:12really is there 11 months
  456. 42:16ago 11 months ago
  457. 42:18dog I don't know where were we 11 months
  458. 42:21ago what were we building
  459. 42:24okay same things similar
  460. 42:27things but we're we've got so much more
  461. 42:30in our brains and so many more
  462. 42:31connections have been
  463. 42:56made e
  464. 43:40hyper liquid in
  465. 43:56Python e
  466. 44:54want to I want to check back in on autog
  467. 44:56gp2
  468. 45:11I feel like it's maybe maybe it's still
  469. 45:14a thing I don't know I just got to check
  470. 45:16in on
  471. 45:17it got to check in it if it's still
  472. 45:20growing if it's still growing there's
  473. 45:21challenges that we we got stuck on on
  474. 45:23with our swarms
  475. 45:25essentially so
  476. 45:33I think this is enough to review though
  477. 45:35because now we're a year back and I
  478. 45:39don't know I kind of want to look
  479. 45:40through it actually because there might
  480. 45:42be some good ideas
  481. 45:45here yeah yeah these are past ideas I
  482. 45:48wasn't I'm not just like over here bsing
  483. 45:51so some of my titles are kind of crazy
  484. 45:54but as long as I just have the idea idea
  485. 45:57I get the idea back get the idea from
  486. 45:59the past plus the idea from the current
  487. 46:36Miss
  488. 46:55Cloud I think they're changing their API
  489. 46:57Keys over to that so I got to change
  490. 46:59that quickly actually that is a few days
  491. 47:06maybe
  492. 47:09so that's a that's definitely on the
  493. 47:12projects list it's kind of a to-do
  494. 47:15projects are kind of to-dos so I don't
  495. 47:17know I guess this is like random to-dos
  496. 47:19so just that I think about things non
  497. 47:22algo trading so I'm liking the list so
  498. 47:25far all algo Trading just a little bit
  499. 47:27of Maintenance
  500. 47:29here that's nice that's
  501. 47:55nice
  502. 48:25e
  503. 48:55e
  504. 49:25e
  505. 49:55e
  506. 50:25e e
  507. 51:20all right this is cool that was I feel
  508. 51:22like that was a good exercise coming up
  509. 51:24with uh couple
  510. 51:27ideas here from where what we've already
  511. 51:29done cuz all of this I have all of this
  512. 51:32code you
  513. 51:32[Music]
  514. 51:33know every single thing that I've done
  515. 51:36here I have all of it I've got all the
  516. 51:38code you know so it's just like I've got
  517. 51:40all of these Lego pieces here I mean you
  518. 51:43do too it's all here but should I say we
  519. 51:48have all of this code it's all here on
  520. 51:51YouTube
  521. 51:57so every once in a while I like to go
  522. 52:00take a trip down memory lane kind of see
  523. 52:03what we've done and Spark those ideas
  524. 52:06and I think this was a really good
  525. 52:08session here we have a couple things I
  526. 52:11want to review kind of check back in on
  527. 52:15honestly this is all kind of similar
  528. 52:17stuff like projects and reviews uh I
  529. 52:21want to check I want to check back in on
  530. 52:22my rust I want to make sure I don't get
  531. 52:24rusty with the rust because I'm a r the
  532. 52:27faran at heart
  533. 52:29and I haven't put it to use
  534. 52:31yet so that's kind of it's not kind
  535. 52:35that's not that's not
  536. 52:38Bueno it's not
  537. 52:40Bueno it's no bueno okay
  538. 52:45so say uh number one let's let's
  539. 52:49prioritize this yeah yeah yeah yeah
  540. 52:56no let's just keep it let's keep it
  541. 52:58flowing let's keep it flowing not
  542. 52:59prioritizing yet not prioritizing yet
  543. 53:02because I haven't even gotten to my
  544. 53:04notes like the real stuff I'm trying to
  545. 53:06do like if I put in my notes I mean this
  546. 53:09is real this comes from my notes so this
  547. 53:11comes from my notes this is but this is
  548. 53:13past right so the future that's what it
  549. 53:15is future I'm trying to this was a good
  550. 53:17review to see what was in the past what
  551. 53:19we've built what I have code for any
  552. 53:22ideas that we haven't attacked that um
  553. 53:26would be sparked and now I got a good
  554. 53:28list and we're we're about to go on a
  555. 53:31journey be we're about to go on a
  556. 53:35journey it's going to be
  557. 53:38wild you show up I show up
  558. 53:42777 every day I'll be here I'll be here
  559. 53:45at 8:
  560. 53:46a.m. 8: a.m. eastern till the time
  561. 53:49changes and then I don't know I don't I
  562. 53:51don't know I'm here early today sorry
  563. 53:58that sucks when you get you get to you
  564. 54:00get to practice and you see you see me
  565. 54:01already sweating I already got a workout
  566. 54:06in I'm already here I'm warmed up I'm
  567. 54:09warmed up so might be
  568. 54:13earlier I think you can put
  569. 54:14notifications on and stuff that's cool
  570. 54:18that's what you want but
  571. 54:20uh yeah 777 in the chat is just sending
  572. 54:24love back and forth like much love to
  573. 54:26you much love to
  574. 54:28you you can have anything in this world
  575. 54:35dude all right
  576. 54:41so it's getting a little messy it's
  577. 54:43getting a little
  578. 54:45long so let's go ahead say liquidation
  579. 54:52data I'm going to have to make this one
  580. 54:54bigger B
  581. 54:56move to duplicate turn into toggle
  582. 55:00header one two three I'm going to go
  583. 55:02with the two now yeah I'm going bring it
  584. 55:05on up a little bit because the projectos
  585. 55:07are
  586. 55:09important okay you get it
  587. 55:19dude
  588. 55:21lick rations
  589. 55:31sorry sorry sorry it's I'm learning I'm
  590. 55:33learning how to use this
  591. 55:36thing okay there we go I like
  592. 55:39that um but that's that ain't it but
  593. 55:41what else what other topics we got here
  594. 55:43liquidations
  595. 55:46liquidations
  596. 55:48statar on
  597. 55:52liquidations infrastructure
  598. 55:57hey
  599. 55:59dude I want another one like
  600. 56:04that I wanted another one like that this
  601. 56:07is
  602. 56:08infrastructure back test Market regime
  603. 56:52duplicate you going to make me write out
  604. 56:55the Correct punctuation of everything
  605. 56:58and I don't know how to spells
  606. 57:00so you going to like fix it how do you
  607. 57:02fix
  608. 57:03it add the
  609. 57:07dictionary
  610. 57:09okay cool cool cool so I would say
  611. 57:12coinbase is
  612. 57:14that
  613. 57:20oops this ain't
  614. 57:24stable delete
  615. 57:27okay
  616. 57:30um I'mma copy
  617. 57:32this stupid and I'm going to call this
  618. 57:36uh machine learning
  619. 58:21man I'm not too good at this
  620. 58:24sorry oh it's the
  621. 58:27embarrassing all right back test
  622. 58:29unlimited um back testing infrastructure
  623. 58:32breakdown trading
  624. 58:54view like this is kind of
  625. 58:58infrastructure that's just such a boring
  626. 59:00name I'm never going to want to do
  627. 59:03it oh I want this to be
  628. 59:07called
  629. 59:08[Music]
  630. 59:10um Lego
  631. 59:18blocks Auto gbd ver Quant check in
  632. 59:23that's Lego blocks Jim Simons stock
  633. 59:26review see now it's easy to put it in
  634. 59:29there I can put everything in there now
  635. 59:32cuz they're all Lego blocks liquidations
  636. 59:35unlimited trading
  637. 59:40strategy Lego blocks everything playo
  638. 59:42blocks now if it's unknown it's not one
  639. 59:45of these
  640. 59:47specifics pretty
  641. 59:53much all right that's better uh Market
  642. 59:56regime of machine
  643. 59:59learning new back test for
  644. 1:00:02funding rate
  645. 1:00:13data I mean I should have a back anymore
  646. 1:00:33Del
  647. 1:00:37delete delete
  648. 1:01:01pack test with um trading
  649. 1:01:04view uh
  650. 1:01:08conversions really Pine scrip
  651. 1:01:15conversions
  652. 1:01:17okay that's going to be good all right
  653. 1:01:20I'm going to go through my actual notes
  654. 1:01:23here because this is the past past stuff
  655. 1:01:54for e
  656. 1:02:31all right I'mma put a go list just like
  657. 1:02:34absolutely go right
  658. 1:02:36now and that's going to be later that's
  659. 1:02:39going to be later today I don't know how
  660. 1:02:41long I'll be here we'll
  661. 1:02:43see we'll seeb but I got a lot of stuff
  662. 1:02:47I need
  663. 1:02:49to think
  664. 1:02:52about not going to put anything
  665. 1:02:59not going to put anything in there for
  666. 1:03:02now TVD
  667. 1:03:35okay so
  668. 1:03:38projects I can move them into the go
  669. 1:03:43list whoa whoa whoa whoa whoa whoa whoa
  670. 1:03:53whoa I'm not ready for that but that was
  671. 1:03:56nice to be
  672. 1:04:14honest not I'm not ready for
  673. 1:04:17it not ready for that move but that
  674. 1:04:20seems
  675. 1:04:22nice oh maybe I should put my go list
  676. 1:04:25over here here that' be
  677. 1:04:27hard and then can I make this goess
  678. 1:04:33yep yep that's it right there that's
  679. 1:04:45it that's
  680. 1:04:49dirty I'm make this a little
  681. 1:04:52smaller prob hard to see huh
  682. 1:04:57I can keep it a little bit
  683. 1:05:02bigger you can see that you can see
  684. 1:05:06that I don't need
  685. 1:05:12this can this be
  686. 1:05:15wider sure
  687. 1:05:20can it's a dirty dirty thing here I like
  688. 1:05:24it I like this
  689. 1:05:39thing and then what about like
  690. 1:05:42uh can we put another
  691. 1:05:54one nice
  692. 1:06:38this is where I think be
  693. 1:07:14all right cool
  694. 1:07:42I like
  695. 1:07:43this like this a
  696. 1:07:50lot okay I'm not a big fan of what's
  697. 1:07:52going on over here
  698. 1:07:54but maybe I can plop it in
  699. 1:08:05there turn into heading two please thank
  700. 1:08:11you why you up in there though I need
  701. 1:08:13you
  702. 1:08:15outside why are you over there okay
  703. 1:08:19there we
  704. 1:08:20go now let's put
  705. 1:08:24you e
  706. 1:08:57thank
  707. 1:08:59you it's a good place they got here it's
  708. 1:09:03a good place
  709. 1:09:06here I like it the
  710. 1:09:10do turn that into a header
  711. 1:09:14two and then plop it up in
  712. 1:09:19there
  713. 1:09:24nice
  714. 1:09:54e
  715. 1:10:24e e
  716. 1:10:56no my God this is what I
  717. 1:11:02think get rid of
  718. 1:11:07this get rid of
  719. 1:11:16this use to
  720. 1:11:19do you can leave
  721. 1:11:22now delete it
  722. 1:11:26delete it how do you get out of the how
  723. 1:11:28do you get this out of
  724. 1:11:29here
  725. 1:11:35there
  726. 1:11:37okay I mean it's just fine
  727. 1:11:40just okay I just want to
  728. 1:11:44uh list out some things and then we'll
  729. 1:11:47figure out where they go how about that
  730. 1:11:49so we're going to list out some things
  731. 1:11:52and then we're going to figure out where
  732. 1:11:52they go in this world
  733. 1:12:04um did that oh I love when I look at my
  734. 1:12:07notes and it's like oh already did
  735. 1:12:12it he's executing over here
  736. 1:12:53kind of liked it having it up here to be
  737. 1:12:55honest I'm just going to keep it there
  738. 1:12:58keep it there for now and we'll see how
  739. 1:13:00this
  740. 1:13:02goes so I feel like we're just getting
  741. 1:13:04started so I'm just going to grab some
  742. 1:13:06wall grab some wall real
  743. 1:13:24quick
  744. 1:13:54e
  745. 1:14:24e e
  746. 1:15:05basian
  747. 1:15:09basian Lego
  748. 1:15:12blocks machine
  749. 1:15:20learning
  750. 1:15:22statistics for trading
  751. 1:15:25how do you say this
  752. 1:15:32correctly
  753. 1:15:40B I always said
  754. 1:15:44basan but
  755. 1:16:11base
  756. 1:16:12Theory oh Kayla
  757. 1:16:48actually part of machine learning so I'm
  758. 1:16:49just going to put it here
  759. 1:16:56homeboy just said it at least
  760. 1:17:04so
  761. 1:17:05basian basian I've been saying it right
  762. 1:17:08okay
  763. 1:17:09sick because I mean it reads
  764. 1:17:12beijan to me it's like Asian
  765. 1:17:16beian but um you know
  766. 1:17:27for trading uh I want to do a review
  767. 1:17:37essentially okay so now I'm going to do
  768. 1:17:39like a little power
  769. 1:17:47time do a little bit power time going
  770. 1:17:49through my my uh notes
  771. 1:17:52here I got a ton of notes
  772. 1:17:57so just going to list them well how do
  773. 1:18:00we do
  774. 1:18:01this okay so I can just read
  775. 1:18:08through I really like this
  776. 1:18:11one that
  777. 1:18:21are stat ARB at points of liquidation
  778. 1:18:37and really like this
  779. 1:18:42one lowkey put this uh regime
  780. 1:18:50one regime one in here
  781. 1:18:56okay Market
  782. 1:19:06regime there a lot here
  783. 1:19:16be stat ARB yep F liquidation data y
  784. 1:19:23um think let
  785. 1:19:25was I
  786. 1:19:32mean I think that's good I think that's
  787. 1:19:35good both of those are good okay let's
  788. 1:19:37keep going
  789. 1:20:12Lego blocks
  790. 1:20:15um interactive brokers Interactive
  791. 1:20:19Broker
  792. 1:20:21review and uh or not review broker
  793. 1:20:25project like projects there's a ton of
  794. 1:20:28stuff but uh right now the lights the
  795. 1:20:31dance the dance are on the it's time to
  796. 1:20:34dance it's time to dance in crypto so
  797. 1:20:37lights are on music's
  798. 1:20:40on and it's it's not going to be on
  799. 1:20:43forever it could be on off tonight you
  800. 1:20:46know so at some
  801. 1:20:49point the music's going to be turned off
  802. 1:20:52and then
  803. 1:20:57leaps
  804. 1:21:00um
  805. 1:21:02lotos these are two options things I I
  806. 1:21:05want to get into options not I don't
  807. 1:21:08want to right now but you know I don't I
  808. 1:21:10want to stay
  809. 1:21:12focused I want to I want to stay focused
  810. 1:21:15but I'm going to put this on the Lego
  811. 1:21:16blocks Loki loky distractions I should
  812. 1:21:19put a distractions for later I'm going
  813. 1:21:20to put a for later yeah for
  814. 1:21:23later um
  815. 1:21:26um
  816. 1:21:30duplicate I'm just going to put 2025
  817. 1:21:35here if they're lucky if they're
  818. 1:21:43lucky I'm gonna be here forever you
  819. 1:21:48know I'm going to keep building every
  820. 1:21:50day so you're welcome to come along with
  821. 1:21:53me
  822. 1:21:55but um yeah I'll be here
  823. 1:22:05dog 2025 I'll Attack interactive
  824. 1:22:13brokers maybe maybe
  825. 1:22:22maybe this is where I I think I haven't
  826. 1:22:25thought there yet
  827. 1:22:57dissect
  828. 1:23:00um the way he uh
  829. 1:23:06predicted
  830. 1:23:11regimes the
  831. 1:23:14models he
  832. 1:23:21used
  833. 1:23:23like hit it Mark
  834. 1:23:36off I got a good tweet from
  835. 1:23:39this homeboy Ghost Shock Ghost Shock I
  836. 1:23:42think that's how he says
  837. 1:23:44man got a good tweet here about it so
  838. 1:23:56this is
  839. 1:24:01good all right
  840. 1:24:04so I want to look into that a little
  841. 1:24:14bit come on dog think I want to up in
  842. 1:24:17there want right there all right nice
  843. 1:24:22this is really nice organizing my
  844. 1:24:25thoughts a little
  845. 1:24:28bit I've also got a ton of
  846. 1:24:46notes I've also got a ton of notes
  847. 1:24:52um look at
  848. 1:25:16um oh this is under 2025
  849. 1:25:26lotos
  850. 1:25:27[Music]
  851. 1:25:28um
  852. 1:25:32programmatically figure out I guess it
  853. 1:25:36doesn't need to be
  854. 1:25:44programmatically I can just get a list I
  855. 1:25:46mean programmatic would be nice but all
  856. 1:25:48sometimes it's sometimes Harder To
  857. 1:25:51Source data that way not harder but like
  858. 1:25:54building stuff you got to build the
  859. 1:25:56python tool and then
  860. 1:25:58anyways interact Brokers projects this
  861. 1:26:01one
  862. 1:26:05is I was watching the Allin podcast
  863. 1:26:08yesterday and somebody said something
  864. 1:26:11interesting man they're leaning into
  865. 1:26:13politics a lot huh chill with that be
  866. 1:26:17chill with that come on just build
  867. 1:26:20be just
  868. 1:26:22build those those boys are experts in
  869. 1:26:24their industry I want to hear about that
  870. 1:26:26I want to hear about that I want to hear
  871. 1:26:27your opinion on on Tech
  872. 1:26:30stuff sorry B not into politics like
  873. 1:26:37that I never asked I never
  874. 1:26:40asked never asked the tech dudes to
  875. 1:26:43start talking politics
  876. 1:26:48B they had a good idea though so that is
  877. 1:26:56public
  878. 1:27:01Founders still as
  879. 1:27:04CEOs
  880. 1:27:05[Music]
  881. 1:27:09outperform other Co honestly back test
  882. 1:27:12set I mean it's
  883. 1:27:19easy dog I should just back I should RBI
  884. 1:27:22that now
  885. 1:27:30I don't want to get distracted but
  886. 1:27:32that's a interesting
  887. 1:27:47thought all right cool
  888. 1:28:03it's going through my notes
  889. 1:28:05here oh I didn't finish this thought
  890. 1:28:10here look at
  891. 1:28:13uh look at Jim
  892. 1:28:17Simons
  893. 1:28:21Noe in notes for
  894. 1:28:26T more
  895. 1:28:33okay let's keep
  896. 1:28:46going I really like this
  897. 1:28:51idea I think it's another machine
  898. 1:28:53learning one for
  899. 1:28:56sure
  900. 1:28:58connect brain to the
  901. 1:29:07Chart use uh
  902. 1:29:09[Music]
  903. 1:29:11neuro uh caps I
  904. 1:29:15guess in order to watch Traders brains
  905. 1:29:21while they are trading
  906. 1:29:24in
  907. 1:29:26different
  908. 1:29:28regimes
  909. 1:29:30regimes
  910. 1:29:35regimes plot the activity to
  911. 1:29:40the different type of regime or act uh
  912. 1:29:47chart chart Loki yeah
  913. 1:29:50chart um
  914. 1:30:00hypothesis hypo is
  915. 1:30:04that we can
  916. 1:30:06study points of panic and
  917. 1:30:13Euphoria to
  918. 1:30:17um to trade on I mean yeah that's
  919. 1:30:20it neuro caps
  920. 1:30:24um
  921. 1:30:25[Music]
  922. 1:30:26neuro is that what it even called uh
  923. 1:30:29neuro
  924. 1:30:32Neuroscience head cap No Cap brain scrub
  925. 1:30:44cap boy we we way off we a we way way
  926. 1:30:52off oh what is it
  927. 1:30:54called
  928. 1:30:56um yeah yeah that's what we got CH GPT
  929. 1:31:00for that's what we got her
  930. 1:31:05for what is the head cop that is used to
  931. 1:31:11collect brain data for
  932. 1:31:15neuros
  933. 1:31:17science
  934. 1:31:21T the H cop use no No Cap to collect
  935. 1:31:25brain data for neuro neuroscientists is
  936. 1:31:28called the
  937. 1:31:31electro
  938. 1:31:38graphy it's called The Electro cap the
  939. 1:31:41EEG cap the EEG
  940. 1:31:44cap the electro cap the EEG cap these
  941. 1:31:47caps are equipped with
  942. 1:31:51electroids electrodes that are placed on
  943. 1:31:54the scalp to measure electrical activity
  944. 1:31:57in the brain EEG caps can come in
  945. 1:32:00various forms including dry EEG caps
  946. 1:32:04these do not require conductive gel or
  947. 1:32:07paste and are quicker to set up but they
  948. 1:32:10have may have higher impedance and
  949. 1:32:14slightly less accurate readings compared
  950. 1:32:16to wet caps the wet cap these require a
  951. 1:32:20conductive gel or saline solution to en
  952. 1:32:23enance the electrical conductivity
  953. 1:32:26between the scalp and the
  954. 1:32:30electrodes they provide more accurate
  955. 1:32:32readings but can be more timec consuming
  956. 1:32:34and Messier to set up the hybrid EEG
  957. 1:32:39caps these combine elements of both wet
  958. 1:32:42and
  959. 1:32:47dry I like this dude I'm I'mma cop
  960. 1:32:51it I'mma cop it real quick where' we put
  961. 1:32:55that gy okay Neuroscience
  962. 1:33:03yes looks
  963. 1:33:11good
  964. 1:33:14okay EEG cap
  965. 1:33:26all right that's
  966. 1:33:30great I like that
  967. 1:33:32idea it's a good
  968. 1:33:46one I want to run it against a couple
  969. 1:33:48things
  970. 1:33:51though study the just yeah to study the
  971. 1:33:57difference
  972. 1:33:59between chart brain
  973. 1:34:03activity
  974. 1:34:05um
  975. 1:34:08Regular
  976. 1:34:10activity
  977. 1:34:14and meditation meditative meditative
  978. 1:34:40okay I don't think there's any thinking
  979. 1:34:42going on here so but maybe later n maybe
  980. 1:34:46later maybe later maybe
  981. 1:34:49later that's okay because we've already
  982. 1:34:51done this thought it's pretty cool
  983. 1:35:22for
  984. 1:35:52e
  985. 1:36:22e
  986. 1:36:52e
  987. 1:37:22e
  988. 1:37:52e e
  989. 1:38:30use gbt Vision in order to get all the
  990. 1:38:36code out of my
  991. 1:38:39videos it's going to be
  992. 1:38:43expensive AF
  993. 1:38:46but I just gota do it
  994. 1:38:50once correctly Okay so
  995. 1:39:01let's do like a rando here because I
  996. 1:39:06like yeah I think I'm G to get rid of
  997. 1:39:08this column here I just
  998. 1:39:13the forcing of having to put in a column
  999. 1:39:16right
  1000. 1:39:18away l
  1001. 1:39:24is too much for me it's too much for me
  1002. 1:39:27so like this was an idea I would just
  1003. 1:39:30put in here B gbt
  1004. 1:39:33vision
  1005. 1:39:34for
  1006. 1:39:36extracting code from
  1007. 1:39:41videos okay I guess I could just move
  1008. 1:39:44that in here
  1009. 1:40:03okay then I can put it all on
  1010. 1:40:17GitHub that's
  1011. 1:40:20it it's dope
  1012. 1:40:41want this column
  1013. 1:40:48anymore okay I like that
  1014. 1:40:52idea
  1015. 1:41:22e e
  1016. 1:42:03expectancy
  1017. 1:42:06expectancy
  1018. 1:42:09Focus expectancy
  1019. 1:42:11project
  1020. 1:42:13uh expectancy
  1021. 1:42:17focus when back
  1022. 1:42:19testing so I had somebody come in oh
  1023. 1:42:22multiple times to these
  1024. 1:42:24streams I remember him clearly and he
  1025. 1:42:28wrote so many things and I just I was
  1026. 1:42:32just like all
  1027. 1:42:33right well could be
  1028. 1:42:36Alpha he was just saying expecting see
  1029. 1:42:39it's only thing M only thing matters
  1030. 1:42:41it's like okay cool cool cool I'm going
  1031. 1:42:43to take that information and he kept
  1032. 1:42:45coming in kept coming in every day I
  1033. 1:42:49miss him Nate where you at Dog where you
  1034. 1:42:53you been I need you yelling
  1035. 1:42:56expectancy at
  1036. 1:42:59me turn into how do you go ahead and
  1037. 1:43:03move to make turn into a page page yeah
  1038. 1:43:07here we go me get a little
  1039. 1:43:09pager all my notes from
  1040. 1:43:13homeboy say the only reason to trade is
  1041. 1:43:16position sizing with an
  1042. 1:43:19EV and then you know I kept just
  1043. 1:43:22listening and I started working with gbt
  1044. 1:43:24a little bit to get more
  1045. 1:43:27information this is more like the text
  1046. 1:43:31these are like chats right so you know
  1047. 1:43:34it's fun it's I like I like doing this
  1048. 1:43:36because whether it's good or or positive
  1049. 1:43:39or negative people coming in if it's
  1050. 1:43:42loud or quiet it's just so many ideas
  1051. 1:43:44and I I'm just like listening to y'all
  1052. 1:43:47like what what what are your ideas and
  1053. 1:43:50then I've got obviously a t ideas as
  1054. 1:43:53well got unlimited ideas actually we got
  1055. 1:43:57too many
  1056. 1:43:58ideas
  1057. 1:44:00but it's so cool to be able to like
  1058. 1:44:02share here and then um you guys share
  1059. 1:44:06back with me
  1060. 1:44:12so all right that's pretty solid I
  1061. 1:44:16mean I think I'd rather just have it
  1062. 1:44:20all up in there
  1063. 1:44:24I don't like using that back button but
  1064. 1:44:27whoa whoa whoa
  1065. 1:44:31whoa let's just have that I like that
  1066. 1:44:39better delete revert
  1067. 1:44:44revert okay expectancy
  1068. 1:45:06okay I like this this is I think this is
  1069. 1:45:08where I'm content
  1070. 1:45:11at with the uh setup here because too
  1071. 1:45:16much pressure to like try to think or
  1072. 1:45:17not too much pressure but just like I
  1073. 1:45:19don't want to think you know my brain
  1074. 1:45:21processing power is going through my old
  1075. 1:45:23notes Here For the first couple hours of
  1076. 1:45:25today and then I want to go ahead
  1077. 1:45:29and put these pieces together for New
  1078. 1:45:31connections
  1079. 1:46:22this is going to be
  1080. 1:46:23later one this is like hft
  1081. 1:46:27stuff so I'm not I don't really want to
  1082. 1:46:30go there right now
  1083. 1:46:33but
  1084. 1:46:35hft or 100
  1085. 1:46:37millisecond
  1086. 1:46:43trading all right so I'm interested in
  1087. 1:46:46this but not right now but this is
  1088. 1:46:50another
  1089. 1:47:00disruptions
  1090. 1:47:02eruptions of order flow there actually
  1091. 1:47:05another one that was
  1092. 1:47:07just somebody came in here talking
  1093. 1:47:10something
  1094. 1:47:11I um wasn't
  1095. 1:47:14fully wise on and just another idea so
  1096. 1:47:19thank you guys appreciate you guys so so
  1097. 1:47:21much for sharing right back with
  1098. 1:47:24me I'm going keep showing up you keep
  1099. 1:47:26showing up I'm going keep showing
  1100. 1:47:30up every day B every day let's go ahead
  1101. 1:47:33and put this whole comment in here
  1102. 1:47:36because I don't know sometimes these
  1103. 1:47:38lead to absolutely nothing but sometimes
  1104. 1:47:41they lead to you know some great things
  1105. 1:47:44so it's worth a little bit of time here
  1106. 1:48:13777 everybody everybody out there here
  1107. 1:48:16today
  1108. 1:48:37I'm just looking through my notes
  1109. 1:48:51Here
  1110. 1:49:21e e
  1111. 1:49:52this one's in liquidation here
  1112. 1:49:54liquidation data sources they will start
  1113. 1:49:57back testing liquidation data so things
  1114. 1:50:02[Music]
  1115. 1:50:04like
  1116. 1:50:06x
  1117. 1:50:08m worth
  1118. 1:50:12of of licks before
  1119. 1:50:21entering um
  1120. 1:50:25entering on different
  1121. 1:50:32symbols then
  1122. 1:50:35licked bunch of things here like the S
  1123. 1:50:38ARB as well so
  1124. 1:51:02back testing here um this is 2025 as
  1125. 1:51:05well interactive brokers
  1126. 1:51:10projects
  1127. 1:51:18um yeah I'd put it up in here I'd put
  1128. 1:51:21this in here and say
  1129. 1:51:23uh trade weather
  1130. 1:51:29patterns predict
  1131. 1:51:32weather better
  1132. 1:51:38than
  1133. 1:51:40others equals Alpha okay that's it
  1134. 1:51:44that's it though next year though next
  1135. 1:51:46year lights are on music on I dance I
  1136. 1:51:50dance be that's all that's all
  1137. 1:51:53we
  1138. 1:51:54here I'm going nowhere until I have to
  1139. 1:51:57go somewhere
  1140. 1:51:59okay but I'll switch
  1141. 1:52:01too not married to any of this stuff be
  1142. 1:52:04I don't care market and market and
  1143. 1:52:05Market Market and market a market but I
  1144. 1:52:08do like crypto obviously so I'm going to
  1145. 1:52:10kick it here as long as I can I mean I
  1146. 1:52:12kicked it all the way through the bare
  1147. 1:52:14Market with you guys and not to say this
  1148. 1:52:16is a bull market by any means but I'm
  1149. 1:52:19not changing I'm not changing anything
  1150. 1:52:21I'm doing yeah yeah but at the same time
  1151. 1:52:24if there's opportunity because one of
  1152. 1:52:26these
  1153. 1:52:28things next year I'm not even getting to
  1154. 1:52:31it till next
  1155. 1:52:33year I already have this built out I
  1156. 1:52:36have the infrastructure built out which
  1157. 1:52:38is a nice part so this is all going to
  1158. 1:52:39be
  1159. 1:52:42easy big ER there big ER there big ER
  1160. 1:52:45there I
  1161. 1:52:46think now that like we can launch
  1162. 1:52:49something we launch this this little top
  1163. 1:52:51meme game thing
  1164. 1:52:52now that we launched that literally
  1165. 1:52:55Unstoppable because this took like three
  1166. 1:52:58different languages and I had to work
  1167. 1:52:59with a database and I had to put it on
  1168. 1:53:02the internet it was crazy okay if I can
  1169. 1:53:05do that I can do
  1170. 1:53:11anything and just to review the just to
  1171. 1:53:14review like what we've done just just in
  1172. 1:53:16the last year I've been here for like
  1173. 1:53:18almost three
  1174. 1:53:20now just in the last year year that was
  1175. 1:53:23crazy that was a great way to start this
  1176. 1:53:26off cuz I really got the juices
  1177. 1:53:43flowing I want to this is a Lego block
  1178. 1:53:52watch where watch and
  1179. 1:53:56track big
  1180. 1:53:59orders and um
  1181. 1:54:04assume
  1182. 1:54:05mm push there okay so track big ORS uh
  1183. 1:54:10derivatives big
  1184. 1:54:14derivative okay
  1185. 1:54:24I mean but also also this could be
  1186. 1:54:33interesting this
  1187. 1:54:35also could be
  1188. 1:54:38interesting or like
  1189. 1:54:41Solana
  1190. 1:54:43tokens okay
  1191. 1:55:02liquidations look at
  1192. 1:55:05trending
  1193. 1:55:08charts on
  1194. 1:55:1355
  1195. 1:55:17and
  1196. 1:55:19enter on trend
  1197. 1:55:22tell
  1198. 1:55:24lick tell Big
  1199. 1:55:27Lick
  1200. 1:55:31close that's it be that's a
  1201. 1:55:36thought I need to do that
  1202. 1:55:41that's back
  1203. 1:55:43test some lunar cycles
  1204. 1:55:57how's this little guy
  1205. 1:56:03doing not too good not too
  1206. 1:56:06good how's this funny little dog
  1207. 1:56:11do 10%
  1208. 1:56:16interesting all right let's keep it
  1209. 1:56:18moving
  1210. 1:56:33oh here's the moon cycle
  1211. 1:56:37bot Willy
  1212. 1:56:51woo for
  1213. 1:57:40this is actually Lego
  1214. 1:57:44blocks open
  1215. 1:57:47interest tracker to
  1216. 1:57:50measure uh uh liquidation
  1217. 1:57:55or L wipes wipe
  1218. 1:57:59outs honestly this is not Lego block
  1219. 1:58:02anymore this is all about this
  1220. 1:58:04liquidation data so why I be watching it
  1221. 1:58:06all day I mean obviously now my I'm
  1222. 1:58:08biased towards it right I don't know if
  1223. 1:58:10it's the right way but we'll
  1224. 1:58:21see
  1225. 1:58:51e e
  1226. 1:59:44wow be we've come a long ways
  1227. 1:59:57just looking through my notes
  1228. 2:00:20still
  1229. 2:00:50e
  1230. 2:01:20e
  1231. 2:01:50e
  1232. 2:02:20e e
  1233. 2:03:15I want to do that for
  1234. 2:03:19sure review the art of War for
  1235. 2:03:26trading thought that was a really good
  1236. 2:03:29book right ah of time
  1237. 2:03:58ideas
  1238. 2:04:06from I got a bunch of ideas on a
  1239. 2:04:12note
  1240. 2:04:14that about liquidations
  1241. 2:04:20here
  1242. 2:04:50e e
  1243. 2:05:48something else somebody came yelling
  1244. 2:05:50about
  1245. 2:05:51I love it it's free ideas thank you for
  1246. 2:05:55your thank you for your thoughts B
  1247. 2:06:47really like this quote right here
  1248. 2:06:57from
  1249. 2:07:01suzu it's not from
  1250. 2:07:04suzu it is from
  1251. 2:07:07suzu sunu suzu
  1252. 2:07:10is other dude sunu
  1253. 2:07:26dang
  1254. 2:07:38it that ain't it but you know
  1255. 2:08:06I guess that is it
  1256. 2:08:24your dollars are your troops
  1257. 2:08:27be your dollars are your troops
  1258. 2:08:54nope that's
  1259. 2:09:20dead
  1260. 2:09:50e e
  1261. 2:10:27let me go deeper into the Gap and go for
  1262. 2:10:29crypto
  1263. 2:10:56feel like this is pretty high priority
  1264. 2:11:26is that how you spell his name though
  1265. 2:11:27let's make sure that I got it right
  1266. 2:12:03see volume
  1267. 2:12:08patterns
  1268. 2:12:11patterns around
  1269. 2:12:15reversals and TR
  1270. 2:12:18okay I've got a couple books
  1271. 2:12:22I've got a
  1272. 2:12:24book as well on it and then what was
  1273. 2:12:29that other book I got I can't remember
  1274. 2:12:32it was uh I think it was order flow
  1275. 2:12:36yeah
  1276. 2:12:38so
  1277. 2:12:45liquidations I kind of want to break
  1278. 2:12:47down that orderflow book
  1279. 2:12:51study order
  1280. 2:12:54flow and book
  1281. 2:13:22let's dup
  1282. 2:13:50this e
  1283. 2:14:37dup it be dup it put it in here keep it
  1284. 2:14:41in there
  1285. 2:14:44and yeah I think that's it dude
  1286. 2:14:54all
  1287. 2:15:01right better learn his name dog better
  1288. 2:15:05learn his
  1289. 2:15:17name okay so
  1290. 2:15:24this is looking good I've got a couple
  1291. 2:15:26more months
  1292. 2:15:28of things I want to go
  1293. 2:15:33through just notes you know every once
  1294. 2:15:35in a while I just want to do this I
  1295. 2:15:38going to show you everything and this is
  1296. 2:15:39an extremely important
  1297. 2:15:42part so glad you're here 777 much Lou
  1298. 2:15:46you
  1299. 2:15:49be e
  1300. 2:16:25no back test
  1301. 2:16:31this this
  1302. 2:16:34um YouTube video
  1303. 2:16:54nice that's
  1304. 2:17:19it e
  1305. 2:18:03explore this
  1306. 2:18:06um maybe go ahead and review
  1307. 2:18:16the duplicate
  1308. 2:18:26Christina
  1309. 2:18:29she
  1310. 2:18:31review
  1311. 2:18:33and
  1312. 2:18:38rebuild this
  1313. 2:18:41vog of
  1314. 2:18:44hers another uh
  1315. 2:18:48pod pod here
  1316. 2:18:52whoa whoa whoa that's cool that it does
  1317. 2:18:54that but don't need it right now these
  1318. 2:18:57are
  1319. 2:18:59uh pod
  1320. 2:19:04reviews so pod reviews those are good
  1321. 2:19:07good
  1322. 2:19:26I'm on 21924 now
  1323. 2:19:35so I want to build in
  1324. 2:19:422025 and options Market maker cuz math
  1325. 2:19:48is hard
  1326. 2:19:52study
  1327. 2:19:54um options for and
  1328. 2:20:00pricing Plus basan
  1329. 2:20:19basan e
  1330. 2:21:09honestly I want to get back to uh a
  1331. 2:21:12little bit of
  1332. 2:21:15studying I like it now I did it before
  1333. 2:21:18but
  1334. 2:21:22so I'm going to go ahead and make
  1335. 2:21:25a duplicate
  1336. 2:21:32study here and that study is going to
  1337. 2:21:35have the books that I'm trying to read
  1338. 2:21:52uh spend
  1339. 2:21:55time time
  1340. 2:21:57getting
  1341. 2:22:01acquainted with the table of
  1342. 2:22:06contents so when I read the
  1343. 2:22:09book I read the book things will stick
  1344. 2:22:15better mind-blowing thing I saw the
  1345. 2:22:17other day on YouTube I can't believe
  1346. 2:22:19YouTube's free
  1347. 2:22:22um it's like duh
  1348. 2:22:26essentially I was watching a video I
  1349. 2:22:28wish I could find it and show you
  1350. 2:22:30but maybe someday I'll put it somewhere
  1351. 2:22:33Discord or
  1352. 2:22:35something but it's like such an aha
  1353. 2:22:38moment but such a simple thing and
  1354. 2:22:40that's why you see me writing all this
  1355. 2:22:42stuff out now
  1356. 2:22:43partly I feel like organization is key
  1357. 2:22:46but um what what the video was talking
  1358. 2:22:50about
  1359. 2:22:51is
  1360. 2:22:52um if you kind of do like a pre-study of
  1361. 2:22:54books then you
  1362. 2:22:57don't it's a little easier to like go
  1363. 2:23:01find the pieces that you're looking for
  1364. 2:23:03cuz you don't need to necessarily read
  1365. 2:23:04every single word you need to go find
  1366. 2:23:06whatever you're looking for in the case
  1367. 2:23:08of
  1368. 2:23:09nonfiction books fiction non-fiction
  1369. 2:23:12non-fiction the one that are used to
  1370. 2:23:17study um
  1371. 2:23:23for gold
  1372. 2:23:33nuggets option volatility and pricing
  1373. 2:23:36options
  1374. 2:23:38[Music]
  1375. 2:23:39volatility and
  1376. 2:23:47pricing order flow book um
  1377. 2:23:50[Music]
  1378. 2:23:52um steady volume
  1379. 2:23:55map map
  1380. 2:24:00B this is the same for all of these I
  1381. 2:24:18mean I don't need write that for all
  1382. 2:25:19contents with
  1383. 2:25:28luxie with
  1384. 2:25:31AI so when I
  1385. 2:25:34read
  1386. 2:25:37things is
  1387. 2:25:42it all right so
  1388. 2:25:54all right I've just got a couple more
  1389. 2:25:56months of notes I want to get down
  1390. 2:26:01here I want to get to the start of the
  1391. 2:26:03year you
  1392. 2:26:04know it shouldn't be too much longer
  1393. 2:26:35so for Golden nuggets um
  1394. 2:26:57play with I
  1395. 2:27:02guess this is definitely down
  1396. 2:27:05here
  1397. 2:27:10ml okay wow this is we're doing a lot
  1398. 2:27:14today this is good this is good we got
  1399. 2:27:18unlimited to build Here and Now kind of
  1400. 2:27:21a prioritization I haven't put anything
  1401. 2:27:24on the go list
  1402. 2:27:28yet it's just going to depend on the day
  1403. 2:27:31honestly depend on what I want to build
  1404. 2:27:33because like maybe I want to build a
  1405. 2:27:35game I don't know you know this is my
  1406. 2:27:38world
  1407. 2:27:43so I'm going to stay pretty focused as
  1408. 2:27:45always new trading Bots daily put that
  1409. 2:27:48there that's like the most dumb down
  1410. 2:27:49terminology of what I what I do so put
  1411. 2:27:53it there and um that's what I'm going to
  1412. 2:27:56keep
  1413. 2:27:57going but this over
  1414. 2:27:59here I love it I love this just for
  1415. 2:28:04being able to see what's going on on the
  1416. 2:28:06salana
  1417. 2:28:08blockchain so I just be looking at
  1418. 2:28:12it took me about 12 hours to build
  1419. 2:28:16it and now that it's built it's there
  1420. 2:28:19which is so nice
  1421. 2:29:01I think about this tweet a
  1422. 2:29:03lot liquidations back testing Lego
  1423. 2:29:08blocks machine learning
  1424. 2:29:13yeah ML on when to cancel orders
  1425. 2:29:20I think about this a lot just this
  1426. 2:29:21little tweet that Jeff from hyper liquid
  1427. 2:29:27had I like Twitter some good stuff there
  1428. 2:29:30it's just about managing it you know too
  1429. 2:29:33much
  1430. 2:29:35anything so he had said this most Alpha
  1431. 2:29:38is when to cancel
  1432. 2:29:44though or
  1433. 2:29:48mm I like it
  1434. 2:30:00now I can just drag this
  1435. 2:30:06around anything in go list that's this
  1436. 2:30:09we're we're going we're ghost ghost
  1437. 2:30:12where are we going anything done is
  1438. 2:30:15great job B
  1439. 2:30:23great job V
  1440. 2:30:58all right this is this is so
  1441. 2:31:15good oh and this tweet
  1442. 2:31:21type of things can we do with seeing
  1443. 2:31:23everybody's open
  1444. 2:31:37positions what type of things can we do
  1445. 2:31:42if we can see
  1446. 2:31:45everyone's open position
  1447. 2:32:00that's that some
  1448. 2:32:18code
  1449. 2:32:48e e
  1450. 2:33:43all
  1451. 2:33:48right
  1452. 2:34:18e
  1453. 2:34:48e e
  1454. 2:35:37want to build something sentiment
  1455. 2:35:42wise tool based off of YouTube titles
  1456. 2:35:48for the
  1457. 2:35:51day maybe more maybe less I don't
  1458. 2:36:18know e
  1459. 2:36:57yeah sick well that went through the
  1460. 2:36:59whole year I have so many more data
  1461. 2:37:01sources in order to uh idea generate and
  1462. 2:37:05I think you know you kind of see what
  1463. 2:37:08I'm doing and how this works how I
  1464. 2:37:10generate my
  1465. 2:37:11ideas so this is
  1466. 2:37:14brainstorming this is the r
  1467. 2:37:19this is the
  1468. 2:37:25r r and
  1469. 2:37:28RBI what the heck is
  1470. 2:37:31RBI link to it
  1471. 2:37:34dog I don't
  1472. 2:37:38know it's part of it I mean I'm not
  1473. 2:37:41reading right now no but like this is
  1474. 2:37:59all right so I have another data source
  1475. 2:38:00I want to go through
  1476. 2:38:03and we'll do that in just a
  1477. 2:38:18few
  1478. 2:38:48e
  1479. 2:39:18e e
  1480. 2:39:59yellow all right so I went through all
  1481. 2:40:01of that I want to go through my uh
  1482. 2:40:03archives now I've got some goodies
  1483. 2:40:07here
  1484. 2:40:10and yeah this is going to be sick
  1485. 2:40:21this is going to be
  1486. 2:40:48sick e
  1487. 2:41:32all right
  1488. 2:41:33so these are some good ideas I think and
  1489. 2:41:37now I've
  1490. 2:41:38got L study for Golden
  1491. 2:41:43nuggets review I want to go re this back
  1492. 2:41:46to review pod review
  1493. 2:41:52reviews
  1494. 2:41:57and these are YouTube reviews from
  1495. 2:42:01YouTube well I can probably do something
  1496. 2:42:04like this
  1497. 2:42:08YouTube and then I can probably do
  1498. 2:42:10something like
  1499. 2:42:16this archives
  1500. 2:42:23and then I could probably do something
  1501. 2:42:24like
  1502. 2:42:26this turn into duplicate turn into page
  1503. 2:42:30turn
  1504. 2:42:32into okay toggle list okay sick bro this
  1505. 2:42:38is great I like it I'm a fan I'm a
  1506. 2:42:45fan I'm not a Stan but I'm a
  1507. 2:42:48fan not St but I'm a fan
  1508. 2:42:51okay let's go ahead here
  1509. 2:42:58and how do I get to those AR
  1510. 2:43:02guys
  1511. 2:43:04playlist it's private playlist
  1512. 2:43:12though
  1513. 2:43:15129 129
  1514. 2:43:20okay
  1515. 2:43:50all back
  1516. 2:43:55us give a second look
  1517. 2:43:58because there's new information in the
  1518. 2:44:00Noggin now the Noggin got new new stuff
  1519. 2:44:38I want to do the
  1520. 2:44:41math math behind naria
  1521. 2:44:46because nadara
  1522. 2:44:50yeah I want to do that
  1523. 2:45:19server
  1524. 2:45:21setup historical data
  1525. 2:45:24historical
  1526. 2:45:32data forever
  1527. 2:46:00Geo machine learning
  1528. 2:46:32invas self J
  1529. 2:47:18did pin
  1530. 2:47:47rip e
  1531. 2:48:24what did he
  1532. 2:48:47grab
  1533. 2:49:17e
  1534. 2:49:47e
  1535. 2:50:17e e
  1536. 2:50:55a lot of good stuff
  1537. 2:50:57dude I'm just like over here
  1538. 2:51:17astonished e
  1539. 2:52:17there I probably have 100 back
  1540. 2:52:21test probably
  1541. 2:52:24more okay well I want to review
  1542. 2:52:33them I don't know where I was though oh
  1543. 2:52:36was down here it's getting a little too
  1544. 2:52:38long
  1545. 2:52:40huh I could see how it would be useful
  1546. 2:52:43to
  1547. 2:52:44have this over
  1548. 2:52:47there for
  1549. 2:53:31all right so just generating some a few
  1550. 2:53:34more ideas here see if there's anything
  1551. 2:53:37that just like totally pops out of
  1552. 2:53:47me e
  1553. 2:54:35wow we've got a lot to look at now lot
  1554. 2:54:38to think about I think I'm going to put
  1555. 2:54:40my go list up
  1556. 2:54:43here cuz
  1557. 2:54:45then that that would leave room for
  1558. 2:54:49these reviews
  1559. 2:54:51here to do
  1560. 2:54:54[Music]
  1561. 2:55:052025 I can put these here too
  1562. 2:55:18I'm going keep it like this for now but
  1563. 2:55:21I would like it to be in
  1564. 2:55:30different I feel like this is so much
  1565. 2:55:33good info
  1566. 2:55:35here oh my God yeah yeah yeah this
  1567. 2:55:41is this is
  1568. 2:55:44it move things around a little bit for
  1569. 2:55:47sure cuz getting a little long here I'm
  1570. 2:55:48not trying to be scrolling all all day
  1571. 2:55:50long no no not trying to be scrolling
  1572. 2:55:54all day
  1573. 2:55:56long
  1574. 2:55:59projects and reviews
  1575. 2:56:21all
  1576. 2:56:25right ain't going to work either but
  1577. 2:56:28it's
  1578. 2:56:30okay it's not going to work that's not
  1579. 2:56:33going to work for
  1580. 2:56:34me no
  1581. 2:56:40way oh that's
  1582. 2:56:45right that's why I have them
  1583. 2:56:48that's the point
  1584. 2:56:52dog that's the whole
  1585. 2:56:55point that's the whole point these this
  1586. 2:56:58is the invention this is the invention
  1587. 2:57:00I'm I
  1588. 2:57:05like
  1589. 2:57:07wow yeah that's that's the that's the
  1590. 2:57:10winning feature in my
  1591. 2:57:11mind I don't know I don't know about you
  1592. 2:57:14do but
  1593. 2:57:27that's
  1594. 2:57:32nice to
  1595. 2:57:34do I got to build
  1596. 2:57:39that
  1597. 2:57:45reviews it should be a drop down for
  1598. 2:57:47sure
  1599. 2:57:48they should all be drop downs I want I
  1600. 2:57:50want everything to be a toggle list
  1601. 2:57:52because that's just what is what it is
  1602. 2:57:57it's the best thing
  1603. 2:57:59here it's the absolute best thing
  1604. 2:58:07here toggle list this is
  1605. 2:58:12smooth bullet toggle
  1606. 2:58:15list just toggle list everything
  1607. 2:58:19just about to toggle list everything in
  1608. 2:58:21my life toggle
  1609. 2:58:36list I mean honestly
  1610. 2:59:11what's this toggle this for sure toggle
  1611. 2:59:14toggle three
  1612. 2:59:18I am my
  1613. 2:59:19guy I don't think so actually I think
  1614. 2:59:21it's
  1615. 2:59:23a less
  1616. 2:59:39but the toggle list is revolutionary
  1617. 3:00:04revolutionary
  1618. 3:00:31777 much love to
  1619. 3:00:34you tomorrow
  1620. 3:00:57go
  1621. 3:00:58list just
  1622. 3:01:05decide it be pretty nice to
  1623. 3:01:08have but TBT vision for extracting code
  1624. 3:01:12for my
  1625. 3:01:16videos e
  1626. 3:02:01Ste volume patterns around reversals
  1627. 3:02:06okay so we got liquidations
  1628. 3:02:16here e
  1629. 3:03:06it's storable
  1630. 3:03:45nice
  1631. 3:03:55oh snap I fed
  1632. 3:04:05up oh reverse reverse reverse oh but I
  1633. 3:04:10tried that already
  1634. 3:04:19in store
  1635. 3:04:52honestly this is a project right
  1636. 3:04:55here liquidations and
  1637. 3:04:59ho I'mma put this right
  1638. 3:05:02there
  1639. 3:05:05so might just slide I might just slide
  1640. 3:05:08it over I don't know we'll
  1641. 3:05:11see CV
  1642. 3:05:33oh this is so juicy this is so juicy
  1643. 3:05:36because now it's just like all
  1644. 3:05:40right we're just running every day every
  1645. 3:05:46day e
  1646. 3:06:30semi urgent
  1647. 3:06:33here actually yeah I got to do that
  1648. 3:06:36pretty
  1649. 3:06:37soon think I got a couple more
  1650. 3:06:40days I'm actually
  1651. 3:06:43pretty pretty uh pretty pretty I'm just
  1652. 3:06:47going to put it over there let's do
  1653. 3:06:49it that one's urgent Sorry
  1654. 3:07:10Charlie reviews Jim Simon's Doc review
  1655. 3:07:14and build off break down Evan Med pod
  1656. 3:07:17and build
  1657. 3:07:19off I got that twice
  1658. 3:07:25du I go
  1659. 3:07:30blocks who
  1660. 3:07:59from trade to python dang that's
  1661. 3:08:16good e
  1662. 3:09:11love this the connecting the brain to
  1663. 3:09:13the
  1664. 3:09:14[Music]
  1665. 3:09:16chart need
  1666. 3:09:20that okay well that's the fact if that's
  1667. 3:09:24fact spe then let's get
  1668. 3:09:27it I can't do everything at
  1669. 3:09:29once got to focus
  1670. 3:09:54how's this possible How would how would
  1671. 3:09:56this be ex how would this even be
  1672. 3:10:06executed okay how does it how does it
  1673. 3:10:08executed assume you got to get like five
  1674. 3:10:10Caps or something
  1675. 3:10:22maybe this data is already there maybe
  1676. 3:10:25this data is already out
  1677. 3:10:36there Google
  1678. 3:10:38it
  1679. 3:10:41um if
  1680. 3:10:43not five caps and then run a
  1681. 3:10:49study but how do you run a
  1682. 3:10:53study run a
  1683. 3:10:55study and is it
  1684. 3:10:59chill okay that's that's doing a lot
  1685. 3:11:03it's doing a lot but I think this is
  1686. 3:11:06interesting what what why is this
  1687. 3:11:08interesting why is this
  1688. 3:11:12important and what is the edge
  1689. 3:11:18that can be
  1690. 3:11:22pull it's really Alpha
  1691. 3:11:24[Music]
  1692. 3:11:28whatever five caps and then run a
  1693. 3:11:33study yeah I'm not trying to run a study
  1694. 3:11:35right now
  1695. 3:11:37so I am curious though how much these
  1696. 3:11:40caps are because if they're like you
  1697. 3:11:43know way way too expensive then I could
  1698. 3:11:46just be be like ah yeah I'm not really
  1699. 3:11:48interested in trying to run a study
  1700. 3:11:50right now you know good justification to
  1701. 3:11:51be out
  1702. 3:11:53essentially
  1703. 3:11:58um
  1704. 3:12:02AliExpress AliExpress
  1705. 3:12:10B
  1706. 3:12:13cap okay so there
  1707. 3:12:17they're pretty penny pretty
  1708. 3:12:28penny can you answer these questions for
  1709. 3:12:30me
  1710. 3:12:37please help me with
  1711. 3:12:40this help me
  1712. 3:12:43brainstorm the below
  1713. 3:12:51um cost what
  1714. 3:12:54cost looks like the range of cost are 12
  1715. 3:12:59600
  1716. 3:13:011200
  1717. 3:13:02[Music]
  1718. 3:13:05um but on
  1719. 3:13:11Amazon oh man
  1720. 3:13:18no
  1721. 3:13:23cap
  1722. 3:13:25cap oh they don't sell them on Amazon
  1723. 3:13:28huh so is a
  1724. 3:13:32sketch is it
  1725. 3:13:36safe that's a good
  1726. 3:13:40question they don't sell it on Amazon
  1727. 3:13:42that's a little weird see what it is on
  1728. 3:13:45Google
  1729. 3:13:49um
  1730. 3:14:04eBay B
  1731. 3:14:06canos are small medium and
  1732. 3:14:10large for 900
  1733. 3:14:19I
  1734. 3:14:23mean look a little grimy to be honest
  1735. 3:14:34so I think that's out out on
  1736. 3:14:41that um
  1737. 3:14:52345 okay so that's they all look like
  1738. 3:14:55that
  1739. 3:14:58maybe the
  1740. 3:15:00bundles okay so
  1741. 3:15:02it's it's going to be expensive so
  1742. 3:15:06expensive and
  1743. 3:15:08hard which is good
  1744. 3:15:10separation
  1745. 3:15:12but I got some really fun projects that
  1746. 3:15:16I'm going really enjoy this one just
  1747. 3:15:17seems pretty fun as
  1748. 3:15:19well
  1749. 3:15:23EG so legit your review uh search
  1750. 3:15:26academic
  1751. 3:15:29databases like Google Scholar Pub
  1752. 3:15:32mad for studies on EEG and trading it's
  1753. 3:15:36a really good idea jeez
  1754. 3:15:47Google
  1755. 3:15:53Scholar okay so yeah no new there's no
  1756. 3:15:57new
  1757. 3:16:01ideas there's no new
  1758. 3:16:09ideas that's
  1759. 3:16:15amazing just going to read these p
  1760. 3:16:16labors and see what
  1761. 3:16:21uh what the thoughts
  1762. 3:16:31are let's go here and
  1763. 3:16:34um
  1764. 3:16:44brainstorming search
  1765. 3:16:48EEG trading on Google
  1766. 3:16:56Scholar okay that's a good one
  1767. 3:17:31so let's do that let's start
  1768. 3:17:36there turn into you know
  1769. 3:17:39it a
  1770. 3:17:43toggle uh take a toggle
  1771. 3:17:47and this can make my list for now let's
  1772. 3:17:52copy it can we do
  1773. 3:17:54that copy copy link to
  1774. 3:17:58block
  1775. 3:18:03duplicate okay copy link to block oh my
  1776. 3:18:08goodness get out the way
  1777. 3:18:11computer all right
  1778. 3:18:14so that
  1779. 3:18:25yeah instead of doing it right off the
  1780. 3:18:27bat let's read about what others have
  1781. 3:18:29[Music]
  1782. 3:18:31done
  1783. 3:18:33boom close
  1784. 3:18:36it I like this too it's 2025 I'm not
  1785. 3:18:39even going to look at it not even going
  1786. 3:18:42to look at it till
  1787. 3:18:432025 I'm add stuff that I'm going to get
  1788. 3:18:45to later there liquidations I think this
  1789. 3:18:48is
  1790. 3:18:57where and
  1791. 3:19:00integrate
  1792. 3:19:02integrate
  1793. 3:19:05into
  1794. 3:19:12HL but really nice funks
  1795. 3:19:17okay that's should it be this is the one
  1796. 3:19:19for
  1797. 3:19:20me this is the one that's making it to
  1798. 3:19:24be decided not no more nope delete it
  1799. 3:19:28control
  1800. 3:19:32delete control
  1801. 3:19:37delete and
  1802. 3:19:44then this going to be name project and
  1803. 3:19:47these are going to just be
  1804. 3:19:49like like review you know more chill
  1805. 3:19:52stuff just like reading stuff
  1806. 3:19:54and pulling things out it's already been
  1807. 3:19:58out nothing's new there's nothing new
  1808. 3:20:00around here so just you know building
  1809. 3:20:05your own
  1810. 3:20:08Edge
  1811. 3:20:13liquidations projects reviews
  1812. 3:20:17we can make this just a little bit
  1813. 3:20:31bigger projects reviews this looks great
  1814. 3:20:35let's check check in to see what's
  1815. 3:20:38uh happening today I think it's Sunday
  1816. 3:20:42yes
  1817. 3:20:49oh my goodness some volatility
  1818. 3:20:54today couple days back we looked at
  1819. 3:20:57these liquidation
  1820. 3:20:59levels people were getting liquidated
  1821. 3:21:01here this was 15 million of
  1822. 3:21:05liquidations the thesis and the reason
  1823. 3:21:07I'm going to start diving deeper into
  1824. 3:21:11this my thes is here
  1825. 3:21:21liquidations Drive the
  1826. 3:21:24crypto
  1827. 3:21:26okay this
  1828. 3:21:37say
  1829. 3:21:39price
  1830. 3:21:41simply
  1831. 3:21:42simply simply moves between
  1832. 3:21:50F okay that's
  1833. 3:22:06it you got to be able to make it smaller
  1834. 3:22:13right color
  1835. 3:22:19default blue
  1836. 3:22:21red maybe you
  1837. 3:22:26can't little aggressive blue it's
  1838. 3:22:29fine all
  1839. 3:22:31right like what is Drive the crypto
  1840. 3:22:33market price simply moves between legs
  1841. 3:23:01okay so while I do this
  1842. 3:23:04project I'm going to do these things as
  1843. 3:23:07well look at that
  1844. 3:23:10focus and what I mean by that is I think
  1845. 3:23:13the majority of my time is going to be
  1846. 3:23:14spent here
  1847. 3:23:16maybe like 3 four
  1848. 3:23:19hours and then like an
  1849. 3:23:22hour here so 80% 80 20
  1850. 3:23:3680 not I'm not going to even make a hard
  1851. 3:23:39like that I just got to get these done
  1852. 3:23:40to
  1853. 3:23:42do
  1854. 3:23:45um honestly hly I'm just going to put
  1855. 3:23:54this over
  1856. 3:23:56here and then put these up in
  1857. 3:24:13there all right to do
  1858. 3:24:17liquidations that's the project to
  1859. 3:24:23do I got to do this stuff
  1860. 3:24:52why is this so
  1861. 3:24:54big we got to cut you down a little bit
  1862. 3:25:32all right this is
  1863. 3:25:39sick just want to look through flow real
  1864. 3:25:41quick oh that's
  1865. 3:25:43needed I don't
  1866. 3:25:47not priority
  1867. 3:25:49though it's not priority though so oh we
  1868. 3:25:54we're going to look through this okay so
  1869. 3:25:57looks like there's been some volatility
  1870. 3:25:59here
  1871. 3:26:03today I think this is still interesting
  1872. 3:26:05to
  1873. 3:26:07me price gets very
  1874. 3:26:17really in
  1875. 3:26:21price and
  1876. 3:26:23price is least
  1877. 3:26:27real at
  1878. 3:26:33Le liquidations Drive the crypto market
  1879. 3:26:36price simply moves between
  1880. 3:26:40laks price is least
  1881. 3:26:44real that big licks
  1882. 3:26:52so that was like
  1883. 3:26:53a we watched this all on stream and it
  1884. 3:26:57turned out to be a good trade but it's
  1885. 3:27:01just
  1886. 3:27:01like finding the pattern is the
  1887. 3:27:05key cuz this was like 10 10 million in
  1888. 3:27:08laks so it's like okay well can you take
  1889. 3:27:10that draw down 1% I mean I hope so
  1890. 3:27:18but then the question is okay well if it
  1891. 3:27:21went up
  1892. 3:27:25like only a bot can trade
  1893. 3:27:28this human I
  1894. 3:27:31mean because the human will get shaken
  1895. 3:27:33out right there human get shaken out
  1896. 3:27:36right
  1897. 3:27:42there I mean the easy easy place to
  1898. 3:27:45start is like
  1899. 3:27:48once 10 million of
  1900. 3:27:51liquidations
  1901. 3:27:53happen what happens we can back test
  1902. 3:27:55that so think I'm going to do that here
  1903. 3:27:58in this
  1904. 3:28:08project yes exactly xm's jeez yo this is
  1905. 3:28:14dope this is a great way to
  1906. 3:28:17to to just like yeah get things in your
  1907. 3:28:21brain I guess or get things out of your
  1908. 3:28:23brain and
  1909. 3:28:25then they're
  1910. 3:28:27here I need to make these different
  1911. 3:28:29colors that's what I need to
  1912. 3:28:32do
  1913. 3:28:35color
  1914. 3:28:39oh my bad my bad
  1915. 3:28:49we won't we won't use any colors right
  1916. 3:28:51now about
  1917. 3:28:53that how about
  1918. 3:28:56that projects this will be like
  1919. 3:29:00a
  1920. 3:29:11work projects reviews
  1921. 3:29:16this will be like a
  1922. 3:29:19study
  1923. 3:29:45books e
  1924. 3:30:35okay that's good now let's uh what's
  1925. 3:30:38what would be like a go
  1926. 3:30:41representation go uh start
  1927. 3:30:46um
  1928. 3:30:56yep celebrate
  1929. 3:31:30better chill out with that
  1930. 3:31:33because I I got ain't got anything in
  1931. 3:31:36there yet so B with the
  1932. 3:31:44Emojis for
  1933. 3:32:31I think this is a really good
  1934. 3:32:33place this is our go list so just simply
  1935. 3:32:37go just simply go this is where we're
  1936. 3:32:40going
  1937. 3:32:52it's the most important thing dude
  1938. 3:33:33okay this is
  1939. 3:33:34great let's see what else that we need
  1940. 3:33:46oh I wanted to do this actually
  1941. 3:33:49for
  1942. 3:33:57um I don't know can't remember his name
  1943. 3:34:00so I'm not going to say it not going to
  1944. 3:34:02say it because I don't remember
  1945. 3:34:04it and it be like that a lot actually
  1946. 3:34:16Robert
  1947. 3:34:21Mercer Robert
  1948. 3:34:23[Music]
  1949. 3:34:28Mercer breakdown wait where is the
  1950. 3:34:41uh I mean this is really both so just
  1951. 3:34:45make sure this one gets done
  1952. 3:34:49here
  1953. 3:34:57okay it's going to be good it's going to
  1954. 3:34:59be really
  1955. 3:35:00good look forward to that that's the go
  1956. 3:35:03list up here this is where we're going
  1957. 3:35:42what else there's nothing else this is
  1958. 3:35:44it this is it I mean I have a go list
  1959. 3:35:48tomorrow
  1960. 3:35:49morning I'll be
  1961. 3:35:52here I keep going you keep going I'll
  1962. 3:35:54keep going you keep going I'll keep
  1963. 3:35:56going keep showing up put the 777 in the
  1964. 3:35:59chat you'll be here tomorrow if you'll
  1965. 3:36:02be tomorrow throw the 777 in the chat
  1966. 3:36:05I'm go check it out good morning
  1967. 3:36:08Doug how are you how are you memx says
  1968. 3:36:12are are these
  1969. 3:36:13pre-recorded um no
  1970. 3:36:16this is not this is
  1971. 3:36:21not Bliss take it easy
  1972. 3:36:25[Music]
  1973. 3:36:34777 mlex says ask what what um what
  1974. 3:36:39python packages are you using to send
  1975. 3:36:41Solana
  1976. 3:36:43transactions um
  1977. 3:36:45to be honest I had to
  1978. 3:36:48look
  1979. 3:36:57salie oh my goodness Bliss says watching
  1980. 3:37:00on the tube chatting on Twitch where's
  1981. 3:37:03the world come
  1982. 3:37:04to
  1983. 3:37:10uh SC Sharma what's up what's up I hope
  1984. 3:37:13you can hear me now
  1985. 3:37:17I think that
  1986. 3:37:22um I think I was taking a little water
  1987. 3:37:26break it's good to see everybody Z2
  1988. 3:37:28what's up what's up Wishy how are you
  1989. 3:37:37man hyper parameter tuning it's good
  1990. 3:37:42idea have I ever looked into ARB strats
  1991. 3:37:45it's a good
  1992. 3:37:47question oh man padol you're an
  1993. 3:37:50inspiration beast beast bro that's what
  1994. 3:37:53he said I appreciate it
  1995. 3:37:567777 777 to everybody out
  1996. 3:37:59there so good to see
  1997. 3:38:02everybody I think today's brainstorming
  1998. 3:38:05session was Unreal this right
  1999. 3:38:10here stop it these two things
  2000. 3:38:14here that's all that's needed it's all
  2001. 3:38:17this needed for me at least
  2002. 3:38:18so got my brain out here today
  2003. 3:38:24um and I'll be back
  2004. 3:38:28tomorrow every other
  2005. 3:38:32day this is just a start you know this
  2006. 3:38:37is a new day tomorrow
  2007. 3:38:46today we this is like idea generation
  2008. 3:38:50this is
  2009. 3:38:51researching today I was researching in
  2010. 3:38:53my
  2011. 3:38:56documents I was re researching in my old
  2012. 3:38:59thoughts researching in my old notes
  2013. 3:39:02researching in my old
  2014. 3:39:05videos but remember the process to
  2015. 3:39:07automate your trading is this
  2016. 3:39:18everybody wants to build a bot right
  2017. 3:39:19away the process of automating your
  2018. 3:39:21trading is
  2019. 3:39:22really
  2020. 3:39:24researching while it might be trading
  2021. 3:39:26strategies we went we went over a lot of
  2022. 3:39:28ideas today a lot of trading
  2023. 3:39:30ideas back test then back test those
  2024. 3:39:32ideas to see if they actually work in
  2025. 3:39:34the past if they
  2026. 3:39:36do they're not guaranteed but much more
  2027. 3:39:38likely to work in the future so
  2028. 3:39:41researching we spent a lot of time today
  2029. 3:39:43researching through my brain my ideas
  2030. 3:39:47some actually ideas from from YouTube
  2031. 3:39:50people that have made
  2032. 3:39:52comments always appreciate your ideas as
  2033. 3:39:55well your ideas plus my ideas are more
  2034. 3:39:58ideas you know so
  2035. 3:40:04research we're going to continue to do a
  2036. 3:40:06lot of back testing
  2037. 3:40:09here that we're back testing the ideas
  2038. 3:40:12that we came up with today see how it
  2039. 3:40:14all makes sense now
  2040. 3:40:18research research back test and
  2041. 3:40:21Implement so
  2042. 3:40:23today we were
  2043. 3:40:25researching we were doing Alpha
  2044. 3:40:31generation so now these ideas that we
  2045. 3:40:34we've had today that we've put
  2046. 3:40:37[Music]
  2047. 3:40:38into
  2048. 3:40:41here now these
  2049. 3:40:43ideas need to be turned into
  2050. 3:40:46strategies that can be back tested so we
  2051. 3:40:50got to back test with good data so we're
  2052. 3:40:54Alpha
  2053. 3:40:55generating researching strats RBI
  2054. 3:40:59everybody wants to jump to the eye
  2055. 3:41:01everybody wants to build a bot right
  2056. 3:41:04away the real question is have you back
  2057. 3:41:06tested it does it actually work in the
  2058. 3:41:10past because even if it worked in the
  2059. 3:41:12past it's not guaranteed to work in the
  2060. 3:41:14future so
  2061. 3:41:18I know we talked a lot about a lot of
  2062. 3:41:20topics today that might have
  2063. 3:41:25been wild
  2064. 3:41:29different I try to approach the market a
  2065. 3:41:31little bit differently but at the same
  2066. 3:41:33time it kind of seems when you look at
  2067. 3:41:35papers and stuff when you when you
  2068. 3:41:37research things it seems like a lot of
  2069. 3:41:39things have been tested so there's a
  2070. 3:41:43lot lot of ideas that have already been
  2071. 3:41:46thought through and it's kind of like
  2072. 3:41:48everything in the world it's like
  2073. 3:41:49there's no new
  2074. 3:41:50ideas but maybe maybe you'll have a new
  2075. 3:41:53idea or connection that's what it's
  2076. 3:41:55really
  2077. 3:41:56about so I'm just going to keep doing
  2078. 3:41:59the RBI system every day and I'll keep
  2079. 3:42:02showing you and if you have questions or
  2080. 3:42:05anything feel free to ask you know I'm
  2081. 3:42:07here here to answer questions
  2082. 3:42:11and I'll be here every day
  2083. 3:42:15doing either the r the b or the I the r
  2084. 3:42:18the b or the I the r the
  2085. 3:42:21b or the I but the line share is going
  2086. 3:42:26to be in the r and the
  2087. 3:42:30b r and the B
  2088. 3:42:34so I look forward to seeing
  2089. 3:42:38you when I do see you
  2090. 3:42:43again all right we're right back at it
  2091. 3:42:45and we have everything here that we're
  2092. 3:42:47following we're following our goal list
  2093. 3:42:49our goal list says let's do liquidations
  2094. 3:42:51okay and then later we might do a little
  2095. 3:42:53bit of this but I'm going to focus here
  2096. 3:42:55on our goal list the thesis is Li
  2097. 3:42:57liquidations Drive the crypto market
  2098. 3:43:00price simply between moves between licks
  2099. 3:43:03and price is least real at Big licks so
  2100. 3:43:07liquidations are when the exchange is
  2101. 3:43:09like come here boy that that cash is
  2102. 3:43:11mine now it's not yours anymore give it
  2103. 3:43:14all to me your position is closed okay
  2104. 3:43:18if you didn't actually want to close a
  2105. 3:43:20position well if that happens to a big
  2106. 3:43:21big boy well maybe that will disrupt
  2107. 3:43:24price I don't know but that's the thesis
  2108. 3:43:26and that's what I'm going with here
  2109. 3:43:28today for the rest of the day uh we're
  2110. 3:43:30going to build this out but a lot of
  2111. 3:43:31things have happened overnight so I want
  2112. 3:43:34to go ahead and dive in and check in to
  2113. 3:43:37see what's going on in the markets
  2114. 3:43:38before we dive in here and then we're
  2115. 3:43:40going to be very focused here today
  2116. 3:43:47so we're going to go over here jump into
  2117. 3:43:49the market see what's going on BTC looks
  2118. 3:43:51like it is up on the 15 minute again
  2119. 3:43:53this is where the last big liquidation
  2120. 3:43:55here was the last time we saw uh size of
  2121. 3:43:59liquidation that would trigger whatever
  2122. 3:44:01we're building here today this is the
  2123. 3:44:03last time so it looks like it was a
  2124. 3:44:06pivot point up 3%
  2125. 3:44:09so it is what it is um I want to go
  2126. 3:44:12ahead here and I'm going to make a
  2127. 3:44:15new GitHub here and this GitHub is going
  2128. 3:44:20to be on
  2129. 3:44:24mine I'm just kidding I'll share the
  2130. 3:44:26code in the uh Elite section of the the
  2131. 3:44:30boot camp whatever create new repository
  2132. 3:44:33here and this new repository is going to
  2133. 3:44:36be
  2134. 3:44:38liquidation tradeing
  2135. 3:44:41bot I haven't even had a sip of coffee
  2136. 3:44:43today
  2137. 3:44:48first that is
  2138. 3:44:52good that is so so good wow I'm coming
  2139. 3:44:55back to life now wow wow wow wow wow I
  2140. 3:44:59already got a good workout in so don't
  2141. 3:45:00worry about me bro I got that natural
  2142. 3:45:03caffeine going through me every single
  2143. 3:45:04day because I wake up and I run to the
  2144. 3:45:07gym I just go there
  2145. 3:45:09immediately just get in there boy get in
  2146. 3:45:12there main.py okay
  2147. 3:45:15so we're going to be working from here
  2148. 3:45:17this is our liquidation data let's go
  2149. 3:45:18ahead and see where our liquidation data
  2150. 3:45:21is Jupiter trading Bots okay I'm going
  2151. 3:45:23to close these hyper liquids for now
  2152. 3:45:25actually I'm going to put it on the
  2153. 3:45:32side put it on the side here and then
  2154. 3:45:34I'm going to grab those Jupiter trading
  2155. 3:45:36Bots because those Jupiter trading Bots
  2156. 3:45:38have where we're going to work from
  2157. 3:45:40remember we're just following our
  2158. 3:45:41process the process is simple it's the
  2159. 3:45:44RBI system RBI system is how I automate
  2160. 3:45:47my trading before I ever Implement a bot
  2161. 3:45:50I research the trading strategy so we
  2162. 3:45:52spent a lot of time researching going
  2163. 3:45:53over ideas from uh my note sheet and
  2164. 3:45:57resources I have in order to sell in on
  2165. 3:46:00this liquidation trade so then we're
  2166. 3:46:02going to back test it it's actually not
  2167. 3:46:04going to be back testable so I'm not
  2168. 3:46:06going to really back test this one I'm
  2169. 3:46:08going move to I but the back testing
  2170. 3:46:10part is going to be uh us setting up the
  2171. 3:46:12the infrastructure because the
  2172. 3:46:14infrastructure ructure is going to take
  2173. 3:46:15a little bit of time to set
  2174. 3:46:22up it's going to take a little bit of
  2175. 3:46:24time to set up so we're going to use the
  2176. 3:46:26back testing part that we're usually
  2177. 3:46:28spending time on back testing uh since
  2178. 3:46:30this is a tough one to back test since
  2179. 3:46:31we don't have the data the liquidation
  2180. 3:46:33data in the past then we're not going to
  2181. 3:46:35be able to really back test it yes we
  2182. 3:46:37could probably go try to buy it
  2183. 3:46:39somewhere but um I would rather have my
  2184. 3:46:41own liquidation data that I can depend
  2185. 3:46:44on so maybe we can back test later so
  2186. 3:46:46maybe I'll just set up the data sources
  2187. 3:46:47and not actually implement the bot or
  2188. 3:46:50I'll implement the bot with tiny size I
  2189. 3:46:52don't recommend doing this uh yourself
  2190. 3:46:56but I got some cash to blow on this so
  2191. 3:47:01all right so it looks like the market is
  2192. 3:47:03moving upwards okay I want to look at
  2193. 3:47:05more of the hourly the big news
  2194. 3:47:06overnight was the gme uh the the homeboy
  2195. 3:47:10roaring Kitty came back so
  2196. 3:47:12that's um it is what it is see Tesla
  2197. 3:47:17here up a little bit coinbase up a lot
  2198. 3:47:20of bit and Nvidia up a lot of
  2199. 3:47:25bit let's go ahead here and see that gme
  2200. 3:47:28how it's
  2201. 3:47:34doing holy moly up
  2202. 3:47:4075% that's wild
  2203. 3:47:46it's wild that one guy can send it like
  2204. 3:47:49that I guess he posted his positions or
  2205. 3:47:52something let's go look at it just
  2206. 3:47:54really quickly before we dive totally
  2207. 3:47:56into
  2208. 3:48:02the
  2209. 3:48:04Roaring
  2210. 3:48:09Kitty so it looks
  2211. 3:48:13like maybe didn't I don't
  2212. 3:48:16[Music]
  2213. 3:48:18know I just heard people talking about
  2214. 3:48:20roaring
  2215. 3:48:21Kitty Roar rine
  2216. 3:48:28Kitty maybe that's not him
  2217. 3:48:31actually switch
  2218. 3:48:36okay okay ended up with 100 m 80 million
  2219. 3:48:40game
  2220. 3:48:45okay so he posted it on on
  2221. 3:48:49here on the
  2222. 3:48:53uh on
  2223. 3:49:03Reddit so it looks like he has calls for
  2224. 3:49:07June
  2225. 3:49:1321st the $20
  2226. 3:49:19call okay so it's pretty deep in the
  2227. 3:49:22money we got this call right
  2228. 3:49:25here and he's got $65 Million worth
  2229. 3:49:32jeez okay well it looks like the uh the
  2230. 3:49:37stock market is turning into the meme
  2231. 3:49:39market so to me that
  2232. 3:49:42means that uh eventually they'll find
  2233. 3:49:44their way they'll find their way over
  2234. 3:49:49here they will find their way over here
  2235. 3:49:51and it is what it is let's go ahead and
  2236. 3:49:53dive into what we were doing we have a
  2237. 3:49:55system here that we're following the RBI
  2238. 3:49:57system research strategies or Alpha
  2239. 3:50:00generation techniques use Google Scholar
  2240. 3:50:03books your ideas your mind your past
  2241. 3:50:05experiences your past trades I'm using
  2242. 3:50:07past data here uh use back testing in
  2243. 3:50:10order to back test it I don't think
  2244. 3:50:12we're going to be able to do much back
  2245. 3:50:13testing today unfortunately
  2246. 3:50:18but then we can implement the
  2247. 3:50:19infrastructure today for sure just
  2248. 3:50:22because we need to be able to collect
  2249. 3:50:24all that back test data in in order to
  2250. 3:50:26back test this trading strategy let's go
  2251. 3:50:28over the strategy that I'm thinking of
  2252. 3:50:30so far so as you can see here let's go
  2253. 3:50:33ahead and maybe make a not no notion
  2254. 3:50:37notation
  2255. 3:50:46and brainstorms maybe we can make like a
  2256. 3:50:48new one I don't sorry I don't know how
  2257. 3:50:51to do this yet but
  2258. 3:50:59um strategies
  2259. 3:51:05maybe let's put a um it's called this
  2260. 3:51:08one
  2261. 3:51:09a
  2262. 3:51:12liquidation Trading
  2263. 3:51:15strategy and then let's just take a
  2264. 3:51:17screenshot of it cuz I feel like it kind
  2265. 3:51:20of gives us the gist you
  2266. 3:51:36know this on the 1 hour time frame this
  2267. 3:51:39is 1 hour time frame
  2268. 3:51:50simply
  2269. 3:51:51[Music]
  2270. 3:51:52buy
  2271. 3:51:54crypto when there are
  2272. 3:51:58over
  2273. 3:52:0012m of liquidations because I remember
  2274. 3:52:03this was about 8
  2275. 3:52:05million here and then this was another
  2276. 3:52:08like seven so it's like 15 million of
  2277. 3:52:10liquidations so if we would have had a
  2278. 3:52:13trigger of 12m we would have B literally
  2279. 3:52:15would bought like here on this
  2280. 3:52:21Wick
  2281. 3:52:24um slang for a
  2282. 3:52:273% gain and a
  2283. 3:52:3110% like super simple dude but this is a
  2284. 3:52:34unique data source right so while this
  2285. 3:52:37is a simple strategy not everybody has
  2286. 3:52:39this
  2287. 3:52:43data where could we get get this data
  2288. 3:52:45well I could just go to coin glass
  2289. 3:52:47actually let's see what happens here see
  2290. 3:52:49how much it is for the past liquidation
  2291. 3:52:51data how much can I get in the
  2292. 3:52:54past because I know I could I remade
  2293. 3:52:56this but the thing that I need
  2294. 3:53:02now it's past liquidation
  2295. 3:53:07data 79 a month not bad
  2296. 3:53:12actually 90 days is not enough to get
  2297. 3:53:15like a robust back test but it's enough
  2298. 3:53:18to get
  2299. 3:53:20a
  2300. 3:53:21[Music]
  2301. 3:53:23um a regime back test I would like 180
  2302. 3:53:27more so
  2303. 3:53:30though regardless I want to have my own
  2304. 3:53:33data because I don't want to be a slave
  2305. 3:53:34to these guys forever so it looks like
  2306. 3:53:38it's 90 or uh it's
  2307. 3:53:4295 for 90 days
  2308. 3:53:50data going to build my own data
  2309. 3:53:55stream but if I want to
  2310. 3:54:01use to buy
  2311. 3:54:03something I can get 90 days of 30
  2312. 3:54:10minute data for 79
  2313. 3:54:16a month
  2314. 3:54:18here or I can
  2315. 3:54:21get 379
  2316. 3:54:25for I guess I could get the 1 hour for
  2317. 3:54:28180 but I I would want more than 1
  2318. 3:54:31hour um I think I want 30
  2319. 3:54:34minutes at Le at the minimum so so 15
  2320. 3:54:38minute
  2321. 3:54:4190day I'd really want 15 minute for 365
  2322. 3:54:46days so I really need this package
  2323. 3:54:49here see what the upgrade now looks
  2324. 3:54:55[Music]
  2325. 3:55:04like got to create an account it's not
  2326. 3:55:08too hard I'm just wondering if it's uh
  2327. 3:55:12instant because one thing I could do is
  2328. 3:55:15I could
  2329. 3:55:21just
  2330. 3:55:23um sign up and back test this see if the
  2331. 3:55:25strategy actually
  2332. 3:55:26works you know opposed to building our
  2333. 3:55:29own data source but I have the data
  2334. 3:55:30source is the thing I just need to learn
  2335. 3:55:32how to store it and I can learn that
  2336. 3:55:33here today 299 or 299 or 299 for
  2337. 3:55:40more still not all that I want
  2338. 3:55:45really so I'm going
  2339. 3:55:48[Music]
  2340. 3:55:50to do it
  2341. 3:55:53myself okay this is strategies
  2342. 3:55:55liquidation trading
  2343. 3:56:00strategies Okay
  2344. 3:56:12so bance
  2345. 3:56:15I'm going to the docks here market end
  2346. 3:56:18points
  2347. 3:56:19here because we do have liquidation data
  2348. 3:56:23here so it was a websocket API but I'm
  2349. 3:56:27wondering if they have the uh
  2350. 3:56:30liquidation data
  2351. 3:56:32for boy it's hot AF F in here I love it
  2352. 3:56:36I would way rather be hot every time i'
  2353. 3:56:38would way always rather be hot always
  2354. 3:56:40rather be hot it's hot it's hot that a
  2355. 3:56:42mofo up in here right now it's hot box
  2356. 3:56:44up in here dog it's so
  2357. 3:56:47hot but um I'd always rather be hot than
  2358. 3:56:50cold like too hot is always better than
  2359. 3:56:52two cold it's
  2360. 3:56:55SB so I don't see anything about
  2361. 3:56:57liquidations here do you
  2362. 3:57:01lick I see the liquidation order streams
  2363. 3:57:05yes liquidation order snapshot push
  2364. 3:57:07Force
  2365. 3:57:13liquidation so we got the liquidation
  2366. 3:57:15order streams that's
  2367. 3:57:23awesome and that's what we're using
  2368. 3:57:25right now
  2369. 3:57:50okay so that's what we're using right
  2370. 3:57:51now but I want to go ahead and say
  2371. 3:57:54um
  2372. 3:57:56crypto liquidation data
  2373. 3:58:36I Amber
  2374. 3:58:38data it's fine
  2375. 3:58:52okay well I think the liquidation data
  2376. 3:58:54we're just going to build it ourselves
  2377. 3:58:56fine I mean that's what we're here for
  2378. 3:58:59right so I'm going to go ahead and build
  2379. 3:59:01that out here in um just a
  2380. 3:59:13few e
  2381. 3:59:51so the first thing I want to do is I
  2382. 3:59:54need to explain the problem that chat
  2383. 3:59:55GPT okay cuz we do have the liquidation
  2384. 3:59:58dat right here no problem no problem B
  2385. 4:00:03but there is a problem dog so it's great
  2386. 4:00:07that we got it because that's the
  2387. 4:00:10hardest
  2388. 4:00:12part I just don't don't know how to deal
  2389. 4:00:15with the breakage so I haven't looked
  2390. 4:00:19into it yet so it's no worries
  2391. 4:00:23because we'll figure it out together
  2392. 4:00:25here just in a variable amount of time
  2393. 4:00:29maybe it's going to be ,000 hours maybe
  2394. 4:00:31it's going to be 2 minutes I don't
  2395. 4:00:33know liquidation data here licks here
  2396. 4:00:37which one are we
  2397. 4:00:39using I'm using licks okay so here I
  2398. 4:00:43have all the code for
  2399. 4:00:48licks I've got some code above and it's
  2400. 4:00:53to store liquidation data please update
  2401. 4:00:58the code so that
  2402. 4:01:05it not
  2403. 4:01:07only
  2404. 4:01:09stores the data
  2405. 4:01:15but if the data
  2406. 4:01:21stream where are we storing the data is
  2407. 4:01:24the question are we storing the
  2408. 4:01:29data I don't even think we're storing it
  2409. 4:01:44yeah we're not even storing this
  2410. 4:01:54B I'm going to put this on a server
  2411. 4:01:57though
  2412. 4:02:02so say uh data
  2413. 4:02:05here
  2414. 4:02:10lick CSV copy path
  2415. 4:02:19have it store the liquidation
  2416. 4:02:23liquidation data
  2417. 4:02:26here but put that put that file path at
  2418. 4:02:33the top as a variable as I will be
  2419. 4:02:39moving this to a server once robust
  2420. 4:02:45bu the
  2421. 4:02:48problem is
  2422. 4:02:51that here let's uh copy path I want to
  2423. 4:02:54copy the full
  2424. 4:02:55path we have a problem here and the
  2425. 4:02:58problem is going to be fixed by the end
  2426. 4:03:00of this the problem is
  2427. 4:03:03that the web
  2428. 4:03:06socket breaks
  2429. 4:03:09every 4
  2430. 4:03:12hours or so
  2431. 4:03:16randomly and I don't know
  2432. 4:03:21why
  2433. 4:03:22please
  2434. 4:03:24introduce a solution that
  2435. 4:03:28will make sure that it
  2436. 4:03:32reboots and works and
  2437. 4:03:36continues continues to save the
  2438. 4:03:42liquidation data to
  2439. 4:03:45the uh CSV when it
  2440. 4:03:49breaks for
  2441. 4:03:52debugging put in a variable up top
  2442. 4:03:58saying debug equals true and when it's
  2443. 4:04:04true have
  2444. 4:04:07the uh the web socket break every 30 30
  2445. 4:04:14seconds and
  2446. 4:04:16reconnect so we can make sure that
  2447. 4:04:21our logic works for when I set this live
  2448. 4:04:28on a server and never look at
  2449. 4:04:33it the end goal is to make something
  2450. 4:04:40that can run 24/7 for years on end and
  2451. 4:04:47when the web
  2452. 4:04:49socket goes
  2453. 4:04:52down
  2454. 4:04:55it finds a way to relaunch
  2455. 4:05:01itself
  2456. 4:05:05and keep running and saving to the
  2457. 4:05:10file the CSV is what we need to
  2458. 4:05:18keep adding new lick data to I think
  2459. 4:05:23that's good enough you know my problem
  2460. 4:05:25we both know my problem
  2461. 4:05:28now we all know the problem now dude we
  2462. 4:05:30all do it we all know it we all know it
  2463. 4:05:33we all got it you can see the
  2464. 4:05:34liquidation data here okay
  2465. 4:05:38great debug is true set to false for
  2466. 4:05:41production okay file name yes yes great
  2467. 4:05:44file name great okay this is the
  2468. 4:05:47liquidation code here you have all of
  2469. 4:05:49this code I believe code's a great
  2470. 4:05:50equalizer I believe in you dude I
  2471. 4:05:53believe you can do anything you want to
  2472. 4:05:54do in this world as long as you leave
  2473. 4:05:56with love and you throw the 777s in the
  2474. 4:05:59chat whenever you see me live dude I
  2475. 4:06:01will keep coming every single day I will
  2476. 4:06:03keep showing up and doing everything I
  2477. 4:06:06can in order to get to my goals so if
  2478. 4:06:08you're an algorithmic Trader or you want
  2479. 4:06:10to be an algorithmic Trader keep showing
  2480. 4:06:12up as well put in the work be
  2481. 4:06:17777 let's paste this bad boy in and see
  2482. 4:06:21what we can do yes just like a noob I
  2483. 4:06:24went ahead and I posted it in the CSV
  2484. 4:06:26file nice okay term color ain't got it
  2485. 4:06:30why cuz we got to flip on over to the
  2486. 4:06:34mini Forge T flow boom boom boom let's
  2487. 4:06:37go ahead and say run it dog
  2488. 4:06:54it's running right
  2489. 4:06:56now we just need some
  2490. 4:07:05liquidations honestly I should probably
  2491. 4:07:07just run it over in the licks
  2492. 4:07:11file and then I'll make this miss the
  2493. 4:07:13final
  2494. 4:07:25file well let's just let's whatever it
  2495. 4:07:28doesn't it doesn't matter I can just run
  2496. 4:07:29it from here for
  2497. 4:07:32now just run it for here from now for
  2498. 4:07:35now for now for now run it from here you
  2499. 4:07:38can see it has the debugging simulated
  2500. 4:07:40break here reconnecting air simulate
  2501. 4:07:51break I need some liquidations to come
  2502. 4:07:54through so somebody go get licked please
  2503. 4:07:56no I'm just kidding nobody go trade by
  2504. 4:07:58hand please please please please you can
  2505. 4:08:01see here this giveaway tool that I made
  2506. 4:08:05here I really had some people being like
  2507. 4:08:08oh this isn't random yada yada like okay
  2508. 4:08:10well sorry I did my best
  2509. 4:08:14save you can see the names over here we
  2510. 4:08:16picked
  2511. 4:08:17from all right let's go ahead here and
  2512. 4:08:20let's wait for some liquidations let's
  2513. 4:08:22go ahead and see these charts here to
  2514. 4:08:23see if there's some liquidations going
  2515. 4:08:25to come through at any
  2516. 4:08:26time I don't care if they're long or
  2517. 4:08:29short
  2518. 4:08:35liquidations let's go ahead and read
  2519. 4:08:37what chap gbd said handly
  2520. 4:08:40reconnect every 30 seconds okay so it's
  2521. 4:08:43doing the breaking this updated code
  2522. 4:08:44will ensure the websocket connection
  2523. 4:08:46automatically reconnects if it breaks
  2524. 4:08:48and the debug mode will simulate breaks
  2525. 4:08:50every 30 seconds to test the
  2526. 4:08:52reconnection
  2527. 4:08:54logic how do we how does the above code
  2528. 4:09:01do the rec connection to make sure it
  2529. 4:09:06actually
  2530. 4:09:12works this one's a tough one to okay
  2531. 4:09:14there we go we got uh liquidation
  2532. 4:09:29here another
  2533. 4:09:36liquidation I've got two running here
  2534. 4:09:54I've got the old version of the code on
  2535. 4:09:59the right and the new version on the
  2536. 4:10:04left as you can
  2537. 4:10:07see some new
  2538. 4:10:10liquidations came through but they did
  2539. 4:10:15not show on the left meaning the way you
  2540. 4:10:22set
  2541. 4:10:23up the break and
  2542. 4:10:27reconnect didn't
  2543. 4:10:40work allowing the logic to run in debug
  2544. 4:10:42mode it will me like this ensures the
  2545. 4:10:44code will continuously attempt to
  2546. 4:10:46reconnect if the web socket breaks so
  2547. 4:10:48this is the tricky part
  2548. 4:10:51here I've been watching this data for so
  2549. 4:10:53long though it's been building my
  2550. 4:10:55confidence in this strategy I don't know
  2551. 4:10:57if it's going to work dude I'm not your
  2552. 4:10:59Guru
  2553. 4:11:01but I'm trying it out
  2554. 4:11:07so by the way I teach all of this in the
  2555. 4:11:09boot camp the boot camp shows you step
  2556. 4:11:11by step how to automate your trading
  2557. 4:11:12here the boot campus here um this is
  2558. 4:11:15what everybody has to say about it
  2559. 4:11:16essentially I showed you step by step
  2560. 4:11:18how to automate your trading from
  2561. 4:11:19scratch just in case this is a lot for
  2562. 4:11:21you right now I was in your shoes one
  2563. 4:11:23time I did not go to school for this I
  2564. 4:11:25learned it all on my own it was much
  2565. 4:11:26harder for me than it is going to be for
  2566. 4:11:28you because I have me here to hold your
  2567. 4:11:31hand through the process here in short
  2568. 4:11:33concise videos unlike these long videos
  2569. 4:11:36where I work I'm just working here
  2570. 4:11:37showing you what I'm building you can
  2571. 4:11:39see what everybody has to say about the
  2572. 4:11:40boot camp uh jump in it's % money back
  2573. 4:11:44guarantee always so you know you can
  2574. 4:11:46just jump in and hey if you don't love
  2575. 4:11:47it then just get your money back
  2576. 4:11:49immediately and no questions asked ever
  2577. 4:11:51so feel free to jump into the boot camp
  2578. 4:11:54I show you step by step how to automate
  2579. 4:11:55your trading and if you're really really
  2580. 4:11:59really about it you can check out my
  2581. 4:12:00notion because there's a uh weekly thing
  2582. 4:12:04that we do for anybody that clicks here
  2583. 4:12:07click here read about it we do a weekly
  2584. 4:12:09little thing on Fridays but that's only
  2585. 4:12:11for the the only for the most committed
  2586. 4:12:14so I'm not even going to talk about it
  2587. 4:12:15you can find it if you'd
  2588. 4:12:17like let's go ahead here and see what
  2589. 4:12:19they have to say the I see that the
  2590. 4:12:22reconnection logic might need adjustment
  2591. 4:12:24to ensure the code reconnects and
  2592. 4:12:26processes new liquidations let's handle
  2593. 4:12:28the reconnection logic and add more
  2594. 4:12:30detail debugging information to
  2595. 4:12:32understand what might be going wrong
  2596. 4:12:33here's the updated
  2597. 4:12:39code all right we're in there connection
  2598. 4:12:42to to that sorry I want to make this
  2599. 4:12:46cleaner because I always end up copying
  2600. 4:12:48all the code I'm a lazy
  2601. 4:12:50mofo I'm a lazy mofo but I'll put in the
  2602. 4:12:53work I'll put in the work every single
  2603. 4:12:54day don't worry
  2604. 4:12:55dude now while we watch this go through
  2605. 4:12:58I want to do something else here I'm
  2606. 4:13:00going pull luxie in because lux's going
  2607. 4:13:02to go help us do something totally
  2608. 4:13:05different while uh we wait here because
  2609. 4:13:08I want to make sure to get the most
  2610. 4:13:10impact out of this as possible so
  2611. 4:13:13uh I'm studying a book right now and
  2612. 4:13:20um yeah so I'm going to I'm going study
  2613. 4:13:22a little bit
  2614. 4:13:44well you know
  2615. 4:13:46what I'm just going to go ahead and open
  2616. 4:13:49up a new tab
  2617. 4:13:56here so detail debugging information
  2618. 4:13:59added print statement so now it's
  2619. 4:14:00printing which is good you can see if we
  2620. 4:14:03get uh liquidation here that means we
  2621. 4:14:05need to we need to
  2622. 4:14:10uh um
  2623. 4:14:14we need
  2624. 4:14:15to
  2625. 4:14:16essentially see one over here that's
  2626. 4:14:19what I'm waiting for so this just going
  2627. 4:14:20to take a little bit minute so while I'm
  2628. 4:14:23doing that I'm going to go over some
  2629. 4:14:24studying because that's uh it's my time
  2630. 4:14:27in the morning and I don't want to waste
  2631. 4:14:29it I don't want to waste a single second
  2632. 4:14:32here dude if you have any questions or
  2633. 4:14:34anything please do post them in the
  2634. 4:14:35twitch chat uh I'm going to go ahead and
  2635. 4:14:38start with the chapter 1 through 4 here
  2636. 4:14:40of this new book I'm reading here and
  2637. 4:14:43and we'll just start with chapter 1 I
  2638. 4:14:44want to see everything in it first and
  2639. 4:14:47then I'm going to read it um I'm kind of
  2640. 4:14:49skimming through it right now um trying
  2641. 4:14:51this new approach to taking on uh
  2642. 4:14:53textbooks that I learned the other day
  2643. 4:14:54it's pretty
  2644. 4:14:56awesome oh you can see a liquidation
  2645. 4:14:58just came through and there was no
  2646. 4:14:59liquidation
  2647. 4:15:03here okay in yellow you can see a
  2648. 4:15:05liquidation came through here so let me
  2649. 4:15:07go ahead and make
  2650. 4:15:08sure let's let's give it a couple more
  2651. 4:15:11because that maybe it was on the
  2652. 4:15:12reconnection
  2653. 4:15:17debugged reconnecting
  2654. 4:15:21okay so I'm going to say uh explain to
  2655. 4:15:25me like I'm 12 the following
  2656. 4:15:30subjects
  2657. 4:15:35subjects
  2658. 4:15:38basan basian thinking and every
  2659. 4:15:43day
  2660. 4:15:59reasoning B
  2661. 4:16:03basian
  2662. 4:16:05um
  2663. 4:16:08statistics I'm going put that up
  2664. 4:16:11here so I'm looking at the table
  2665. 4:16:13contents of this book and this book just
  2666. 4:16:15to give him a shout out is basian
  2667. 4:16:17statistics the fun
  2668. 4:16:27one intro uh probability
  2669. 4:16:32probability for trading
  2670. 4:17:01say
  2671. 4:17:02uh
  2672. 4:17:04measuring
  2673. 4:17:06uncertainty certainty
  2674. 4:17:16what is
  2675. 4:17:22probability I mean I think we know what
  2676. 4:17:24that is but I I'm trying this new type
  2677. 4:17:26of learning here for going through a
  2678. 4:17:28book and just understanding the table
  2679. 4:17:30contents first before really reading the
  2680. 4:17:35words
  2681. 4:17:37calculating
  2682. 4:17:39probabilities by
  2683. 4:17:46for
  2684. 4:17:49trading and then we'll do the exercises
  2685. 4:17:52after I want to see a couple more
  2686. 4:17:54liquidations come through I don't see
  2687. 4:17:56any on the CSV so we'll go back to chat
  2688. 4:17:59GPT here in a second and see what they
  2689. 4:18:01have to say but um while I wait for oh
  2690. 4:18:04there's another liquidation that came
  2691. 4:18:05through and it did not show it so let's
  2692. 4:18:07go ahead here and say let's say this
  2693. 4:18:17okay um how should I format
  2694. 4:18:21this let's let's close the CSV maybe it
  2695. 4:18:24did put it in there no okay
  2696. 4:18:33so okay you can
  2697. 4:18:37see
  2698. 4:18:39again there are new
  2699. 4:18:44liquidations you can see them in green
  2700. 4:18:49on the original code and then on the
  2701. 4:18:55left
  2702. 4:18:57side the code you sent me seems to not
  2703. 4:19:04reconnect
  2704. 4:19:07correctly it's not
  2705. 4:19:09printing printing any
  2706. 4:19:16liquidations and it's not saving any of
  2707. 4:19:20the
  2708. 4:19:21liquidations into the
  2709. 4:19:24CSV
  2710. 4:19:35either okay so let's let her figure that
  2711. 4:19:38out and then while that happens I'm
  2712. 4:19:40going to start reading through this so
  2713. 4:19:42basian statistics imagine you have a jar
  2714. 4:19:44of jelly brein and you want to know how
  2715. 4:19:47many of each color there are but you
  2716. 4:19:51can't look inside basian Statistics
  2717. 4:19:54helps you guess the number of each color
  2718. 4:19:57by using two things what you already
  2719. 4:19:59know like someone telling me telling you
  2720. 4:20:02there are more red jelly beans than blue
  2721. 4:20:06and new information like pulling out a
  2722. 4:20:08few jelly beans and seeing their colors
  2723. 4:20:11as you get more information you update
  2724. 4:20:13your guess probability for trading think
  2725. 4:20:15of trading like a game where you want to
  2726. 4:20:18guess whether the price of a stock or a
  2727. 4:20:21cryptocurrency will go up or down
  2728. 4:20:23probability helps you make those guesses
  2729. 4:20:25it's like saying if it looks like it
  2730. 4:20:27will range 70% of the time when the sky
  2731. 4:20:30is cloudy there's a 70% chance the price
  2732. 4:20:33will go up with certain pattern when
  2733. 4:20:36certain patterns appear this helps you
  2734. 4:20:38make smarter decisions when buying or
  2735. 4:20:39selling basian thinking and everyday
  2736. 4:20:42reason basan thinking is like updating
  2737. 4:20:45your guesses based on new information
  2738. 4:20:48for example if you think it's going to
  2739. 4:20:50be sunny today then you see dark clouds
  2740. 4:20:53you change your mind and bring an
  2741. 4:20:55umbrella this kind of thinking helps you
  2742. 4:20:57make better decisions in Daily Life by
  2743. 4:21:00always considering new evidence
  2744. 4:21:01measuring uncertainty imagine you're
  2745. 4:21:03guessing the number of jelly candies in
  2746. 4:21:05a jar if you have no idea at all you're
  2747. 4:21:09very uncertain if someone tells you
  2748. 4:21:11there are between 20 in 30 candies your
  2749. 4:21:14uncertainty
  2750. 4:21:15decreases measuring
  2751. 4:21:17uncertainty means figuring out how
  2752. 4:21:20unsure you are about something in
  2753. 4:21:22trading this helps you know how
  2754. 4:21:24confident to be in your decisions what
  2755. 4:21:27is probability probability is a way of
  2756. 4:21:29measuring How likely something is to
  2757. 4:21:32happen for example if you flip a coin
  2758. 4:21:34there's a chance there's a 50% chance it
  2759. 4:21:37will land on heads and a 50% chance it
  2760. 4:21:39will land on Tails it's like saying how
  2761. 4:21:41often do does this usually
  2762. 4:21:45happen calculating probabilities for
  2763. 4:21:47trading to calculate probabilities for
  2764. 4:21:48trading you look at past data and
  2765. 4:21:50patterns for example if a stock goes up
  2766. 4:21:53after a certain event 70% of the time
  2767. 4:21:56you might say there's a 70% chance it
  2768. 4:21:58will go up again next time that event
  2769. 4:22:03happens you use these probabilities to
  2770. 4:22:06decide when to buy or sell or make the
  2771. 4:22:08best trades nice dude nice thank you
  2772. 4:22:12appreciate that
  2773. 4:22:13that let's go ahead and copy all of
  2774. 4:22:16this and I'm going to make another thing
  2775. 4:22:20here and this is going to be
  2776. 4:22:27called oh this is dope I can make this a
  2777. 4:22:31uh turn it into a my favorite thing my
  2778. 4:22:36favorite
  2779. 4:22:38thing perfect
  2780. 4:22:42That's So Dope I'm telling you this is
  2781. 4:22:45the killer feature behind notion so far
  2782. 4:22:48it's the drop down just being able to
  2783. 4:22:51take your notes and drop them down pop
  2784. 4:22:52them up is incredible incredible I mean
  2785. 4:22:56we built all this here together in
  2786. 4:22:59this together so in the brainstorm
  2787. 4:23:02section this is our essentially
  2788. 4:23:04brainstorm list and look at that I can
  2789. 4:23:07just go list boom liquidations this is
  2790. 4:23:09what we're working on right now we have
  2791. 4:23:10so much structure now this is amazing
  2792. 4:23:12all you have to do is show up and hit
  2793. 4:23:15777b let's go ahead and make one more
  2794. 4:23:17note sheet here um this is going to be
  2795. 4:23:20called um it's going to be called notes
  2796. 4:23:22here no no it's not it's going to be
  2797. 4:23:24called books freaking idiot you freaking
  2798. 4:23:28idiot 777 basian statistics the fun
  2799. 4:23:36way
  2800. 4:23:38basian how you spell that I don't even
  2801. 4:23:40know how to spell I barely know how to
  2802. 4:23:41say it
  2803. 4:23:48so you know go go read this book I mean
  2804. 4:23:51I'm not going to be able to give it all
  2805. 4:23:52to you here obviously I'm going to read
  2806. 4:23:54it myself I'm just getting it getting it
  2807. 4:23:57queued up here to
  2808. 4:24:05uh chapters
  2809. 4:24:08chapters
  2810. 4:24:10one and two
  2811. 4:24:14okay we're going to say turn into and uh
  2812. 4:24:17let's make it a column
  2813. 4:24:26three chapters one through
  2814. 4:24:30or whatever I don't know I don't know
  2815. 4:24:32what this is going to be yet
  2816. 4:24:34but all I do know
  2817. 4:24:39is better get up in there
  2818. 4:24:43paste it in
  2819. 4:24:49perfect chapters 1 through two
  2820. 4:24:53okay let's see what G had to say about
  2821. 4:24:57this so it seems that the reconnection
  2822. 4:25:00logic isn't correctly reestablishing the
  2823. 4:25:02connection or resuming the message
  2824. 4:25:04processing let's try to address this by
  2825. 4:25:06ensuring the connection is correctly
  2826. 4:25:08reestablished handling messages properly
  2827. 4:25:11okay let's go here and and um paste it
  2828. 4:25:14in I'm just going to let GG run the show
  2829. 4:25:16over here today because I got things to
  2830. 4:25:18study
  2831. 4:25:20and yeah so this is way better than just
  2832. 4:25:24waiting for it so I want to read what it
  2833. 4:25:26did at least so Pro process message
  2834. 4:25:29function so here in the process message
  2835. 4:25:34function it extracted the message
  2836. 4:25:36processing logic into a separate
  2837. 4:25:38function process manage
  2838. 4:25:40message to keep the connection handling
  2839. 4:25:42clean connection print statements added
  2840. 4:25:44a print statement when a connection is
  2841. 4:25:46successfully established to track
  2842. 4:25:48reconnections exception handling within
  2843. 4:25:50the inner loop the exceptions in the
  2844. 4:25:52Inner Loop trigger a break to the outer
  2845. 4:25:56loop to ensure reconnection okay let's
  2846. 4:25:58go ahead you can see it's trying to
  2847. 4:26:00reconnect let's go back to the book here
  2848. 4:26:03and um wait for a liquidation to come
  2849. 4:26:05through we haven't seen one yet it's
  2850. 4:26:08currently the minute 14 so if we see
  2851. 4:26:10anything down here over minute 14 and we
  2852. 4:26:12don't see it here that means that it
  2853. 4:26:14doesn't work and we'll just get back to
  2854. 4:26:16it so boom we just had a new one here
  2855. 4:26:17and it didn't show
  2856. 4:26:22it I'm going to give it one more try
  2857. 4:26:24here because you know maybe it was
  2858. 4:26:25reconnecting or something N I don't
  2859. 4:26:28think so though I'll give it just half a
  2860. 4:26:31second though reconnecting okay I'm just
  2861. 4:26:34going to give it one more try
  2862. 4:26:37because I'm just going to give it a try
  2863. 4:26:39I'm just going to let it have a try
  2864. 4:26:41you're going to have one little try try
  2865. 4:26:50buddy okay um below I'm going to say
  2866. 4:26:55below below I'm going to put a
  2867. 4:26:59couple
  2868. 4:27:03exercises see you know what I'm going to
  2869. 4:27:07do you better get up out of here boy I
  2870. 4:27:10got a little bug on my
  2871. 4:27:36face so good to be back on the island I
  2872. 4:27:40swear I swear I would I will happily
  2873. 4:27:42have a bug on my face I will happily
  2874. 4:27:45have a bug on my
  2875. 4:27:46face just so nice being warm
  2876. 4:27:55again so I'm putting in the exercises
  2877. 4:27:57from the book
  2878. 4:28:01here
  2879. 4:28:05exercises from the
  2880. 4:28:10book I'm reading needing to learn more
  2881. 4:28:15about basian
  2882. 4:28:19basan please walk me through the
  2883. 4:28:25exercises so I understand them okay I'm
  2884. 4:28:31waiting for one more liquidation to come
  2885. 4:28:32through here and then it's going to go
  2886. 4:28:34ahead and tell me
  2887. 4:28:35essentially oh my goodness I don't want
  2888. 4:28:38to do p well I guess it's going to need
  2889. 4:28:41to whatever we'll see see if I can
  2890. 4:28:42figure it
  2891. 4:28:44out it's cuz I put a hi or whatever that
  2892. 4:28:47is the Apple weird
  2893. 4:29:11thing
  2894. 4:29:41e e
  2895. 4:30:28all right so mad Lick's coming through
  2896. 4:30:30it doesn't look like it's working uh
  2897. 4:30:31this also didn't work so I'm going to go
  2898. 4:30:33ahead and do One Thing by
  2899. 4:30:36One this is crazy dude I'm sorry that
  2900. 4:30:38I'm going back and forth like this but
  2901. 4:30:42it is what it is you know you're gonna
  2902. 4:30:44have to keep up and if you can't keep up
  2903. 4:30:46dude then you're just behind and I need
  2904. 4:30:49to get you up to speed as fast as
  2905. 4:30:50possible so I can do that in the boot
  2906. 4:30:53camp but here in the dayto day I'm sorry
  2907. 4:30:56we're we're going to 180 mph and we're
  2908. 4:30:58going to do two topics at once because
  2909. 4:31:01gii it's AI takes a long time sometimes
  2910. 4:31:04to Output things here are the pictures
  2911. 4:31:07here are the pics again okay she takes
  2912. 4:31:11too long some times so um you can see
  2913. 4:31:13this is not working still so I want to
  2914. 4:31:16go ahead here and say try a different
  2915. 4:31:21approach
  2916. 4:31:22try a different
  2917. 4:31:26approach because they are still not
  2918. 4:31:31reconnecting well you can see the right
  2919. 4:31:36side
  2920. 4:31:38which is the original code is
  2921. 4:31:44outputting the uh
  2922. 4:31:47licks but our code that I attached below
  2923. 4:31:53is not correctly doing it nor is it
  2924. 4:32:00saving to the
  2925. 4:32:02CSV okay so I'm going to put all that
  2926. 4:32:04code in here so this is the liquidation
  2927. 4:32:06data this what we're working on but
  2928. 4:32:08we're also studying here um this
  2929. 4:32:13so here's a couple of examples great
  2930. 4:32:15let's go through the examples here
  2931. 4:32:16exercise one rewrite the following
  2932. 4:32:18statements as equations using
  2933. 4:32:19mathematical notation you learned in
  2934. 4:32:21this chapter so the probability of rain
  2935. 4:32:24is low the probability of rain given
  2936. 4:32:28that is cloudy is high the probability
  2937. 4:32:31of having an
  2938. 4:32:32umbrella given it is raining is much
  2939. 4:32:35greater than the probability of you
  2940. 4:32:37having an umbrella in
  2941. 4:32:40general yes
  2942. 4:32:43okay that makes
  2943. 4:32:44sense what are you doing over
  2944. 4:32:48here Solutions the probability of rain
  2945. 4:32:52is low so this can be WR written as P of
  2946. 4:32:55rain is
  2947. 4:33:00low mathematically P of rain is under
  2948. 4:33:04zero indicating a small
  2949. 4:33:06probability the probability of rain
  2950. 4:33:09given that it is cloudy is high so it
  2951. 4:33:12can be p rain given cloudy is high
  2952. 4:33:16mathematically it' be p rain cloudy
  2953. 4:33:19indicating a high probability so this
  2954. 4:33:22means low probability and this means
  2955. 4:33:23High I guess the probability of you
  2956. 4:33:25having an umbrella given it is raining
  2957. 4:33:27is much greater than the probability of
  2958. 4:33:30having an umbrella in general this can
  2959. 4:33:31be written as P of raining is p and
  2960. 4:33:35umbrella okay so this must be an and
  2961. 4:33:37okay so exercise two organize the data
  2962. 4:33:41you observe in the following scenario
  2963. 4:33:43into a mathematical notation using the
  2964. 4:33:46techniques we've covered in this chapter
  2965. 4:33:47then come up with a hypothesis to
  2966. 4:33:49explain this
  2967. 4:33:52data come on shorty you got
  2968. 4:33:58this so we're trying to get this
  2969. 4:34:00liquidation data here let's enhance the
  2970. 4:34:02recognition Okay good
  2971. 4:34:04job scenario you come home from from
  2972. 4:34:08work and notice that your front door is
  2973. 4:34:09open and the side window is broken as
  2974. 4:34:13you walk inside you immediately notice
  2975. 4:34:14that your laptop is missing so D1 is the
  2976. 4:34:17front door is open D2 the side window is
  2977. 4:34:19broken and D3 the laptop is missing
  2978. 4:34:22hypothesis of burglar burglary occurred
  2979. 4:34:25in basian terms we would we would want
  2980. 4:34:27to find the probability of the
  2981. 4:34:29hypothesis given the data so P
  2982. 4:34:32probability of P of the hypothesis given
  2983. 4:34:35this data okay that makes
  2984. 4:34:37sense so get the P the probability is p
  2985. 4:34:41and then hypothesis the H that this
  2986. 4:34:43happened and then this is all the data
  2987. 4:34:45that we can give it that makes sense to
  2988. 4:34:47me cool cool and I haven't even read the
  2989. 4:34:50book yet so I'm going to read the book
  2990. 4:34:52after I I try I'm just trying a new
  2991. 4:34:53approach of learning of going through
  2992. 4:34:56and seeing like it's pretty much getting
  2993. 4:34:58a summary right like get a summary of
  2994. 4:35:00the book before you read the book and
  2995. 4:35:02now you're going to understand the book
  2996. 4:35:03better that's that's kind of what I
  2997. 4:35:05learned the other day and it's like such
  2998. 4:35:06a silly thing such a simple thing but
  2999. 4:35:09you know I'm not very good at school so
  3000. 4:35:13I usually just brute force it like I did
  3001. 4:35:15with learning how to code I just do it a
  3002. 4:35:17lot I just go hard and just go go go but
  3003. 4:35:19I think there's other ways to consume
  3004. 4:35:21information so I'm trying this trying it
  3005. 4:35:25be and we're going to do it here back
  3006. 4:35:26and forth while GG is going because she
  3007. 4:35:29takes a while sometimes let's go ahead
  3008. 4:35:30and run this and see if it matches up
  3009. 4:35:33here connected okay that sounds good
  3010. 4:35:35what did it change uh connected close
  3011. 4:35:37exception using Connection close
  3012. 4:35:39exception for simulating and handling
  3013. 4:35:41and websocket closures retry Loop while
  3014. 4:35:44loop okay simplified handling okay let's
  3015. 4:35:47go back to this here we're going to look
  3016. 4:35:48at exercise three the following scenario
  3017. 4:35:50adds data to the previous one
  3018. 4:35:52demonstrate how this new information
  3019. 4:35:54changes your beliefs and come up with a
  3020. 4:35:56second hypothesis to explain the data
  3021. 4:35:58using the notation you've learned in
  3022. 4:36:00this chapter scenario a Neighborhood
  3023. 4:36:03Child runs up to you and apologizes
  3024. 4:36:05profusely for accidentally throwing a
  3025. 4:36:07rock through your window they claim that
  3026. 4:36:10they saw the lapt to and didn't want it
  3027. 4:36:12stolen so they open the door to grab it
  3028. 4:36:15and your laptop is safe at their house
  3029. 4:36:18that's
  3030. 4:36:24funny liquidations just came through I
  3031. 4:36:28think
  3032. 4:36:30so no lick data dang B this one's a
  3033. 4:36:33tough one
  3034. 4:36:41I'm going to wait for a couple more oh
  3035. 4:36:43another one just came through okay so
  3036. 4:36:44it's not
  3037. 4:36:46saving it's still not
  3038. 4:37:04saving after
  3039. 4:37:07reconnection I need to get just get
  3040. 4:37:09better like how do you reconnect to a to
  3041. 4:37:13a web soet okay so D4 a child confesses
  3042. 4:37:17to Breaking the window new data so D5
  3043. 4:37:20child claims the laptop is safe at their
  3044. 4:37:23house revise revised hypothesis a
  3045. 4:37:26burglary occurred or a child story is
  3046. 4:37:28true so now in beian terms we want to
  3047. 4:37:31update the probability of our hypothesis
  3048. 4:37:33given the new data so P one and then now
  3049. 4:37:36we have five new datas and P2 H2
  3050. 4:37:39hypothesis 2 now we have five new data
  3051. 4:37:42we can compare the probabilities of both
  3052. 4:37:44hypothesis given all the data to decide
  3053. 4:37:47which is more likely
  3054. 4:37:52interesting I wonder if I can just put
  3055. 4:37:54this in there how it looks at
  3056. 4:38:00least it looks pretty good actually
  3057. 4:38:16chapter one
  3058. 4:38:22excises I don't know how so exercises
  3059. 4:38:29clearly it's literally right here
  3060. 4:38:51okay so this is a new try here and let's
  3061. 4:38:54see what's going on let's refine the
  3062. 4:38:55reconnection further to ensure it
  3063. 4:38:57properly handles disconnections okay
  3064. 4:38:59ensure clean codes okay paste it okay
  3065. 4:39:03let's run it let's wait for some
  3066. 4:39:05liquidations someone go lick go get
  3067. 4:39:07licked no just kidding kidding bad joke
  3068. 4:39:09bad joke I'm not going to keep saying
  3069. 4:39:10that the bad joke
  3070. 4:39:12dog so I want to go ahead and do chapter
  3071. 4:39:152 exercises
  3072. 4:39:19now just so we have seen
  3073. 4:39:22everything and let's keep an eye on this
  3074. 4:39:24it says 8:25 it's 8:27 now so if we see
  3075. 4:39:27an 827 not on both sides then then you
  3076. 4:39:30know the code doesn't work if it does
  3077. 4:39:32work we'll see a
  3078. 4:39:33827 uh or we'll see something after 827
  3079. 4:39:37on both sides here
  3080. 4:39:42I'm just going to the second set of
  3081. 4:39:44exercises here on this uh
  3082. 4:39:47basian book because I want to see
  3083. 4:39:50everything before I fully read it you
  3084. 4:39:51should read it too dude read it
  3085. 4:39:55too I don't do anything just for fun
  3086. 4:39:59here I'm sorry I don't do anything for
  3087. 4:40:01fun this is fun to me I am here studying
  3088. 4:40:05to be the greatest the best I can be and
  3089. 4:40:09is it going to be the greatest probably
  3090. 4:40:10not but that's okay I'm going to be here
  3091. 4:40:14every day learning building and so
  3092. 4:40:18on you can see uh liquidation did come
  3093. 4:40:21through here so I can already tell it's
  3094. 4:40:24not working an error occurred okay you
  3095. 4:40:27can see it still came through here
  3096. 4:40:35um so unfortunate this is so
  3097. 4:40:39hard but we're going to work through it
  3098. 4:40:42so still running into the same it shows
  3099. 4:40:49licks on the OG code but not on the new
  3100. 4:41:06one and it's not storing
  3101. 4:41:12to the
  3102. 4:41:15CSV
  3103. 4:41:39okay just air dropping something to
  3104. 4:41:41myself
  3105. 4:41:52here let's go through these exercises
  3106. 4:41:59now let's do the same for these
  3107. 4:42:04exercises
  3108. 4:42:07sizes okay so here you can see it's
  3109. 4:42:10still out putting I like this new flow
  3110. 4:42:12we got because now it's never stopping
  3111. 4:42:14let's take another approach by ensuring
  3112. 4:42:15the websocket properly handles
  3113. 4:42:17reconnections and persist St after data
  3114. 4:42:19breaks we also simplify okay here it is
  3115. 4:42:22let's see if it went ahead and fixed it
  3116. 4:42:25I don't know what to do from here other
  3117. 4:42:27than continuing to go with gbt so I'm
  3118. 4:42:31just going to keep doing that I'm not a
  3119. 4:42:33professional at websockets unfortunately
  3120. 4:42:35and I need to get better but um I think
  3121. 4:42:38once we solve this then we're going to
  3122. 4:42:40have that Notch here to understand
  3123. 4:42:42things okay exercise one of the second
  3124. 4:42:45chapter here what is probability of
  3125. 4:42:47rolling two-sided dice and getting a
  3126. 4:42:50value greater than seven first we need
  3127. 4:42:53to list all possible outcomes when
  3128. 4:42:57rolling two-sided dice 36 outcomes
  3129. 4:43:01okay right next we need to count the
  3130. 4:43:03outcomes where the sum is greater than
  3131. 4:43:05seven okay oh there we go we got a
  3132. 4:43:09liquidation perfect perfect let's watch
  3133. 4:43:12these come through for a while and make
  3134. 4:43:14sure that they're saving to the CSV
  3135. 4:43:18nice they are saving to the CSV perfect
  3136. 4:43:22perfect let's keep them coming in here
  3137. 4:43:25and you can see not all of them are
  3138. 4:43:26going to show because we have a limit
  3139. 4:43:28there next we count the outcomes of
  3140. 4:43:31where the sum is greater than seven
  3141. 4:43:34there are 15 outcomes the probability is
  3142. 4:43:36p Su over 7 okay so there are 15
  3143. 4:43:40outcomes 15 over 36 and what is five oh
  3144. 4:43:44that's the that's that of that's the
  3145. 4:43:47same thing p7 so there's 15 outcomes
  3146. 4:43:51probability of sum over 7even equals
  3147. 4:43:53this okay what is the
  3148. 4:43:55probability what is the probability of
  3149. 4:43:58rolling three six-sided Dice and getting
  3150. 4:44:00a value greater than seven the maximum
  3151. 4:44:04what is first what is the probability of
  3152. 4:44:06two okay
  3153. 4:44:08three the maximum value of three-sided
  3154. 4:44:11di three dice is
  3155. 4:44:1318 to get a greater value greater than
  3156. 4:44:17seven we need to count
  3157. 4:44:19the number of outcomes minus the
  3158. 4:44:24number we need to count the total number
  3159. 4:44:26of outcomes minus the number of
  3160. 4:44:28outcomes that sum to seven or less
  3161. 4:44:32however since the majority of outcomes
  3162. 4:44:34will be greater than seven we can simply
  3163. 4:44:38simplify by considering the
  3164. 4:44:41complimentary event the number of
  3165. 4:44:44outcomes for three dice 63 is 216
  3166. 4:44:49now now let's list outcomes where the
  3167. 4:44:52sum is seven or less so this is a bit
  3168. 4:44:54more complex but takes an intuitive
  3169. 4:44:57approach so sum of three one way okay
  3170. 4:45:00sum of four three ways okay sum of five
  3171. 4:45:05six
  3172. 4:45:09ways total ways
  3173. 4:45:11is for sums of
  3174. 4:45:17seven 35 probability is this P sum is
  3175. 4:45:20over 7 okay 216 minus 35 what's where's
  3176. 4:45:24216 from oh 6 to the 3 okay equals 181
  3177. 4:45:28okay the Yankees are playing the Red Sox
  3178. 4:45:31you're a DieHard y Yankees fan and bet
  3179. 4:45:34your friend $30 if the socks lose and
  3180. 4:45:37your friend uh if the socks lose and
  3181. 4:45:40your friend will have to pay you only
  3182. 4:45:42five if the Socks win okay so what is
  3183. 4:45:46the probability you have intuitively be
  3184. 4:45:48assigned to the belief that Red Sox will
  3185. 4:45:51win
  3186. 4:45:53six this question involves understanding
  3187. 4:45:57expected value and betting odds let P be
  3188. 4:46:00the probability that the Red Sox win you
  3189. 4:46:04bet 30 if the Red Sox lose you win five
  3190. 4:46:08if they win for a fair bet the expected
  3191. 4:46:11value of the BET should be zero so we
  3192. 4:46:15set the computation like this so P *
  3193. 4:46:225 plus 1 -
  3194. 4:46:25P time -3 = 30 solving for p so these
  3195. 4:46:30liquidations are coming in now which is
  3196. 4:46:36awesome looks like we're storing
  3197. 4:46:38liquidations of over 3K here
  3198. 4:46:41while the other code might be doing
  3199. 4:46:44something
  3200. 4:46:47different
  3201. 4:47:083,000 that's interesting
  3202. 4:47:11we look at this other code here this is
  3203. 4:47:12where this is coming from you can see
  3204. 4:47:14this one stopped this one's continuing
  3205. 4:47:16to
  3206. 4:47:19go now this one's not working
  3207. 4:47:22fully but is it not I
  3208. 4:47:28mean bance CSV okay so we just have it
  3209. 4:47:32set there like that Holy Smokes this
  3210. 4:47:35this is a lot a lot of lines
  3211. 4:47:45and we do have the date time there it's
  3212. 4:47:47just an Epoch time let's see if it got
  3213. 4:47:49that new one here cuz I see a couple on
  3214. 4:47:53here that are
  3215. 4:47:54not on the
  3216. 4:48:00uh I think this broke now see they be
  3217. 4:48:05breaking they be breaking B
  3218. 4:48:11I'm just happy that our new one is
  3219. 4:48:12working so let's say main here and maybe
  3220. 4:48:16it's working because we don't have the
  3221. 4:48:19debug on there
  3222. 4:48:30anymore
  3223. 4:48:37rint does this code still
  3224. 4:48:51the
  3225. 4:48:53debug I don't see those prints anymore
  3226. 4:48:58okay so I want to go ahead here this was
  3227. 4:49:00a really good learning session for the
  3228. 4:49:02first two chapters here just copy this
  3229. 4:49:04you Noob the first two chapters of this
  3230. 4:49:07book um I'm not affiliated in any way so
  3231. 4:49:11just reading just I read books that are
  3232. 4:49:14good for
  3233. 4:49:16me I read books that give me the things
  3234. 4:49:19I need and um chapter
  3235. 4:49:252
  3236. 4:49:28exercises but I still don't know how to
  3237. 4:49:29spell
  3238. 4:49:39exercises okay like that was a good
  3239. 4:49:41chapter 1 and
  3240. 4:49:42two exercise of chapters 1 and two here
  3241. 4:49:47and what were those about give me a
  3242. 4:49:49short name
  3243. 4:49:51here give me a short title to go uh to
  3244. 4:49:58explain
  3245. 4:50:00everything we
  3246. 4:50:02covered above like a
  3247. 4:50:05chapter title okay we can see that BB is
  3248. 4:50:09now showing here
  3249. 4:50:23ban calculating proper
  3250. 4:50:27probably put all the
  3251. 4:50:31subjects in one
  3252. 4:50:34title that we have
  3253. 4:50:37covered okay we got some liquidations
  3254. 4:50:39coming through on both both sides which
  3255. 4:50:41is great to see because that means our
  3256. 4:50:42code is working now oh Big Boy
  3257. 4:50:45liquidation somebody just got wrecked on
  3258. 4:50:47the BTC good morning good morning oh man
  3259. 4:50:51oh man somebody's getting hurt out there
  3260. 4:50:54on a Sunday morning or Monday morning
  3261. 4:51:11it doesn't need to be whatever I'm just
  3262. 4:51:14going to put that here that's going to
  3263. 4:51:16be the title to this chapters one and
  3264. 4:51:22two don't need to be bold
  3265. 4:51:24though you bold right
  3266. 4:51:29now can we underline you yes we
  3267. 4:51:33can okay gbt did you print out this one
  3268. 4:51:36new one here because I need to see that
  3269. 4:51:38you're closing cuz I know you're working
  3270. 4:51:40now which is great so let me run it okay
  3271. 4:51:44so debug simulating break every 30
  3272. 4:51:47seconds perfect let's see some licks
  3273. 4:51:48come through okay there's a lick and it
  3274. 4:51:51looks like it's going ahead and adding
  3275. 4:51:53here hopefully yep it's adding perfectly
  3276. 4:51:56these are all the liquidations coming
  3277. 4:51:58through and now I want to see it break I
  3278. 4:52:01want to see it do the force break here
  3279. 4:52:03the force break will essentially show
  3280. 4:52:05that now we have a robust liquidation
  3281. 4:52:08data set and this data will we'll just
  3282. 4:52:10continue to add over time and make more
  3283. 4:52:13and more lines and we'll track all data
  3284. 4:52:15here you can
  3285. 4:52:18see we got an
  3286. 4:52:20air but it's still
  3287. 4:52:36running it's still running which is good
  3288. 4:52:38you can tell it's running up here but is
  3289. 4:52:40it going to print out again I don't know
  3290. 4:52:43I'm glad to see it still adding though
  3291. 4:52:45still adding okay and it's still
  3292. 4:52:48printing too perfect what does it say it
  3293. 4:52:49looks like the webside close call in the
  3294. 4:52:51debug simulation is not being awaited
  3295. 4:52:54which is causing the runtime warning
  3296. 4:52:56let's fix this properly by saying
  3297. 4:52:58awaiting web socket close here's the
  3298. 4:53:00updated code okay I hope this doesn't
  3299. 4:53:01break it though because we got a good
  3300. 4:53:03thing going here and if that's just a
  3301. 4:53:04warning F the warnings B I don't I don't
  3302. 4:53:07care about the warnings dog if you're
  3303. 4:53:09going to break my code that you break my
  3304. 4:53:10code then all right okay I don't care I
  3305. 4:53:12don't care about the warnings I will
  3306. 4:53:14hide your warnings so so quick dude I
  3307. 4:53:17don't care I'm here I'm here I'm not
  3308. 4:53:19going nowhere I don't care I'm here
  3309. 4:53:21every single day I hope you're here
  3310. 4:53:23every single day too 777 to you dude
  3311. 4:53:26like I said we're going to go ahead and
  3312. 4:53:27do a full review every Friday now if you
  3313. 4:53:30can find out how to get to there it's
  3314. 4:53:32only going to be a group of a hundred of
  3315. 4:53:34us Max and at the very bottom of this
  3316. 4:53:37page you can go to my notion and see if
  3317. 4:53:39you can figure out how
  3318. 4:53:41to apply to that top 100 it's my inner
  3319. 4:53:44circle dude so just go to the link below
  3320. 4:53:47the link will take you to the website
  3321. 4:53:49that's about the boot camp read what
  3322. 4:53:50other people have to say about the boot
  3323. 4:53:52camp the boot camp shows you how to
  3324. 4:53:53automate your trading step by step dude
  3325. 4:53:55nobody was here to show me this and it's
  3326. 4:53:57pretty much free because if you don't
  3327. 4:53:59love it you get a no questions asked
  3328. 4:54:01money back guarantee IM immediately so
  3329. 4:54:04don't worry about it jump in if you are
  3330. 4:54:06curious and hey if you can go to my
  3331. 4:54:08notion somewhere around here or ask
  3332. 4:54:11around in Discord how to be part of the
  3333. 4:54:12Inner Circle maybe you'll be able to
  3334. 4:54:14come to Friday's overview too where
  3335. 4:54:16we'll go over everything that we've
  3336. 4:54:18built every week I'm just going to do
  3337. 4:54:20that because I get it dude I I get the
  3338. 4:54:23demand for hey like everybody wants
  3339. 4:54:25tutorials everybody wants me to make
  3340. 4:54:27short concise videos but that's what the
  3341. 4:54:29boot Camp's for dude and I'll do it once
  3342. 4:54:31every Friday I'll just go over
  3343. 4:54:33everything I went over and um that will
  3344. 4:54:35be your tutorial time so um if you can
  3345. 4:54:38figure out how to get in there I mean
  3346. 4:54:39it's not for everybody it's only for the
  3347. 4:54:41people that can figure that
  3348. 4:54:43out and if you can't figure that out
  3349. 4:54:45sorry sorry dude you're not a you're not
  3350. 4:54:48you're not welcome no offense but I only
  3351. 4:54:50want Warriors in here that's why I'm not
  3352. 4:54:53going to ever promote that inner circle
  3353. 4:54:55I'm never going to show you how to sign
  3354. 4:54:57up or apply you have to apply it's by
  3355. 4:54:59application only and there's only ever
  3356. 4:55:01going to be a 100 of us
  3357. 4:55:07so it is what it is be I got to keep the
  3358. 4:55:10the separation I got to make sure to
  3359. 4:55:12reward those people that can find things
  3360. 4:55:14I got to make sure to reward those
  3361. 4:55:16people that are actually here not just
  3362. 4:55:18Pastor buyers I'm sorry dude if you're
  3363. 4:55:20here on YouTube Just For Today welcome I
  3364. 4:55:22love you
  3365. 4:55:23777 but if you're not going to come back
  3366. 4:55:25tomorrow I'm sorry you can't be part of
  3367. 4:55:27the Inner Circle the inner circle is
  3368. 4:55:28only for the people that are really
  3369. 4:55:30committed to this stuff like I am I'm
  3370. 4:55:32here every single day
  3371. 4:55:35dog I'm not going
  3372. 4:55:38anywhere the only thing I'm going to do
  3373. 4:55:40now is I'm going to add a 30 minute Zoom
  3374. 4:55:42call at the end of the week for the
  3375. 4:55:43Inner Circle that's it because I know
  3376. 4:55:46this stuff is long but I'm never going
  3377. 4:55:48to talk about it I'm never going to
  3378. 4:55:50never going to be like yo join my inner
  3379. 4:55:52circle because I don't want you in there
  3380. 4:55:54I don't I only want the people that can
  3381. 4:55:56figure out how to get in there in there
  3382. 4:55:58and it's still an application process
  3383. 4:56:02so it is what it is be I got to make
  3384. 4:56:05this game a little bit hard to get into
  3385. 4:56:09my inner circle because it's my inner
  3386. 4:56:11it's my inner peace be it's my peace so
  3387. 4:56:13if you're not a 777 gang you're not
  3388. 4:56:16you're not welcome I'm sorry if you
  3389. 4:56:17don't got Good Vibrations you're not
  3390. 4:56:19welcome I'm sorry you're still welcome
  3391. 4:56:21to watch my streams dude I'm going to be
  3392. 4:56:23here every day I don't care I believe
  3393. 4:56:24CO's a great equalizer that's why I'm
  3394. 4:56:26going to keep sharing this stuff I know
  3395. 4:56:27this is mind-blowing stuff all right
  3396. 4:56:29this right here why while I'm rambling
  3397. 4:56:32is literally why I brought a book today
  3398. 4:56:34because I'm just going to keep going
  3399. 4:56:35through this book instead of rambling
  3400. 4:56:37it's just going to be so much better I
  3401. 4:56:39promise you to so let's go over chapters
  3402. 4:56:423 and four again I'm looking at basian
  3403. 4:56:45statistics the fun way I'm just getting
  3404. 4:56:47prepared to read this book I'm trying a
  3405. 4:56:50new approach to learning here where you
  3406. 4:56:52just digest and really more than digest
  3407. 4:56:55it you really get comfortable with the
  3408. 4:56:57the table contents of a book before
  3409. 4:56:59reading it and then when you're reading
  3410. 4:57:03you don't necessarily need to read every
  3411. 4:57:04word um you can go ahead and look for
  3412. 4:57:08the secrets that you're looking for you
  3413. 4:57:10see what I'm saying like that's how this
  3414. 4:57:13kid who was you know some Harvard kid
  3415. 4:57:15that's like a doctor or whatever and you
  3416. 4:57:17know one of those people that has to
  3417. 4:57:18study like all the time like I I didn't
  3418. 4:57:20ever learn how to study dude because I
  3419. 4:57:22hated school I just I just ignored it
  3420. 4:57:24you know so I never learned how to study
  3421. 4:57:26I learned how to code by myself so I I
  3422. 4:57:28know I it worked like whatever but um
  3423. 4:57:32okay now moving onto the new
  3424. 4:57:37chapters before we do the
  3425. 4:57:42exercises I want you
  3426. 4:57:45to explain them the table of
  3427. 4:57:51contents like I'm 12 so I fully
  3428. 4:57:57understand all the
  3429. 4:58:00topics before ever reading the book
  3430. 4:58:10go over these below
  3431. 4:58:14topics
  3432. 4:58:17please add
  3433. 4:58:20examples so I
  3434. 4:58:24understand okay um let's say
  3435. 4:58:27combining
  3436. 4:58:29probabilities
  3437. 4:58:31abilities with
  3438. 4:58:37and solving a comp number of two
  3439. 4:58:46probabilities
  3440. 4:58:48applying the product rule of
  3441. 4:58:56probabilities
  3442. 4:58:57combining
  3443. 4:58:59probabilities with
  3444. 4:59:03or what is
  3445. 4:59:07mutually mutually
  3446. 4:59:11exclusive verse
  3447. 4:59:19not
  3448. 4:59:21calculating or
  3449. 4:59:26events using the
  3450. 4:59:29sum rule for non
  3451. 4:59:32mutually
  3452. 4:59:35exclusive events
  3453. 4:59:43calculating
  3454. 4:59:45probability
  3455. 4:59:50of getting a
  3456. 4:59:53hefty
  3457. 5:00:03fine the logic of
  3458. 5:00:07uncertainty I'm just going to do
  3459. 5:00:10this
  3460. 5:00:14one I'm just going to do one now CU
  3461. 5:00:17these are getting thick they're getting
  3462. 5:00:19thick B so I want to just do one at a
  3463. 5:00:21time see everything before I even read
  3464. 5:00:23the
  3465. 5:00:26book I'm going start pulling these into
  3466. 5:00:30the the streams because I need to read
  3467. 5:00:33these books anyways so again everything
  3468. 5:00:36I do I'm G show you I'm G show you
  3469. 5:00:38everything I do because you'll be able
  3470. 5:00:40to make connections I'll never be able
  3471. 5:00:41to make the logic of uncertainty when we
  3472. 5:00:44talk about uncertainty we're talking
  3473. 5:00:45about things we're not sure about
  3474. 5:00:47probability helps us measure How likely
  3475. 5:00:49these uncertain events are for example
  3476. 5:00:52if you're not sure whether it will rain
  3477. 5:00:54tomorrow you might say there's a 30%
  3478. 5:00:57chance of rain this helps you decide
  3479. 5:00:59whether to bring in an umbrella
  3480. 5:01:01combining probabilities with an when you
  3481. 5:01:03want to know the probability of two
  3482. 5:01:05events happening together you use and
  3483. 5:01:08for example what's the probability of
  3484. 5:01:10rolling a four and flipping a coin to
  3485. 5:01:14heads if the die has six sides and the
  3486. 5:01:18coin has two sides you multiply their
  3487. 5:01:20probabilities so P probability of
  3488. 5:01:23rolling a four one to six P flipping
  3489. 5:01:26heads2 and then P rolling a four and
  3490. 5:01:29flipping heads so you do 16 * 1/2 = 112
  3491. 5:01:33solving a combo of two probabilities to
  3492. 5:01:35solve for a combination of two
  3493. 5:01:37probabilities happening at the same time
  3494. 5:01:39you use the use the and Rule like the
  3495. 5:01:42previous example if you want to know the
  3496. 5:01:44chance of getting a heads on a coin and
  3497. 5:01:47rolling A3 on a die you multiply their
  3498. 5:01:50individual probabilities applying the
  3499. 5:01:52product rule of probabilities the
  3500. 5:01:55product rule is used to find the
  3501. 5:01:57probability of two independent events
  3502. 5:01:59both happening independent means one
  3503. 5:02:02event doesn't affect the other for
  3504. 5:02:04example getting heads on a coin flip and
  3505. 5:02:06rolling a five on a die so they're
  3506. 5:02:08independent
  3507. 5:02:11for example so independent means one
  3508. 5:02:13event doesn't affect the other P heads
  3509. 5:02:16and five so P of heads probability of
  3510. 5:02:19heads and P of five again it's just
  3511. 5:02:22multiplying them combining probabilities
  3512. 5:02:24with or when you want to know the
  3513. 5:02:26probability of either one event or
  3514. 5:02:29another happening use the or for example
  3515. 5:02:32what's the probability of rolling a two
  3516. 5:02:35or a three on a
  3517. 5:02:38die you you can add their probabilities
  3518. 5:02:41so p is rolling a two P of rolling a
  3519. 5:02:44three okay so or you just add them so 16
  3520. 5:02:48+ 26 is 26 = 1/3 what is mutually
  3521. 5:02:52exclusive versus not mutually exclusive
  3522. 5:02:55two events that cannot happen at the
  3523. 5:02:58same time so they're not mutually
  3524. 5:02:59exclusive two events that cannot happen
  3525. 5:03:02at the same time for example rolling a
  3526. 5:03:04one and a two on a single die roll you
  3527. 5:03:07can't roll both at the same time so
  3528. 5:03:10they're mutually exclusive two events
  3529. 5:03:12that cannot happen at the same time not
  3530. 5:03:14mutually exclusive two events that can
  3531. 5:03:16happen at the same time so they're not
  3532. 5:03:18mutually exclusive for example drawing a
  3533. 5:03:20card that is both red and a five from a
  3534. 5:03:24deck of cards you can have a red five
  3535. 5:03:28calculating or events for mutually
  3536. 5:03:30exclusive events you just add their
  3537. 5:03:32probabilities for example what's the
  3538. 5:03:35probability of drawing a king or a queen
  3539. 5:03:38from a deck of cards P of King 452 P of
  3540. 5:03:41Queen
  3541. 5:03:42452 so you just add them so it's eight
  3542. 5:03:45and then you just do that thing using
  3543. 5:03:47the sum rule for non-mutually exclusive
  3544. 5:03:49events if events are not mutually
  3545. 5:03:52exclusive they can happen together so
  3546. 5:03:54they're not mutually exclusive mutually
  3547. 5:03:55exclusive means that they can't happen
  3548. 5:03:57together they can happen together they
  3549. 5:03:58are not mutually exclusive you use the
  3550. 5:04:01sum Rule and subtract the overlap for
  3551. 5:04:03example what's the probability of
  3552. 5:04:05drawing a heart or a face card so Jack
  3553. 5:04:08queen king from the deck deck P of the
  3554. 5:04:10heart is 13 out of 52 cuz there's four
  3555. 5:04:13suits in a card P of face card is 12 out
  3556. 5:04:17of 52 because there's only 12 in a thing
  3557. 5:04:20p and so because there are three face
  3558. 5:04:23cards in Hearts so it's three out of
  3559. 5:04:2652
  3560. 5:04:28yes so P of heart or face card P of
  3561. 5:04:32heart okay and face card so you add
  3562. 5:04:34those two okay calculating probability
  3563. 5:04:36of getting a hefty fine to calculate the
  3564. 5:04:39probability getting a he to fine you
  3565. 5:04:41need to know the chances of the
  3566. 5:04:43conditions that lead to the fine for
  3567. 5:04:45example if there's a 20% chance of
  3568. 5:04:48speeding and if you got caught speeding
  3569. 5:04:50there's a 50% chance of getting Hefty
  3570. 5:04:52find so p is speeding there's a 20%
  3571. 5:04:54chance P of
  3572. 5:04:57find and feeding speeding is 50% so P of
  3573. 5:05:01f p of speeding so you multiply them
  3574. 5:05:04equals 10% I hope these explanation yo
  3575. 5:05:06super helpful super super helpful
  3576. 5:05:10chapter
  3577. 5:05:133 why would you not let me do that
  3578. 5:05:25do the logic of uncertainty
  3579. 5:05:40the logic of
  3580. 5:05:56uncertainty so you can't just delete
  3581. 5:05:59huh delete
  3582. 5:06:01delete all
  3583. 5:06:04this now past it
  3584. 5:06:11okay this looks to be running well now
  3585. 5:06:12I'm going keep it running for a bit
  3586. 5:06:14while we do the exercises of this
  3587. 5:06:16chapter uh because I think this is a
  3588. 5:06:18great way to to learn and code at the
  3589. 5:06:21same
  3590. 5:06:22time CU since AI is doing most of the
  3591. 5:06:25coding for us I feel like there's just
  3592. 5:06:27been a lot of um lost productivity here
  3593. 5:06:32sometimes now I'll just be like yapping
  3594. 5:06:35and you know I know some people come for
  3595. 5:06:36the yapping and the the in between C the
  3596. 5:06:40thoughts so I appreciate you so much for
  3597. 5:06:43like caring about what I think about and
  3598. 5:06:46I appreciate that so so much but I've
  3599. 5:06:48got a long list of things that I'm
  3600. 5:06:49trying to attack here every single day
  3601. 5:06:52so I'm going to try to cut the yapping
  3602. 5:06:54as much as possible and instead of
  3603. 5:06:57yapping I'm going to be studying while
  3604. 5:07:00we build because there's so many times
  3605. 5:07:03that it's just like yo
  3606. 5:07:06moev shut the f up let's do something
  3607. 5:07:09let's let's keep it going you know what
  3608. 5:07:11I'm saying I just want to keep it going
  3609. 5:07:13so I'm going to go ahead and past in
  3610. 5:07:15these exercises okay okay now let's go
  3611. 5:07:20through these
  3612. 5:07:25exercises so I
  3613. 5:07:29under understand
  3614. 5:07:34them
  3615. 5:07:38perfect
  3616. 5:08:08e
  3617. 5:08:38e
  3618. 5:09:08e e
  3619. 5:09:50all right so this looks like it's doing
  3620. 5:09:52well so I'm going to go ahead and say
  3621. 5:09:55debug is false and then I want to I want
  3622. 5:09:57to step test it for a
  3623. 5:10:00while make sure it works because this
  3624. 5:10:02looks like it's adding all the
  3625. 5:10:04liquidation data nicely so you can see
  3626. 5:10:06452 lines and remember this is what
  3627. 5:10:09we're doing doing I know we are doing a
  3628. 5:10:11lot here today but whatever we're
  3629. 5:10:13building liquidation bot you already
  3630. 5:10:15know you're here you've been here
  3631. 5:10:17so I'm going to go ahead and finish
  3632. 5:10:20these three
  3633. 5:10:22examples exercises and
  3634. 5:10:25then we're going to move on to next the
  3635. 5:10:28next part of the liquidation bot because
  3636. 5:10:30this is good and um yeah if you have any
  3637. 5:10:34questions feel free to throw them in the
  3638. 5:10:36chat I'll check out the chat here in a
  3639. 5:10:38bit uh every single day I'm here live my
  3640. 5:10:41name is Mev I believe codes great
  3641. 5:10:43equalizer that's why I share all this
  3642. 5:10:44information so exercise one what is the
  3643. 5:10:46probability of uh of rolling a 20 three
  3644. 5:10:49times in a row on a 20-sided dice
  3645. 5:10:51solution to find the probability of
  3646. 5:10:53rolling a 20 three times in a row we
  3647. 5:10:56need to calculate the probability of
  3648. 5:10:58each event and then multiply them since
  3649. 5:11:00each rle is
  3650. 5:11:02independent that's right so 1 out of 20
  3651. 5:11:05on 20 side of dice and then 1 out of 20
  3652. 5:11:07is 1 out of 8,000 so the probably is 1
  3653. 5:11:09out of 8,000 exercise 2 the weather
  3654. 5:11:12report says there's a 10% chance of rain
  3655. 5:11:15tomorrow and you forget your umbrella
  3656. 5:11:17half the time you go out what is the
  3657. 5:11:19probability that you'll be caught in the
  3658. 5:11:21rain without an umbrella solution we
  3659. 5:11:24need to find the probability of two
  3660. 5:11:25events happening together it rains and
  3661. 5:11:27you forgot your umbrella so P of rain is
  3662. 5:11:31there's a 10% chance of rain okay so P
  3663. 5:11:34of forgot umbrella is 50% chance to
  3664. 5:11:36since these are independent we multiply
  3665. 5:11:38their prob prob abilities again so it's
  3666. 5:11:40just 10 times there's a 5% chance okay
  3667. 5:11:43so exercise three raw eggs have a 1 in
  3668. 5:11:4629,000 probability of having salmonella
  3669. 5:11:49if you eat two raw eggs um what's the
  3670. 5:11:52probability of getting salmonella we
  3671. 5:11:55find the probability find the
  3672. 5:11:57probability that at least one of the two
  3673. 5:12:00eggs has salmonella this is easier to
  3674. 5:12:03calculate using the complement
  3675. 5:12:06rule the probability of not eating any
  3676. 5:12:09egg with salmonella okay let P equals
  3677. 5:12:12salmonella is 1 and
  3678. 5:12:1429,000 the probability of not getting
  3679. 5:12:18salmonella from one egg is p of
  3680. 5:12:20salmonella equals 1 minus the
  3681. 5:12:23probability okay so it's one minus this
  3682. 5:12:25this is not getting it for two eggs the
  3683. 5:12:26probability of getting it is p
  3684. 5:12:30salmonella one minus okay it's to the
  3685. 5:12:32second per power I wonder why first
  3686. 5:12:35let's ex approximate the 1 - 120 over 29
  3687. 5:12:40so that equals 999 99% then now we
  3688. 5:12:43Square it uh because they going there's
  3689. 5:12:48two chances so the probability of
  3690. 5:12:49getting salmonella from the at least one
  3691. 5:12:52egg is p of salmonella which is one
  3692. 5:12:55minus the probability is
  3693. 5:13:00this so the probability is this wait so
  3694. 5:13:04see one at least one egg one minus prob
  3695. 5:13:08two eggs okay salel of 2 eggs and this
  3696. 5:13:10is the probability of two eggs and this
  3697. 5:13:12is the probability of two eggs here it's
  3698. 5:13:15this okay so exercise four what is the
  3699. 5:13:17probability of either flipping two heads
  3700. 5:13:20in two coin tosses or rolling three
  3701. 5:13:23sixes in a three-sided die what is the
  3702. 5:13:26probability of either flipping two heads
  3703. 5:13:28in two coin tosses or rolling three
  3704. 5:13:32sixes and a six-sided
  3705. 5:13:35DOT first let's calculate the
  3706. 5:13:37probability separately so P one and A2
  3707. 5:13:41or 1 over two and then this is p over
  3708. 5:13:43two heads is 2 and two okay so it's 25%
  3709. 5:13:48chance now rolling 3 six is one and six
  3710. 5:13:51and this is 126 and then we just
  3711. 5:13:53multiply them or or we or um oh so we
  3712. 5:13:56plus okay so now use the or rule since
  3713. 5:13:59these events are independent we add
  3714. 5:14:01their probabilities two heads or 3 sixes
  3715. 5:14:04P2 heads P3
  3716. 5:14:07sixes we add those convert the common
  3717. 5:14:11denominator so how do you get 26 54 66
  3718. 5:14:1655 as it probably 55 216 actually made
  3719. 5:14:19sense okay so sweet um I think that I
  3720. 5:14:23have a little bit of
  3721. 5:14:26a background in this
  3722. 5:14:28stuff so I mean if you're intimidated by
  3723. 5:14:31this don't let this stop you from
  3724. 5:14:33automating your trading of course
  3725. 5:14:35because this is I'm on year four you
  3726. 5:14:37know so this stuff I've been working
  3727. 5:14:39with probabilities for at least four
  3728. 5:14:41years but honestly much longer because I
  3729. 5:14:44come from gaming so gaming is all about
  3730. 5:14:47probabilities and all that stuff so
  3731. 5:14:49without officially ever learning this
  3732. 5:14:50stuff I kind of intuitively have used it
  3733. 5:14:54a lot
  3734. 5:14:55so it's it comes it might come easier to
  3735. 5:14:58me maybe this is hard if it's hard don't
  3736. 5:15:00worry about it dude because honestly you
  3737. 5:15:02don't need any of it for automating
  3738. 5:15:04you're trading this is just like a I'm
  3739. 5:15:07trying to squeeze a little extra Alpha
  3740. 5:15:09out of the batch that's it that's all
  3741. 5:15:11I'm doing so I'm going places others
  3742. 5:15:13won't go and this is where we're going
  3743. 5:15:16so I'm haven't even read this book yet
  3744. 5:15:18and it's all in a book and it's pretty
  3745. 5:15:21inexpensive basian statistics the Funway
  3746. 5:15:24just go like this Amazon if you want it
  3747. 5:15:27I again there's no I don't have any
  3748. 5:15:29affiliation with this there's no
  3749. 5:15:31affiliate link or anything like
  3750. 5:15:33that this is funny
  3751. 5:15:36because bayy and statistics to fun away
  3752. 5:15:39this Brain Cap is what we were looking
  3753. 5:15:40at yesterday so it's only 33 bucks and
  3754. 5:15:43this is what I'm literally looking at
  3755. 5:15:45right now and trying to go over the
  3756. 5:15:47table of contents to get a good view of
  3757. 5:15:49it before I dive all the way in and
  3758. 5:15:53really read
  3759. 5:16:07it
  3760. 5:16:37e
  3761. 5:17:07e e
  3762. 5:17:58all right dude I know this is a lot so
  3763. 5:18:00let's just keep it
  3764. 5:18:03going so did this help me understand it
  3765. 5:18:06absolutely so I actually want to go
  3766. 5:18:08ahead head here and now that we have
  3767. 5:18:11chapter 3 in there and chapter 4 we'll
  3768. 5:18:14go ahead
  3769. 5:18:16and chapter three here chapter three so
  3770. 5:18:21books basian statistics the fun
  3771. 5:18:24way
  3772. 5:18:28um okay so this looks like it's Gucci
  3773. 5:18:31now so we can go ahead and do the rest
  3774. 5:18:33what are we going to do now so
  3775. 5:18:40now I have the lick data that I need and
  3776. 5:18:43honestly I want to run this lick data
  3777. 5:18:45here from a different file I'm going to
  3778. 5:18:48go go ahead and say here main copy path
  3779. 5:18:52copy path here and here I'm going to
  3780. 5:18:55launch another one of these really
  3781. 5:18:57because now we can work on this stuff
  3782. 5:18:59let's say cond cond
  3783. 5:19:03activate um tlow okay and then python
  3784. 5:19:06I'm going to just have this running now
  3785. 5:19:08this is going to be the same file as
  3786. 5:19:10this pretty much but it's just improved
  3787. 5:19:13well you know what I should
  3788. 5:19:15do no I'm not going to do that I'm going
  3789. 5:19:18to let this run by itself I was going to
  3790. 5:19:20say I should just run it from here I
  3791. 5:19:21should fix this one now that it's
  3792. 5:19:24updated
  3793. 5:19:28but honestly I should fix this I should
  3794. 5:19:32fix these though let's make sure that
  3795. 5:19:34they work
  3796. 5:19:37um Jupiter B
  3797. 5:19:46just go ahead and do that because that's
  3798. 5:19:47going to be super big for
  3799. 5:19:52me where are the Jupiter Bots here are
  3800. 5:19:55these Jupiter Bots okay yeah um tape big
  3801. 5:20:01licks licks big licks big
  3802. 5:20:09so this is a different
  3803. 5:20:18file what should I do how should I do
  3804. 5:20:32this file name is binance py okay I'm
  3805. 5:20:35just going to do it this way
  3806. 5:20:42ah dude I don't know if I want to mess
  3807. 5:20:43this up
  3808. 5:20:48though the above
  3809. 5:20:51works the above works
  3810. 5:20:56great please don't change anything of
  3811. 5:21:01the
  3812. 5:21:02printing of the below code it's a
  3813. 5:21:07different bu
  3814. 5:21:09but please use the eror the uh the
  3815. 5:21:16logic you used above in order to
  3816. 5:21:23reconnect
  3817. 5:21:26smoothly because the below code doesn't
  3818. 5:21:33yet okay so this is from here this is a
  3819. 5:21:36different file but since we're here we
  3820. 5:21:38might as well fix this one as well right
  3821. 5:21:46okay I hope this doesn't break it I hope
  3822. 5:21:49it doesn't break
  3823. 5:21:51it let's just go ahead and go through
  3824. 5:21:53the code with
  3825. 5:22:03it okay how's all that stuff process
  3826. 5:22:07message asyn
  3827. 5:22:13lick I'm going to call this uh licks
  3828. 5:22:19rename
  3829. 5:22:22pre 63
  3830. 5:22:24okay and then we're going to say licks.
  3831. 5:22:31py okay and then we're going to do that
  3832. 5:22:34and then I'm just curious to see if this
  3833. 5:22:35still works here
  3834. 5:22:41paste it in okay bin is copy path okay
  3835. 5:22:45copy path here and then we're going to
  3836. 5:22:47say the path is up here okay false
  3837. 5:22:50that's good okay let's go ahead and see
  3838. 5:22:53if this changes
  3839. 5:22:58Tings see if it still gets the licks out
  3840. 5:23:00here okay I'm also going to do this for
  3841. 5:23:03licks big
  3842. 5:23:04here same with this one
  3843. 5:23:12same with this one don't change the
  3844. 5:23:17Prints but update the code to handle
  3845. 5:23:23the web socket drops like you do
  3846. 5:23:29above
  3847. 5:23:32okay so we know this liquidations are
  3848. 5:23:35still on so this should work here and
  3849. 5:23:38I'm just just taking a half a second in
  3850. 5:23:39order to go back to my scanners because
  3851. 5:23:42being able to see all the liquidation
  3852. 5:23:44colors is so so important that said
  3853. 5:23:47we're building a bot to trade this
  3854. 5:23:49automatically but I'm just trying to
  3855. 5:23:51kill eight stone eight birds with one
  3856. 5:23:53stone you
  3857. 5:23:55know throw your chats in the twitch here
  3858. 5:23:58and I will answer them anytime here in
  3859. 5:24:00the next like I don't know I'll be
  3860. 5:24:02better in like 20 15 10 I don't know be
  3861. 5:24:04here though don't leave because we're
  3862. 5:24:07we're double we're double Diamond this
  3863. 5:24:08today because we got to this is how we
  3864. 5:24:11do it from here on out we're learning
  3865. 5:24:12two things at once always it's harder to
  3866. 5:24:15do but it's fun it's more fun I want to
  3867. 5:24:18keep going as hard as possible every
  3868. 5:24:20single day 777 to you dude every single
  3869. 5:24:23day no way no way are we stopping this
  3870. 5:24:26ever so I'm going say licks big
  3871. 5:24:32pre pre
  3872. 5:24:3563 okay let's go licks big now Li big.
  3873. 5:24:40py okay boom copy paste copy paste okay
  3874. 5:24:45sick now let's run it let's see if we
  3875. 5:24:47can get this running okay that looks
  3876. 5:24:49Gucci okay let's go ahead now and we'll
  3877. 5:24:52go back we have these out of the way
  3878. 5:24:54we'll keep an eye on them down here
  3879. 5:24:56these are different files we just
  3880. 5:24:57updated boom we got the Liquidation on
  3881. 5:25:00the 5K on the bbus I don't know what
  3882. 5:25:02that is dude but it is what it is I
  3883. 5:25:05haven't picked my top four yet here
  3884. 5:25:07these are the top four tokens on or
  3885. 5:25:09these are the top tokens on Solana in
  3886. 5:25:12the last hour and I need to check those
  3887. 5:25:15we'll get to that soon I want to make
  3888. 5:25:17sure these liquidations continue to come
  3889. 5:25:19through let's see if we're at a point of
  3890. 5:25:20liquidations we would need to price to
  3891. 5:25:23go down here or up here in order to get
  3892. 5:25:25some liquidations to come
  3893. 5:25:29through Market opens in 9 minutes let's
  3894. 5:25:31see what's going on with Tesla up3
  3895. 5:25:35coinbase up 2.8 wow
  3896. 5:25:39Nvidia up
  3897. 5:25:413.2
  3898. 5:25:46wow Robin Hood up
  3899. 5:25:504.0 so this should be an interesting
  3900. 5:25:53morning we'll see what
  3901. 5:25:55happens you can see the liquidations
  3902. 5:25:57coming through which is good okay now
  3903. 5:26:00what do we want to do from here well I
  3904. 5:26:02have this lick data okay we got all this
  3905. 5:26:05lick data now this lick data here oops I
  3906. 5:26:08almost deleted it so let's go ahead here
  3907. 5:26:11and oh we don't have any headers on this
  3908. 5:26:13lick data
  3909. 5:26:21dang see if we got headers on this
  3910. 5:26:25one I think the headers are nice to have
  3911. 5:26:28to understand what it is but I guess not
  3912. 5:26:31I guess we don't get it
  3913. 5:26:33dude build okay this is the price this
  3914. 5:26:38the amount this is the
  3915. 5:26:42time and this is
  3916. 5:26:48the who knows B who
  3917. 5:26:51knows here's an example of my
  3918. 5:26:54data um here's an example of the data
  3919. 5:26:57here is an example here is an example
  3920. 5:27:02example of the DF data
  3921. 5:27:09here's the code that produces it here is
  3922. 5:27:13the code that produces
  3923. 5:27:17it please build me a
  3924. 5:27:22separate script that looks at that data
  3925. 5:27:28the path is
  3926. 5:27:30this lick data lick data lick data copy
  3927. 5:27:34path okay and then
  3928. 5:27:38the
  3929. 5:27:40script
  3930. 5:27:41will total up the amount of
  3931. 5:27:48Liquidations in the past 15 5
  3932. 5:27:53minutes 15 minutes 30 minutes 1
  3933. 5:28:00hour 90 minutes 2
  3934. 5:28:05hours and 4 hours
  3935. 5:28:08and print and save those those to
  3936. 5:28:12a DF print them
  3937. 5:28:16out out and then save to
  3938. 5:28:21a to a
  3939. 5:28:24CSV called
  3940. 5:28:28um recent
  3941. 5:28:31licks
  3942. 5:28:33CV okay let's see what she can do and
  3943. 5:28:36while she does that let's go ahead and
  3944. 5:28:38keep on going here with uh chapter 4
  3945. 5:28:41chapter four of basan Statistics the fun
  3946. 5:28:44way so so fun B so I mean let's go ahead
  3947. 5:28:49here and print out okay okay great let's
  3948. 5:28:53move to chapter 4
  3949. 5:28:57please explain like I'm 12 the following
  3950. 5:29:03topics so creating a binomial
  3951. 5:29:10probability
  3952. 5:29:12distribution okay um
  3953. 5:29:16structure of a
  3954. 5:29:19binomial
  3955. 5:29:23distribution counting
  3956. 5:29:26outcomes with
  3957. 5:29:28binomial
  3958. 5:29:32coefficient comatrix advanced
  3959. 5:29:41counting
  3960. 5:29:43calculating
  3961. 5:29:45probability of the
  3962. 5:29:49desired
  3963. 5:29:52outcome gotcha
  3964. 5:29:55games how this all
  3965. 5:30:03um all is can be used be used in trading
  3966. 5:30:08okay so this is going to be the review
  3967. 5:30:10here so chapter 4 here is coming up
  3968. 5:30:13chapter 4 I don't know what the title
  3969. 5:30:15would be binomial
  3970. 5:30:17binomial
  3971. 5:30:20probability
  3972. 5:30:22distribution okay so now we'll go ahead
  3973. 5:30:24and open this up here this is all going
  3974. 5:30:26to be deleted because this is not it
  3975. 5:30:28anymore and this is an amazing way to
  3976. 5:30:31warm up to a book in my opinion now it's
  3977. 5:30:34a new opinion it's a new opinion B let's
  3978. 5:30:37go ahead and regenerate dude I know
  3979. 5:30:38you're seeing sketch stuff going on my
  3980. 5:30:40screen it's because I'm working with two
  3981. 5:30:41of you yes okay I'm sorry chat gbt if
  3982. 5:30:44you need me to upgrade just tell me sure
  3983. 5:30:46thing let's go through these topics in a
  3984. 5:30:48simple way with examples creating a
  3985. 5:30:51binomial Pro probability distribution a
  3986. 5:30:54binomial probability distribution is
  3987. 5:30:56like a recipe that tells us the
  3988. 5:30:57likelihood of getting a certain number
  3989. 5:30:59of successes in a fixed number of tries
  3990. 5:31:03for example if you flip a coin 10 times
  3991. 5:31:05you might want to know the probability
  3992. 5:31:07of getting exactly six heads the
  3993. 5:31:10binomial distribution helps us figure
  3994. 5:31:12that out structure of a binomial
  3995. 5:31:15distribution a binomial distribution has
  3996. 5:31:18a few Key Parts n the number of Trials
  3997. 5:31:21EG flipping a coin 10 times P the
  3998. 5:31:24probability of success on each trial the
  3999. 5:31:27chance of getting heads which is 0.5 for
  4000. 5:31:30a Fair coin K the number of successes we
  4001. 5:31:33are interested in EG getting exactly six
  4002. 5:31:36heads it tells us the probabilities of
  4003. 5:31:39getting 01 to up to the end successes
  4004. 5:31:42counting outcomes with binomial
  4005. 5:31:45coefficient the binomial coefficient
  4006. 5:31:47helps us count the number of ways we can
  4007. 5:31:49get K successes in N trials it's like
  4008. 5:31:53figuring out how many different ways you
  4009. 5:31:56can arrange six heads in 10 coin flips
  4010. 5:31:59the formula looks like this
  4011. 5:32:03so NK over n k okay the explanation
  4012. 5:32:09symbol means
  4013. 5:32:10factorial which is a way to to multiply
  4014. 5:32:14numbers for example five equals 5 time
  4015. 5:32:17this okay that makes sense combinat Trix
  4016. 5:32:20Advanced counting combinat Trix
  4017. 5:32:23combinate tox is a fancy word for
  4018. 5:32:26advanced counting it helps us figure out
  4019. 5:32:29how many ways we can arrange or combine
  4020. 5:32:33things for example if you have five
  4021. 5:32:36different toys and you want to to know
  4022. 5:32:38how many ways you can choose two out of
  4023. 5:32:40the five common Matrix is gives us the
  4024. 5:32:44answer we use combinations and
  4025. 5:32:47permutations to count these
  4026. 5:32:51arrangements okay
  4027. 5:32:53interesting so here we have this new
  4028. 5:32:56tool we just built here's a separate
  4029. 5:32:58script that will read the data from your
  4030. 5:33:00CSV calculate the number total amount of
  4031. 5:33:05liquidations for the specified time
  4032. 5:33:07intervals and then save these
  4033. 5:33:09calculations to a new CSV okay if we
  4034. 5:33:12have this correct we should have all of
  4035. 5:33:14our liquidation data here perfect okay
  4036. 5:33:17it's coming in here too so I can stop it
  4037. 5:33:19here it's probably double printing it
  4038. 5:33:21right now that's okay though for now
  4039. 5:33:23because this isn't too serious I want to
  4040. 5:33:26get it very serious of course I'm going
  4041. 5:33:28to launch it to my server when it's
  4042. 5:33:29robust okay so it's going to be running
  4043. 5:33:32at all times dude yes I know I do the
  4044. 5:33:35things that others won't do so I'm just
  4045. 5:33:37going to keep doing that
  4046. 5:33:42dude every single day we're going to
  4047. 5:33:44going to go ahead and attack something
  4048. 5:33:46different viciously every single day we
  4049. 5:33:48might build on something else that's
  4050. 5:33:50okay just keep showing up dog 777 leave
  4051. 5:33:53with love and everything you want will
  4052. 5:33:56come into your world that's why I show
  4053. 5:33:58everything cuz I'm trying to leave with
  4054. 5:34:00love the best thing I can do the most I
  4055. 5:34:02can give right now is my time I'm
  4056. 5:34:04attacking the most vicious industry in
  4057. 5:34:06the world and nobody sharing this
  4058. 5:34:08information so I share it I believe CO's
  4059. 5:34:10a great equalizer dude for me it
  4060. 5:34:13absolutely is okay
  4061. 5:34:16recent
  4062. 5:34:18licks.
  4063. 5:34:20py and this should be licks dude I
  4064. 5:34:23missed the
  4065. 5:34:25S recent licks okay let's go ahead and
  4066. 5:34:29put this code in there output file name
  4067. 5:34:31what is that output file name it's
  4068. 5:34:33recent licks as well so let's go ahead
  4069. 5:34:36here and say
  4070. 5:34:38recent licks and I think this is getting
  4071. 5:34:41a little long now so let's go ahead and
  4072. 5:34:44say data okay data here let's put them
  4073. 5:34:47in there let's put them in there let's
  4074. 5:34:48clean it up let's stay clean let's say
  4075. 5:34:51stay all nice and clean here oh snap it
  4076. 5:34:54just made that over here though why
  4077. 5:34:57because I told it to my guy look at that
  4078. 5:35:00okay so how do we fix that well we got
  4079. 5:35:03to go ahead and update our main here and
  4080. 5:35:05I want to go ahead and say lick data C
  4081. 5:35:07copy path okay let's go ahead and make
  4082. 5:35:10that path just a little bit different
  4083. 5:35:12okay boom let's go ahead and delete this
  4084. 5:35:14data here let's go ahead and say move
  4085. 5:35:16the trash never ask me that again
  4086. 5:35:19actually please do because I'm a Noob
  4087. 5:35:21dude so I want to go ahead here and
  4088. 5:35:23where did I find that file here it is so
  4089. 5:35:26this is where we're running the file so
  4090. 5:35:27I'm just going to rerun it okay now it's
  4091. 5:35:29not going to make a new folder every
  4092. 5:35:32time it's just going to go ahead
  4093. 5:35:36and put it here delete it okay it should
  4094. 5:35:39put it in there now so recent licks here
  4095. 5:35:42it should go ahead and start populating
  4096. 5:35:44once we get some liquidations but dude
  4097. 5:35:46it didn't it's
  4098. 5:35:51not cuz it's right here
  4099. 5:35:54dog there it is recent licks though
  4100. 5:35:58recent licks is here so you can see we
  4101. 5:36:00need to update this lick data here copy
  4102. 5:36:03path okay paste in the lick data here
  4103. 5:36:05path right here if I'm going too fast
  4104. 5:36:07it's because you're not caught up to
  4105. 5:36:09speed B get caught up to speed B all you
  4106. 5:36:11got to do is keep showing up pass the
  4107. 5:36:13777s tap the Lizzy whatever you need to
  4108. 5:36:16do dog whatever you need to do in order
  4109. 5:36:19to get here on time every single day
  4110. 5:36:21we're here 8:00 a.m. live the market
  4111. 5:36:23just open so I want to definitely go
  4112. 5:36:25ahead and look at that but first I want
  4113. 5:36:26to go ahead and print out the totals
  4114. 5:36:28make sure that this code works you can
  4115. 5:36:31see order time trade it does not show
  4116. 5:36:33that so my you can see that you can see
  4117. 5:36:37that we have the below air
  4118. 5:36:44probably
  4119. 5:36:46because we don't have columns on our
  4120. 5:36:51data
  4121. 5:36:54set oh
  4122. 5:37:00snap I didn't put that I didn't put the
  4123. 5:37:03error in there silly goose
  4124. 5:37:07okay so let's see if it can figure it
  4125. 5:37:09out it has all the code that I
  4126. 5:37:12need calculating probabilities of
  4127. 5:37:14desired outcome to calculate the
  4128. 5:37:16probability of getting a certain number
  4129. 5:37:18of successes k and a number of Trials n
  4130. 5:37:21we use binomial probability formula so
  4131. 5:37:24this is the formula
  4132. 5:37:26here NK counts the number of ways to get
  4133. 5:37:30K
  4134. 5:37:31successes PK is the probability of those
  4135. 5:37:34K successes happening
  4136. 5:37:391 minus P to the NK is the probability
  4137. 5:37:42of the other trials being
  4138. 5:37:46failures for example if you want to find
  4139. 5:37:48the probability of getting exactly six
  4140. 5:37:50heads in a in a 10 coin flips it would
  4141. 5:37:53be PX equals 6 and don't worry I don't
  4142. 5:37:57understand this either
  4143. 5:37:59so I haven't even read the book yet so
  4144. 5:38:01this is just to get everything in my
  4145. 5:38:03mind to be at a place of power when I do
  4146. 5:38:06read the book gotcha games are like
  4147. 5:38:08virtual slot machines and video games
  4148. 5:38:10where you spend money or points to get
  4149. 5:38:12random items the binomial distribution
  4150. 5:38:14can help you figure out the odds of
  4151. 5:38:16getting rare items for example if you
  4152. 5:38:18know the chance of getting a rare item
  4153. 5:38:20is 5% each time you play you can
  4154. 5:38:22calculate the probability of getting
  4155. 5:38:24that item at least once in 10 tries how
  4156. 5:38:27this can all be used in trading in
  4157. 5:38:29trading we can use these Concepts to
  4158. 5:38:31manage risk and make better decisions
  4159. 5:38:34for example binomial distribution helps
  4160. 5:38:36us understand the probability of certain
  4161. 5:38:39trading outcomes like making a certain
  4162. 5:38:41number of successful trades out of a
  4163. 5:38:44series of Trades combinate
  4164. 5:38:48combinatoric helps us figure out
  4165. 5:38:50different ways to arrange trades and
  4166. 5:38:53manage portfolios probability
  4167. 5:38:55calculations helps us estimate the
  4168. 5:38:58chances of achieving our financial goals
  4169. 5:39:00or encountering certain Risk by
  4170. 5:39:02understanding these probabilities
  4171. 5:39:03Traders can make more informed decisions
  4172. 5:39:05about when to enter or exit trades how
  4173. 5:39:08much to invest and how much to manage on
  4174. 5:39:10their trades it did help bro thank
  4175. 5:39:14you I'm going just post it all in here
  4176. 5:39:17and then next move I'm going to do is do
  4177. 5:39:19the exercises dude let's go ahead and go
  4178. 5:39:21back to see what Gigi went ahead and put
  4179. 5:39:23out since our data set doesn't have the
  4180. 5:39:26columns is missing let's update the
  4181. 5:39:27script to handle the data by explicitly
  4182. 5:39:29defining the columns when it's rolling
  4183. 5:39:32will ensure the script handles the
  4184. 5:39:34datetime conversion okay perfect
  4185. 5:39:39I need to update this so it has my new
  4186. 5:39:41paths but that's okay we'll just go
  4187. 5:39:43ahead here and this one time I'll let
  4188. 5:39:45her
  4189. 5:39:46ride you can see there's some
  4190. 5:39:48liquidations coming through those
  4191. 5:39:50liquidations dude I don't know what
  4192. 5:39:52they're doing why are they gambling why
  4193. 5:39:55why we haven't even looked at what's
  4194. 5:39:57going on in the market here today it
  4195. 5:39:58just opened it's okay we'll get there
  4196. 5:40:00soon we're doing a 10,000 things at once
  4197. 5:40:04because we are going faster than others
  4198. 5:40:08there we go you can see total
  4199. 5:40:09liquidations here 0000 0 in indicating
  4200. 5:40:13that's incorrect okay
  4201. 5:40:16so I've updated my
  4202. 5:40:18paths I've updated my
  4203. 5:40:22paths make sure to use
  4204. 5:40:26them below you can see you can see there
  4205. 5:40:32are zeros in the
  4206. 5:40:35liquidation data
  4207. 5:40:44here is code that shows how to sum up
  4208. 5:40:51lick
  4209. 5:40:52data how how we how
  4210. 5:40:56we summed up lick data in the past
  4211. 5:41:02actually we didn't really
  4212. 5:41:04but well maybe
  4213. 5:41:08maybe this code here if we look at licks
  4214. 5:41:11big here see licks big here did we just
  4215. 5:41:14go ahead and say file
  4216. 5:41:18name no we
  4217. 5:41:21didn't let's just go ahead and give it
  4218. 5:41:23all this code though I'm going go ahead
  4219. 5:41:26and get those exercises going now while
  4220. 5:41:29this runs I'm going to go ahead and
  4221. 5:41:30screenshot the exercises of chapter 4
  4222. 5:42:05that's one through four though that's
  4223. 5:42:06pretty good dude chapters 1 through 4 we
  4224. 5:42:10are aware of now I can read them with
  4225. 5:42:21ease drop box not Dropbox air drop air
  4226. 5:42:25drop air drop coming in air drop coming
  4227. 5:42:27in
  4228. 5:42:46she should be done with that code by now
  4229. 5:42:48so we won't actually go over these right
  4230. 5:42:50now but we'll have them queued up for
  4231. 5:42:52when we go back and I think this is
  4232. 5:42:55already for me I'm learning a lot more
  4233. 5:42:57today than sometimes when I'm waiting
  4234. 5:42:59for AI to Output stuff let's do these
  4235. 5:43:05exercises now okay so she'll outp put
  4236. 5:43:08that and this lady over here the issue
  4237. 5:43:10with getting all zeros in liquidation
  4238. 5:43:12could be due to how the time intervals
  4239. 5:43:14are being calculated or the data not
  4240. 5:43:16matching the expected time intervals
  4241. 5:43:18let's add some debugging prints
  4242. 5:43:23okay run it dude
  4243. 5:43:38so it added some debugging Prints but I
  4244. 5:43:40feel like I can do this I can take it
  4245. 5:43:41from here GG because I don't know what
  4246. 5:43:44you're doing the issue seems to be the
  4247. 5:43:46data is not falling within the specic
  4248. 5:43:49specified time intervals let's add more
  4249. 5:43:54debugging the uh the newest data shows
  4250. 5:43:59at the bottom of the CSV I don't know if
  4251. 5:44:04that is helpful to know
  4252. 5:44:14it's helpful to know the newest data is
  4253. 5:44:15the bottom of CSV let's ensure that we
  4254. 5:44:17are processing the most recent data
  4255. 5:44:19correctly so maybe she was doing it
  4256. 5:44:21incorrectly I don't know let's go ahead
  4257. 5:44:22and see if we can get regenerate
  4258. 5:44:26here get this going seems to have gone
  4259. 5:44:29wrong I guess it can't do two at the
  4260. 5:44:30same time sad sad sad
  4261. 5:44:37yeah it's not letting two users go at
  4262. 5:44:39the same time I'll have to jump on over
  4263. 5:44:40to
  4264. 5:44:41luxie Luxy baby girl it might be your
  4265. 5:44:44time might be your time to shine might
  4266. 5:44:47be your
  4267. 5:45:03time oh here we go it's helpful to know
  4268. 5:45:06that let's Ure okay see if we can get
  4269. 5:45:10it
  4270. 5:45:13huh try different approach because we're
  4271. 5:45:15still getting zeros
  4272. 5:45:27B still
  4273. 5:45:29getting
  4274. 5:45:31zeros and
  4275. 5:45:33the
  4276. 5:45:35data the newest newest data from the CSV
  4277. 5:45:41is below so recent licks lick data okay
  4278. 5:45:46this isn't the newest data
  4279. 5:45:57here all right let's go ahead and see
  4280. 5:46:00let's check this here because maybe this
  4281. 5:46:02no it's it's pointing at the right place
  4282. 5:46:04licks recent licks so you can see it's
  4283. 5:46:06giving us the wrong data here I wonder
  4284. 5:46:09what's going on let's go ahead and see
  4285. 5:46:10if this is started yet no okay she's not
  4286. 5:46:14going to let me do this double time
  4287. 5:46:15thing it appears that the time stamps in
  4288. 5:46:18your data are significantly ahead of the
  4289. 5:46:20current time this could be due to your
  4290. 5:46:21system time or time zone to handle this
  4291. 5:46:23will compare the order trade times to
  4292. 5:46:27against the maximum time stamp rather
  4293. 5:46:29than the current time
  4294. 5:46:38maybe maybe the time
  4295. 5:46:42stamps are in
  4296. 5:46:45UTC let's see let's go ahead and see
  4297. 5:46:48this data here recent data CSV lick data
  4298. 5:46:51here let's go ahead and see what this
  4299. 5:46:53data the newest data what time is it
  4300. 5:46:55then let's go ahead here Epoch time
  4301. 5:46:57Epoch time get comfy with it dog Epoch
  4302. 5:47:00converter get comfy with that Epoch time
  4303. 5:47:02dog this is Monday June 3rd at 1:42 p.m.
  4304. 5:47:06so so I think this is definitely UTC
  4305. 5:47:09time yeah so our time's
  4306. 5:47:15on do with this information you need I
  4307. 5:47:18just went ahead and got it so you can
  4308. 5:47:21see maybe it's in UTC
  4309. 5:47:23time I'm
  4310. 5:47:27in I'm
  4311. 5:47:30on
  4312. 5:47:32a here is the latest epoch
  4313. 5:47:37I'm in the data and
  4314. 5:47:42the
  4315. 5:47:43conversion on a
  4316. 5:47:46website so it's just getting the time it
  4317. 5:47:49shows that the time is much ahead of us
  4318. 5:47:50and that's because I'm on one time and
  4319. 5:47:53it's using UTC time what is UTC time I
  4320. 5:47:55don't know Google it
  4321. 5:48:03bro let's address the exercises one
  4322. 5:48:06based on 1 by one so what are the
  4323. 5:48:08parameters of binomial distribution for
  4324. 5:48:11probability of rolling either a one or a
  4325. 5:48:1420 on the 20 side of dice if we roll 12
  4326. 5:48:17times well the parameters for the
  4327. 5:48:19binomial distribution are n the number
  4328. 5:48:21of Trials
  4329. 5:48:22rules P the probability of success one
  4330. 5:48:25or 20 K the number of successes desired
  4331. 5:48:30outcomes for this problem Nal 12 since
  4332. 5:48:34we roll the die 12 times P equal P of
  4333. 5:48:38rolling one or a 20 equals two out of 20
  4334. 5:48:41two out of 20 chances equals 1 out of 10
  4335. 5:48:44chances so the parameters are n equals
  4336. 5:48:4812 the and then p is 1/10th okay there
  4337. 5:48:51are four aces in a deck of 52 cards if
  4338. 5:48:54you pull a card return the card then
  4339. 5:48:58reshuffle and pull a card again how many
  4340. 5:49:01ways can you pull just one8 in five po
  4341. 5:49:04solution this is a binomial problem
  4342. 5:49:06probability problem where we want
  4343. 5:49:09exactly one success 1/8 in five trials
  4344. 5:49:12polls okay to find the number of ways to
  4345. 5:49:16get exactly one8 and five poles we use
  4346. 5:49:18binomial coefficients so this is the
  4347. 5:49:21five and one so we're looking for uh if
  4348. 5:49:25you pull a card return a five then
  4349. 5:49:27reshuffle and pull again how many times
  4350. 5:49:30can you pull just one ace and five pull
  4351. 5:49:33so you get five okay one this is a
  4352. 5:49:36factorial so it's 5 * 4 * 3 so there are
  4353. 5:49:40five ways to
  4354. 5:49:41pull just one ace and five PS so one ace
  4355. 5:49:45five five factorial don't worry it's not
  4356. 5:49:47fully clicking for me yet either so I'll
  4357. 5:49:50come back to these exercises in a second
  4358. 5:49:52let's see what GG had oh she did nothing
  4359. 5:49:55okay that's where I need to make sure I
  4360. 5:49:56need to make sure she's outputting
  4361. 5:49:57before we leave well peace exercise for
  4362. 5:50:00the example in question two what is the
  4363. 5:50:03probability of of pulling five aces in
  4364. 5:50:0610 PS remember the card is shuffled back
  4365. 5:50:08in the deck when it's pulled so this is
  4366. 5:50:11another binomial probability problem we
  4367. 5:50:13want to find the probability of pulling
  4368. 5:50:15exactly five Aces and 10 poles using the
  4369. 5:50:18binomial probability formula which is
  4370. 5:50:20this so n equals 10 K = 5 p = 4 out of
  4371. 5:50:2652 1 out of 13 so p x = 5 10 5 135 I'm
  4372. 5:50:34just getting this in my mind so it
  4373. 5:50:35doesn't all make sense yet I haven't
  4374. 5:50:37even read the book yet calculating the
  4375. 5:50:39probabilities PX
  4376. 5:50:41okay just want to see it all
  4377. 5:50:44okay let's see what happens here and say
  4378. 5:50:47thank you for the clarification the time
  4379. 5:50:49stamps in your data are in UTC we need
  4380. 5:50:51to adjust your time zone as when
  4381. 5:50:53calculating into the intervals here is
  4382. 5:50:55the updated script okay let's go ahead
  4383. 5:50:57and see the order time is UTC perfect
  4384. 5:51:00okay convert American Puerto Rico time
  4385. 5:51:03okay
  4386. 5:51:04dope big big here 245 254 sorry I'm
  4387. 5:51:09absolutely dyslexic but it's okay you
  4388. 5:51:11can do this too dude we all got our our
  4389. 5:51:14disabilities or whatever and um if yeah
  4390. 5:51:18it's just crazy dude it's crazy it's
  4391. 5:51:19crazy you can do anything you want you
  4392. 5:51:21just have to move the boat that way you
  4393. 5:51:24got to move the plane that way tilt it
  4394. 5:51:26that way dude tilt it whichever way
  4395. 5:51:27you're trying to tilt it dude it's all
  4396. 5:51:29on you dude you got this be I'm here
  4397. 5:51:32with you 777 every single day do you
  4398. 5:51:34need to watch this every day I don't
  4399. 5:51:36know dude but make sure you getting your
  4400. 5:51:384 hours in every single day 777 at the
  4401. 5:51:40end of the week we will do a review for
  4402. 5:51:43the Inner Circle the Inner Circle can be
  4403. 5:51:45found somewhere by going to this page on
  4404. 5:51:48the there's a link in the description
  4405. 5:51:49for the Alo trade camp this is where I
  4406. 5:51:52teach you step by step how to automate
  4407. 5:51:53your trading over the course of next 14
  4408. 5:51:5615 days I'll show you step by step
  4409. 5:51:58everything I know the things that I wish
  4410. 5:52:00I had when I got started there's 100%
  4411. 5:52:02money back guarantee I know I'm a random
  4412. 5:52:04dude on the internet so I put that there
  4413. 5:52:06make it super easy for you to to get
  4414. 5:52:08your money back immediately whenever you
  4415. 5:52:11want so you can always rest assured that
  4416. 5:52:14hey if you don't want this anymore you
  4417. 5:52:16can just delete it out of your life and
  4418. 5:52:19get your money back so you can go ahead
  4419. 5:52:21and do that um if you want to join the
  4420. 5:52:23Inner Circle there's a place to get to
  4421. 5:52:25my notion on this page at the bottom and
  4422. 5:52:27you'll have to find how to apply to the
  4423. 5:52:29Inner Circle because Inner Circle
  4424. 5:52:31obviously for people that are absolutely
  4425. 5:52:34vicious and going at this industry at as
  4426. 5:52:36hard as I am so you can see the time
  4427. 5:52:38zone calculation first changes to
  4428. 5:52:41converts it to the local time zone okay
  4429. 5:52:44perfect so now we have these recent
  4430. 5:52:46licks here and they should have the full
  4431. 5:52:48number okay perfect so there was a in
  4432. 5:52:51the last five minutes there was a 1
  4433. 5:52:55point5 million in
  4434. 5:52:59licks in the last 4
  4435. 5:53:02hours there was $4.3 million in licks
  4436. 5:53:09how can I test this how can how can I
  4437. 5:53:13test this code to make sure the math is
  4438. 5:53:18right
  4439. 5:53:19and it's going back back to
  4440. 5:53:27the
  4441. 5:53:29exact amount of time we
  4442. 5:53:33want just curious their thoughts oh my
  4443. 5:53:36goodness see this is killing me today
  4444. 5:53:39B I think it's cuz I got two terminals
  4445. 5:53:41open or two uh whatever you want to call
  4446. 5:53:44those so I think I'm going to have to
  4447. 5:53:46switch over to luxie for the rest of
  4448. 5:53:48this training but it's all good I'm just
  4449. 5:53:51training myself on the
  4450. 5:53:54uh the
  4451. 5:53:59stuff the stuff we need be so to test
  4452. 5:54:03the script and sure math is correct you
  4453. 5:54:05can follow the create a small sample
  4454. 5:54:07data set that you manually verify oh
  4455. 5:54:11nice check the sum of
  4456. 5:54:31liquidations
  4457. 5:54:33well I tend to believe it this is four
  4458. 5:54:37.3
  4459. 5:54:39million in the last four
  4460. 5:54:41hours I can visually see
  4461. 5:54:45here what is this 42 it's 42 minute it's
  4462. 5:54:49a 50 minute right now in the last seven
  4463. 5:54:50minutes I can visually see6 25 2
  4464. 5:54:5626 um like half a mil so I tend to
  4465. 5:55:01believe it um I feel like we've got to
  4466. 5:55:04the place we need to get to and in order
  4467. 5:55:06to keep going and we're mobbing today
  4468. 5:55:08this is crazy we've got a lot done here
  4469. 5:55:11I want to go ahead before we move
  4470. 5:55:12forward I want to go ahead and finish
  4471. 5:55:14this last exercise or these last two
  4472. 5:55:17exercises when you're searching for a
  4473. 5:55:19new job it's always helpful to have more
  4474. 5:55:21than one offer on the table so you can
  4475. 5:55:30use so you can use it in negotiations if
  4476. 5:55:33you have a 1 probability of receiving a
  4477. 5:55:36job offer when you interview with seven
  4478. 5:55:39companies in a month what is the
  4479. 5:55:41probability you'll have at least two
  4480. 5:55:44competing offers by the end of the month
  4481. 5:55:46so solution we need to find the
  4482. 5:55:48probability of getting at least two
  4483. 5:55:50offers out of seven interviews using the
  4484. 5:55:52binomial distribution we can say X2 = 1
  4485. 5:55:57x under two X2 equal PX PX where P is5
  4486. 5:56:05okay and equal 2 and N is
  4487. 5:56:137 and then you wow this math is getting
  4488. 5:56:16tough
  4489. 5:56:22B just want to see it all just want to
  4490. 5:56:24see it all before I read the book so the
  4491. 5:56:26probability of getting at least two
  4492. 5:56:28competing offers is approximately 3 423
  4493. 5:56:32exercise 5 you get a bunch of recruiter
  4494. 5:56:34emails and find out that you have 25
  4495. 5:56:36interviews lined up in the next month
  4496. 5:56:38unfortunately you know this will leave
  4497. 5:56:41you exhausted and the probability of
  4498. 5:56:43getting an offer will drop to 1110th if
  4499. 5:56:46you're tired you really don't want to go
  4500. 5:56:48on this many interviews unless you are
  4501. 5:56:52at least twice as likely to get the two
  4502. 5:56:54competing offers are you more likely to
  4503. 5:56:57get at least two competing offers if you
  4504. 5:57:00go for 25 interviews or just stick with
  4505. 5:57:04seven so solution we need to compare the
  4506. 5:57:07probabilities of getting at least two
  4507. 5:57:09offers in scenarios okay 25 is p = 1 out
  4508. 5:57:13of 10 so P 1 minus p x 10
  4509. 5:57:192 it's not under that's the thing so I'm
  4510. 5:57:22not that's why like skipping through
  4511. 5:57:24this we'll have to read read the
  4512. 5:57:26book that's what the book's for dude PX
  4513. 5:57:29equal Z
  4514. 5:57:322.0.1 * 1 PX
  4515. 5:57:36probability
  4516. 5:57:38X okay so for 25 interviews the
  4517. 5:57:40probability is approximately 728 seven
  4518. 5:57:43interviews P = 15 we already calculated
  4519. 5:57:47this in exercise 4 since
  4520. 5:57:49728 is over Point not it's not over
  4521. 5:57:52though what does this
  4522. 5:57:54mean go deeper onto
  4523. 5:57:57this go deeper on
  4524. 5:58:01these things that look like more than or
  4525. 5:58:08greater
  4526. 5:58:16than cuz I don't think they mean that
  4527. 5:58:27right let's go ahead and copy all this
  4528. 5:58:30here these are examples and I'm going to
  4529. 5:58:31put them on the book section here and
  4530. 5:58:34put the examples here
  4531. 5:58:41okay and then I'm also going to put
  4532. 5:58:43whatever do she says here because I'm
  4533. 5:58:45confused on this part but that's okay I
  4534. 5:58:47haven't even read the book
  4535. 5:58:50yet I'll read the book
  4536. 5:58:52soon after I get aware of everything so
  4537. 5:58:56sure let's dive deeper into the concepts
  4538. 5:58:57of cumulative probability and how we use
  4539. 5:59:00binomial distribution to find
  4540. 5:59:02probabilities for scenarios like at
  4541. 5:59:05least two offers understanding
  4542. 5:59:07cumulative probability and binomial
  4543. 5:59:09distribution and probability the
  4544. 5:59:10notation P looks like greater or equal
  4545. 5:59:14to means the probability that the random
  4546. 5:59:16variable is
  4547. 5:59:18greater than or equal to two
  4548. 5:59:22oh this is different from Simply
  4549. 5:59:25comparing numbers
  4550. 5:59:26like instead it involves calculating the
  4551. 5:59:29probabilities of multiple outcomes and
  4552. 5:59:32adding them together so binomial
  4553. 5:59:35distribution formula the binomial
  4554. 5:59:37probability formula is PX =
  4555. 5:59:416 where n is the number of Trials K is
  4556. 5:59:44so we learned all this I just didn't
  4557. 5:59:46comprehend it P is the probability of
  4558. 5:59:49the success on each trial NK is the
  4559. 5:59:53binomial coefficient which counts the
  4560. 5:59:56number of ways to choose K successes
  4561. 5:59:59from trials cumulative probability
  4562. 6:00:01cumulative probability is the
  4563. 6:00:02probability of a random variable falling
  4564. 6:00:05within a specified range for example
  4565. 6:00:08p/ two means we want the probability of
  4566. 6:00:11getting at least two successes calculate
  4567. 6:00:13p over two we use
  4568. 6:00:15computation 1 minus P this means we
  4569. 6:00:18subtract the probability of outcomes we
  4570. 6:00:20don't want less than two okay
  4571. 6:00:24calculating P under two to find
  4572. 6:00:27probability of X under two we calculate
  4573. 6:00:29the probabilities of getting zero or one
  4574. 6:00:32successes and add them together so p x
  4575. 6:00:35under 2 = PX = 0 + P 1 example 25
  4576. 6:00:40interviews with P = 1110 let's go
  4577. 6:00:43through the calculations in the detail
  4578. 6:00:44calculate PX = 0 PX = 0 =
  4579. 6:00:5025.0 PX = Z calculate PX = 1 x - one = 1
  4580. 6:00:59calculate PX under
  4581. 6:01:04two so the probability of of getting at
  4582. 6:01:06least two offers out of 25 interviews is
  4583. 6:01:09728 when we compare p over two for 25
  4584. 6:01:13interviews to P over two for 70 reviews
  4585. 6:01:17we are comparing the cumulative
  4586. 6:01:18probabilities of getting at least two
  4587. 6:01:20offers in the scenario for seven
  4588. 6:01:22interviews P
  4589. 6:01:24five out of
  4590. 6:01:28five in summary when we compare 728 to
  4591. 6:01:3332
  4592. 6:01:34423 sorry I literally read backwards I
  4593. 6:01:38say
  4594. 6:01:39three okay we are comparing the
  4595. 6:01:41probabilities of getting at least two
  4596. 6:01:43offers in each scenario since 728 is
  4597. 6:01:46bigger than 423 you are more likely to
  4598. 6:01:49get at least two offers if you go for 25
  4599. 6:01:53interviews okay I'm going to just copy
  4600. 6:01:55this part
  4601. 6:01:58here
  4602. 6:02:02again and we're going to put that here
  4603. 6:02:04and then I'm going to close the chapter
  4604. 6:02:05because I haven't read the book yet so I
  4605. 6:02:07want to you know I just want to see
  4606. 6:02:09everything before I read it it's a new
  4607. 6:02:10approach to to reading for
  4608. 6:02:13me or studying I
  4609. 6:02:29guess chapter
  4610. 6:02:345 all right all right so this looks to
  4611. 6:02:36be adding things up perfectly so we got
  4612. 6:02:39what we need here and now we're going to
  4613. 6:02:41move on here to the next part let me say
  4614. 6:02:44what's up to everybody in the chat here
  4615. 6:02:45if anybody's in there I hope you're
  4616. 6:02:48doing
  4617. 6:03:04well
  4618. 6:03:34e e
  4619. 6:04:23they are training with their emotions
  4620. 6:04:25and I can tell because I don't know
  4621. 6:04:27where that video is coming from turn my
  4622. 6:04:30mic off for a
  4623. 6:04:34sec e
  4624. 6:05:18I don't know how that started that's
  4625. 6:05:20super weird but whatever um we uh we're
  4626. 6:05:24killing it here today and I'm going to
  4627. 6:05:26jump into the twitch chat right now say
  4628. 6:05:27what's up to
  4629. 6:05:33everybody just want to say what up what
  4630. 6:05:35up what up 777 everybody in here
  4631. 6:05:37appreciate
  4632. 6:05:45you Z2 what up dog how are
  4633. 6:05:49you you said bro question mark what up
  4634. 6:05:56bro Gib bozi says hi bro for what I
  4635. 6:05:59remember the the line sign that goes in
  4636. 6:06:02between these the bar f means like the
  4637. 6:06:06probability of a because of B in your
  4638. 6:06:09case P fine is speeding means that
  4639. 6:06:12probability of the event fine occurs
  4640. 6:06:15because the event speeding happened I
  4641. 6:06:18think that considering the sign be being
  4642. 6:06:22and isn't correct if I'm not wrong nice
  4643. 6:06:25dude I appreciate you uh sharing that
  4644. 6:06:27with me it's
  4645. 6:06:29helpful this is all pretty new
  4646. 6:06:32so Henny what's up bro um I'm building a
  4647. 6:06:36liquidation trading
  4648. 6:06:40bot what up what up J how are
  4649. 6:06:47you Z2 says do you consider yourself an
  4650. 6:06:50algorithmic Trader or a Quant I feel
  4651. 6:06:52like they're the same thing I mean
  4652. 6:06:54they're a little different but I I don't
  4653. 6:06:55know terminology and I don't really care
  4654. 6:06:58I just I'm I automate my
  4655. 6:07:00trading give me whatever you want what
  4656. 6:07:02up Wishy how are you 777
  4657. 6:07:06um just woke up P says just woke up I
  4658. 6:07:09was about to check my trades here you
  4659. 6:07:11are early dedicated Big Ups my my
  4660. 6:07:13pleasure bro I appreciate you being here
  4661. 6:07:16thank you for thank you for noticing I
  4662. 6:07:19go hard glad you're here as
  4663. 6:07:22well yo what up grantom how are you good
  4664. 6:07:25to see you 777
  4665. 6:07:43yo Hans from YouTube says hello Mev I'm
  4666. 6:07:45new to programming I discovered your
  4667. 6:07:47channel and was immediately hooked on
  4668. 6:07:48the way you do things I do not
  4669. 6:07:51understand much at the moment of coding
  4670. 6:07:53and trading but I'm willing to learn
  4671. 6:07:54that's all you need dude good for you
  4672. 6:07:56777 sending you so much love to you bro
  4673. 6:08:00that's all you need is you need the will
  4674. 6:08:01to learn you know uh not watching the
  4675. 6:08:04chat somebody said yeah I'm not uh do
  4676. 6:08:07you have somewhere on Discord that I can
  4677. 6:08:08message you yeah dude uh if you go to
  4678. 6:08:10the website here at the bottom of the
  4679. 6:08:12page you can send you can join Discord
  4680. 6:08:14here and um also that's a good place to
  4681. 6:08:18find how to uh join the
  4682. 6:08:21[Music]
  4683. 6:08:22uh the boot camp and everything else I
  4684. 6:08:25have to
  4685. 6:08:27offer it's really nothing it's just the
  4686. 6:08:29boot camp and then I have the the weekly
  4687. 6:08:31the weekly Inner Circle stuff so good
  4688. 6:08:34morning everybody 777 it's been a great
  4689. 6:08:37time so far and uh we're going to keep
  4690. 6:08:39building here we're building out this
  4691. 6:08:40liquidation bot I'm simply following the
  4692. 6:08:43uh process that I have here and the RBI
  4693. 6:08:46process is everything to me so I'm just
  4694. 6:08:48going to keep opening this up and then
  4695. 6:08:50this is what we're brainstorming or
  4696. 6:08:53we've already brainstormed what we're
  4697. 6:08:54working on so I'm building out this
  4698. 6:08:56liquidation this is the thesis is
  4699. 6:08:58liquidations Drive the crypto market
  4700. 6:09:00price um that's just a thesis though so
  4701. 6:09:04uh and that's what we're building on so
  4702. 6:09:05you can see I'm grabbing all the
  4703. 6:09:06liquidation data here recent licks lick
  4704. 6:09:09data here and it's just continuously
  4705. 6:09:11adding there so it should be running
  4706. 6:09:13here let's make
  4707. 6:09:21sure there it is perfect
  4708. 6:09:38I need to now formulate these if they're
  4709. 6:09:42long liquidated or short
  4710. 6:09:45liquidated so I'm going to go ahead and
  4711. 6:09:47do that let's go ahead here and
  4712. 6:09:49say please please update the above code
  4713. 6:09:55to also track if it's a long liquidation
  4714. 6:10:01or a short
  4715. 6:10:04liquidation uh I I
  4716. 6:10:07classify classify them
  4717. 6:10:11classify them like they are in the below
  4718. 6:10:15code and then send the
  4719. 6:10:19updated above code back okay so classify
  4720. 6:10:24them like I do
  4721. 6:10:25here and all figured out how I
  4722. 6:10:28classified them while she does that okay
  4723. 6:10:30so I classify the long licks
  4724. 6:10:39oh I fed this up
  4725. 6:10:40B fudge need copy
  4726. 6:10:50this wow that was a big
  4727. 6:10:55L it's okay we caught it though we
  4728. 6:10:58caught it caught it quick caught it
  4729. 6:11:00quick I just put it in the wrong file
  4730. 6:11:02and I deleted my old one okay so I'm
  4731. 6:11:04going to say the same
  4732. 6:11:18too
  4733. 6:11:19copy paste it in and then I need to get
  4734. 6:11:22the main here good catch
  4735. 6:11:26Moon perfect okay now let's output it um
  4736. 6:11:30yeah so what's up everybody if you have
  4737. 6:11:32any questions you can use this time as a
  4738. 6:11:34free consultation if you want but if not
  4739. 6:11:36that's cool
  4740. 6:11:40too let's go ahead and see what's going
  4741. 6:11:42on in the market because it did open and
  4742. 6:11:44I haven't looked at it yet so you can
  4743. 6:11:46see Tesla
  4744. 6:11:49up Nidia up coinbase up so everything's
  4745. 6:11:53up which is cool I want to see the gme
  4746. 6:11:56because that's what really holy moly
  4747. 6:11:59that down bad that went up huge and then
  4748. 6:12:02down bad crazy crazy
  4749. 6:12:27crazy crazy crazy time crazy time
  4750. 6:13:03I'm going put this up here cuz this is
  4751. 6:13:04actually super fun to watch gme the saga
  4752. 6:13:08continues I
  4753. 6:13:12guess so let's put it right
  4754. 6:13:15there I can't believe it was up 75% this
  4755. 6:13:18morning that's crazy
  4756. 6:13:35okay um let's see if it went ahead and
  4757. 6:13:38updated that here's the updated code to
  4758. 6:13:39track whether if it a long liquidation
  4759. 6:13:42or a short liquidation this is
  4760. 6:13:44important
  4761. 6:13:46okay there we go total licks long licks
  4762. 6:13:49short licks
  4763. 6:13:50perfect so in the last five minutes says
  4764. 6:13:57there's easier to read this one 40,000
  4765. 6:14:00in the last 5
  4766. 6:14:02minutes I tend to believe that 32,000
  4767. 6:14:05and okay this looks great to me so I
  4768. 6:14:08feel pretty comfy here and um see if
  4769. 6:14:11there's any more questions here in the
  4770. 6:14:13chat yo how you been doing Louis how are
  4771. 6:14:16you uh it's good to see
  4772. 6:14:18you uh don big Don do we need to use a
  4773. 6:14:21node for these Bots no you don't I mean
  4774. 6:14:24if you're doing Solana sniping there's
  4775. 6:14:28an advantage to having your own node I
  4776. 6:14:30don't have my own node though so it's
  4777. 6:14:33been a long time Lou says L says it's
  4778. 6:14:35been a long time since I came to your
  4779. 6:14:37streams yo I'm glad you're here the last
  4780. 6:14:39time I was here I remember you building
  4781. 6:14:41your first Bots wow dude that's awesome
  4782. 6:14:43so you came years back uh it's all been
  4783. 6:14:46good bro everything's been great life is
  4784. 6:14:48perfect life is perfect how it is and I
  4785. 6:14:52much love to you
  4786. 6:14:53777 that's it that's it all that's all I
  4787. 6:14:56got to say about life dog just how it's
  4788. 6:14:59supposed to be so you can see now this
  4789. 6:15:02splits it up between long licks and
  4790. 6:15:03short licks which is great gravy that's
  4791. 6:15:06really gravy to me and we're going to
  4792. 6:15:08keep mobbing through this I'm going to
  4793. 6:15:10drink some water but we're going to keep
  4794. 6:15:33mobbing
  4795. 6:16:03e
  4796. 6:16:33e e
  4797. 6:17:14major liquidations on the long side now
  4798. 6:17:16wow look at this this is
  4799. 6:17:19wild some wild wild stuff and let's see
  4800. 6:17:21if our thing actually catches though so
  4801. 6:17:25recent licks here recent licks.
  4802. 6:17:31py and if we go look at the CSV now you
  4803. 6:17:34can see
  4804. 6:17:3514 yeah 1.4 mil when did this happen
  4805. 6:17:38this is 31 it is 31 it happened this
  4806. 6:17:41minute okay so this is
  4807. 6:17:46great this is really
  4808. 6:17:56awesome
  4809. 6:17:58so over here let's see the
  4810. 6:18:02liquidation see what it's looking like
  4811. 6:18:04out there okay yeah uh so people people
  4812. 6:18:07are hand trading here clearly they're
  4813. 6:18:10like okay right here boom
  4814. 6:18:15boom this is uh a place to long and now
  4815. 6:18:18they're all getting
  4816. 6:18:19liquidated so I'm glad I'm glad we're
  4817. 6:18:21seeing this I'm glad we see examples
  4818. 6:18:23while we're building this because
  4819. 6:18:25remember this is what we're building
  4820. 6:18:26here we go to our brainstorm here
  4821. 6:18:28liquidations the thesis is liquidations
  4822. 6:18:30Drive the crypto market price simply
  4823. 6:18:32moves between licks and price is least
  4824. 6:18:35real at Big liquidations so stat
  4825. 6:18:40ARB we're going to work on this we're
  4826. 6:18:42going to work on liquidation data source
  4827. 6:18:43that is stable and that's where we we're
  4828. 6:18:46we're doing right now and then we're
  4829. 6:18:49going
  4830. 6:18:50to like this is this this ain't stable
  4831. 6:18:53is what I
  4832. 6:19:01said oh one thing that I I need to do
  4833. 6:19:04here here is let's go over here to the
  4834. 6:19:06liquidation data again just for the
  4835. 6:19:08visual liquidation data because I think
  4836. 6:19:09this is super important to
  4837. 6:19:21have go check out all the prints because
  4838. 6:19:23processing error message yeah error
  4839. 6:19:26processing message debug simulated don't
  4840. 6:19:29need that connected
  4841. 6:19:33URI I might remove some stuff out of
  4842. 6:19:36that later I'm not going to do it now
  4843. 6:19:38going to stay focused here so that's not
  4844. 6:19:40stable let's go ahead and see where are
  4845. 6:19:43we so we have the liquidation data that
  4846. 6:19:44we need anytime we run
  4847. 6:19:47this we're able to get the data that we
  4848. 6:19:49want okay so let's update this let's
  4849. 6:19:51just keep working on this script here
  4850. 6:19:53this essentially we have all the data
  4851. 6:19:55the liquidation data being stored all
  4852. 6:19:57these
  4853. 6:19:58liquidation all these liquidations here
  4854. 6:20:00so everybody getting wrecked right now
  4855. 6:20:02we're storing all that information and
  4856. 6:20:05based off that information we're going
  4857. 6:20:06to go ahead and build a
  4858. 6:20:13bot couple things to note here maybe I
  4859. 6:20:16should make like a read me
  4860. 6:20:21stats I think read me like I don't it's
  4861. 6:20:24okay like I can put it in the strategies
  4862. 6:20:26but feel like a read me is more
  4863. 6:20:28appropriate
  4864. 6:20:30readme.md okay so liquidation bot okay
  4865. 6:20:35just want to put some notes here so one
  4866. 6:20:37note here
  4867. 6:20:41is the other
  4868. 6:20:44day we saw a
  4869. 6:20:4815minute liquidation 15
  4870. 6:20:52mil
  4871. 6:20:53liquidation over like 30 minutes and
  4872. 6:20:58that was the
  4873. 6:21:00pivot point of the market but
  4874. 6:21:05but that was only looking at big
  4875. 6:21:10orders so it was likely more oh
  4876. 6:21:26but okay my question is are we looking
  4877. 6:21:28to go after these mofos essentially look
  4878. 6:21:32at these different like players in the
  4879. 6:21:34game
  4880. 6:21:35they're gambling by hand and we're not
  4881. 6:21:38so I'm trying to do things that they
  4882. 6:21:40won't do well okay they're getting
  4883. 6:21:43liquidated I will I my bots will never
  4884. 6:21:45get liquidated unless like I program it
  4885. 6:21:47in to get liquidated like no stops or
  4886. 6:21:54anything but these guys will get
  4887. 6:21:56liquidated so I know they're humans
  4888. 6:21:58pretty
  4889. 6:22:00much Big Lick here on
  4890. 6:22:03eth so
  4891. 6:22:08so so maybe maybe like
  4892. 6:22:1415m
  4893. 6:22:16to I would say 20 to
  4894. 6:22:1930 um instead of
  4895. 6:22:2315 assume that there's like a I don't
  4896. 6:22:26know what's the probability be is the
  4897. 6:22:29question I'm just kidding since we're
  4898. 6:22:31learning probabilities here okay let's
  4899. 6:22:33go ahead and uh
  4900. 6:22:48turn this music back on please that's
  4901. 6:22:50the first thing we should
  4902. 6:22:55[Music]
  4903. 6:23:01do all right
  4904. 6:23:08all right
  4905. 6:23:11so maybe 20 to 15 okay what we're going
  4906. 6:23:13to do here is now update this code so
  4907. 6:23:17essentially we want to
  4908. 6:23:22grab grab
  4909. 6:23:25the total for
  4910. 6:23:28each total long and short total long and
  4911. 6:23:33short l liquidations for each and set to
  4912. 6:23:38a
  4913. 6:23:51variable per
  4914. 6:23:56minute so
  4915. 6:23:59like
  4916. 6:24:01the 5
  4917. 6:24:03minute for
  4918. 6:24:35so grab the five minute total long is
  4919. 6:24:37short is it see if the AI can work here
  4920. 6:24:41all right
  4921. 6:24:42well doesn't look like it
  4922. 6:24:47so I'm start using AI a little
  4923. 6:24:49differently too so I can stay
  4924. 6:24:51warm what is
  4925. 6:24:58the if I have a
  4926. 6:25:01DF how do I grab the a certain a certain
  4927. 6:25:09column out of the
  4928. 6:25:14DF a certain
  4929. 6:25:26value of
  4930. 6:25:30a for a certain
  4931. 6:25:41I think it's just going to give me the
  4932. 6:25:42answer I guess I should just keep going
  4933. 6:25:43with the answer um I just feel like I'm
  4934. 6:25:46in a a learning mode right now reading
  4935. 6:25:49this book and whatnot
  4936. 6:25:50so I'm just like being a little more
  4937. 6:25:53conscious about hey let's make sure I
  4938. 6:25:56remember this stuff
  4939. 6:25:59because you know I know it's something
  4940. 6:26:01like with I IO
  4941. 6:26:06you use ilock to get
  4942. 6:26:11the uh total long and short
  4943. 6:26:17from the 15minute interval let's see
  4944. 6:26:21like I could do that okay now so it's
  4945. 6:26:24total DF iock of
  4946. 6:26:27one decorations
  4947. 6:26:36okay let's go ahead here and look at
  4948. 6:26:39this so you use iock okay that's that's
  4949. 6:26:42it that was the
  4950. 6:26:44answer I guess I knew it I guess I knew
  4951. 6:26:46it deep down it's just I needed to look
  4952. 6:26:47up the uh the thing so value
  4953. 6:26:55interval total liquidation big licks
  4954. 6:26:57coming through here
  4955. 6:27:11this is so good it's happening because
  4956. 6:27:14now we're going to be able to see it
  4957. 6:27:19interval so where the interval equals
  4958. 6:27:22interval yeah that makes sense okay so
  4959. 6:27:25let's go ahead here and say this then
  4960. 6:27:28cuz this is a better so we can put
  4961. 6:27:30interval
  4962. 6:27:32here up here
  4963. 6:27:36time
  4964. 6:27:41frame
  4965. 6:27:46interval going to change this one
  4966. 6:27:51then all right let's see what it's
  4967. 6:27:53looking like so this is the total
  4968. 6:27:55liquidations here for for the 5 minute
  4969. 6:27:58and that looks perfect
  4970. 6:28:01okay and then this should be the total
  4971. 6:28:04liquidations for the 15
  4972. 6:28:08minute woy [ __ ] woy whoop it is good good
  4973. 6:28:12good okay and then let's update this
  4974. 6:28:15[Music]
  4975. 6:28:19so same for short and
  4976. 6:28:26long
  4977. 6:28:29nice nice okay that's that's how we got
  4978. 6:28:31to work with it you just got to like
  4979. 6:28:33massage a little better like know a
  4980. 6:28:35little something you know like when I
  4981. 6:28:36pulled out that eyck I was able then I'm
  4982. 6:28:39on Off to the Races so I had to know
  4983. 6:28:41about iock though or lock or Lo or lo
  4984. 6:28:44you know I got my LS on B I got my LS on
  4985. 6:28:47right now so I guess I know a little bit
  4986. 6:28:49about it but not that much I'm going
  4987. 6:28:51keep learning B every single day I'm
  4988. 6:28:53going to keep learning so we can see
  4989. 6:28:55here that now I can switch the thing
  4990. 6:28:59over here you can see the 15 minute is
  4991. 6:29:0135 on short liquidation
  4992. 6:29:04that's that's information B that's good
  4993. 6:29:10info
  4994. 6:29:12print print um
  4995. 6:29:23print hey
  4996. 6:29:28blood all right there we go so total
  4997. 6:29:30liquidations
  4998. 6:29:33okay for
  4999. 6:30:12so these are long licks
  5000. 6:30:27here these are short
  5001. 6:30:30legs short should I yell at myself
  5002. 6:30:35nah let's just say
  5003. 6:30:38short so these are short licks okay well
  5004. 6:30:40let's make these
  5005. 6:30:42red make red with
  5006. 6:30:50cint you got this dog
  5007. 6:31:08whoa I didn't know you could do that
  5008. 6:31:37all right let's go ahead and delete this
  5009. 6:31:39one as well okay boom okay let's see how
  5010. 6:31:42it looks now
  5011. 6:31:43perfect I mean pretty pretty
  5012. 6:31:46perfect I'm going to go ahead and make a
  5013. 6:31:49couple changes here just couple little
  5014. 6:31:51changes here
  5015. 6:31:53because need to be perfect perfect okay
  5016. 6:31:5615 minute now 15 minute total Els is
  5017. 6:31:59that
  5018. 6:32:04I can't read it
  5019. 6:32:05though I mean I can but you
  5020. 6:32:12know the value
  5021. 6:32:17here so the value
  5022. 6:32:20of make the value in
  5023. 6:32:23USD with commas sorry sorry rest of the
  5024. 6:32:28world and I know that's most of the
  5025. 6:32:30world my
  5026. 6:32:32bad why but I'm a
  5027. 6:32:35Noob I like to be able to read it fast
  5028. 6:32:38fast fast fast fast you'd understand
  5029. 6:32:42yeah it's about the speed be but the
  5030. 6:32:46thing is I really want to make it uh
  5031. 6:32:49it's okay it's the number is the number
  5032. 6:32:51right okay there we
  5033. 6:32:54go that's easier for me to read so you
  5034. 6:32:58can see the total licks versus the short
  5035. 6:33:00licks
  5036. 6:33:24this looks super good to
  5037. 6:33:30me okay so what I'm going to do here is
  5038. 6:33:33uh
  5039. 6:33:35I'mma call them
  5040. 6:33:59liquidations and I need to correct my
  5041. 6:34:01grammar here
  5042. 6:34:05you're welcome
  5043. 6:34:07Mom or thank you actually really thank
  5044. 6:34:11you thank you for teaching me to speak
  5045. 6:34:15good that's a joke that's a joke that's
  5046. 6:34:18a joke B that's a
  5047. 6:34:20joke if you get that joke you know the
  5048. 6:34:23language very very good
  5049. 6:34:27good all
  5050. 6:34:29right let's go ahead and run this B and
  5051. 6:34:34I want to go ahead and actually print
  5052. 6:34:36out or don't print that out
  5053. 6:34:38anymore I want to go ahead and not to
  5054. 6:34:41print that out anymore okay you see all
  5055. 6:34:44the code here so you're caught up to
  5056. 6:34:46speed and if you're not caught up to
  5057. 6:34:47speed join the Boot Camp or catch up on
  5058. 6:34:50Friday on Friday we
  5059. 6:34:52do a review here on
  5060. 6:34:56um on Zoom it's only for for 100 people
  5061. 6:35:01Max Max Max the Inner Circle per per
  5062. 6:35:09say let's go ahead here and open this up
  5063. 6:35:13now to control no wow look at that he's
  5064. 6:35:16not a noob anymore cond activate T flow
  5065. 6:35:21jumping out my
  5066. 6:35:23Noob copy path path path let's go ahead
  5067. 6:35:27and say
  5068. 6:35:29python oh my God why so many prints my I
  5069. 6:35:42got no no no we good we good I was like
  5070. 6:35:46am I doing it in the wrong place
  5071. 6:35:49again why did it show me something
  5072. 6:35:53different what are you
  5073. 6:36:00printing I don't see it printing
  5074. 6:36:02anything see there's something different
  5075. 6:36:04going on
  5076. 6:36:05now cuz this happened earlier too like
  5077. 6:36:09it
  5078. 6:36:10stored an earlier
  5079. 6:36:20version got a
  5080. 6:36:24weird wait wait wait before I go all
  5081. 6:36:28like conspiracy theory here let's
  5082. 6:36:31actually check the prints
  5083. 6:36:35this guy I'm about to go into a
  5084. 6:36:39conspiracy
  5085. 6:36:40of some weird problem that I thought I
  5086. 6:36:44had but I didn't even exit all the
  5087. 6:36:47prints so let me go ahead and start
  5088. 6:36:49there and make sure we actually have
  5089. 6:36:51that problem before I spend four hours
  5090. 6:36:53there we go that's looking good to me
  5091. 6:36:57now recent licks I'm going call this
  5092. 6:36:59recent licks Loop
  5093. 6:37:04Loop
  5094. 6:37:06okay and then I want to go ahead and
  5095. 6:37:09just grab some of my code because I
  5096. 6:37:11don't remember
  5097. 6:37:12anything let's see if I can do it
  5098. 6:37:15actually let's say from
  5099. 6:37:19um to CSV save the data to a CSV
  5100. 6:37:36I feel like we're just going to make
  5101. 6:37:37this all the
  5102. 6:37:38bot death bot
  5103. 6:37:49okay okay oh okay and then uh
  5104. 6:37:54schedule to run
  5105. 6:37:58every 15 minutes you right 30 seconds
  5106. 6:38:12so I'm G say bot first and then I'm
  5107. 6:38:14gonna say schedule every 30 seconds do
  5108. 6:38:17bot wild true
  5109. 6:38:21try oh I can do this
  5110. 6:38:25dude time.
  5111. 6:38:29sleep not 78 my guy five import
  5112. 6:38:35time okay try and accept accept
  5113. 6:38:41what print um
  5114. 6:38:45er trying again in
  5115. 6:38:4920 yo son hey back it up back it up back
  5116. 6:38:53it
  5117. 6:38:54up okay time okay there we go now we're
  5118. 6:38:59going my
  5119. 6:39:01guy every single day every single second
  5120. 6:39:03okay let's go ahead and run it from over
  5121. 6:39:05here now I think this is going to be
  5122. 6:39:07some useful things to have copy
  5123. 6:39:12path
  5124. 6:39:15python okay what's wrong here though
  5125. 6:39:18buddy oal interal
  5126. 6:39:20DF inal
  5127. 6:39:24DF what happened here
  5128. 6:39:41I think all this needs
  5129. 6:39:47to not all of it just
  5130. 6:39:51this hi I don't know to be honest let's
  5131. 6:39:54go
  5132. 6:39:58check for label yeah
  5133. 6:40:06totals here liquidation table this is
  5134. 6:40:09part of it okay but this needs to be
  5135. 6:40:12moved over
  5136. 6:40:13here okay it's moved over now I think
  5137. 6:40:16that should fix the problem but we'll
  5138. 6:40:17see for label okay that looks good yeah
  5139. 6:40:20total is DF oh that looks so nice so so
  5140. 6:40:23nice I had to move it over because I had
  5141. 6:40:24to put in a bot because the bot had to
  5142. 6:40:26go ahead and be a bot you know what I'm
  5143. 6:40:28saying do you know what I'm saying it
  5144. 6:40:31needs to go ahead and actually be a bot
  5145. 6:40:33that I can run over and over and over
  5146. 6:40:35again because you're about to see what
  5147. 6:40:36I'm about to do with
  5148. 6:40:39it new screen who
  5149. 6:40:44this I don't need the bottom ones right
  5150. 6:40:49here let's get that one out of
  5151. 6:40:57here there we go
  5152. 6:41:08it's too
  5153. 6:41:10long sorry if you don't know what
  5154. 6:41:11liquidations are then it's your bad not
  5155. 6:41:15mine n it's all good dog it's okay if
  5156. 6:41:18you don't know but we'll figure it out
  5157. 6:41:20together just going to put it right here
  5158. 6:41:23because these there's not many of them
  5159. 6:41:24you
  5160. 6:41:31know looks like there's a lot of
  5161. 6:41:32liquidations coming through here which
  5162. 6:41:34is neat to see live holy
  5163. 6:41:45smokes I mean this is a perfect time
  5164. 6:41:48though this is a perfect
  5165. 6:41:51time you can see the last time last big
  5166. 6:41:54liquidations were down here 15 million
  5167. 6:41:57so we've been working on this this
  5168. 6:41:58entire time I think it I I don't know I
  5169. 6:42:01don't know but like I think this is a
  5170. 6:42:03level so if it doesn't hit that level
  5171. 6:42:06maybe it's a new it changes to a new
  5172. 6:42:08level but we'll see what are the
  5173. 6:42:1015-minute liquidation is looking
  5174. 6:42:12like cuz when this this is so great this
  5175. 6:42:15is time life is just so perfect the
  5176. 6:42:18perfect this is such good timing of this
  5177. 6:42:20because we're building it and the
  5178. 6:42:22threshold that we're thinking of here is
  5179. 6:42:2620m instead of 15m so you see we got a
  5180. 6:42:29ways to go boy we got a ways to go
  5181. 6:42:35for it to be anything like this was so
  5182. 6:42:39where are these liquidations hidden
  5183. 6:42:42that's the
  5184. 6:42:45question so what I like so far is now
  5185. 6:42:50we're looking at the data down here and
  5186. 6:42:52what I really like about this just just
  5187. 6:42:54to since we have it here is that I feel
  5188. 6:42:57like a hand Trader would be like oh yeah
  5189. 6:43:00look let's buy the dip right here but we
  5190. 6:43:02can
  5191. 6:43:06see D this could be bigger
  5192. 6:43:10huh we can see in reality well the last
  5193. 6:43:15time there was a pivot in the market it
  5194. 6:43:18was 15 million of licks
  5195. 6:43:22so yeah while this is a dip um I don't
  5196. 6:43:26know or or was 15 million too rare like
  5197. 6:43:30I don't know I don't know these answers
  5198. 6:43:32but um that's what I'm building for so
  5199. 6:43:34I'm exploring I'm exploring we've been
  5200. 6:43:36watching this data for a few months now
  5201. 6:43:39maybe I don't know I don't know time is
  5202. 6:43:42irrelevant but I'mma keep showing up if
  5203. 6:43:44you keep showing up I'mma keep showing
  5204. 6:43:46up you keep showing up I'mma keep
  5205. 6:43:48showing up all right you keep showing up
  5206. 6:43:51I'mma keep showing up every single day
  5207. 6:43:52777 so much love to you
  5208. 6:44:03all right we'll keep the we'll keep an
  5209. 6:44:04eye on these liquidations
  5210. 6:44:09here um I could probably move this down
  5211. 6:44:12because yeah there we
  5212. 6:44:17go these are pretty important to
  5213. 6:44:20me pretty important probably one of the
  5214. 6:44:23most important
  5215. 6:44:25things oh you can't see that one
  5216. 6:44:29huh move
  5217. 6:44:36there we go that looks great to me I'mma
  5218. 6:44:39put these a little
  5219. 6:44:42bigger that's it so I like this
  5220. 6:44:46already I think more people got to get
  5221. 6:44:48licked here before this resets but again
  5222. 6:44:51that's just like this is just me talking
  5223. 6:44:53so it means zero z00 zero like you know
  5224. 6:44:59I'm not a good hand Trader I have
  5225. 6:45:01emotions and
  5226. 6:45:04even looking at this chart right now
  5227. 6:45:05even the data we're looking
  5228. 6:45:11at like it's hard to tell what's going
  5229. 6:45:15to happen
  5230. 6:45:23here it's interesting though because I
  5231. 6:45:25can see both sides I can see it dumping
  5232. 6:45:28until it gets closer to the 15 million
  5233. 6:45:31liquidations
  5234. 6:45:33you can see you can make a case for both
  5235. 6:45:35sides and that's why trading doesn't
  5236. 6:45:37work because you're just going to make a
  5237. 6:45:38case for the side of your bias of that
  5238. 6:45:41day like if you're feeling super good
  5239. 6:45:44like okay you're probably going to buy
  5240. 6:45:45this dip it might work out there a lot
  5241. 6:45:49of volume right
  5242. 6:45:56here and that's another thing here is
  5243. 6:45:58like okay while this was 15 million
  5244. 6:46:01liquidations what's going on with the
  5245. 6:46:02volume
  5246. 6:46:07questions because the volume actually is
  5247. 6:46:10as high as this liquidation point so
  5248. 6:46:16while Ah that's interesting I actually
  5249. 6:46:18like
  5250. 6:46:20that like that new variable here because
  5251. 6:46:24I know it's hard to see this because
  5252. 6:46:25it's just like so light gray but these
  5253. 6:46:30volume bars are the same
  5254. 6:46:40amount these liquidations are much
  5255. 6:46:43different it's a 2 million in the last
  5256. 6:46:4615
  5257. 6:46:49minutes and we've been tracking it for
  5258. 6:46:51the last 15 I believe yeah let's see
  5259. 6:46:54let's make
  5260. 6:46:57sure yeah yeah we've been here
  5261. 6:46:59since 48 yeah yeah so these numbers are
  5262. 6:47:04correct the part it doesn't account for
  5263. 6:47:07is like other exchanges so this is just
  5264. 6:47:09binance right
  5265. 6:47:14so it's something to note as
  5266. 6:47:18well how does how does how
  5267. 6:47:23does here I put this on here because
  5268. 6:47:29man I guess I could just put it in here
  5269. 6:47:31like this for
  5270. 6:48:27I'm going to put it here it's going to
  5271. 6:48:28be better
  5272. 6:48:35how does
  5273. 6:48:37um volume come into
  5274. 6:48:48play oh yeah let's make this a
  5275. 6:49:00thing too high volume
  5276. 6:49:05bars
  5277. 6:49:07with huge difference in lck
  5278. 6:49:13amounts
  5279. 6:49:17so let's put that in here
  5280. 6:49:55okay so that's the lick amount maybe a
  5281. 6:49:57bit higher
  5282. 6:50:11while
  5283. 6:50:15the
  5284. 6:50:17previous Lake
  5285. 6:50:21was 15 M
  5286. 6:50:24worth huge
  5287. 6:50:28discrepancy huge
  5288. 6:50:30diff but
  5289. 6:50:34similar W
  5290. 6:50:38you how can we use this
  5291. 6:50:44info
  5292. 6:50:46okay they got some big players out today
  5293. 6:50:49so 15
  5294. 6:51:00minutes you can see that here so
  5295. 6:51:03so I obviously need to open this up a
  5296. 6:51:06bit so let's open it up a bit
  5297. 6:51:09first time frame
  5298. 6:51:38I mean can we just print this DF B
  5299. 6:51:41because that's going to be the nicest
  5300. 6:51:42let's just do that duh I mean we'll see
  5301. 6:51:46we'll see we'll see let's print the DF
  5302. 6:51:50first
  5303. 6:51:52um print totals
  5304. 6:51:56DF
  5305. 6:52:00okay nice that's so beautiful
  5306. 6:52:07boy whing whing Wilding Wilding okay
  5307. 6:52:10let's go ahead here
  5308. 6:52:12[Music]
  5309. 6:52:23and let's just put time frames
  5310. 6:52:28here equal uh yeah
  5311. 6:52:33how many which ones do we have here uh
  5312. 6:52:35recent licks here we got the uh all
  5313. 6:52:39these ones two hour 4 Hour 90
  5314. 6:52:42minutes so
  5315. 6:52:4551530
  5316. 6:52:4851530
  5317. 6:52:50192 192 and four hours okay it knows I
  5318. 6:52:55don't know I don't know it knows
  5319. 6:53:08let's just move this
  5320. 6:53:10over let's just move it on over and now
  5321. 6:53:14time frame is set to that
  5322. 6:53:19dude sounds good to
  5323. 6:53:22me let's go ahead and get rid of
  5324. 6:53:25these let's get rid of this one too
  5325. 6:53:27matter of fact all right peace rip
  5326. 6:53:33there we go po hand
  5327. 6:53:45nice this needs his own
  5328. 6:53:48roll okay
  5329. 6:53:55so I think I dropped the i in but where
  5330. 6:53:58are my my headphones at okay they're
  5331. 6:54:00right here sorry they're dying
  5332. 6:54:15all right SI okay oh we see some long or
  5333. 6:54:18short liquidations now
  5334. 6:54:24so 2our licks
  5335. 6:54:50first easy
  5336. 6:54:52bucket first
  5337. 6:54:54easy
  5338. 6:54:56second easy
  5339. 6:54:59bunny I guess that doesn't matter really
  5340. 6:55:06where am I going to put it is the
  5341. 6:55:09question oh we got room right
  5342. 6:55:16here welcome to the fan fam
  5343. 6:55:32what am I covering oh that's
  5344. 6:55:34fine we look at it a different way
  5345. 6:55:38now it's good to have you here fam
  5346. 6:56:15all right so this is great because now
  5347. 6:56:17we got the liquidations on the screen in
  5348. 6:56:20a much easier way I can see the long
  5349. 6:56:23licks short licks this is great
  5350. 6:56:27dude so that's nice for me I like it so
  5351. 6:56:32we making moves every single day dude
  5352. 6:56:34every single day no matter what I don't
  5353. 6:56:38care I don't care how long it takes all
  5354. 6:56:42I care about is continuing until we get
  5355. 6:56:45what we
  5356. 6:56:46need what do we need be I got big goals
  5357. 6:56:49got big goals in this game and I'm going
  5358. 6:56:51to viciously attack it until I get there
  5359. 6:56:54I'll do a weekly review on Fridays from
  5360. 6:56:57here on out only for the 100 closest the
  5361. 6:57:00100 people I hand select
  5362. 6:57:04I'm not even going to tell you how to
  5363. 6:57:05sign up for
  5364. 6:57:07it you can join the boot camp there's a
  5365. 6:57:10link below in the description if you
  5366. 6:57:12want to learn how to automate your
  5367. 6:57:13trading step by step I hold your hand
  5368. 6:57:18bro short concise
  5369. 6:57:22videos and for a special 100
  5370. 6:57:28people I'll do Friday reviews by popular
  5371. 6:57:33demand Friday reviews are here Fridays
  5372. 6:57:38at noon Fridays at noon
  5373. 6:57:40Eastern so this week is going to be the
  5374. 6:57:43first one and we're going to go over all
  5375. 6:57:44of this code everything we've seen today
  5376. 6:57:46all liquidation code everything we
  5377. 6:57:49continue to build the rest of the day
  5378. 6:57:51everything dog everything I do you get
  5379. 6:57:54you get to see it
  5380. 6:57:55all and now I'm going to do these 30
  5381. 6:57:58minute Zoom calls on Fridays 30 minutes
  5382. 6:58:02minutes you literally get to take my
  5383. 6:58:04time and turn it into 30
  5384. 6:58:07minutes like I said I'm not even going
  5385. 6:58:09to tell you how to apply for that if you
  5386. 6:58:12can't figure that out my guy
  5387. 6:58:17then I'm sorry
  5388. 6:58:20B so much love to you
  5389. 6:58:23777 but I only can surround myself with
  5390. 6:58:27with the best of the best be people that
  5391. 6:58:30are most committed
  5392. 6:58:42all right so I really like this here can
  5393. 6:58:45you see that okay you can probably see
  5394. 6:58:47it
  5395. 6:58:50fine I'll try not to cover it
  5396. 6:59:01up
  5397. 6:59:31e for
  5398. 7:00:11I'm to scroll through these real quick
  5399. 7:00:13see if there's any newbies these are the
  5400. 7:00:15top volume tokens on Solana so I just
  5401. 7:00:18like to look through
  5402. 7:00:19him this guy's kind of
  5403. 7:00:27funny still catching my eye it's a ugly
  5404. 7:00:42do I see you I see you kitty but I'm not
  5405. 7:00:47going to pick you this time
  5406. 7:01:10I like the kitten actually I just don't
  5407. 7:01:11like the
  5408. 7:01:15name I don't even like cats no I do I do
  5409. 7:01:18I do just allergic I want to check these
  5410. 7:01:21out actually see what's Gucci with
  5411. 7:01:27them Andy
  5412. 7:01:48Walter holy smokes look at that leaning
  5413. 7:01:53tower of
  5414. 7:01:55pizza that's leaning
  5415. 7:01:59be let's check out this last one here oh
  5416. 7:02:02I think this is
  5417. 7:02:04Mishi or something or real fast okay I
  5418. 7:02:08was
  5419. 7:02:10wrong all three of those were like 11
  5420. 7:02:12mil Mark caps which is pretty
  5421. 7:02:14small I'm just going to keep it there
  5422. 7:02:20maybe look into it later I want to go
  5423. 7:02:23ahead here and get
  5424. 7:02:27this to a place
  5425. 7:02:32to the next stop
  5426. 7:02:34really so let's just go back to our note
  5427. 7:02:36sheet because we outsourced this
  5428. 7:02:39already this thought process liquidation
  5429. 7:02:42data that is stable this ain't stable so
  5430. 7:02:46I guess we're kind of checking the
  5431. 7:02:47stability of this all
  5432. 7:02:51day which is good and so far it's
  5433. 7:02:54looking good that's what I should do
  5434. 7:02:56I'mma jump on I'mma break it
  5435. 7:03:13yo we got an answer here from DNS and
  5436. 7:03:16this is dope I appreciate you dude so I
  5437. 7:03:19think I was talking about the high
  5438. 7:03:21volume and the liquidations here and how
  5439. 7:03:25they kind of match up like the volumes
  5440. 7:03:28are super high the volumes are matching
  5441. 7:03:30up liquidations don't match up there's 2
  5442. 7:03:32million licks right
  5443. 7:03:33here so let's say that let's put that
  5444. 7:03:36there yeah
  5445. 7:03:42yeah okay two million in
  5446. 7:03:48licks let's just say that it's around
  5447. 7:03:50there two million licks right there so
  5448. 7:03:55it's totally different this is a 15
  5449. 7:03:56million licks I don't know when this was
  5450. 7:03:58maybe yeah a few days ago few days ago
  5451. 7:04:00on 31st
  5452. 7:04:04we were here of course cuz we always
  5453. 7:04:06here
  5454. 7:04:07be but the number of licks are much
  5455. 7:04:10different so I was like oh man so what's
  5456. 7:04:12the what's the volume have to do with it
  5457. 7:04:14then again the volume spiked up here as
  5458. 7:04:17well these are just questions these are
  5459. 7:04:19variables to equations that you can
  5460. 7:04:23create so whatever ideas you have dude
  5461. 7:04:27please do share them in the chat and DNS
  5462. 7:04:29said re your question about High
  5463. 7:04:31volatility and
  5464. 7:04:34liquidations I suggest looking at oi
  5465. 7:04:40there it's a good idea
  5466. 7:04:42dude it's a really good
  5467. 7:04:48idea thank you so much for your kind
  5468. 7:04:51thoughts
  5469. 7:04:53bro that is so so helpful cuz oi open
  5470. 7:04:58interest we just show
  5471. 7:05:02to
  5472. 7:05:05do add oi
  5473. 7:05:08into the
  5474. 7:05:10equation so we can see
  5475. 7:05:15when
  5476. 7:05:20uh
  5477. 7:05:22leverage has been
  5478. 7:05:24wiped or
  5479. 7:05:29affected affected affected I don't
  5480. 7:05:35know and then DNS from YouTube says if
  5481. 7:05:39the volume is up and licks
  5482. 7:05:43increase the answer is stops were
  5483. 7:05:47triggered squeezing price down and the
  5484. 7:05:50trend Traders took the direction
  5485. 7:05:53increasing volume does not mean
  5486. 7:05:56increased longs
  5487. 7:06:02these first licks
  5488. 7:06:04here thanks for looking into this
  5489. 7:06:07bro this May 31st at
  5490. 7:06:121430 May 31st at
  5491. 7:06:151430 all the way to May 31st at
  5492. 7:06:201615 that's that was the Turning bar but
  5493. 7:06:23I think the liquidations were started
  5494. 7:06:25here um May 1430 all the way to 1600
  5495. 7:06:37be I don't know I wasn't looking at the
  5496. 7:06:39funny rates at that time but we do have
  5497. 7:06:42our funny rate bot here or not bot but
  5498. 7:06:44scanner maybe add funny rate to this as
  5499. 7:06:49well this is really good though I really
  5500. 7:06:52appreciate it um we have access to the
  5501. 7:06:55funny rates and I don't know if we built
  5502. 7:06:58this yet but I'm pretty sure binance has
  5503. 7:07:00open interest which which is
  5504. 7:07:02dope I'm so I'm I'm not sure what the
  5505. 7:07:05funding
  5506. 7:07:07was at that
  5507. 7:07:15moment but interested in this statement
  5508. 7:07:19you said I'm going to bring it over here
  5509. 7:07:22because it's on this little chat
  5510. 7:07:24thing so this is from DNS
  5511. 7:07:29here and I just want to write it down
  5512. 7:07:33and see what he was talking about if the
  5513. 7:07:34volume is up and licks increase the
  5514. 7:07:37answer is stops were
  5515. 7:07:39triggered squeezing price
  5516. 7:07:45down okay part one the volume is up and
  5517. 7:07:50licks increase the
  5518. 7:07:53answer stops for triggered squeezing
  5519. 7:07:55price down okay that makes sense yes
  5520. 7:08:02and the trend Traders took the
  5521. 7:08:13direction and the trend ters took the
  5522. 7:08:16direction increasing volume does not
  5523. 7:08:21mean okay I also agree with this cool I
  5524. 7:08:25agree with
  5525. 7:08:27both um
  5526. 7:08:33I guess I don't I don't know my question
  5527. 7:08:35that's the hard part it I think it was a
  5528. 7:08:37while
  5529. 7:08:40ago yo Doug what up
  5530. 7:08:44B how are you
  5531. 7:08:47man East Coast time killing you I know
  5532. 7:08:50I'm sorry man
  5533. 7:08:53sorry ZF what's up bro yo we got another
  5534. 7:08:57somebody else increasing volume does not
  5535. 7:08:59mean increasing longs oh lightning
  5536. 7:09:02lightning from from Twitter y I
  5537. 7:09:04appreciate you coming up in here and uh
  5538. 7:09:07posting on Twitter and
  5539. 7:09:09YouTube 777 Doug so much love to you bro
  5540. 7:09:13good
  5541. 7:09:14morning um oh ZF going crazy up in here
  5542. 7:09:38yo I appreciate you ZF it's good to see
  5543. 7:09:40you man you can get all the video the
  5544. 7:09:42all the code and stuff is they're in the
  5545. 7:09:45videos for sure for sure so you can see
  5546. 7:09:48here if you go to
  5547. 7:09:51YouTube um if you need any of this is
  5548. 7:09:53all here so I'm just going to
  5549. 7:09:55keep these videos
  5550. 7:09:58here and I'mma keep coming live and
  5551. 7:10:00sharing everything
  5552. 7:10:09there yo Christopher said he's been
  5553. 7:10:12watching these videos for a while and
  5554. 7:10:13it's hard to find people who who put out
  5555. 7:10:15valuable stuff so thank you thank you
  5556. 7:10:18bro thank you my
  5557. 7:10:19[Music]
  5558. 7:10:21pleasure Jane what's up
  5559. 7:10:23[Music]
  5560. 7:10:29777 Louis good to have you you here bro
  5561. 7:11:03all right so yeah I'mma keep putting
  5562. 7:11:04stuff here on the the tube and I'mma
  5563. 7:11:06keep going live um every day so I hope
  5564. 7:11:11you're here
  5565. 7:11:13dude I hope you're
  5566. 7:11:28here I'm really happy we got this done
  5567. 7:11:31this is such an easy way to
  5568. 7:11:35glance but to be honest I want it
  5569. 7:11:38backwards go in reverse
  5570. 7:11:41dog recent lick Loop so go in reverse
  5571. 7:11:45though uh for time in time
  5572. 7:11:48frame do
  5573. 7:11:50the no no
  5574. 7:11:58no Loop through in
  5575. 7:12:02reverso
  5576. 7:12:05please dope boom there we go that's
  5577. 7:12:08exactly what we want do all right let's
  5578. 7:12:12go ahead here why did I do it that way
  5579. 7:12:13because I want to see the freshest stuff
  5580. 7:12:15first that's
  5581. 7:12:19it so 12.5 in 4 hours let's see this
  5582. 7:12:23let's see if this is semi true
  5583. 7:12:28um liquid
  5584. 7:12:31ation
  5585. 7:12:33data how's it how are we going to see if
  5586. 7:12:35it's true I'm just going to look at this
  5587. 7:12:37tool
  5588. 7:12:38here and exchanges I'm just going to say
  5589. 7:12:41binance no that's not going to do it
  5590. 7:12:44that is not going to do it dude 4our 1
  5591. 7:12:47hour
  5592. 7:12:49exchanges no oh
  5593. 7:12:537.22 in the 1
  5594. 7:12:57hour 6.8 nice
  5595. 7:13:02see 4 hour 40.3 and ours
  5596. 7:13:07is 12.5 all right it's close enough
  5597. 7:13:12close enough for
  5598. 7:13:13me I assume it's just different time
  5599. 7:13:16periods you know like I got the last
  5600. 7:13:18four hours literally and maybe their
  5601. 7:13:21four hours is different I don't
  5602. 7:13:25know but that's looking pretty good to
  5603. 7:13:28me and you can see binance is the
  5604. 7:13:33biggest but okx is pretty
  5605. 7:13:38big
  5606. 7:13:43so yeah I think so bro I think
  5607. 7:13:50so yep we're thinking the same thing
  5608. 7:13:53right
  5609. 7:13:56now addx okay
  5610. 7:14:02let's do
  5611. 7:14:03it okay X
  5612. 7:14:06documentation um what is this
  5613. 7:14:15called documentation
  5614. 7:14:25liquidations next customer document come
  5615. 7:14:29on MO
  5616. 7:14:32overview
  5617. 7:14:34API
  5618. 7:14:36trading trading
  5619. 7:14:40account public
  5620. 7:14:43data rest websocket yes okay funding
  5621. 7:14:47rate that's nice okay liquidation orders
  5622. 7:14:51Channel
  5623. 7:15:03I'm make a new
  5624. 7:15:07file
  5625. 7:15:09combined
  5626. 7:15:11lick loop.
  5627. 7:15:15py okay update this
  5628. 7:15:18code not in our probability stuff
  5629. 7:15:22but update the above code to add INX
  5630. 7:15:31data
  5631. 7:15:322
  5632. 7:15:34um right now it is just binance and we
  5633. 7:15:39want it to be
  5634. 7:15:48both so you will need to
  5635. 7:15:54add no you don't need to add
  5636. 7:15:59anything spit out and
  5637. 7:16:02save data from both
  5638. 7:16:06sides
  5639. 7:16:08sites
  5640. 7:16:11websockets below is the
  5641. 7:16:15documentation for the
  5642. 7:16:19okx liquidation
  5643. 7:16:24stream send
  5644. 7:16:26back full code please please
  5645. 7:16:31I love
  5646. 7:16:42you yeah let's just give it all types of
  5647. 7:16:44stuff you
  5648. 7:16:45know chat CPT not at one
  5649. 7:16:49though okay while it does that I'm going
  5650. 7:16:51to go on to chapter five here and see
  5651. 7:16:54what the table of content is looking
  5652. 7:16:56like again I'm going back and forth here
  5653. 7:16:58because the game don't stop it's just
  5654. 7:17:01you that be stopping
  5655. 7:17:03B all right
  5656. 7:17:07so before I read the
  5657. 7:17:11chapter please no uh
  5658. 7:17:15please teach me about these things I'll
  5659. 7:17:19just do it before I actually read it
  5660. 7:17:21okay the beta
  5661. 7:17:29distribution distinguish
  5662. 7:17:33probability
  5663. 7:17:35statistics and
  5664. 7:17:38inference collecting
  5665. 7:17:43data
  5666. 7:17:46calculating of the
  5667. 7:17:49probability of
  5668. 7:17:51probabilities oh snap now we're getting
  5669. 7:17:55stuff beta beta distribution
  5670. 7:18:06probability density
  5671. 7:18:22function outline
  5672. 7:18:24a strange scenario
  5673. 7:18:33problem that helps
  5674. 7:18:36illustrate the below
  5675. 7:18:41okay
  5676. 7:18:43density function okay and
  5677. 7:18:51um quantifying
  5678. 7:18:55quantifying
  5679. 7:18:56continuous
  5680. 7:18:58distributions with in
  5681. 7:19:03integration reverse
  5682. 7:19:07engineering the Goa game a Goa
  5683. 7:19:14game all right let's see what you got
  5684. 7:19:16shorty let's see if you can really teach
  5685. 7:19:18me this
  5686. 7:19:20stuff and I'll be back our systems say
  5687. 7:19:24unusual content yeah it is unusual be I
  5688. 7:19:27go harder than most I'm sorry I'm sorry
  5689. 7:19:30dog it is what it is our system might
  5690. 7:19:34catch unusual con content
  5691. 7:19:38here unusual
  5692. 7:19:40everything okay here we go perfect
  5693. 7:19:43perfect perfect perfect now we're both
  5694. 7:19:46outputting at the same
  5695. 7:19:47time let's go ahead and read through
  5696. 7:19:50this sure let's create a fun scenario to
  5697. 7:19:52help illustrate these Concepts imagine
  5698. 7:19:54we are designing a magical game where
  5699. 7:19:56Wizards cast spells and we want to
  5700. 7:19:59understand the probabilities of various
  5701. 7:20:00outcomes this will help us learn about
  5702. 7:20:03the beta distribution probability
  5703. 7:20:05statistics and inference scenario the
  5704. 7:20:09Wizards tourn tournament in the Wizards
  5705. 7:20:12tournament Wizards cast spells and each
  5706. 7:20:14spell can be successful or unsuccessful
  5707. 7:20:17we want to study the probabilities and
  5708. 7:20:19distributions of spell success rates to
  5709. 7:20:21improve our understanding and design of
  5710. 7:20:23the game that's interesting Wizards cool
  5711. 7:20:27let's go ahead and see if she's outputed
  5712. 7:20:29everything yet not quite so maybe we'll
  5713. 7:20:31go ahead and talk about the beta
  5714. 7:20:33distribution the beta distribution is a
  5715. 7:20:36way to describe the probabilities of
  5716. 7:20:38probabilities it's useful when we have a
  5717. 7:20:40bunch of data about how often something
  5718. 7:20:43happens like how how often wizard spells
  5719. 7:20:47are successful the beta distribution has
  5720. 7:20:50two parameters it has this little funky
  5721. 7:20:52thing and this little funky B thing
  5722. 7:20:55which shape the distribution imagine
  5723. 7:20:58imagine we observe the success rate of
  5724. 7:21:01spells cast by different Wizards you can
  5725. 7:21:04use the beta distribution to model the
  5726. 7:21:07probability of a wizard spell being
  5727. 7:21:09successful based on the observed success
  5728. 7:21:12and failures example we observe 10
  5729. 7:21:15successful spells and five Su
  5730. 7:21:18unsuccessful spells so this is the
  5731. 7:21:20number of successes + 1 10 + 1 equal 11
  5732. 7:21:24the B thing number of failures + 1 = 5 +
  5733. 7:21:281 = 6 the beta distribution beta 116
  5734. 7:21:32models the probability of spell success
  5735. 7:21:35nice let's go back over here and see if
  5736. 7:21:37this code is done and then let's go
  5737. 7:21:39ahead and run it dude let's see if it
  5738. 7:21:41does it correctly I'm worried about a
  5739. 7:21:43couple things and those things are quite
  5740. 7:21:46simple number one can we get connected
  5741. 7:21:48to okx I don't know so let's just run it
  5742. 7:21:51and see what type of Errors we run into
  5743. 7:21:53okay that's a little bit of an error we
  5744. 7:21:56have to go ahead and throw it back into
  5745. 7:21:59GG here because
  5746. 7:22:03that's the only way to do it dude all
  5747. 7:22:05right so let's go ahead and while she's
  5748. 7:22:08working for us we're learning more
  5749. 7:22:10distinguishing probability statistics
  5750. 7:22:13and inference probability the study of
  5751. 7:22:16How likely events are to happen for
  5752. 7:22:19example the chance a wizard spell will
  5753. 7:22:22be successful statistics the practice of
  5754. 7:22:25collecting and analyzing data for
  5755. 7:22:27example observing and recording the
  5756. 7:22:29outcomes of spell
  5757. 7:22:31inference making conclusions about the
  5758. 7:22:34probability of future events based on
  5759. 7:22:37past data for example predicting the
  5760. 7:22:40success rate of spells in future tourn
  5761. 7:22:43tournaments based on past success
  5762. 7:22:48rates she still going collecting
  5763. 7:22:52data distinguishing probability
  5764. 7:22:55collecting data collecting data involves
  5765. 7:22:57observing and recording the outcomes of
  5766. 7:23:00wizard spells we keep track of each
  5767. 7:23:03Spell's success or failure to analyze
  5768. 7:23:06and make predictions example wizard a
  5769. 7:23:09casts 20 spells 15 successes and five
  5770. 7:23:12failures wizard B cast 30 spells 18
  5771. 7:23:16successes and 12
  5772. 7:23:18failures
  5773. 7:23:20failures let's keep it going calculating
  5774. 7:23:22the probabilities of probabilities using
  5775. 7:23:25the beta distribution we can calculate
  5776. 7:23:27the probability distribution of success
  5777. 7:23:30rate of spells this helps us understand
  5778. 7:23:32not just the average success rate but
  5779. 7:23:34how confident we are about that rate
  5780. 7:23:37example using the data from Wizard a a
  5781. 7:23:41the little loop-de-loop plus 15 15 equal
  5782. 7:23:4515 + 1 = 16 so the b equal 5 + 1 so
  5783. 7:23:51wizard a the dist the beta distribution
  5784. 7:23:54b166 tells us the likely range of
  5785. 7:23:58success rates for Wizard a spells beta
  5786. 7:24:04distribution let's go ahead and see if
  5787. 7:24:06we can get this code going
  5788. 7:24:19here I get this
  5789. 7:24:26area I'm just going to keep doing that
  5790. 7:24:28and let let her figure out because I got
  5791. 7:24:30a lot to learn beta distribution the
  5792. 7:24:32beta distribution is defined for
  5793. 7:24:34probabilities between zero and one it
  5794. 7:24:37shows the likelihood of different
  5795. 7:24:39probabilities of success based on
  5796. 7:24:41observed data example plotting beta 166
  5797. 7:24:45gives us a curve showing the most likely
  5798. 7:24:48success rates for Wizard a spells
  5799. 7:24:51probability density function the PDF is
  5800. 7:24:54a function that describes the likelihood
  5801. 7:24:57of different outcomes for the beta
  5802. 7:24:59distribution the PDF shows How likely
  5803. 7:25:01different probabilities of success are
  5804. 7:25:04example for beta 166 the PDF might Peak
  5805. 7:25:08around 7 indicating the 70% success is
  5806. 7:25:11most likely but it also shows the range
  5807. 7:25:15of other possible success rates
  5808. 7:25:17quantifying continuous distributions
  5809. 7:25:19with integration integration helps us
  5810. 7:25:22find the area under the PDF curve which
  5811. 7:25:26represents the probability of certain
  5812. 7:25:28outcomes for continuous distrib tions
  5813. 7:25:30like beta distribution integration
  5814. 7:25:33gration helps us calculate the
  5815. 7:25:35likelihood of success rates failing or
  5816. 7:25:38falling within a specific range example
  5817. 7:25:41if we want to find the probability of
  5818. 7:25:43wizard A's success rate is between 60
  5819. 7:25:46and 80 we integrate the PDF of beta 166
  5820. 7:25:50from 6 to8 reverse engineering a gotcha
  5821. 7:25:55game gacha games are like magical slot
  5822. 7:25:57machines where players pull to get
  5823. 7:26:00random rewards we can use probability
  5824. 7:26:03and the beta distribution to understand
  5825. 7:26:05and design these games example suppose
  5826. 7:26:08we want to design a gacha where players
  5827. 7:26:11have a 5% chance of getting a rare item
  5828. 7:26:15we can collect data on the players polls
  5829. 7:26:18model the probabilities with a beta
  5830. 7:26:20distribution and use this information
  5831. 7:26:23tweak the game's probabilities for
  5832. 7:26:25better balance and player satisfaction
  5833. 7:26:28summary in the Wizard tournament
  5834. 7:26:31scenario we use the beta distribution to
  5835. 7:26:33model spell success rates distinguish
  5836. 7:26:36between probability statistics and
  5837. 7:26:40inference collected and analyzed data
  5838. 7:26:43calculated probabilities of
  5839. 7:26:45probabilities understood the PDF and use
  5840. 7:26:48integration for continuous distributions
  5841. 7:26:51we also saw how these Concepts apply to
  5842. 7:26:54design a gachan that was super helpful
  5843. 7:26:57dude I appreciate you so so much let go
  5844. 7:27:00the books here
  5845. 7:27:06and um beta distribution maybe we call
  5846. 7:27:10this
  5847. 7:27:12yeah beta
  5848. 7:27:15[Music]
  5849. 7:27:19distri all right sick let's go ahead and
  5850. 7:27:23go to uh chapter six
  5851. 7:27:25here so I'm just getting warmed up on
  5852. 7:27:27this book and I'm going go read it so
  5853. 7:27:30you know I'm not affiliated with any way
  5854. 7:27:32in any way I'm just reading a book
  5855. 7:27:35reading a book reading a book improve my
  5856. 7:27:38probability game and um you know just
  5857. 7:27:41keep doing things others aren't going to
  5858. 7:27:42do others don't like to read I don't
  5859. 7:27:44like to read B I don't like to read it
  5860. 7:27:47all but I like to know I like to know
  5861. 7:27:50things and everything's trapped in these
  5862. 7:27:52books be everything's trapped in these
  5863. 7:27:54books everything good in this world is
  5864. 7:27:56in the books I promise actually I don't
  5865. 7:27:58promise I don't promise at all
  5866. 7:28:01I just think there's a lot of good ideas
  5867. 7:28:03that are not in videos yet essentially
  5868. 7:28:09essentially
  5869. 7:28:11be okay so sick that didn't work
  5870. 7:28:14dude combined lcks what am I doing
  5871. 7:28:18that's my bad
  5872. 7:28:32what happened
  5873. 7:28:38here it's still doing that
  5874. 7:28:50thing maybe I gave it the wrong code
  5875. 7:29:26may have given you the wrong
  5876. 7:29:28code I I am truly
  5877. 7:29:33sorry okay so maybe I gave him gave her
  5878. 7:29:36the wrong code I don't
  5879. 7:29:45know let's make sure that it's all
  5880. 7:29:47looking good here before I jump back to
  5881. 7:29:49the next chapter
  5882. 7:29:58here e
  5883. 7:30:38exercise how do you spell this
  5884. 7:30:42word
  5885. 7:30:45exercises you
  5886. 7:30:54create so okay this is looking better I
  5887. 7:30:58feel like it made a little change of
  5888. 7:30:59that that's why it like started to work
  5889. 7:31:01on the other code but maybe that was me
  5890. 7:31:04I don't know I don't think so
  5891. 7:31:07but I don't know it probably was me it
  5892. 7:31:10usually is it usually is combined
  5893. 7:31:14lck okay here we
  5894. 7:31:16go connected to
  5895. 7:31:19both
  5896. 7:31:23public interesting they're different but
  5897. 7:31:26whatever I see a lick come through b
  5898. 7:31:29come on somebody get
  5899. 7:31:31wrecked both exchanges nobody getting
  5900. 7:31:33wrecked yeah
  5901. 7:31:41huh I'm not believing this okay somebody
  5902. 7:31:45got hit on bance so but it didn't
  5903. 7:31:51show
  5904. 7:31:58huh e
  5905. 7:32:42let's just keep them
  5906. 7:32:49separate oh there it
  5907. 7:32:53is but is that okay X as well I don't
  5908. 7:32:57see any
  5909. 7:33:07okay X
  5910. 7:33:12liquidations N I feel like now I'm
  5911. 7:33:14giving up too early yeah
  5912. 7:33:16yeah I don't know what's going on here
  5913. 7:33:18Doby
  5914. 7:33:34see what the a
  5915. 7:33:58is e
  5916. 7:34:33I don't know what's going on here be
  5917. 7:34:41hon to be honest I don't know what's
  5918. 7:34:44going on here but we'll figure it
  5919. 7:34:49out all right Lake
  5920. 7:34:52Loop recent L loot
  5921. 7:35:19h
  5922. 7:35:32hey it does show okx here
  5923. 7:35:43though I don't want to combine them
  5924. 7:35:46because because the
  5925. 7:35:52headers headers are different and it's
  5926. 7:35:57going to make things
  5927. 7:36:00confusing I can just uh join them with
  5928. 7:36:06pandas
  5929. 7:36:08later please send me back a script that
  5930. 7:36:14I can
  5931. 7:36:15just use
  5932. 7:36:21independent in order to run the
  5933. 7:36:26okx L to
  5934. 7:36:31okay so I'mma do that
  5935. 7:36:37because I just think it's going to be
  5936. 7:36:39easier to manage you know I'm going
  5937. 7:36:43delete those okay where's the combined
  5938. 7:36:46no I don't want combined no more I want
  5939. 7:36:49to have uh okay X
  5940. 7:36:53lick licky
  5941. 7:36:56Loop licky Loop Wait no that's not what
  5942. 7:37:01I want actually the main this is just
  5943. 7:37:04going to be okx
  5944. 7:37:09licks because I have to do it I have to
  5945. 7:37:12do it dude because if it's going to give
  5946. 7:37:14it if it's going to allow me to do it
  5947. 7:37:15why would I not B&B
  5948. 7:37:21licks do you know what I'm saying like
  5949. 7:37:24if I'm looking at these liquidations
  5950. 7:37:26over here and it's showing that binance
  5951. 7:37:29obviously is moving the market that's
  5952. 7:37:31that's the one but then number two is
  5953. 7:37:33kind of close 10 million 14 million so
  5954. 7:37:36if I get those two then you know F buy
  5955. 7:37:40it for
  5956. 7:37:42now and then I can also get open
  5957. 7:37:45interest
  5958. 7:37:51see pretty sure we're already tracking
  5959. 7:37:53that somewhere but this is good to make
  5960. 7:37:56it more robust because we made strides
  5961. 7:37:58in robustness to
  5962. 7:38:01that this hasn't died once and it
  5963. 7:38:03usually dies once I'm going be watching
  5964. 7:38:06it all night don't
  5965. 7:38:07worry okay let's go ahead and see what
  5966. 7:38:09GG
  5967. 7:38:16say go ahead here and paste it on over
  5968. 7:38:19here to
  5969. 7:38:21bmbx this is
  5970. 7:38:23okx okay
  5971. 7:38:26X let's go ahead and run it here see if
  5972. 7:38:29we can get some coming through connected
  5973. 7:38:32okay
  5974. 7:38:34nice I didn't see any get sent over here
  5975. 7:38:37last time but it should be different now
  5976. 7:38:44because I don't know why because
  5977. 7:38:55but okay that's my file there perfect
  5978. 7:38:59and then let's go ahead here and get our
  5979. 7:39:01make sure our data is still coming in
  5980. 7:39:03there
  5981. 7:39:04okay where is it yes it should be coming
  5982. 7:39:07in here fine and now we just need to go
  5983. 7:39:10back to our recent loop as well because
  5984. 7:39:12remember this thing broke I don't know
  5985. 7:39:14how to fix it though so I'm just going
  5986. 7:39:16to run it
  5987. 7:39:18again oh it's because the new licks here
  5988. 7:39:22lick data here recent data maybe no I
  5989. 7:39:25think it's in the lick data here I need
  5990. 7:39:27to delete some of this data because it
  5991. 7:39:29start getting funky with
  5992. 7:39:32it
  5993. 7:39:34remember sorry put okx up in here so
  5994. 7:39:38let's go ahead and just delete it peace
  5995. 7:39:41now this should work okay come on
  5996. 7:39:48dog maybe the the headers changed or
  5997. 7:39:51something
  5998. 7:39:55no failed to save that's why overwrite
  5999. 7:40:00override it I don't want it anymore
  6000. 7:40:03there we
  6001. 7:40:05go he figured out how to code somehow he
  6002. 7:40:08did it that boy is nice that boy is nice
  6003. 7:40:13somehow someway he figured out how to
  6004. 7:40:15code just enough to use this AI that's
  6005. 7:40:19all we need my guy it's all we need just
  6006. 7:40:23enough dude just enough just enough to
  6007. 7:40:25get your get your AI Demand on because I
  6008. 7:40:29just sit here and I ask it nicely so so
  6009. 7:40:32nicely okay you can see it's all coming
  6010. 7:40:34through now Source okay that's nice
  6011. 7:40:38that's so so nice
  6012. 7:40:41here I don't know what to do with it
  6013. 7:41:05we're not touching this are we because
  6014. 7:41:06now you see this is breaking
  6015. 7:41:08now so recent data lick data a lot of
  6016. 7:41:11things going on here lot of things look
  6017. 7:41:14at
  6018. 7:41:16this so that's my bad maybe Alice front
  6019. 7:41:21I think it's because I need to end it
  6020. 7:41:23with a comma compare overwrite I don't
  6021. 7:41:27know though
  6022. 7:41:38dang where's this why is this get
  6023. 7:41:40written here who is this from where's it
  6024. 7:41:42coming
  6025. 7:41:46from oh it's coming from over there yeah
  6026. 7:41:54yeah oh I know how to fix this yeah yeah
  6027. 7:41:57okay
  6028. 7:41:59you just got to be down here
  6029. 7:42:02right I saved
  6030. 7:42:04it let's watch it
  6031. 7:42:09through okay it should add new licks to
  6032. 7:42:13the line next line it was adding it to
  6033. 7:42:15the regular
  6034. 7:42:17line there we go gotcha boom we're Gucci
  6035. 7:42:21now so let's just close the case there
  6036. 7:42:23let's close the case it's done get them
  6037. 7:42:25out of here
  6038. 7:42:43B&B
  6039. 7:42:45LS recent lick
  6040. 7:42:54Loop okay we know this works
  6041. 7:43:00but now we want to do something with it
  6042. 7:43:02I want to do the same
  6043. 7:43:04thing
  6044. 7:43:14here big licks coming through or about
  6045. 7:43:18to come seems like it probably to the
  6046. 7:43:21short
  6047. 7:43:23side yep look at that so today it's more
  6048. 7:43:28about the volume but that's the thing is
  6049. 7:43:30like or is it is it is it done is that a
  6050. 7:43:33reversal is it you know what there's so
  6051. 7:43:35many questions so many
  6052. 7:43:37questions but it's like 2
  6053. 7:43:39mil 15 mil but now I'm seeing the
  6054. 7:43:43volume's the same which one's more
  6055. 7:43:45important well what's the time frame
  6056. 7:43:48because this little move right
  6057. 7:43:51here I don't know you could get it
  6058. 7:43:54that's a trade right there for sure but
  6059. 7:43:56it's like intraday or
  6060. 7:43:59you know I don't know I don't know these
  6061. 7:44:02things just he just hear testing those
  6062. 7:44:06things
  6063. 7:44:07be so I want to go here and keep this
  6064. 7:44:10moving keep it moving I want to figure
  6065. 7:44:13out how to combine these
  6066. 7:44:45above is my
  6067. 7:44:49df4 um Finance
  6068. 7:44:54lick data.csv there
  6069. 7:44:59is no
  6070. 7:45:01header below is my
  6071. 7:45:06lick data
  6072. 7:45:08do okay x.
  6073. 7:45:12CSV and you can see it does have a
  6074. 7:45:17header
  6075. 7:45:30I need you to combine
  6076. 7:45:35them before you do the rest of the loop
  6077. 7:45:42shown
  6078. 7:45:43below so
  6079. 7:45:47essentially we will
  6080. 7:45:53be tracking
  6081. 7:45:55the different time ENT
  6082. 7:45:59intervals of
  6083. 7:46:04liquidations and
  6084. 7:46:06printing out the total of
  6085. 7:46:10both
  6086. 7:46:14exchanges binance and
  6087. 7:46:17okx combined
  6088. 7:46:21combined
  6089. 7:46:23okay see if we can do that
  6090. 7:46:32how do we know if it's going to be able
  6091. 7:46:33to do it right well I think the first
  6092. 7:46:35test how many input files does it have
  6093. 7:46:36it should have two input files
  6094. 7:46:39now just test our little
  6095. 7:46:41guy he good he good that boy nice that
  6096. 7:46:45boy nice
  6097. 7:47:07okay so let's look through this see if
  6098. 7:47:09it makes sense okay X okay perfect
  6099. 7:47:12column names for binance are different
  6100. 7:47:14than column names of that
  6101. 7:47:32so it's converting the time stamps here
  6102. 7:47:35standardized
  6103. 7:47:41colums okay so s symbol is in family
  6104. 7:47:46side
  6105. 7:47:48side concat concatenate
  6106. 7:47:53the
  6107. 7:47:56data I mean to be real real I want to
  6108. 7:47:59make sure these these liquidations line
  6109. 7:48:01up first and yeah yeah yeah for sure I
  6110. 7:48:04want to make sure that the colors line
  6111. 7:48:05up because there's been a bunch of
  6112. 7:48:06liquidations here on bance my bad my bad
  6113. 7:48:11I should run this on a different file
  6114. 7:48:13copy
  6115. 7:48:15path Let's uh let's get it here
  6116. 7:48:29cond activate T flow
  6117. 7:48:35python okay XS I want to make sure these
  6118. 7:48:38licks are looking the same
  6119. 7:48:40color so let's keep an eye on that
  6120. 7:48:43because if they're not then I don't want
  6121. 7:48:44to move on until we flip them flip
  6122. 7:48:50it all right this is the same thing as
  6123. 7:48:52this one
  6124. 7:48:55so it's the same thing as this one
  6125. 7:49:00so I'm just going to put that here for
  6126. 7:49:01now and these need to match up the next
  6127. 7:49:03liquidations that come
  6128. 7:49:05through we have the code here now uh
  6129. 7:49:09explanation column lines aligned they
  6130. 7:49:11read in the data for both it
  6131. 7:49:13standardizes the stuff liquidation
  6132. 7:49:15calculations let's go check that
  6133. 7:49:18out long liquidations short liquidations
  6134. 7:49:21that's sum for label in start time
  6135. 7:49:37all right I'm just going to wait for
  6136. 7:49:37some liquidations come through before I
  6137. 7:49:40Implement these changes let's go ahead
  6138. 7:49:41and try a couple of our uh problems that
  6139. 7:49:44we have so I asked it to go over F uh
  6140. 7:49:47four practice exercises of the chapter
  6141. 7:49:50five which is the beta distribution in
  6142. 7:49:53this book that I'm reading basian
  6143. 7:49:57statistics the fun way okay
  6144. 7:50:00uh problem wizard C has been practicing
  6145. 7:50:04new spells you have observed that wizard
  6146. 7:50:07SE successfully casts a spell 12 times
  6147. 7:50:09and fails eight times use the beta
  6148. 7:50:13distribution to model the
  6149. 7:50:15probability distribution of wizard se's
  6150. 7:50:19you uh re redo
  6151. 7:50:25these uh what are they called
  6152. 7:50:30practice
  6153. 7:50:33exercises but use
  6154. 7:50:38basketball example
  6155. 7:50:42uh problems yeah just think that'd be
  6156. 7:50:45fun this playoffs right now you
  6157. 7:50:49know sorry if you hate
  6158. 7:50:52basketball my
  6159. 7:50:56bad you might have lucked out cuz she's
  6160. 7:51:03choking okay exercise one the beta
  6161. 7:51:06distribution for free throw success
  6162. 7:51:07rates so player a has been practicing
  6163. 7:51:10free throws you have observed that
  6164. 7:51:12player a successfully makes 20 free
  6165. 7:51:14throws and misses 10 free throws use the
  6166. 7:51:17beta distribution to model the
  6167. 7:51:20probability distribution of player A's
  6168. 7:51:22free throw success
  6169. 7:51:25rate what are the parameters for this
  6170. 7:51:28and B beta distribution plot the beta
  6171. 7:51:31distribution and be this and B what is
  6172. 7:51:34the most likely success rate for player
  6173. 7:51:40A's what is the most likely success rate
  6174. 7:51:42for player A's free
  6175. 7:51:45throws calculate the probabilities that
  6176. 7:51:47player A's success rate is between 60
  6177. 7:51:51and 80 give me the answers too
  6178. 7:52:01just I haven't even read the book yet so
  6179. 7:52:02I'm not supposed to know this yet I'm
  6180. 7:52:04not supposed to know it yet so be easy
  6181. 7:52:07be be easy
  6182. 7:52:27GG 490 so they are getting added
  6183. 7:52:31here buy short long okay XX
  6184. 7:52:35here it says it's over 3,000
  6185. 7:52:58break it let's break
  6186. 7:53:06it oh I need to print out
  6187. 7:53:09size okay there it is there's a print
  6188. 7:53:13out so it does
  6189. 7:53:15work maybe there just wasn't any licks
  6190. 7:53:17over 3,000
  6191. 7:53:38so it is
  6192. 7:53:40printing I want to see a lot of
  6193. 7:53:42liquidations come through in order to
  6194. 7:53:44really prove it
  6195. 7:53:50though so I'll keep that open here on
  6196. 7:53:53the side while we continue
  6197. 7:53:56this so for the
  6198. 7:53:59exercise the problem was player a has
  6199. 7:54:00been practicing free throws questions
  6200. 7:54:02okay Solutions the
  6201. 7:54:04parameter and B the parameters for the
  6202. 7:54:06beta distribution are based on the
  6203. 7:54:08number of
  6204. 7:54:10successes and failures
  6205. 7:54:12observed number of
  6206. 7:54:16successes plus one B number of
  6207. 7:54:21failures plus
  6208. 7:54:25one plot the beta distribution to plot
  6209. 7:54:28the beta distribution 21 and 11 you
  6210. 7:54:32would typically use a software tool like
  6211. 7:54:33python with librar such as map plot
  6212. 7:54:38Li it's nice we know
  6213. 7:54:48this most likely success rate the mode
  6214. 7:54:52of the beta distribution beta is given
  6215. 7:54:56by mode this this equation so the most
  6216. 7:55:00likely success rate is approximately
  6217. 7:55:1366.7% probability of success rate
  6218. 7:55:15between 60 and 80% to find this
  6219. 7:55:17probability you use the cumulative
  6220. 7:55:20distribution function CDF of the beta
  6221. 7:55:22distribution
  6222. 7:55:28this will give you the probability of
  6223. 7:55:30the success rate being between 60 and
  6224. 7:55:3380% exercise two distinguishing
  6225. 7:55:35probability statistics and inference
  6226. 7:55:38problem you understand the likelihood of
  6227. 7:55:41a basketball team winning a game you
  6228. 7:55:43collect data from 50 games and find that
  6229. 7:55:47the team wins 30 of
  6230. 7:55:53them what is the probability of the team
  6231. 7:55:55winning a game based on this data what
  6232. 7:55:58statistical method would you use to
  6233. 7:56:00collect this data and
  6234. 7:56:02why if you use this data to predict the
  6235. 7:56:05future team's future performance what
  6236. 7:56:07kind of
  6237. 7:56:09inference are you
  6238. 7:56:11making Solutions probability of
  6239. 7:56:14winning the probability of winning is
  6240. 7:56:17calculated as the ratio of wins to Total
  6241. 7:56:20games statistical method the method used
  6242. 7:56:24here is descriptive statistics where you
  6243. 7:56:27collect and summarized data about the
  6244. 7:56:30games this involves recording the
  6245. 7:56:32outcomes of each game and then
  6246. 7:56:34calculating the proportion of
  6247. 7:56:36wins inference using the data to predict
  6248. 7:56:40the team's future performance is making
  6249. 7:56:42a statistical
  6250. 7:56:44inference this is an inferential
  6251. 7:56:47statistics
  6252. 7:56:48method where you use sample data to make
  6253. 7:56:52generalizations or predictions about a
  6254. 7:56:54larger population in this case the
  6255. 7:56:57team's future games
  6256. 7:57:00all right I'm still undecided over here
  6257. 7:57:03if this is I'm gonna make this a little
  6258. 7:57:05bigger
  6259. 7:57:09because let make get a
  6260. 7:57:15th000 I'm undecided
  6261. 7:57:17though I'm curious why this one's
  6262. 7:57:21not oh because it's using the old one so
  6263. 7:57:24let's see if they match up okay we don't
  6264. 7:57:25need to have them both running these two
  6265. 7:57:29we want to see them match up so I need
  6266. 7:57:30to see some liquidations coming through
  6267. 7:57:32and until then I'm just going to keep
  6268. 7:57:33working through this book I'm just
  6269. 7:57:35reading through the table content so
  6270. 7:57:36when I do actually read it it will not
  6271. 7:57:38be new to me it will
  6272. 7:57:40be seen
  6273. 7:57:43information and then I'll be able to
  6274. 7:57:45understand it a little better hopefully
  6275. 7:57:47so you are analyzing the player's
  6276. 7:57:48ability to make three-point shots the
  6277. 7:57:50player has a 40% chance of making a
  6278. 7:57:52three-point shot You observe the player
  6279. 7:57:54taking 15 shots in the game what is the
  6280. 7:57:56probability the player makes exactly six
  6281. 7:57:59three-point shots in 15
  6282. 7:58:03attempts what is the probability that
  6283. 7:58:05the player makes at least one
  6284. 7:58:07three-point shot in 15
  6285. 7:58:11attempts how would you collect and
  6286. 7:58:12record this data for future analysis so
  6287. 7:58:14the probability of exactly six
  6288. 7:58:17three-point shots use the binomial
  6289. 7:58:20probability formula formula so these are
  6290. 7:58:23just formulas okay that makes
  6291. 7:58:26sense so we just got know the
  6292. 7:58:29formulas or like know of them really I
  6293. 7:58:33don't need to store the actual formula
  6294. 7:58:36in my brain so no of them binomial
  6295. 7:58:39probability
  6296. 7:58:41formula probably of
  6297. 7:58:43x equals
  6298. 7:58:466 so this is the math calculate the
  6299. 7:58:50binomial coefficient and the
  6300. 7:58:56probabilities h
  6301. 7:59:00probability of at least one three-point
  6302. 7:59:04shot the probability of at least one
  6303. 7:59:07success is
  6304. 7:59:12the complement of no
  6305. 7:59:16successes
  6306. 7:59:18yeah calculate
  6307. 7:59:23PX collecting
  6308. 7:59:25data okay look look look Big Lick on on
  6309. 7:59:29BTC wow that's
  6310. 7:59:33okx is BTC going up though or
  6311. 7:59:37down it's going
  6312. 7:59:42down I think it's backwards this is why
  6313. 7:59:44I checked
  6314. 7:59:56it that's why I checked it my
  6315. 8:00:00guy sweet
  6316. 8:00:07so I also want to check the other one
  6317. 8:00:10let's go look at
  6318. 8:00:12uh binance
  6319. 8:00:18first
  6320. 8:00:21copy okay X
  6321. 8:00:41it's just
  6322. 8:00:43different this is what it
  6323. 8:00:46is I Gul very loudly right there because
  6324. 8:00:49I don't want this to be bad data B let's
  6325. 8:00:54go ahead and run it
  6326. 8:00:56back so oops
  6327. 8:01:42wait so or did it really just get a
  6328. 8:01:44short
  6329. 8:01:47lick I don't even know already he
  6330. 8:01:50is yeah I believe
  6331. 8:01:53it just the colors are off so I just
  6332. 8:01:55switched the colors so
  6333. 8:02:01all right sick I'm super happy we figure
  6334. 8:02:03that out
  6335. 8:02:33for okay
  6336. 8:02:47X
  6337. 8:02:49liquidation data is actually like the
  6338. 8:02:53below code for the long lick and sck and
  6339. 8:03:01colors knowing
  6340. 8:03:04this
  6341. 8:03:14please to
  6342. 8:03:17um add
  6343. 8:03:23correctly man that one's tough oh big
  6344. 8:03:26licks here so this is great that I have
  6345. 8:03:29this information
  6346. 8:03:31now
  6347. 8:03:33wow you freaking
  6348. 8:03:38Noob but now a short
  6349. 8:03:41lick oh my
  6350. 8:03:45God that doesn't make sense to
  6351. 8:03:54me this a little dangerous for me to
  6352. 8:03:56just be imp my like this quickly
  6353. 8:04:01but when in Rome you know
  6354. 8:04:46all right let's just keep watching this
  6355. 8:04:48then because I don't want
  6356. 8:04:50to well I think we know it now let's see
  6357. 8:04:56here e
  6358. 8:05:47all right let's see how this does I mean
  6359. 8:05:49I don't want to F it all up
  6360. 8:05:51but um I'm going go ahead and just make
  6361. 8:05:54a new file let's say uh
  6362. 8:05:59recent lick
  6363. 8:06:01combo
  6364. 8:06:22Loop okay well that doesn't make sense
  6365. 8:06:38maths not
  6366. 8:06:43math on the
  6367. 8:06:46output math is just not mathing on the
  6368. 8:06:49output B
  6369. 8:07:00you see what see that see why it's like
  6370. 8:07:022 million for total in the last 5
  6371. 8:07:04minutes but 160 and
  6372. 8:07:0647
  6373. 8:07:11ceroni here data frames uh the head of
  6374. 8:07:15each data frame
  6375. 8:07:47okay the
  6376. 8:07:49um see here
  6377. 8:08:04the above is the
  6378. 8:08:07output the math isn't
  6379. 8:08:11math the 5
  6380. 8:08:13[Music]
  6381. 8:08:16minute oh sorry I'm an idiot yeah I'm an
  6382. 8:08:19idiot my
  6383. 8:08:23bad right yeah yeah yeah I'm an idiot
  6384. 8:08:26I'm an idiot
  6385. 8:08:30no no no no I'm not an idiot I'm not an
  6386. 8:08:32idiot I am an idiot but not this
  6387. 8:08:37time five
  6388. 8:08:39minutes a five
  6389. 8:08:41minute long
  6390. 8:08:44plus don't equal
  6391. 8:08:49total okay you got everything I know
  6392. 8:08:51everything I know you got to ensure the
  6393. 8:08:53math is correct let's focus on how we're
  6394. 8:08:55calculating the Longs and shorts
  6395. 8:08:57okay sick cool let's go back here and
  6396. 8:09:00continue through this challenge here so
  6397. 8:09:02reverse engineering a basketball game
  6398. 8:09:03mechanic in a basketball game simulation
  6399. 8:09:06players have a 20% chance of scoring a
  6400. 8:09:09slam dunk you want to understand the
  6401. 8:09:11likelihood of a player scoring at least
  6402. 8:09:14one slam dunk in 10 attempts questions
  6403. 8:09:17what is the probability that a player
  6404. 8:09:19scores at least one slam dunk in 10
  6405. 8:09:24attempts what is the expected number of
  6406. 8:09:26slam dunks a player would score in 10
  6407. 8:09:30attempts if you want to make the game
  6408. 8:09:32more challenging how would you adjust
  6409. 8:09:34the
  6410. 8:09:35probability of scoring a slam dunk
  6411. 8:09:37Solutions probability of at least one
  6412. 8:09:40slam dunk Big Lick here on on I don't
  6413. 8:09:45even know what okx yeah okx okay so I
  6414. 8:09:47know that's true here I can see it in
  6415. 8:09:50the price that okay this is good
  6416. 8:09:53actually dude this is a big day it's a
  6417. 8:09:55big move bringing this in here that's
  6418. 8:09:57like
  6419. 8:09:58um
  6420. 8:10:00Mund what are you doing D how come you
  6421. 8:10:03don't have both of the big exchanges
  6422. 8:10:06there I don't know that was my
  6423. 8:10:09bad another moev mistake for the record
  6424. 8:10:13books all right let's keep it going
  6425. 8:10:18though see if it outputed all this code
  6426. 8:10:20yet it did actually so let's go ahead
  6427. 8:10:22and update it and see if see if we can
  6428. 8:10:24get the data for the combined two the
  6429. 8:10:27combo the combo move boom boom byada
  6430. 8:10:31bang X
  6431. 8:10:33piece dang dude there it is long licks
  6432. 8:10:391.87 that's looking pretty nice to me if
  6433. 8:10:41you ask me but you didn't ask me but
  6434. 8:10:44I'll tell you that's looking pretty good
  6435. 8:10:47cuz it's looking like all liquidations
  6436. 8:10:49are coming on the long
  6437. 8:10:51side let's go ahead and check it out
  6438. 8:10:53here there's a short liquidation here 11
  6439. 8:10:5758 oh that was 30 minutes ago though all
  6440. 8:11:01the liquidations are coming through okx
  6441. 8:11:02right
  6442. 8:11:05now hey but is it doing the math
  6443. 8:11:08correctly is the question let's double
  6444. 8:11:10check it let's double check it because
  6445. 8:11:12we want to make sure this is
  6446. 8:11:15perfect
  6447. 8:11:22Perfecto let's go ahead and look at the
  6448. 8:11:24lick data here this is the lick data
  6449. 8:11:26here for the okx exchange I don't know
  6450. 8:11:29where who uses that but I guess a lot of
  6451. 8:11:31people do but you can see here this is
  6452. 8:11:34the side the position side that they
  6453. 8:11:36were in they were shorting and they got
  6454. 8:11:38licked so they had to buy
  6455. 8:11:45back the side was by position side was
  6456. 8:11:51short I don't know
  6457. 8:11:53dude they sold here cuz they were long
  6458. 8:11:56so
  6459. 8:12:01yeah so you got to sell it you got to
  6460. 8:12:03sell it get it out of here okay so let's
  6461. 8:12:06see if this math is mathing cu earlier
  6462. 8:12:09it wasn't so let's check this out here
  6463. 8:12:13side position side okay TS Tim stamp
  6464. 8:12:17size here detail is size so that is the
  6465. 8:12:21red color and it's 2.2
  6466. 8:12:25Pepe and this is the price the USD
  6467. 8:12:31size is made by
  6468. 8:12:35us I was going to get excited right
  6469. 8:12:37there price is block
  6470. 8:12:40PX
  6471. 8:12:41BLK oh what is
  6472. 8:12:45that bkx bkx okay this is the price that
  6473. 8:12:50sounds about right to me let's go ahead
  6474. 8:12:52and look at the price of something that
  6475. 8:12:54we know 70 cents sounds right to me for
  6476. 8:12:56MADD
  6477. 8:12:57let's see something else
  6478. 8:13:02here I don't even know what front is but
  6479. 8:13:06it is what it is don't need to know them
  6480. 8:13:08[Music]
  6481. 8:13:09all I don't know any of these honestly
  6482. 8:13:13well some of them but I can't I can't
  6483. 8:13:15tell you the price like BTC I can tell
  6484. 8:13:17you the price of BTC 69 that sounds
  6485. 8:13:19about right the size is that
  6486. 8:13:22okay the size plus that so this times
  6487. 8:13:26that should be
  6488. 8:13:27what is that 370 the 210 yeah okay this
  6489. 8:13:30is Gucci USD size is right okay I feel
  6490. 8:13:34confident about this now I'm getting my
  6491. 8:13:36confidence up so high so so high that I
  6492. 8:13:41can go ahead and say combo let me run
  6493. 8:13:43the combo down here copy path this has
  6494. 8:13:46just changed the game another
  6495. 8:13:49gamechanging moment in history of the
  6496. 8:13:52channel that you're here for so 777 to
  6497. 8:13:55you so so much love
  6498. 8:13:57and that tells me that we we make
  6499. 8:14:00gamechanging moments every single day
  6500. 8:14:01and nobody else is going to see this
  6501. 8:14:03dude nobody else is going to see this
  6502. 8:14:05well maybe the inner circle at the end
  6503. 8:14:07of the week on Friday but I'm not going
  6504. 8:14:09to tell you how to join that if you
  6505. 8:14:11can't figure it out you can't figure it
  6506. 8:14:12out be it is what it is now I'm going to
  6507. 8:14:15drink a little bit of water because that
  6508. 8:14:17was a big big moment we just had there
  6509. 8:14:20now we are tracking all liquidations
  6510. 8:14:22from not just binance but also okx okay
  6511. 8:14:27X that's nice why because before you can
  6512. 8:14:30see the Liquidations in the last hour
  6513. 8:14:32here 14.3 million on binance but it's
  6514. 8:14:36pretty close on okx so I got to be
  6515. 8:14:39tracking that as
  6516. 8:14:41well I haven't been tracking it but also
  6517. 8:14:45haven't been storing this information
  6518. 8:14:46too
  6519. 8:14:48well I have been storing it but there's
  6520. 8:14:51gaps in
  6521. 8:14:52it because this dies we fixed that today
  6522. 8:14:55we've already fixed it that was a huge
  6523. 8:14:57move and then we brought in the okx that
  6524. 8:15:00was another huge move and then we
  6525. 8:15:02combined the two that's a huge move
  6526. 8:15:04every single day every single day
  6527. 8:15:08dude I'm so excited to be here with you
  6528. 8:15:10777 so much love to you if you need more
  6529. 8:15:14help I got you just keep showing up keep
  6530. 8:15:18showing up dude every single day in
  6531. 8:15:21every single way I'll keep showing you
  6532. 8:15:23every single thing that I'm working on
  6533. 8:15:25am I the best in the world no of course
  6534. 8:15:27not I don't know where the best of the
  6535. 8:15:29world is though and they're not they're
  6536. 8:15:30not helping us
  6537. 8:15:32so let's get it let's eat let's
  6538. 8:15:36eat I want to go ahead before I get some
  6539. 8:15:39water because we just had a big
  6540. 8:15:40breakthrough I want to make sure that I
  6541. 8:15:42finish this solution here so the
  6542. 8:15:45probability of at least one slam dunk in
  6543. 8:15:4710 attempts the probability of at least
  6544. 8:15:50one success in the comp is of least one
  6545. 8:15:55success is the compliment of no
  6546. 8:15:59successes yeah at least one success so
  6547. 8:16:03it's one minus no slams so calculate P
  6548. 8:16:07for slam dunks P slam dunks 8 to the
  6549. 8:16:1010th at least one slam dunk is one minus
  6550. 8:16:14that the expected number of slam dunks
  6551. 8:16:17the expected e of X is calculated as e
  6552. 8:16:20ex then n * P 10 * 2 = 2 or equals two
  6553. 8:16:28so the expected number of slam dunks is
  6554. 8:16:30two in 10 attempts adjusting the
  6555. 8:16:33probability to make the game more
  6556. 8:16:35challenging decrease the probability of
  6557. 8:16:38scoring a slam dunk for example change P
  6558. 8:16:42to
  6559. 8:16:43point2 from0 2 to 0.1 this will reduce
  6560. 8:16:46the expected number of slam dunks and
  6561. 8:16:48make it harder to achieve these
  6562. 8:16:51Solutions should help you understand the
  6563. 8:16:53concepts and apply them to basketball
  6564. 8:16:55scenarios
  6565. 8:17:00so these were my uh overview here of the
  6566. 8:17:04beta
  6567. 8:17:10distribution no
  6568. 8:17:13dude it was actually this here because
  6569. 8:17:16that this is chapter 6 I don't know we
  6570. 8:17:19haven't got there yet
  6571. 8:17:35okay but this here was
  6572. 8:17:43this big lick oh my God
  6573. 8:17:482.9 off uh okay
  6574. 8:17:51X is that
  6575. 8:17:54right looks right to me oh man so this
  6576. 8:17:58changes everything
  6577. 8:17:59honestly so everything I knew
  6578. 8:18:03before I wasn't tracking okx so how how
  6579. 8:18:06am I supposed to know what happened here
  6580. 8:18:08with the two am of licks right there if
  6581. 8:18:10I wasn't tracking it you
  6582. 8:18:14know and if it's 40% of the market
  6583. 8:18:18that's no that's no small thing so throw
  6584. 8:18:22everything I said out the window we're
  6585. 8:18:24starting a fresh starting a new and
  6586. 8:18:26that's why you're here dude cuz you
  6587. 8:18:28don't want to miss things like this
  6588. 8:18:30pivots like this and this is why you
  6589. 8:18:32can't just go buy somebody's B 15 mil on
  6590. 8:18:36the eth I have a feeling these are not
  6591. 8:18:39right these are too big do they just
  6592. 8:18:41trade mad size over
  6593. 8:18:52there did they just trade mad size over
  6594. 8:18:55there is the question
  6595. 8:18:59that is
  6596. 8:19:06wild that is why hold let's actually I
  6597. 8:19:10need to go look at this data because
  6598. 8:19:11it's just like too big to be
  6599. 8:19:17true 37
  6600. 8:19:20BTC that
  6601. 8:19:22equals 2.5
  6602. 8:19:25m i mean
  6603. 8:19:27that was all in one trade
  6604. 8:19:31too wait
  6605. 8:19:4737 looks right to me dog let look at
  6606. 8:19:51that big eth one here oh Maker 2
  6607. 8:19:58oh so the whales are over here is what
  6608. 8:20:01you're pretty much telling
  6609. 8:20:03me like what what no no no this can't be
  6610. 8:20:06right
  6611. 8:20:08dog
  6612. 8:20:18eth position
  6613. 8:20:23side yeah look at this look at this
  6614. 8:20:26there's comments here things are getting
  6615. 8:20:29shifted just like losing my mind over
  6616. 8:20:34here oh so wild I like there's no way
  6617. 8:20:39this is happening just missing the whole
  6618. 8:20:42plot so this is good though this is good
  6619. 8:20:45that we uh figured it out there's a
  6620. 8:20:46double comma here so it's just shifting
  6621. 8:20:49it's multiplying the wrong
  6622. 8:20:51things but where did that
  6623. 8:20:53happen why did that happen
  6624. 8:20:57when did it happen where did it happen
  6625. 8:20:58why did it happen when did it happen
  6626. 8:21:01where did it happen why did it
  6627. 8:21:04happen CC Y what is ccy my
  6628. 8:21:09guy let's see if it's up here at the top
  6629. 8:21:13oh no
  6630. 8:21:27is there that size over there is this
  6631. 8:21:30okay because
  6632. 8:21:33it's I mean let's go look at it again
  6633. 8:21:36that's a big lick dude
  6634. 8:21:43B&B this is the
  6635. 8:21:46price this is the
  6636. 8:21:51size am I
  6637. 8:21:53tripping did somebody just get licked
  6638. 8:21:55for 6.5
  6639. 8:21:58four on on there that's
  6640. 8:22:03crazy that's just a different ball game
  6641. 8:22:05over there let's go ahead and
  6642. 8:22:08see let's go ahead and find that
  6643. 8:22:21639 639 what do you mean I just saw that
  6644. 8:22:24oh it's right here
  6645. 8:22:27so the sell they were in a long so they
  6646. 8:22:30had to sell and then the price was this
  6647. 8:22:33the you know block price or PK price
  6648. 8:22:36whatever that
  6649. 8:22:39means and the size was
  6650. 8:22:45this dang
  6651. 8:22:49dude that's that I mean these are right
  6652. 8:22:56I'm just feel I'm feeling bad for the
  6653. 8:23:08person there ain't no way there there's
  6654. 8:23:10been a 100 million in
  6655. 8:23:12Liquidations in the last five minutes
  6656. 8:23:16I'm sorry I don't believe that at
  6657. 8:23:24all I mean let's go check it check this
  6658. 8:23:28out a legit data
  6659. 8:23:31source I'm over here making janky
  6660. 8:23:36Janks okay let's go ahead here and see
  6661. 8:23:41how do I change this to exchanges okay
  6662. 8:23:44one hour
  6663. 8:24:03[Music]
  6664. 8:24:15very curious what's going on
  6665. 8:24:17here I added this complexity by putting
  6666. 8:24:20a new exchange here but I'm I'm enjoying
  6667. 8:24:24looking through it and figuring it out
  6668. 8:24:26so
  6669. 8:24:28I think it's going to be useful to have
  6670. 8:24:29both exchanges
  6671. 8:24:32too ory
  6672. 8:24:57all right I'm gon say
  6673. 8:25:01this I don't know I don't want to do it
  6674. 8:25:03that way because
  6675. 8:25:04that's I think it has to be in
  6676. 8:25:07my in this yeah it has to be in that
  6677. 8:25:10because that's the new thing
  6678. 8:25:34is that in the same time zone as
  6679. 8:25:39this or
  6680. 8:25:45something
  6681. 8:25:474:30 so the song the same time
  6682. 8:25:50okay recent licks okay
  6683. 8:25:55X e
  6684. 8:26:31but these are all the liquidations
  6685. 8:26:32coming through
  6686. 8:27:21you need to update this code so it drops
  6687. 8:27:23the usdt that's the first place I'm
  6688. 8:27:25going to start at
  6689. 8:27:29Le update this
  6690. 8:27:42code
  6691. 8:27:44before saving to the
  6692. 8:27:48file okay that's what I'm going to start
  6693. 8:27:50with
  6694. 8:27:56and then I'm G actually delete all this
  6695. 8:27:58data
  6696. 8:28:01here I'mma kill it
  6697. 8:28:30so okay
  6698. 8:28:43X
  6699. 8:28:48okay should be right here right
  6700. 8:28:52okay all right let's watch it up for a
  6701. 8:28:55minute um e
  6702. 8:29:36let's see here does it add up
  6703. 8:29:49now okay um 126 million see that's kind
  6704. 8:29:53of cap cerona to me
  6705. 8:30:00it's not even what we're looking at bro
  6706. 8:30:02it's not even what we're looking at
  6707. 8:30:03we're looking over
  6708. 8:30:11here perfect we wanted to remove
  6709. 8:30:16the the
  6710. 8:30:17usdt now it's just now it should add up
  6711. 8:30:21oh and I think now it's looking better
  6712. 8:30:23yeah
  6713. 8:30:28yeah so maybe that solved
  6714. 8:30:45it maybe but it it didn't really solve
  6715. 8:30:48this part the part with like these huge
  6716. 8:30:52liquidations I mean it said it it said
  6717. 8:30:55it though
  6718. 8:30:56maybe those people really got liquidated
  6719. 8:30:58at 6.4 million on uh Monday
  6720. 8:31:02morning so I'm just going to roll with
  6721. 8:31:06that for now see what's going on here so
  6722. 8:31:09the price did go it was going down we're
  6723. 8:31:11we're sure of
  6724. 8:31:13that so when these were going down the
  6725. 8:31:16price was going down so we know the
  6726. 8:31:17direction is correct which is nice let's
  6727. 8:31:20see there's probably going to be more
  6728. 8:31:21laks here there should
  6729. 8:31:24be this is binance over here and this is
  6730. 8:31:32okx
  6731. 8:31:34X
  6732. 8:31:37welcome welcome to
  6733. 8:31:40okx I think we keep mobbing on this book
  6734. 8:31:42as well because I got the energy today
  6735. 8:31:45so you know while I got it let's roll
  6736. 8:31:49with it so I'm going through this book
  6737. 8:31:52right now oh man Big Lick right there 5.
  6738. 8:31:55see that's the where I'm like are you
  6739. 8:31:57for real for
  6740. 8:32:00real no I don't believe that at all
  6741. 8:32:03though because the reason I don't
  6742. 8:32:04believe it is because the other data
  6743. 8:32:06source shows
  6744. 8:32:08no so this is the 5 million
  6745. 8:32:13here this math is
  6746. 8:32:17true I believe that math look another
  6747. 8:32:20one see this is why I don't
  6748. 8:32:24believe but
  6749. 8:32:27I mean there would be licks there that's
  6750. 8:32:30for sure but I guess when I look at this
  6751. 8:32:33uh coin
  6752. 8:32:38glass
  6753. 8:32:53exchanges that doesn't add up
  6754. 8:32:58so I think it's still cap I still think
  6755. 8:33:00it's
  6756. 8:33:02cap but how do we fix it
  6757. 8:33:07391 I think it's C I think it's
  6758. 8:33:15C oh
  6759. 8:33:20okay maybe we're doing the math WR no
  6760. 8:33:23this math is right
  6761. 8:33:33oh maybe the
  6762. 8:33:38price not the price the price looks to
  6763. 8:33:40be formatted
  6764. 8:33:44correctly but maybe this is
  6765. 8:33:49like what does BK price mean not
  6766. 8:33:54price size maybe the size is is what I'm
  6767. 8:33:57trying to say maybe the size is
  6768. 8:33:58different so let's go here and say size
  6769. 8:34:05okay quantity of
  6770. 8:34:08liquidation yeah I know that
  6771. 8:34:17but doesn't fit my
  6772. 8:34:20thesis maybe that's not it
  6773. 8:34:27bankruptcy
  6774. 8:34:34loss this one's
  6775. 8:34:38tough let's go look at the actual code
  6776. 8:34:40how about that buddy
  6777. 8:35:19yes so this just isn't right I mean it
  6778. 8:35:22is what it is we're going to fix it but
  6779. 8:35:25I'm glad we figured it
  6780. 8:35:35out should give us more information
  6781. 8:35:41right
  6782. 8:35:48nice so we're essentially going up in
  6783. 8:35:51here and saying data in the family repl
  6784. 8:35:54it with usdt so let's go find
  6785. 8:36:02that
  6786. 8:36:17what I don't even see the symbol on
  6787. 8:36:20here CC
  6788. 8:36:24Y is that the
  6789. 8:36:27symbol no it's
  6790. 8:36:38not it's
  6791. 8:36:46interesting see what data looks
  6792. 8:36:54like for
  6793. 8:37:27let's read what they have to say as well
  6794. 8:37:59okay so this is that insta family I see
  6795. 8:38:02why okay it gets that um insta ID insta
  6796. 8:38:05swap uh Uli Uli what is it Uli not usdt
  6797. 8:38:12okay so this is where it gets the symbol
  6798. 8:38:15it's fine and it probably says that
  6799. 8:38:17right
  6800. 8:38:18here yeah it's data insta family yeah
  6801. 8:38:22right there it says that but that's okay
  6802. 8:38:24so I detail side detail
  6803. 8:38:28side yes that makes sense because it's
  6804. 8:38:30right here it's the buy
  6805. 8:38:32side
  6806. 8:38:34okay time stamp is this yes that's
  6807. 8:38:39right makes
  6808. 8:38:40sense fi quantity is
  6809. 8:38:50size that's right okay the price here is
  6810. 8:38:55a float of the BK price that seems right
  6811. 8:38:58to me dude then fi
  6812. 8:39:02quantity is this times
  6813. 8:39:17that that seems right to me as well
  6814. 8:39:45oh maybe this is
  6815. 8:39:48it you is
  6816. 8:39:50Eastern pretty sure this is UTC time
  6817. 8:40:00why is z
  6818. 8:40:03Eastern I think that's not for that
  6819. 8:40:05that's just for the print
  6820. 8:40:12out symbols inst the family minus
  6821. 8:40:164 what's inst the family again
  6822. 8:40:40so this has nothing to do with it it's
  6823. 8:40:42all just prints here
  6824. 8:40:55I'm confused to be
  6825. 8:41:24honest e
  6826. 8:42:15all this math looks good I
  6827. 8:42:20mean let's look at the binance one here
  6828. 8:42:24field quantity times
  6829. 8:42:32price field quantity times price price
  6830. 8:42:36is the flow of the BK price here this is
  6831. 8:42:39the price
  6832. 8:42:43here Tia it should be 1.12 let's make
  6833. 8:42:47sure that's
  6834. 8:42:49true because maybe our digits are
  6835. 8:42:52off this is Africa
  6836. 8:43:02oh something's off
  6837. 8:43:06here Tia is
  6838. 8:43:09$111 okay
  6839. 8:43:11good oh never mind that's what it
  6840. 8:43:15says that's what it says that's what it
  6841. 8:43:18says so it is what it is okay so we know
  6842. 8:43:21that and we just keep on moving that's
  6843. 8:43:24all we do we keep moving forward keep
  6844. 8:43:26moving forward keep moving forward so
  6845. 8:43:28this data just looks too good to be
  6846. 8:43:31true to
  6847. 8:43:34me wait no this right
  6848. 8:43:38here 391
  6849. 8:43:42seems no that's actually more
  6850. 8:43:45appropriate not than this this is what
  6851. 8:43:47sketch right here 4.9 and that was 1253
  6852. 8:43:52and that's what is that 12 minutes ago
  6853. 8:43:5320 minutes ago 10 minutes ago I don't
  6854. 8:43:56know
  6855. 8:43:58104 so 10 minutes ago so it shows right
  6856. 8:44:03here right off top
  6857. 8:44:264 million that's a 5 million in 10
  6858. 8:44:29minutes okay but then we look at this
  6859. 8:44:31and it's not
  6860. 8:44:33right so let's go here and
  6861. 8:44:38refresh exchange
  6862. 8:44:412.53 this is right here five this is an
  6863. 8:44:44hour so it's off it's
  6864. 8:44:50wrong I guess I can look at it like this
  6865. 8:44:52as well okay X has 50% of the licks we
  6866. 8:44:58did catch that that was
  6867. 8:45:16clear but we're just getting much higher
  6868. 8:45:18like this is 10 mil off off top right
  6869. 8:45:22here off in uh 1 minute 20
  6870. 8:45:27seconds and that's within the
  6871. 8:45:29[Music]
  6872. 8:45:35hour and they're not the same number
  6873. 8:45:38let's go look at that
  6874. 8:45:441253 12 53
  6875. 8:46:01that's too
  6876. 8:46:02bad I got wa 52
  6877. 8:46:07three that happened multiple times 5237
  6878. 8:46:11how many times I have one time okay so
  6879. 8:46:13this shows a liquidation of a long
  6880. 8:46:16they're in a long at that time which is
  6881. 8:46:201252 okay 12:52 p.m. I'm not about to do
  6882. 8:46:25that conversion actually
  6883. 8:46:27so
  6884. 8:46:29um
  6885. 8:46:3168,000 price multiplied by 76 size
  6886. 8:46:48here equals 5.23
  6887. 8:46:51[Music]
  6888. 8:46:53mil okay and then a few seconds
  6889. 8:46:58later 23 seconds later another one here
  6890. 8:47:041.3
  6891. 8:47:06three yeah 1.3
  6892. 8:47:09mil followed
  6893. 8:47:11by 4 seconds
  6894. 8:47:15later 4
  6895. 8:47:20mil that's why I'm like n do this is C
  6896. 8:47:25I think it's cap I I don't know why like
  6897. 8:47:27why how
  6898. 8:47:30to fix it is the
  6899. 8:47:38question I trust this coin glass data
  6900. 8:47:42because you know they've been here
  6901. 8:47:44forever or I don't know forever
  6902. 8:47:51but I just implemented okx today
  6903. 8:47:57today
  6904. 8:48:03dude so
  6905. 8:48:064.1m Longs got licked but I have all my
  6906. 8:48:10screen
  6907. 8:48:1210 that's the discrepancy we're looking
  6908. 8:48:15at
  6909. 8:48:16here I wonder what's going on I wonder
  6910. 8:48:19what's going on
  6911. 8:48:29got the data streaming in here
  6912. 8:48:34so I think we keep looking at this right
  6913. 8:48:39here anything weird a sell they had to
  6914. 8:48:42sell
  6915. 8:48:45it and this also was a sell this was the
  6916. 8:48:48other or million
  6917. 8:49:12my ask
  6918. 8:49:13gbt because I'm a little stuck here
  6919. 8:49:16we'll figure it out eventually that's
  6920. 8:49:18all I
  6921. 8:49:20know I'm a bit confused
  6922. 8:49:25above you can see the
  6923. 8:49:29liquidations of the
  6924. 8:49:34past I don't know 20 minutes or so and
  6925. 8:49:40but and there are like
  6926. 8:49:4510m
  6927. 8:49:48million at least but in the
  6928. 8:49:52screenshot of a
  6929. 8:49:55um verified well I don't know verified
  6930. 8:49:58but verified tool tool that
  6931. 8:50:03tracks
  6932. 8:50:05liquidations it
  6933. 8:50:07shows a much lower
  6934. 8:50:11number of
  6935. 8:50:15licks then our code below is producing
  6936. 8:50:25I can't
  6937. 8:50:27figure out what may be going
  6938. 8:50:32wrong because I
  6939. 8:50:34look at the
  6940. 8:50:37CSV above and the math all makes sense
  6941. 8:50:42to me in the
  6942. 8:50:49code below is the code I will also give
  6943. 8:50:55the
  6944. 8:50:57documentation to okx to see if you can
  6945. 8:51:02see anything else else else it may be
  6946. 8:51:08okay so let's give it the
  6947. 8:51:10code let's give the code let's give the
  6948. 8:51:12code okay X okay
  6949. 8:51:16okay okay
  6950. 8:51:18X okay here's the docs here are the
  6951. 8:51:22docks
  6952. 8:51:24okay okay X liquidation
  6953. 8:51:29orders let's give it a lot not a lot but
  6954. 8:51:32you know
  6955. 8:51:34enough
  6956. 8:51:36okay boom
  6957. 8:51:39boom all right let's see what you got
  6958. 8:51:41it's your time to shine all eyes on you
  6959. 8:51:44all eyes on you
  6960. 8:52:02DNS says you aren't taking the leverage
  6961. 8:52:04into account 10m lick could be 1 M lick
  6962. 8:52:0910x
  6963. 8:52:10lever yes 100,000 is
  6964. 8:52:141,000 x Leverage is
  6965. 8:52:1710 what 100 100,000 at 100x okay X won't
  6966. 8:52:22give coin glass the lever number only
  6967. 8:52:25the
  6968. 8:52:29nominal nominal meaning the total
  6969. 8:52:31position
  6970. 8:52:32right or is nominal mean something
  6971. 8:52:37else um I would assume all this Le or
  6972. 8:52:41all this data here
  6973. 8:52:43is with leverage baked in because to
  6974. 8:52:47leverage doesn't matter right it's just
  6975. 8:52:49the size of the trade is the size of the
  6976. 8:52:52trade at the end of the day I think
  6977. 8:52:54that's that's how I've been looking at
  6978. 8:52:56it at least like nobody knows how much
  6979. 8:52:58leverage each each player is using but
  6980. 8:53:00we know the trade
  6981. 8:53:02size so I would assume that if they were
  6982. 8:53:05giving I don't know maybe maybe you're
  6983. 8:53:07on something here but if they were
  6984. 8:53:09giving the
  6985. 8:53:11unlevered actual size
  6986. 8:53:14here that they were they were betting I
  6987. 8:53:18guess
  6988. 8:53:21risking then this would be smaller
  6989. 8:53:25but I think our problem is the opposite
  6990. 8:53:27but maybe
  6991. 8:53:28not let's think about that so these are
  6992. 8:53:31bigger numbers here
  6993. 8:53:38and they should be way
  6994. 8:53:40[Music]
  6995. 8:53:45smaller I don't know what that is
  6996. 8:53:47be I'm not looking for the information
  6997. 8:53:51the if if that means that
  6998. 8:53:55yeah I don't know what you're talking
  6999. 8:53:56about my guy I don't know what that
  7000. 8:54:02is I don't think that they would ever
  7001. 8:54:04give the information about the their
  7002. 8:54:07leverage for sure for
  7003. 8:54:15sure they hunt big
  7004. 8:54:18positions absolutely agree that's why
  7005. 8:54:21I'm tracking
  7006. 8:54:22them but
  7007. 8:54:26um just a
  7008. 8:54:28little all right I'm going to go I
  7009. 8:54:30thought you had some I thought you had
  7010. 8:54:31some solutions over there but
  7011. 8:54:34uh doesn't look like it do look he ain't
  7012. 8:54:38got him he ain't got him that's okay
  7013. 8:54:41because we going to figure it out here
  7014. 8:54:44we're going to figure it out so what is
  7015. 8:54:47going on is the question
  7016. 8:55:00I actually liked being back there
  7017. 8:55:03but 40
  7018. 8:55:0752 okay so this is the chunk of
  7019. 8:55:21data yo bro DNS says check your DM I
  7020. 8:55:25don't know what DM you're talking about
  7021. 8:55:27my
  7022. 8:55:28dude and I can't because I'm on the I'm
  7023. 8:55:31on the uh the stream right now so just
  7024. 8:55:34hit me here bro I'm
  7025. 8:55:38live he says check check your DM I'm
  7026. 8:55:41trading these licks in real
  7027. 8:55:44time that's dope my
  7028. 8:55:48guy that's dope
  7029. 8:56:026 I'm GNA go travel with my
  7030. 8:56:07girl see what she's talking
  7031. 8:56:10about she was see see what she's talking
  7032. 8:56:13about okay let's review the code and the
  7033. 8:56:15logic in detail to ensure that the
  7034. 8:56:18calculations and outputs are correct
  7035. 8:56:20there might be issues with how the
  7036. 8:56:22liquidation sizes are calculated or with
  7037. 8:56:26how the data is processed reviewing the
  7038. 8:56:29logic for liquidations parsing the
  7039. 8:56:31liquidation data ensure the data from
  7040. 8:56:34the web socket is correctly parched and
  7041. 8:56:37converted to USD values that's what it
  7042. 8:56:40is dude I got it I got it I got it it's
  7043. 8:56:44uh for
  7044. 8:56:49Strings it's adding strings essentially
  7045. 8:56:56sorry it's multiplying
  7046. 8:57:01strings so price times quantity it's a
  7047. 8:57:04float okay build quantity here ah not
  7048. 8:57:09it's not
  7049. 8:57:10it I thought I had it I thought I had it
  7050. 8:57:13that was big that was so big be that was
  7051. 8:57:17a big thought was a big thought but I'm
  7052. 8:57:20just a thought I'm just a thought
  7053. 8:57:22because that was a big thought and it
  7054. 8:57:24was not a correct thought that's okay go
  7055. 8:57:28ahead and prove that though just like
  7056. 8:57:31maybe okay X print no
  7057. 8:57:35it's
  7058. 8:57:37type yeah no no that's bad not a good
  7059. 8:57:40thought not a good thought decent
  7060. 8:57:41thought honestly decent thought
  7061. 8:57:44but reviewing the logic so parsing
  7062. 8:57:47liquidation data outputting liquidations
  7063. 8:57:49verify the output logic correctly prints
  7064. 8:57:52and writes the data to see SV summing
  7065. 8:57:55liquidations ensure that the summing
  7066. 8:57:58logic in the final calculation correctly
  7067. 8:58:00reflects the total long so here's an
  7068. 8:58:03updated version
  7069. 8:58:52H what is going on with the liquidation
  7070. 8:58:58data
  7071. 8:58:59[Music]
  7072. 8:59:06for this
  7073. 8:59:08exchange I cannot remember it
  7074. 8:59:14name okay X let's go ahead here and
  7075. 8:59:18paste in this new one here I don't know
  7076. 8:59:20what it changed but we'll see here in a
  7077. 8:59:23second
  7078. 8:59:42Doug says you think they're
  7079. 8:59:47spoofing
  7080. 8:59:49no I think this is more about
  7081. 8:59:51liquidation so there has to be positions
  7082. 8:59:55I think this I'm I'm effing up
  7083. 8:59:58somewhere or something
  7084. 9:00:37doesn't change I mean why would it
  7085. 9:00:50change time stamp Gucci to me no this is
  7086. 9:00:54Gucci to me you can see
  7087. 9:01:08debug what a debugging though what what
  7088. 9:01:10is
  7089. 9:01:12that what do I what do I care you
  7090. 9:01:16know don't
  7091. 9:01:19save L data okay X
  7092. 9:01:24front L lick short lick data okay
  7093. 9:01:29X huh
  7094. 9:02:00looks
  7095. 9:02:07fine this is what sketch right here
  7096. 9:02:35oh my bad though I shouldn't have it
  7097. 9:02:37both going it's the wrong
  7098. 9:02:41one so I was like why is it doubling up
  7099. 9:02:43on
  7100. 9:02:46us okay let's run it from here this will
  7101. 9:02:49be a new new test here so
  7102. 9:02:57finally a new test what's going on with
  7103. 9:02:59our liquidation data problems to
  7104. 9:03:05solve
  7105. 9:03:07too dang look at that oh my goodness
  7106. 9:03:12that is insane look at that break
  7107. 9:03:15so add okx we just went let's go this
  7108. 9:03:20way but if it's 40% if it's 40% The
  7109. 9:03:23Exchange this is good I mean if it's 40%
  7110. 9:03:25of liquidations happening there then I
  7111. 9:03:27have to have it you know we got to have
  7112. 9:03:29it
  7113. 9:03:31be
  7114. 9:03:33so what's going on with okx
  7115. 9:03:40licks why are they
  7116. 9:03:44infinitely higher
  7117. 9:03:49than bance
  7118. 9:03:57we got to fix
  7119. 9:03:59that before
  7120. 9:04:01finishing recent uh the combo well the
  7121. 9:04:05combo one combo Loop the combo Loop the
  7122. 9:04:10combo Loop we have to finish that before
  7123. 9:04:12we move on past the combo
  7124. 9:04:16loop the loop the
  7125. 9:04:19loop so that's the question that's where
  7126. 9:04:23I'm I'm just going to kind of think on
  7127. 9:04:24it sleep on it
  7128. 9:04:27really let's go ahead and see if there's
  7129. 9:04:29anything uh new here that I want to
  7130. 9:04:39add still this guy catches my eye here
  7131. 9:04:42and there this guy still catches my eye
  7132. 9:04:54yo I heard she just sent her whole off
  7133. 9:04:57here so I want to check that
  7134. 9:04:59out was like she pumping this
  7135. 9:05:10Iggy
  7136. 9:05:13interesting it's not my actual pick
  7137. 9:05:15though so I'm not actually picking that
  7138. 9:05:18one
  7139. 9:05:24this one's sticking around
  7140. 9:05:30again okay so it's a nice
  7141. 9:05:33dip oh it's a big dip honestly it's a
  7142. 9:05:35big
  7143. 9:05:39dipper
  7144. 9:05:4275 but what happens after summer you
  7145. 9:05:51know not in my top four that's for
  7146. 9:06:00sure this is all going to zero
  7147. 9:06:02eventually so if you're watching this in
  7148. 9:06:04the future you can kind of giggle you
  7149. 9:06:07can giggle because in the future all of
  7150. 9:06:09these will be zero kind of just want to
  7151. 9:06:12see each of them though for
  7152. 9:06:14now we got the sniper sniping down here
  7153. 9:06:17in the bottom right
  7154. 9:06:30selfie
  7155. 9:06:33dog
  7156. 9:06:35moat it's a good looking
  7157. 9:06:48chart what is
  7158. 9:06:50this cat frog cat frog dog shark I'm out
  7159. 9:06:54hate
  7160. 9:06:56it what is this P Trump hate
  7161. 9:07:07it okay
  7162. 9:07:23this keeps popping up I know it's just
  7163. 9:07:25an emoji
  7164. 9:07:29though dang 29
  7165. 9:07:44mil Rodrigo says Hey DNS you know thanks
  7166. 9:07:48I agree I think DNS knows some big
  7167. 9:07:51things here
  7168. 9:07:57get him out dog get them out let just
  7169. 9:08:01[Music]
  7170. 9:08:20know please do a brief
  7171. 9:08:24review of all the
  7172. 9:08:27topics we covered
  7173. 9:08:31today all right so I want to do a brief
  7174. 9:08:34Brief Review of the topics that the
  7175. 9:08:36topics that we covered in
  7176. 9:08:39the in this book the basian statistics
  7177. 9:08:42the Funway I haven't started reading it
  7178. 9:08:44yet but kind of dissecting the uh table
  7179. 9:08:47of content so when I do start reading it
  7180. 9:08:50I
  7181. 9:08:51will I'll be ready for it
  7182. 9:08:59so A Brief Review of topics
  7183. 9:09:01covered basian statistics basian
  7184. 9:09:04thinking updating beliefs based on new
  7185. 9:09:08evidence probability measure How likely
  7186. 9:09:11an event is to occur basing an in
  7187. 9:09:15inference making predictions using prior
  7188. 9:09:20knowledge and new data probability for
  7189. 9:09:23trading probability calculations
  7190. 9:09:26estimating chances of trading outcomes
  7191. 9:09:29combining probabilities the end rule or
  7192. 9:09:31the or R
  7193. 9:09:34rule uncertainty measurement probability
  7194. 9:09:37density formula describes likelihoods of
  7195. 9:09:40continuous
  7196. 9:09:41outcomes cumulative dist
  7197. 9:09:47distribution function probability that a
  7198. 9:09:50variable is less than or equal to a Val
  7199. 9:09:56value binomial
  7200. 9:09:59distribution
  7201. 9:10:00structure should use for discrete events
  7202. 9:10:04with fixed numbers of Trials parameters
  7203. 9:10:08number of Trials and probability of
  7204. 9:10:10success P binomial
  7205. 9:10:14coefficient n / K counts ways to achieve
  7206. 9:10:17K successes in end trials beta
  7207. 9:10:20distribution purpose models
  7208. 9:10:23probabilities of probabilities used for
  7209. 9:10:26success
  7210. 9:10:27rates parameters
  7211. 9:10:30successes which are these little
  7212. 9:10:32squigglies and failures which is the B
  7213. 9:10:35thing PDF and CDF used to find
  7214. 9:10:37probability density and cumulative
  7215. 9:10:39probability statistics and inference
  7216. 9:10:42collecting data observing and recording
  7217. 9:10:44outcomes for analysis inference making
  7218. 9:10:47predictions based on Sample data
  7219. 9:10:49calculating probabilities binomial
  7220. 9:10:52probability formula is PX = K or n on
  7221. 9:10:57top of k p to the K 1 minus p n to the N
  7222. 9:11:01minus K complement rule so P of X
  7223. 9:11:06probability of X over K is the same as
  7224. 9:11:081us P overx because it's the opposite
  7225. 9:11:11applications in gacha games and trading
  7226. 9:11:14gacha games understanding probabilities
  7227. 9:11:17of rare item pools trading managing risk
  7228. 9:11:20and making informed decisions using
  7229. 9:11:22probabil ability models practice
  7230. 9:11:24exercises reviewed beta distribution for
  7231. 9:11:27free throw success rate parameters
  7232. 9:11:29plotting mode and probability
  7233. 9:11:31calculations probability
  7234. 9:11:35statistics an inference in basketball
  7235. 9:11:38games calculating win probability
  7236. 9:11:41statistics and inference calculate or
  7237. 9:11:43collecting data and calculating
  7238. 9:11:45probabilities for three point shots
  7239. 9:11:48exact and cumulative probabilities data
  7240. 9:11:51recording reverse engineering a b
  7241. 9:11:53possible game mechanic probability of
  7242. 9:11:55slam dunks expected number and adjusting
  7243. 9:11:58game difficulty summary to
  7244. 9:12:00review today's review covered key
  7245. 9:12:03Concepts in basian
  7246. 9:12:07statistics probability binomial and beta
  7247. 9:12:10distributions data collection and
  7248. 9:12:12practical applications in scenarios such
  7249. 9:12:15as bball and
  7250. 9:12:17trading so this is interesting dude I
  7251. 9:12:21like this new setup here you can see
  7252. 9:12:24there was just a Big Lick over here
  7253. 9:12:26on on this whatever this was so let's go
  7254. 9:12:30check it out see if it's actually real
  7255. 9:12:33here I know it's real here because it's
  7256. 9:12:35just printing the things that are
  7257. 9:12:38real but my problem here is that
  7258. 9:12:41actually how much was just
  7259. 9:12:44licked no see that's there's no way
  7260. 9:12:47that's true right there 2 mil licked
  7261. 9:12:50right there let's see what it's looking
  7262. 9:12:51like what's the where's the chart at be
  7263. 9:12:54yeah there's no way this is Cap capona
  7264. 9:12:56there's no way that's 2 mil right there
  7265. 9:12:58I mean
  7266. 9:13:00maybe if there's just animals over there
  7267. 9:13:03but no no no no I'm so confused on that
  7268. 9:13:08part but I think that's like the type of
  7269. 9:13:11stuff you got to kind of um think about
  7270. 9:13:15for a second step away and think about
  7271. 9:13:19so that's what I'm going to
  7272. 9:13:21do I hope you come back back every
  7273. 9:13:23single day because every single day we
  7274. 9:13:25discover some new things and some new
  7275. 9:13:29crazy crazy things because my vocab is
  7276. 9:13:32not that good so we discover crazy
  7277. 9:13:34things every day okay B I'll see you
  7278. 9:13:36every day 777 so much love to
  7279. 9:13:41you so we're not entirely sure if this
  7280. 9:13:44is working as you can see this shows for
  7281. 9:13:47446 th000 okay that's a lot that's a lot
  7282. 9:13:52that's a lot
  7283. 9:13:54down here let's go ahead and see I'm
  7284. 9:13:56pretty sure it shows the same though
  7285. 9:13:58so
  7286. 9:14:001441 oh well let's just do it this way
  7287. 9:14:06446
  7288. 9:14:0833 one okay so it showed that that is a
  7289. 9:14:13short and they had a buy
  7290. 9:14:15back 6.4 BTC
  7291. 9:14:25I don't see anything wrong with the
  7292. 9:14:41math and then what did gbg say let's
  7293. 9:14:44just go over what she said maybe sure
  7294. 9:14:47conversion to USD uh verify that the
  7295. 9:14:49conversion from the traded size and
  7296. 9:14:52price to us is
  7297. 9:14:59correct maybe they have something here
  7298. 9:15:02that I need to be aware
  7299. 9:15:06of um I'm not about to read the whole
  7300. 9:15:09thing though that's for sure
  7301. 9:15:20websocket I think what I'm going to do
  7302. 9:15:22is just put this on hold then I mean
  7303. 9:15:24this was a little quick little pivot
  7304. 9:15:26over here and it's just not as easy as
  7305. 9:15:30it
  7306. 9:15:32looks something is up and I I'll think
  7307. 9:15:34about it eventually I'll think of it
  7308. 9:15:36eventually um haven't been able to a the
  7309. 9:15:39solution yet
  7310. 9:16:03it's okay though I'm going to go ahead
  7311. 9:16:06and just keep moving forward without
  7312. 9:16:12it I'm going to send this back to this
  7313. 9:16:16copy path we're leaving without you
  7314. 9:16:19sorry buddy
  7315. 9:16:24we're leaving without you it is what it
  7316. 9:16:27is we're missing out on half the
  7317. 9:16:29liquidations half of the
  7318. 9:16:32liquidations so the good thing is is
  7319. 9:16:36that it's
  7320. 9:16:39half so that's a nice easy number not
  7321. 9:16:42necessarily half is like 40% but we'll
  7322. 9:16:45just say half for now just between me
  7323. 9:16:47and
  7324. 9:16:51you okay
  7325. 9:16:56so no I don't want to abandon okay
  7326. 9:16:58that's why I don't want to abandon it
  7327. 9:17:04because what I'm thinking like I'm done
  7328. 9:17:07otherwise you know what I'm
  7329. 9:17:09saying I'm not done not even close is
  7330. 9:17:12done just done with this little point
  7331. 9:17:15because what we needed from this is
  7332. 9:17:18essentially I wanted to be able to see
  7333. 9:17:21uh
  7334. 9:17:23recent Li
  7335. 9:17:28data this is a
  7336. 9:17:36loop that does every time
  7337. 9:17:40frame so I want to rewrite this
  7338. 9:17:43code
  7339. 9:17:45um this was just for like my viewing
  7340. 9:17:48sake
  7341. 9:17:50so let's go ahead and make a me here too
  7342. 9:17:59notes 63 we paused a bit on
  7343. 9:18:04the okay X cuz the
  7344. 9:18:09values are too high but the
  7345. 9:18:13math looks
  7346. 9:18:17Gucci uh
  7347. 9:18:19moving onto the rest of
  7348. 9:18:24bot it's really the rest of the script
  7349. 9:18:28whatever I don't I don't know the
  7350. 9:18:30difference
  7351. 9:18:33difference okay so recent Loop here
  7352. 9:18:37and this is
  7353. 9:18:43fine I'm going to call this
  7354. 9:18:51recent l x.
  7355. 9:18:54py so we had this
  7356. 9:18:57remember and then I'm going to say hey
  7357. 9:19:01gbt you still with
  7358. 9:19:04us above is a
  7359. 9:19:09looping way of
  7360. 9:19:12getting the time frame for a
  7361. 9:19:17bunch but please remove the schedule and
  7362. 9:19:23looping and
  7363. 9:19:25all that I want to just be able to pass
  7364. 9:19:31in the time frame and the what else time
  7365. 9:19:37frame that time
  7366. 9:19:39frame that I want to
  7367. 9:19:43use okay let's see how she does with
  7368. 9:19:46that one I I was pretty lazy with that
  7369. 9:19:48so we'll see so here's a revised version
  7370. 9:19:51of your script that allows you to pass
  7371. 9:19:53in the time frame as an argument this
  7372. 9:19:56will calculate the liquidation totals
  7373. 9:19:58for the specified time frame without
  7374. 9:20:00looping or scheduling thanks B
  7375. 9:20:03appreciate you so so much so 5 minutes
  7376. 9:20:0615 minutes 30 minutes 1 hour good good
  7377. 9:20:10nice
  7378. 9:20:13nice we're not doing any saves here I
  7379. 9:20:15don't think so no
  7380. 9:20:19way there we go oh 2 CSV where output
  7381. 9:20:23file name output file name here input
  7382. 9:20:26file name recent
  7383. 9:20:45licks I don't want it to save to a file
  7384. 9:20:48anymore just GNA take that part
  7385. 9:20:51out again
  7386. 9:20:54keep that keep this information to
  7387. 9:20:55yourself
  7388. 9:21:01bucko
  7389. 9:21:07delete delete not saving
  7390. 9:21:10nothing it's not the point of this one
  7391. 9:21:13no it's
  7392. 9:21:14not okay return I want to return
  7393. 9:21:17something though please results
  7394. 9:21:21DF um
  7395. 9:21:28total
  7396. 9:21:32liquidation time
  7397. 9:21:44frame I just want to return some stuff B
  7398. 9:21:58yep it's not even a function
  7399. 9:22:02probably oh my goodness look at me look
  7400. 9:22:04at me way down here it's
  7401. 9:22:08tripping that boy
  7402. 9:22:10tripping
  7403. 9:22:12okay now what else do we want I want the
  7404. 9:22:15results DF yeah
  7405. 9:22:20please I suppose I could have just
  7406. 9:22:22return of results huh that would be
  7407. 9:22:24sophisticated of
  7408. 9:22:27me that would be very sophisticated of
  7409. 9:22:31me wow look at your boy grow just going
  7410. 9:22:36to delete that unnecessary code don't
  7411. 9:22:39need the DF
  7412. 9:22:42anymore this code is not for
  7413. 9:22:45me it's for the computer so calculate so
  7414. 9:22:49let's say results here results
  7415. 9:22:53okay and then let's say print results
  7416. 9:22:55okay let's see how this
  7417. 9:22:58does okay these are the results look at
  7418. 9:23:02that look at that and then we send it
  7419. 9:23:05back in this uh nice little what you
  7420. 9:23:07want to call it a Json I think yeah and
  7421. 9:23:10you can just tap in tap in tap in tap
  7422. 9:23:15in curious how that does though I'm just
  7423. 9:23:18going to get this distraction out of
  7424. 9:23:20here for now because she played
  7425. 9:23:26us oh that's one thing I wanted to do
  7426. 9:23:29actually is test the uh how stable these
  7427. 9:23:34are time is it no big licks in a
  7428. 9:23:38[Music]
  7429. 9:23:46while so results print results but then
  7430. 9:23:49I want to say um
  7431. 9:23:56print
  7432. 9:23:58results. Keys yeah I don't know honestly
  7433. 9:24:02I really
  7434. 9:24:05don't okay these are the
  7435. 9:24:07keys okay so I guess I do I guess I do
  7436. 9:24:11know let's say
  7437. 9:24:14print
  7438. 9:24:16results
  7439. 9:24:18of um
  7440. 9:24:21long leg
  7441. 9:24:23liquid
  7442. 9:24:27stations
  7443. 9:24:30nice okay well that's all cool and
  7444. 9:24:36all I think I'm just still going to
  7445. 9:24:38return it though like the regular
  7446. 9:24:43way
  7447. 9:24:46because it's cool that it's all coming
  7448. 9:24:49together like I'm understand how
  7449. 9:24:50Computer Works kind of a little bit
  7450. 9:24:53but it's about time you know it's about
  7451. 9:24:56time so let's go ahead and say
  7452. 9:25:04results
  7453. 9:25:10Y and then I just want to
  7454. 9:25:13print
  7455. 9:25:17F these are the
  7456. 9:25:20short liquidations
  7457. 9:25:24okay
  7458. 9:25:25[Music]
  7459. 9:25:28so looks pretty Gucci to me looks pretty
  7460. 9:25:31Gucci to me so that's I'm just testing
  7461. 9:25:34this to make sure that we can get it
  7462. 9:25:35because I feel like this is the thing
  7463. 9:25:37that we're going to be doing I'm going
  7464. 9:25:39be
  7465. 9:25:41doing I think I'm going be
  7466. 9:25:48doing is
  7467. 9:26:06total liquidations long this is
  7468. 9:26:13it cuz now this is what okay what I'm
  7469. 9:26:15trying to say is like okay now we can
  7470. 9:26:17say
  7471. 9:26:19if total liquidations are over
  7472. 9:26:23this you know what I'm
  7473. 9:26:26saying then do this now let's look at
  7474. 9:26:29our note sheet
  7475. 9:26:30because our note sheet has all the
  7476. 9:26:32answers let's go to it let's get out
  7477. 9:26:34some of these
  7478. 9:26:39tabes this is the book that I'm bouncing
  7479. 9:26:42back and forth between so you know shout
  7480. 9:26:46out to them thank you thank you for
  7481. 9:26:48teaching us some stuff I appreciate it
  7482. 9:26:53brainstorm okay so this is what we're
  7483. 9:26:56handling right
  7484. 9:26:57now and our stability is a little bit
  7485. 9:27:01better so
  7486. 9:27:02far and we have the things that we
  7487. 9:27:06need because I just pass in the time
  7488. 9:27:09frame in
  7489. 9:27:12here so I'm just going to
  7490. 9:27:16say
  7491. 9:27:18lick time frame
  7492. 9:27:25whoa whoa whoa whoa whoa whoa whoa whoa
  7493. 9:27:31whoa equals 15 minute um calculate
  7494. 9:27:42liquidation okay I just did it twice my
  7495. 9:27:46B my
  7496. 9:27:48bad I'm just going to say time frame
  7497. 9:27:50right here then perfect
  7498. 9:27:53time frame okay and then I'm going to go
  7499. 9:27:55up here to the top here and then go
  7500. 9:27:58ahead and say that time frame up there
  7501. 9:28:01because then I don't have to scroll all
  7502. 9:28:03the way
  7503. 9:28:04down um and I'll delete this
  7504. 9:28:08one now it calculates the results the
  7505. 9:28:11total liquidations the long liquidations
  7506. 9:28:13and the short liquidations these are
  7507. 9:28:16the here let's print them all out these
  7508. 9:28:19[Music]
  7509. 9:28:20are the
  7510. 9:28:23total I love a thank you so
  7511. 9:28:30much it's funny because we already print
  7512. 9:28:33them out right above it but print it out
  7513. 9:28:39twice oh I guess it makes no sense to
  7514. 9:28:43print it out but I just want to show you
  7515. 9:28:45what what I'm working with you
  7516. 9:28:48know print print print um we probably
  7517. 9:28:51don't need a print these
  7518. 9:28:52[Music]
  7519. 9:28:54anymore yeah yeah we shouldn't print
  7520. 9:28:56those
  7521. 9:28:57anymore yeah
  7522. 9:28:59yeah okay this is ready for the computer
  7523. 9:29:01though is what I'm trying to say these
  7524. 9:29:03numbers are ready so what I'm thinking
  7525. 9:29:05here is I mean let's look at these
  7526. 9:29:08charts gme saga continues pretty cool to
  7527. 9:29:12see um we look at these charts
  7528. 9:29:18here we had these liquidations that were
  7529. 9:29:21kind of basing off of right
  7530. 9:29:22now this one right here was 15 M and it
  7531. 9:29:26was a couple days ago two days ago
  7532. 9:29:28now and
  7533. 9:29:30um this one was two
  7534. 9:29:34M's it turned around a little bit but
  7535. 9:29:37does it turn as much as that I don't
  7536. 9:29:39know or is there more to
  7537. 9:29:42liquidate the volume seems to be similar
  7538. 9:29:44which is
  7539. 9:29:46interesting okay
  7540. 9:29:48so I'm going to skew for here
  7541. 9:29:57like a bigger number than
  7542. 9:30:00two but in order to do that I had to get
  7543. 9:30:05this I'm going to start
  7544. 9:30:12with
  7545. 9:30:1315 yes I know that's
  7546. 9:30:16high
  7547. 9:30:18but that's 1.5 so that's 15 1 2 3 3 2
  7548. 9:30:25Uno
  7549. 9:30:2815 okay so now they're actually bigger
  7550. 9:30:35than 15 amp okay so if total liquidation
  7551. 9:30:40is over
  7552. 9:30:42that so let's make the bot def bot
  7553. 9:30:57okay
  7554. 9:31:03sick and then let's Loop the bot how do
  7555. 9:31:06we Loop the bot well the
  7556. 9:31:09notion and our
  7557. 9:31:12brainstorms no strategies no in the RBI
  7558. 9:31:17system open in new tab
  7559. 9:31:22T it
  7560. 9:31:24up don't know what that
  7561. 9:31:26was so it's in
  7562. 9:31:30the this thing here perfect this is
  7563. 9:31:34exactly what I
  7564. 9:31:37needed oh oh go ahead say
  7565. 9:31:42bot okay let's import schedule up
  7566. 9:31:48here import schedule
  7567. 9:31:52time please thank you appreciate
  7568. 9:31:58you okay so now we have this and now
  7569. 9:32:00we're got to say bot because we changed
  7570. 9:32:02it running algo okay let's see if we can
  7571. 9:32:06get this to run
  7572. 9:32:08here and it should run every 15 minutes
  7573. 9:32:12no way how about seconds dude
  7574. 9:32:17okay so these are the total liquidations
  7575. 9:32:20and it should update
  7576. 9:32:22it should update every 15 seconds here
  7577. 9:32:24so let's see if that changes or if it's
  7578. 9:32:27karona it could be karona because we
  7579. 9:32:30just built it you know so it's the
  7580. 9:32:34same I don't see any licks coming
  7581. 9:32:36through though
  7582. 9:32:39oh let's look at the uh actual data
  7583. 9:32:44here little nerve-wracking huh let's go
  7584. 9:32:48ahead here and see if this changes if
  7585. 9:32:50this changes and this
  7586. 9:32:57doesn't there it is it changed did it
  7587. 9:33:00change here
  7588. 9:33:03yep
  7589. 9:33:15dope okay so we got all that stuff
  7590. 9:33:28unfortunately there's not going to be
  7591. 9:33:29much back testing to be done
  7592. 9:33:33here for a while I mean couple weeks at
  7593. 9:33:45least that's the sketch part about
  7594. 9:33:47this
  7595. 9:33:49but I'm fortunate to have have $10 to
  7596. 9:33:53blow on a live test I don't recommend
  7597. 9:33:57doing this at
  7598. 9:34:00home come with your own ideas the only
  7599. 9:34:03way this stuff would ever work
  7600. 9:34:28all right so this looks guci so we have
  7601. 9:34:30all the information we need in order to
  7602. 9:34:32move to the next
  7603. 9:34:34steps let's go back to the
  7604. 9:34:38brainstorm so one of the ideas was using
  7605. 9:34:42the stat ARB so I think I'm going to do
  7606. 9:34:44that
  7607. 9:34:48absolutely start back testing
  7608. 9:34:50liquidation data
  7609. 9:35:04in 15
  7610. 9:35:07days new back test for the funding
  7611. 9:35:11rate open interest tracking to
  7612. 9:35:14measure lck
  7613. 9:35:16wipeouts I think
  7614. 9:35:20this is a easy
  7615. 9:35:24bunny get out of here cuz I don't want
  7616. 9:35:27you here
  7617. 9:35:28anymore it's time for you to go
  7618. 9:35:45go it's time for you to get
  7619. 9:35:48Ghost I'm
  7620. 9:35:50sorry you can't be here
  7621. 9:36:04anymore open
  7622. 9:36:06interest what was that other one we
  7623. 9:36:08wanted to do here so if I go to read
  7624. 9:36:12me Ohi and funding rate that's right
  7625. 9:36:22oi and funding
  7626. 9:36:27rate have those running in parallel oi
  7627. 9:36:31funding rate and
  7628. 9:36:39licks and
  7629. 9:36:43then we can have all that
  7630. 9:36:47information the
  7631. 9:36:495m 5 minute 15 minute 30 minute 1
  7632. 9:36:53[Music]
  7633. 9:36:54hour and so
  7634. 9:36:57on okay I like that I like that plan
  7635. 9:37:32all right so one of the books that I'm
  7636. 9:37:34trying to read here is this
  7637. 9:37:37one basy and statistics the fun
  7638. 9:37:41way dang I already had a folder for this
  7639. 9:37:45I could have just put it in
  7640. 9:37:49here but maybe I'll link to it or
  7641. 9:37:51something
  7642. 9:37:56I'm going to keep going through this
  7643. 9:37:57because I feel like we have a good plan
  7644. 9:38:00for tomorrow or yeah yeah exactly
  7645. 9:38:04tomorrow for the next time I see you and
  7646. 9:38:08probabilities and statistics are
  7647. 9:38:10important to understand and trading
  7648. 9:38:14don't be intimidated by that because I'm
  7649. 9:38:15not the best in the world not not even
  7650. 9:38:17close I'm like not very good at math
  7651. 9:38:25but
  7652. 9:38:26um got to keep learning that so I'm
  7653. 9:38:30excited to jump into this book and for
  7654. 9:38:32now I'm going to keep doing my little
  7655. 9:38:35table of contents thing and see how that
  7656. 9:38:39goes
  7657. 9:38:40so
  7658. 9:38:42please give me
  7659. 9:38:46an uh a summary of these topics so I
  7660. 9:38:54fully understand
  7661. 9:38:57them
  7662. 9:38:59conditional
  7663. 9:39:03probability y
  7664. 9:39:05conditional Pro is
  7665. 9:39:11important
  7666. 9:39:15dependence and the revised rules of pro
  7667. 9:39:23conditional
  7668. 9:39:25probabilities in
  7669. 9:39:27reverse and base
  7670. 9:39:30[Music]
  7671. 9:39:36theorem theorem
  7672. 9:39:42intro
  7673. 9:39:46um use trading Bots as your your stories
  7674. 9:39:53or
  7675. 9:39:54examples okay I think that's appropriate
  7676. 9:39:57I think that's perfect actually so I'm
  7677. 9:40:00glad you're here dude we're learning
  7678. 9:40:02this together dude all of it
  7679. 9:40:07everything anything I do you see dude
  7680. 9:40:11you're right on
  7681. 9:40:13time sure let's go through these topics
  7682. 9:40:16with trading Bots as examples to help
  7683. 9:40:18understand them fully conditional
  7684. 9:40:21probability conditional probability is
  7685. 9:40:24the probability of an event occurring
  7686. 9:40:28given that another event has already
  7687. 9:40:31occurred it's written as p a b which
  7688. 9:40:35reads as the probability of a given
  7689. 9:40:39B imagine your trading bot is programmed
  7690. 9:40:42to buy a crypto if the price drops
  7691. 9:40:46significantly after a high trading
  7692. 9:40:48volume
  7693. 9:40:51you want to know the probability of a
  7694. 9:40:53price drop event a given that there was
  7695. 9:40:56a high trading volume event B so price
  7696. 9:41:01stop drop you're trying to predict based
  7697. 9:41:03on high volume why conditional
  7698. 9:41:06probability is important importance
  7699. 9:41:09conditional probability helps you make
  7700. 9:41:11better decisions by considering
  7701. 9:41:13additional information it refines your
  7702. 9:41:18predictions and actions based on the
  7703. 9:41:20context or conditions
  7704. 9:41:23present example without considering
  7705. 9:41:26trading volume your Bot might make less
  7706. 9:41:29informed Decisions by incorporating
  7707. 9:41:32conditional
  7708. 9:41:33probability it can better predict price
  7709. 9:41:35drops when high trading volume occurs
  7710. 9:41:38improving the bot's performance and
  7711. 9:41:41profitability dependent on the revised
  7712. 9:41:44rules of probability
  7713. 9:41:46dependence events are dependent if the
  7714. 9:41:49occurrence of one fects the probability
  7715. 9:41:52of another one the revised rules of
  7716. 9:41:55probability take this into account
  7717. 9:41:57revised rule for dependent events the
  7718. 9:42:00probability of both events A and
  7719. 9:42:03B happening is p a and b equals p a * P
  7720. 9:42:08if a probability of B if a is true
  7721. 9:42:13or yeah if we know it example suppose
  7722. 9:42:17your trading bot detects a pattern where
  7723. 9:42:19a significant price drop of a increases
  7724. 9:42:22the likelihood of a quick rebound event
  7725. 9:42:25B these events are dependent and using
  7726. 9:42:28the revised rule helps the bot predict
  7727. 9:42:30rebounds more
  7728. 9:42:33accurately conditional probabilities in
  7729. 9:42:36reverse and Bas theorem reverse
  7730. 9:42:38conditional probability sometimes you
  7731. 9:42:40know the conditional probability in One
  7732. 9:42:43Direction but need it in reverse this is
  7733. 9:42:45where base theorem comes in base theorem
  7734. 9:42:49Bas theorem help helps calculate the
  7735. 9:42:52reverse conditional probability it's
  7736. 9:42:54written
  7737. 9:42:55as B
  7738. 9:42:58A equals that your trading bot knows
  7739. 9:43:02that if a price drop
  7740. 9:43:05occurs there's a high trading volume now
  7741. 9:43:09you want to know the probability of a
  7742. 9:43:11price drop given that high trading
  7743. 9:43:14volume was
  7744. 9:43:15Observe base theorem helps with this
  7745. 9:43:18reverse calculation so an intro to base
  7746. 9:43:21theorem base theorem is a fundamental
  7747. 9:43:25principle in probability theory that
  7748. 9:43:29allows you to update the probability of
  7749. 9:43:31a hypothesis based on new evidence it
  7750. 9:43:36combines prior knowledge with new data
  7751. 9:43:38to make more accurate
  7752. 9:43:40predictions so this is a
  7753. 9:43:42[Music]
  7754. 9:43:43Formula so p a is how it's signified but
  7755. 9:43:48this is how it's actually written proba
  7756. 9:43:50of a a given btimes probility
  7757. 9:43:55A over B imagine your trading bot has
  7758. 9:43:59prior data indicating a 30% chance of a
  7759. 9:44:03price drop prior probability it also
  7760. 9:44:06knows that when a price drop occurs
  7761. 9:44:09there's an 80% chance of high trading
  7762. 9:44:12volume likelihood if High trading volume
  7763. 9:44:16is observed B
  7764. 9:44:19ethereum helps update the probability of
  7765. 9:44:22a price
  7766. 9:44:23drop so prior probability is PA
  7767. 9:44:26probability of a price drop is 30% so
  7768. 9:44:29likelihood PBA probability of high
  7769. 9:44:32volume given a price drop is 80%
  7770. 9:44:35marginal probability overall probability
  7771. 9:44:38of high volume calculated from the
  7772. 9:44:41data base theorem so price drop high
  7773. 9:44:45volume price drop high volume and this
  7774. 9:44:47just this PA price drop
  7775. 9:44:53PBA volume by applying this the bot can
  7776. 9:44:56better estimate the likelihood of a
  7777. 9:44:59price drop when it observes High trading
  7778. 9:45:02volume leading to more informed trading
  7779. 9:45:05decisions summary conditional
  7780. 9:45:07probability helps predict events based
  7781. 9:45:10on the occurrence of related events
  7782. 9:45:13crucial for refining trading strategies
  7783. 9:45:15importance provides context based
  7784. 9:45:18predictions improving decision making
  7785. 9:45:21and trading Bots
  7786. 9:45:23dependence acknowledges the relationship
  7787. 9:45:26between events refining probability
  7788. 9:45:28calculations with the revised rules
  7789. 9:45:31reverse conditional probabilities and
  7790. 9:45:33Bas theorem allows for updating
  7791. 9:45:36probabilities based on new evidence
  7792. 9:45:39essential for dynamic decision making
  7793. 9:45:42Bas theorem integrates prior knowledge
  7794. 9:45:45with new data to make more accurate
  7795. 9:45:47predictions enhancing the trading bot's
  7796. 9:45:50effectiveness
  7797. 9:45:51using these Concepts your trading B can
  7798. 9:45:54better navigate market conditions
  7799. 9:45:56anticipate price movements and execute
  7800. 9:45:59trades with higher accuracy okay sick
  7801. 9:46:02let's go to books
  7802. 9:46:04here
  7803. 9:46:06and where are we at chapter 5 to be D to
  7804. 9:46:12be to be
  7805. 9:46:15done all right let's paste it in there
  7806. 9:46:18this was um conditional probability
  7807. 9:46:24conditional
  7808. 9:46:27probability all right sick let's go
  7809. 9:46:29ahead and do some
  7810. 9:46:31[Music]
  7811. 9:46:36exercises let's do three
  7812. 9:46:40exercises please create three exer
  7813. 9:46:46sizes based on this conditional
  7814. 9:46:52probability
  7815. 9:46:55section uh with a trading bot
  7816. 9:47:01theme then walk me through how to
  7817. 9:47:06solve them and the
  7818. 9:47:09answer this is just I'm just reading the
  7819. 9:47:12table contents here of this book um the
  7820. 9:47:14book is called uh basy and statistics
  7821. 9:47:17the fun way trying to get everything
  7822. 9:47:19introduced into my mind before I uh do a
  7823. 9:47:22deeper read of the actual
  7824. 9:47:25book trying something new here so let's
  7825. 9:47:27go ahead and read through this sure
  7826. 9:47:30let's create three exercises based on
  7827. 9:47:32conditional probability with a trading
  7828. 9:47:34bot theme and then I'll walk you through
  7829. 9:47:37how to solve them exercise One Price
  7830. 9:47:40stop drop prediction problem your
  7831. 9:47:41trading bot has historical data showing
  7832. 9:47:44when high trading volume is observed
  7833. 9:47:47there's a 70% chance of a price drop
  7834. 9:47:50additionally the overall probability of
  7835. 9:47:52high trading volume is 20% and the
  7836. 9:47:56overall probability of a price drop is
  7837. 9:47:5915% what is the probability of high
  7838. 9:48:01trading volume given a price
  7839. 9:48:04drop what is the probability of
  7840. 9:48:06observing both High trading volume and a
  7841. 9:48:09price
  7842. 9:48:09drop Solutions probably of high trading
  7843. 9:48:13volume given a price drop using base
  7844. 9:48:16theorem so this is base theorem
  7845. 9:48:29so proba price drop is 20
  7846. 9:48:4070.7 plugging in the values
  7847. 9:48:56jump the step on me 7times 0.2 okay 0. 2
  7848. 9:49:00is a high volume I get that I get the
  7849. 9:49:03price drop 7 this is 0.15 though and
  7850. 9:49:07that tricked me
  7851. 9:49:10up price drop price drop price
  7852. 9:49:15drop price
  7853. 9:49:17drop price drop where you get this 15
  7854. 9:49:20from I see it's up here so and the
  7855. 9:49:22overall probability of a price drop at
  7856. 9:49:3515% given the okay sorry sorry sorry
  7857. 9:49:40sorry okay this is I was
  7858. 9:49:43overthinking I was thinking this was the
  7859. 9:49:46price drop but this is the price drop
  7860. 9:49:49with the high volume
  7861. 9:49:55just the table contents be slow down you
  7862. 9:49:58don't have to understand it all now
  7863. 9:50:00probability of observing both High
  7864. 9:50:02trading volume and a price drop so it'
  7865. 9:50:08be
  7866. 9:50:10this multiply by
  7867. 9:50:14that okay exercise two successful trade
  7868. 9:50:18probability
  7869. 9:50:21your trading bot records that when a
  7870. 9:50:24specific technical indicator signals
  7871. 9:50:26there's a 60% chance of making a
  7872. 9:50:29successful trade the indicator triggers
  7873. 9:50:3325% of the time and the overall
  7874. 9:50:36probability of making a su successful
  7875. 9:50:39trade is 20% what is the probability
  7876. 9:50:42that the technical indicator signaled
  7877. 9:50:45given a successful
  7878. 9:50:48threat was this the probility of both
  7879. 9:50:51the indicator signaling and making a
  7880. 9:50:54successful
  7881. 9:50:55thread solution so probability that the
  7882. 9:50:58technical indicator signal given a
  7883. 9:51:01successful trade using base
  7884. 9:51:02[Music]
  7885. 9:51:08the so successful trade this you know we
  7886. 9:51:12have all this information just plug it
  7887. 9:51:14in plugging it in probability of both
  7888. 9:51:18the indicator and Signal lean and making
  7889. 9:51:21a successful
  7890. 9:51:31trade exercise three Trend reversal
  7891. 9:51:34prediction your problem your trading bot
  7892. 9:51:36identifies that when a trend reversal
  7893. 9:51:39pattern
  7894. 9:51:40happens there's an 80% of a pricec
  7895. 9:51:44increase the pattern is identified 30%
  7896. 9:51:46of the time the overall probability of a
  7897. 9:51:48price increase is 25% % what is the
  7898. 9:51:52probability that a trend reversal was
  7899. 9:51:54identified given a price
  7900. 9:51:56increase what is the probability of both
  7901. 9:51:59identifying a trend reversal and price
  7902. 9:52:01increase so again we just use Pythagoras
  7903. 9:52:04and the theorem we use Baye uh theorem
  7904. 9:52:08here in order to just plug that data
  7905. 9:52:13in all right I feel like those were some
  7906. 9:52:15good little exercises I just need to see
  7907. 9:52:17it I just need to see it before I
  7908. 9:52:18actually read it um
  7909. 9:52:21what was that chapter six
  7910. 9:52:24here that was chapter
  7911. 9:52:27six cool and this seems to
  7912. 9:52:35be doing a good job it's doing a good
  7913. 9:52:38job
  7914. 9:52:39still um we should we should make this
  7915. 9:52:42so it says the things so okay X licks
  7916. 9:52:46recent licks recent licks Loop yeah this
  7917. 9:52:49one
  7918. 9:52:53okay so back to
  7919. 9:52:57this because I want to
  7920. 9:53:00keep thinking about it at
  7921. 9:53:02least it's good to get all ready for
  7922. 9:53:06this book I'll probably read some
  7923. 9:53:09later this is the RBI this is these are
  7924. 9:53:12the steps to build a bot kind of
  7925. 9:53:15skipping the back test part which is
  7926. 9:53:17sketch so don't do this at home don't do
  7927. 9:53:19this at home
  7928. 9:53:21unless you got cash to
  7929. 9:53:24burn it's the only
  7930. 9:53:27way I still don't recommend it Implement
  7931. 9:53:30risk controls into bot
  7932. 9:53:32Implement strategy into bot are we
  7933. 9:53:35entering limit or
  7934. 9:53:38market so I'm not super interested in
  7935. 9:53:40just like buying when it's overx
  7936. 9:53:43liquidations that's that's not
  7937. 9:53:48um strategy I'm trying to
  7938. 9:53:52do but we look at my notes
  7939. 9:53:58Here definitely want to do open
  7940. 9:54:07interest I think it's statar this is
  7941. 9:54:10this is that's what I'm curious about
  7942. 9:54:12like what happens when I hit a stat AR
  7943. 9:54:15on these times of liquidations you know
  7944. 9:54:20so
  7945. 9:54:21so that's where I'm trying to get to and
  7946. 9:54:24until then I think what I'm going to do
  7947. 9:54:26here is look at the look at these two
  7948. 9:54:30things it's not this is actually not one
  7949. 9:54:32see here um open
  7950. 9:54:35interest plus funding
  7951. 9:54:39rates let's get that in there somehow
  7952. 9:54:42and then combine them because that's
  7953. 9:54:44going to be super nice to have all the
  7954. 9:54:47three tools because I feel like open
  7955. 9:54:49interest is all of of the traders that
  7956. 9:54:53have leverage positions and then
  7957. 9:54:56liquidations are them getting
  7958. 9:54:58liquidated and then the funding rates
  7959. 9:55:00are a tool
  7960. 9:55:04that that these exchanges use to
  7961. 9:55:08like incentivize you know they just
  7962. 9:55:11casinos be they're just casinos trying
  7963. 9:55:14to
  7964. 9:55:15incentivize the old ladies to go play
  7965. 9:55:17the slot machines
  7966. 9:55:20you're trading by hand yes you are
  7967. 9:55:23an old lady smoking her cigarette at the
  7968. 9:55:26slot machine in Vegas so as long as you
  7969. 9:55:29know that that's cool
  7970. 9:56:08okay here we go in the last 15 minutes
  7971. 9:56:11that looks better so what I'm going to
  7972. 9:56:14do here
  7973. 9:56:17is grab this Jupiter file here because
  7974. 9:56:20we have all this information
  7975. 9:56:23though
  7976. 9:56:25tape I'm looking at this Soul
  7977. 9:56:29[Music]
  7978. 9:56:31refund nice funks
  7979. 9:56:36pre okay
  7980. 9:56:38[Music]
  7981. 9:56:39so Tap maybe we don't no I know we do
  7982. 9:56:43it's just probably somewhere else
  7983. 9:57:04I know I got my
  7984. 9:57:06server but I have it somewhere
  7985. 9:57:11else I'm just going to look through some
  7986. 9:57:13files here
  7987. 9:57:22where would I put
  7988. 9:57:31it where the dang files
  7989. 9:57:35at hey bring those F back over to
  7990. 9:57:44me not it strike
  7991. 9:57:48one 77 77 to you how many strikes you
  7992. 9:57:51think it's going to
  7993. 9:57:58take funding rate's actually right here
  7994. 9:58:01I found the funding
  7995. 9:58:04rate so let's get this bad boy up say
  7996. 9:58:07copy
  7997. 9:58:08path it's a win that's a win
  7998. 9:58:14okay okay but but what do we where do we
  7999. 9:58:17start I don't think we do
  8000. 9:58:23so I should just bring it over here yeah
  8001. 9:58:27I should if it's not being stored then
  8002. 9:58:30there's no point of it being over there
  8003. 9:58:32okay bring it over here dog come on come
  8004. 9:58:35here come
  8005. 9:58:37here
  8006. 9:58:39lending py
  8007. 9:58:41hi
  8008. 9:58:45hi okay let's test it out let's test her
  8009. 9:58:48out I think I need to go ahead and save
  8010. 9:58:51this to a CSV though and it's going to
  8011. 9:58:53be called funding rate and I just want
  8012. 9:58:55to replace every
  8013. 9:58:58second I can probably figure this out
  8014. 9:59:00right now should I try
  8015. 9:59:07it save to a
  8016. 9:59:19CSV with
  8017. 9:59:25pandas I'm not going to do
  8018. 9:59:28this I am GNA do it I am gonna do
  8019. 9:59:33it not gonna do it come on
  8020. 9:59:36do
  8021. 9:59:39dfpf yeah yeah yeah yeah that's it okay
  8022. 9:59:43funding yeah there we go okay now how
  8023. 9:59:46you looking now how you looking now
  8024. 9:59:49please tell me me how you looking now
  8025. 9:59:52show me
  8026. 9:59:54yourself
  8027. 9:59:55boom
  8028. 9:59:57Oh
  8029. 9:59:59but where's that funding that
  8030. 10:00:11CSV it's because you don't know you're
  8031. 10:00:13doing
  8032. 10:00:15Moon that's why
  8033. 10:00:21okay let's just have the professional do
  8034. 10:00:24it update this code so it saves to
  8035. 10:00:31data um
  8036. 10:00:33funding. CSV
  8037. 10:00:37correctly
  8038. 10:00:38because it doesn't work for
  8039. 10:00:42me because I'm using the websocket I'm a
  8040. 10:00:45noob
  8041. 10:01:03that makes sense
  8042. 10:01:24right
  8043. 10:01:26um I'm G say this too actually recent
  8044. 10:01:31licks BMB
  8045. 10:01:33licks and go ahead make
  8046. 10:01:39sure please update the code I just sent
  8047. 10:01:45you to to ensure to ensure
  8048. 10:01:50that it has a robust fail
  8049. 10:01:55safe like the
  8050. 10:01:58code above I just
  8051. 10:02:02sent okay I might have just after up
  8052. 10:02:05like she might be thinking she needs to
  8053. 10:02:08give me this code but we'll
  8054. 10:02:12see yeah it is sorry doing that I said
  8055. 10:02:15it I said it
  8056. 10:02:17incorrectly but it's okay what did I
  8057. 10:02:31even no I me I want this
  8058. 10:02:42code this is the code I want
  8059. 10:02:46you to put that
  8060. 10:02:50robust fail safe
  8061. 10:02:54in the other was just an
  8062. 10:02:59example of that fail save I'm holding
  8063. 10:03:03down shift that entire time that was a
  8064. 10:03:06that was an entire hold down of shift
  8065. 10:03:08while I was typing it said H cap
  8066. 10:03:12blocks he brought of
  8067. 10:03:15me I'm proud
  8068. 10:03:20I'm definitely proud I'm a long way so
  8069. 10:03:24tape big I'm looking for open
  8070. 10:03:26interest licks tape
  8071. 10:03:30tape Soul refund tool nice funks main
  8072. 10:03:35licks
  8073. 10:03:37prels so I'm not going to do this wild
  8074. 10:03:40goose chase here I'm just going to go
  8075. 10:03:42straight to the
  8076. 10:03:44source let's go straight to the swords
  8077. 10:03:47B let's go straight to the Source okay X
  8078. 10:03:51okay
  8079. 10:03:52next
  8080. 10:03:54binance yeah that's exactly you know me
  8081. 10:03:57you know what exactly where I'm trying
  8082. 10:03:58to go General I can't use the general
  8083. 10:04:03unfortunately I only can use the
  8084. 10:04:05websocket I don't know
  8085. 10:04:07why
  8086. 10:04:08[Music]
  8087. 10:04:12well I do know why
  8088. 10:04:17actually well I don't know why they
  8089. 10:04:19don't block though this this as
  8090. 10:04:22[Music]
  8091. 10:04:24well all market ticker streams
  8092. 10:04:27individual
  8093. 10:04:29continuous live unsubscribe subscribing
  8094. 10:04:33unsubscribing
  8095. 10:04:34aggregate I don't know if they have it
  8096. 10:04:44unfortunately dang
  8097. 10:04:47B contract info
  8098. 10:04:53stream I know they got it
  8099. 10:04:59here open interest right here but the
  8100. 10:05:03thing is it's not going to let me use
  8101. 10:05:13it that's okay
  8102. 10:05:15though I'll pop up in a whole another
  8103. 10:05:18country I'll pop them in a whole another
  8104. 10:05:19country real
  8105. 10:05:21quick if I need to if I need to I'll pop
  8106. 10:05:25up in a whole another
  8107. 10:05:27country open interest
  8108. 10:05:31stats bring it all the way
  8109. 10:05:43down let's grab this first and make sure
  8110. 10:05:47we get this working before we move on
  8111. 10:05:48hopefully this one works or else I'll
  8112. 10:05:50remove
  8113. 10:05:51that oops that's not
  8114. 10:05:57it I delete so
  8115. 10:06:00quickly deleted
  8116. 10:06:03funing nice dude it's there and it's
  8117. 10:06:07changing perfect perfect perfect good
  8118. 10:06:09job good job all right now switch it up
  8119. 10:06:11for me switch it up this is brand new
  8120. 10:06:14this is brand
  8121. 10:06:16new great thank you that worked now we
  8122. 10:06:22are moving on please build me a
  8123. 10:06:27script
  8124. 10:06:29that runs every one
  8125. 10:06:33minute every 30
  8126. 10:06:37seconds seconds and
  8127. 10:06:41append the
  8128. 10:06:43new
  8129. 10:06:46CSV um no I'm going to do one minute
  8130. 10:06:49it's just going to be
  8131. 10:06:52easier one minute one minute every one
  8132. 10:06:56minute and appens CSV with the
  8133. 10:07:01[Music]
  8134. 10:07:03new open
  8135. 10:07:08interest
  8136. 10:07:10[Music]
  8137. 10:07:12info
  8138. 10:07:14um have as much info in that that
  8139. 10:07:21DF as
  8140. 10:07:23possible uh to start to start and we can
  8141. 10:07:28remove some later
  8142. 10:07:33okay
  8143. 10:07:34[Music]
  8144. 10:07:37um all right just go ahead have fun have
  8145. 10:07:41fun with that and let's see what's going
  8146. 10:07:42on over here
  8147. 10:07:45on our academic
  8148. 10:07:47side well teach me a little bit
  8149. 10:07:50[Music]
  8150. 10:07:52more
  8151. 10:07:54please walk me through these Concepts so
  8152. 10:07:59I fully understand
  8153. 10:08:04them using trading
  8154. 10:08:09bot Bots as your
  8155. 10:08:14examples okay so let's say b or base
  8156. 10:08:26theorem I mean okay so this chapter is
  8157. 10:08:29really
  8158. 10:08:31about examples and
  8159. 10:08:44stuff okay cool so this book then now
  8160. 10:08:47goes into
  8161. 10:08:52a bunch of
  8162. 10:09:03examples I like
  8163. 10:09:16it so maybe I'll do a few chapters here
  8164. 10:09:20just things that because I'm seeing a
  8165. 10:09:21lot of examples here uh let's do
  8166. 10:09:26uh
  8167. 10:09:28one give me a give me a
  8168. 10:09:33conditional
  8169. 10:09:37probability base
  8170. 10:09:40theorem with Legos
  8171. 10:09:47example walk me through the
  8172. 10:09:58math um
  8173. 10:10:04solve the
  8174. 10:10:06likelyhood something
  8175. 10:10:12happened um
  8176. 10:10:14normalizing the data
  8177. 10:10:24likelihood of
  8178. 10:10:27alternative
  8179. 10:10:41hypothesis
  8180. 10:10:43R and posterior
  8181. 10:10:54comparing
  8182. 10:10:57unnormalized
  8183. 10:11:00posteriors okay sick we get that in
  8184. 10:11:02there and we'll get back to it she's
  8185. 10:11:04done by
  8186. 10:11:06now okay so this goes ahead and is a
  8187. 10:11:10script to get the open interest and it
  8188. 10:11:12should be appending it to data openen
  8189. 10:11:15interest. CSV I mean we'll see we'll see
  8190. 10:11:19see dude o i o i o i open interest open
  8191. 10:11:27ENT rante py paste
  8192. 10:11:35okay that's not it dog it's a funny R
  8193. 10:11:39bot bro bro run it OS is not defined Lop
  8194. 10:11:45okay so every 1 minute oh okay I need to
  8195. 10:11:49it right away yes that's the first thing
  8196. 10:11:52I need to do anyways let's go ahead here
  8197. 10:11:55and run it one
  8198. 10:11:56time one time wow true schedule oh snap
  8199. 10:12:03that got me that me
  8200. 10:12:06jump have me jump I would have me jump
  8201. 10:12:11out my
  8202. 10:12:13seat
  8203. 10:12:17except time do sleep
  8204. 10:12:20pass job what was the error though dang
  8205. 10:12:24oh this OS wasn't in there import
  8206. 10:12:27OS import OS
  8207. 10:12:30yes symbol open interest and
  8208. 10:12:34time let's see if we can get
  8209. 10:12:36it nothing printed that's okay I would
  8210. 10:12:41rather it did but this is open interest
  8211. 10:13:01interesting in what format
  8212. 10:13:11though yeah it's
  8213. 10:13:17definitely we need to get the
  8214. 10:13:22price add a column that
  8215. 10:13:30is oh but it's not going to be able to
  8216. 10:13:32get the price because I can't top in
  8217. 10:13:34there I can use a different place to get
  8218. 10:13:38the
  8219. 10:13:39price dang this is going to be dirty
  8220. 10:13:41dude dirty it's going to be just a dirty
  8221. 10:13:44implementation let me try to think this
  8222. 10:13:45through I'm not going to be able to grab
  8223. 10:13:47the price off of
  8224. 10:13:54um this place
  8225. 10:14:03because because the
  8226. 10:14:05[Music]
  8227. 10:14:14uh because I they blocked my my country
  8228. 10:14:21they block my
  8229. 10:14:23country that's
  8230. 10:14:32why trying to think here what's the best
  8231. 10:14:34way to do
  8232. 10:14:45this I don't need to track all these
  8233. 10:14:48that's the first thing
  8234. 10:14:53just going to track BC and
  8235. 10:14:57e that's the first thing we're going to
  8236. 10:14:59do that's the first
  8237. 10:15:01move it's the first move all right
  8238. 10:15:04that's a good I think that's a good move
  8239. 10:15:25all right let's see if it brings it in
  8240. 10:15:27still I mean I don't see why I
  8241. 10:15:31wouldn't don't save I don't want oh my
  8242. 10:15:34goodness they're getting them at least
  8243. 10:15:36they're getting them they don't get
  8244. 10:15:40me okay so it looks good
  8245. 10:15:53I'm just going to grab the price from
  8246. 10:15:55hyper liquid because I got it sting
  8247. 10:15:57right here
  8248. 10:16:00so let's go ahead and just cop that um
  8249. 10:16:04funky Funk
  8250. 10:16:07here out of the uh nice
  8251. 10:16:11funks so I got this hyper liquid
  8252. 10:16:14connection here and this is going to be
  8253. 10:16:16ask bit y this how you get ass bid
  8254. 10:16:20B but um
  8255. 10:16:24remember GPZ there's something I got to
  8256. 10:16:27tell you I'm not going to tell everybody
  8257. 10:16:30I'm just going to tell the ones
  8258. 10:16:33here N I can't tell you sorry dude I
  8259. 10:16:37can't tell you I can't tell
  8260. 10:16:39you all right let's paste it in there
  8261. 10:16:42okay uh Json import Json
  8262. 10:16:50I will tell you I'm not that whack um
  8263. 10:16:53drop usdt drop usdt that's it that's not
  8264. 10:16:57it's not anything
  8265. 10:16:59secret
  8266. 10:17:01please update the code so that it
  8267. 10:17:07grabs
  8268. 10:17:10the ask price and sets it as the price
  8269. 10:17:17for that asset in
  8270. 10:17:21the DF and then makes a new
  8271. 10:17:27column for the value being the
  8272. 10:17:31[Music]
  8273. 10:17:33multiplication of
  8274. 10:17:35price times
  8275. 10:17:39size and
  8276. 10:17:42then
  8277. 10:17:47um open interest here
  8278. 10:18:00so you can just get price every
  8279. 10:18:17minute get PR
  8280. 10:18:19at the start of every Loop to keep it
  8281. 10:18:26simple so it's going to Loop all the
  8282. 10:18:28time
  8283. 10:18:34so sure here's the updated script that
  8284. 10:18:36includes ask price and calculates the
  8285. 10:18:39value okay oh snap that's what I forgot
  8286. 10:18:42I forgot the I forgot the thing that I
  8287. 10:18:44was supposed to tell you or I wasn't
  8288. 10:18:46supposed to tell you but then I told you
  8289. 10:18:47I forgot that one so my bad my bad let
  8290. 10:18:50me get back there let me get back
  8291. 10:18:54there by the way the hyper
  8292. 10:18:59liquid token is
  8293. 10:19:02formatted like this um
  8294. 10:19:06BTC so we will need to drop the let's
  8295. 10:19:11see if that's actually
  8296. 10:19:12fact is that fact St
  8297. 10:19:16fnding it's not fact
  8298. 10:19:19there but open interest big facts big
  8299. 10:19:23facts big facts let's go ahead and get
  8300. 10:19:27it out of here drop the
  8301. 10:19:29usdt here is an example
  8302. 10:19:33[Music]
  8303. 10:19:35below of the DF okay sick we got what we
  8304. 10:19:39need there um I'm glad you're here 777
  8305. 10:19:43so much love to you all the time B all
  8306. 10:19:46the time
  8307. 10:20:15see how this one does
  8308. 10:20:17here okay so we're going to go over here
  8309. 10:20:20to open interest because I think this is
  8310. 10:20:22going to be pretty interesting to have
  8311. 10:20:23in the bot as
  8312. 10:20:27well okay so here you can see it's
  8313. 10:20:30passing in the symbol here um the symbol
  8314. 10:20:34when it asks for the ask bid when does
  8315. 10:20:35it ask for the ask bid for symbol and
  8316. 10:20:38symbols okay ask bid yes oh replace
  8317. 10:20:42usdt yes with nothing upper boom value
  8318. 10:20:46calculate the value is open interest
  8319. 10:20:48okay then we pass back the value open
  8320. 10:20:51interest times ask price ask price boom
  8321. 10:20:55is the value we're passing back the
  8322. 10:20:57value we're passing back the as price
  8323. 10:20:59we're passing that time stamp and the
  8324. 10:21:01open
  8325. 10:21:02interest and the symbol. upper wow clean
  8326. 10:21:07clean clean all right I like it let's go
  8327. 10:21:11ahead and uh get rid of the open
  8328. 10:21:13interest here is this it yeah peace good
  8329. 10:21:16seeing you good knowing you hope to see
  8330. 10:21:19you soon appreciate your presence 777 to
  8331. 10:21:23you
  8332. 10:21:24CSV you're going to be a goodl looking
  8333. 10:21:26CSV when we're done with you
  8334. 10:21:29yes but now there's no headers
  8335. 10:21:43be this is great but it lost its headers
  8336. 10:21:57do I need them though yeah it's nice to
  8337. 10:21:59have it's nice to have for real for real
  8338. 10:22:01it's like having print statements you
  8339. 10:22:05know I think it's more important than PR
  8340. 10:22:08statements now I say
  8341. 10:22:14it my screen look like Christmas all
  8342. 10:22:16year round all year round
  8343. 10:22:19my screen is Christmas all year
  8344. 10:22:23round so welcome to the Christmas
  8345. 10:22:27show every single day I'm here where you
  8346. 10:22:30at you here 777 tap in every time you
  8347. 10:22:33see me even if it's just for a second
  8348. 10:22:36get a rep in one rep is better than
  8349. 10:22:40zero all right let's go ahead here and
  8350. 10:22:44to ensure the CSV file retains his name
  8351. 10:22:47okay let's delete this one okay
  8352. 10:22:51peace okay leak
  8353. 10:22:54leaks open
  8354. 10:23:01interest it's crazy I have no API keys
  8355. 10:23:04on this
  8356. 10:23:05file because you I'm like over here like
  8357. 10:23:08moving sketchy trying not to hit my
  8358. 10:23:11don't share config but I forgot or I
  8359. 10:23:14didn't forget I just noticed there's no
  8360. 10:23:17API keys in and this is all free public
  8361. 10:23:19data and that's so big that's so
  8362. 10:23:23big so you can see this is the open
  8363. 10:23:26interest now because we did price which
  8364. 10:23:29is
  8365. 10:23:3069329 and
  8366. 10:23:33e37 780
  8367. 10:23:58I'm still thinking about that okx data
  8368. 10:24:00be
  8369. 10:24:02honest keeps popping my mind but soon a
  8370. 10:24:05solution will pop soon a solution will
  8371. 10:24:17arise e
  8372. 10:25:08how much is this though one two three
  8373. 10:25:12one two
  8374. 10:25:153 4.3 bill
  8375. 10:25:23so I think we got it um
  8376. 10:25:52return data
  8377. 10:26:02B DF return data all it I want all of
  8378. 10:26:10it all
  8379. 10:26:13right so that's going to fetch open
  8380. 10:26:16interest um wanted to do something else
  8381. 10:26:19with
  8382. 10:26:20it oh I wanted to toal total up the two
  8383. 10:26:27columns make a total
  8384. 10:26:40column no make a
  8385. 10:26:46total variable
  8386. 10:26:51that
  8387. 10:27:06sums
  8388. 10:27:09print and then let's send back
  8389. 10:27:16total wonder how that's going to
  8390. 10:27:21do that should be our only print
  8391. 10:27:26actually data
  8392. 10:27:309.7
  8393. 10:27:32billion of open
  8394. 10:27:35interest you think that's
  8395. 10:27:38true I honestly don't know but I can I
  8396. 10:27:41feel like I can figure this
  8397. 10:27:42up and so we go on another
  8398. 10:27:46Journey just me and you you and I every
  8399. 10:27:50single second every single minute every
  8400. 10:27:52single day I'm here where you at B let's
  8401. 10:27:56keep going just keep
  8402. 10:27:59swimming let's rest at the end
  8403. 10:28:01B let's rest at the
  8404. 10:28:05end so total value of all open interest
  8405. 10:28:08here is 9.7
  8406. 10:28:11b
  8407. 10:28:13b coin coin glass no that's not the one
  8408. 10:28:18it's not where I want to go coin gecko
  8409. 10:28:20yes why because I want to see here
  8410. 10:28:2424hour volume let's go to exchanges
  8411. 10:28:27please crypto exchanges okay
  8412. 10:28:29decentralized derivatives yes binance
  8413. 10:28:32open interest 21 bill I believe
  8414. 10:28:36it and it is saying pretty much half of
  8415. 10:28:39it
  8416. 10:28:41is that
  8417. 10:28:50mhm look at
  8418. 10:28:53that
  8419. 10:28:565.4 I mean this is almost to a t as it
  8420. 10:28:59should be as it should
  8421. 10:29:03be we're missing Miss uh we're missing
  8422. 10:29:06missing like I'm I'm
  8423. 10:29:09stuttering I know but
  8424. 10:29:12no I think I I can't hear you anymore
  8425. 10:29:22all right so this is 9
  8426. 10:29:24million. 7 so it's actually not all of
  8427. 10:29:28the things we're finding out Secrets
  8428. 10:29:31here but it's the majority of them so
  8429. 10:29:34that's cool with me so 9.7
  8430. 10:29:48lot of sales coming through here 4.5
  8431. 10:29:49million just off the top BTC boom
  8432. 10:30:03boom I want to rearrange the columns
  8433. 10:30:05that's what I want to
  8434. 10:30:08do but
  8435. 10:30:11um it doesn't matter that much well I'm
  8436. 10:30:14just going to do it because then we'll
  8437. 10:30:16be able to read it better let's do it
  8438. 10:30:18real
  8439. 10:30:19quick put the
  8440. 10:30:22date the time column as index
  8441. 10:30:30please okay so while that happens we
  8442. 10:30:34know this is true
  8443. 10:30:50open interest
  8444. 10:31:16here wait I'm not even using the
  8445. 10:31:21uh that's
  8446. 10:31:25funny I'm not even using the uh web
  8447. 10:31:29stream or
  8448. 10:31:30whatever so maybe they do allow it now
  8449. 10:31:34at least for open
  8450. 10:31:36interest wait I knew I wasn't doing that
  8451. 10:31:39duh cuz they didn't have it they didn't
  8452. 10:31:42have
  8453. 10:31:45it but it just didn't stop me
  8454. 10:31:48I'm not I'm not on the
  8455. 10:31:50V or the P or the
  8456. 10:32:04N okay let's see if she finish
  8457. 10:32:09that Resort these columns
  8458. 10:32:12please all right save let's end it peace
  8459. 10:32:17all right peace peace peace peace peace
  8460. 10:32:19peace peace peace and love peace and
  8461. 10:32:21love to
  8462. 10:32:22everybody so much love
  8463. 10:32:26777 all right let's go ahead here and
  8464. 10:32:28see is she not going to write it for us
  8465. 10:32:30anymore oh she got rid of our print huh
  8466. 10:32:33she's getting fany on us okay well that
  8467. 10:32:37looks
  8468. 10:32:44good what are we doing with this
  8469. 10:32:46information though
  8470. 10:32:48that's the
  8471. 10:32:51question so that's going to update every
  8472. 10:33:02minute but in
  8473. 10:33:04reality we just need to fetch open
  8474. 10:33:06interest
  8475. 10:33:08dog I'm just going to put this in my
  8476. 10:33:10yeah
  8477. 10:33:12duh I'm just going to put this in my no
  8478. 10:33:15no no that's not even over there that's
  8479. 10:33:16the wrong place that's the wrong
  8480. 10:33:18Place thinking in two places right now
  8481. 10:33:20I'm thinking in two places it's not
  8482. 10:33:22going to
  8483. 10:33:23work but I am going to just do
  8484. 10:33:37this I don't know I kind of like I kind
  8485. 10:33:40of like
  8486. 10:33:45it I kind of like seeing it visually
  8487. 10:33:49but I got so much on my screen now that
  8488. 10:33:50it's like it's too much something's got
  8489. 10:33:53to
  8490. 10:33:55go so what I'm saying is I can just call
  8491. 10:33:59this
  8492. 10:34:04function you
  8493. 10:34:07know and this function fetches open
  8494. 10:34:14interest yo it deleted my returns
  8495. 10:34:32Stu don't delete that b let's go ahead
  8496. 10:34:35and see what's going on over here I know
  8497. 10:34:37we just asked a bunch of questions about
  8498. 10:34:39sure let's walk through these Concepts
  8499. 10:34:40step by step using trading Bots and a
  8500. 10:34:42fun Lego example conditional probability
  8501. 10:34:44and Bas theorem with Lego scenario
  8502. 10:34:47imagine a Lego trading bot that predicts
  8503. 10:34:49the success of building a Lego structure
  8504. 10:34:51based on the type of pieces used the bot
  8505. 10:34:55uses data on the probability of success
  8506. 10:34:57given the presence of specific pieces
  8507. 10:35:01step one conditional probability
  8508. 10:35:04definition conditional probability is
  8509. 10:35:06the probability of an event occurring
  8510. 10:35:08given that another event has already
  8511. 10:35:10occurred is written p a of B which reads
  8512. 10:35:15probability a given B
  8513. 10:35:18example let's say your trading bot has
  8514. 10:35:20some data showing that the probability
  8515. 10:35:24of successful build successfully
  8516. 10:35:26building a
  8517. 10:35:28Lego castle event a given that you have
  8518. 10:35:32a Lego Arc pieces event B is 80% so P
  8519. 10:35:37success Arc pieces 80 uh step two base
  8520. 10:35:42theorem we'll go back we'll be back in a
  8521. 10:35:44second maybe maybe maybe not
  8522. 10:35:48maybe maybe
  8523. 10:35:49not it's thundering out there so you
  8524. 10:35:52never know you never know if you're
  8525. 10:35:54going
  8526. 10:35:55to get cut off here
  8527. 10:35:58because that is um that's how it
  8528. 10:36:02goes that's how it
  8529. 10:36:07goes okay it's unfortunately it took out
  8530. 10:36:11those
  8531. 10:36:13Prince the um I'm gonna do this return
  8532. 10:36:17return
  8533. 10:36:26these keep this be
  8534. 10:36:56base theorem definition base theorem
  8535. 10:36:58helps us calculate the reverse
  8536. 10:36:59conditional probability it's written as
  8537. 10:37:01this this is BAS
  8538. 10:37:13theorem let's see it let's see it Dan D
  8539. 10:37:17for me dance for
  8540. 10:37:26me total open interest is
  8541. 10:37:30Boom there we go
  8542. 10:37:339.9 looks right to
  8543. 10:37:41me okay how do we use this though well
  8544. 10:37:45I'm actually just going to do this here
  8545. 10:37:46I'm going delete this
  8546. 10:37:50delete because realistically we just
  8547. 10:37:52need that we need that functionality
  8548. 10:37:54right
  8549. 10:37:55here launch it and then we're going to
  8550. 10:37:58go to a combo here we're going to do a
  8551. 10:38:00combo double up and we're going to say
  8552. 10:38:05um import or from or import
  8553. 10:38:13from from open
  8554. 10:38:21interest for get open interest yeah yeah
  8555. 10:38:25and then I'm going to say get open
  8556. 10:38:26interest
  8557. 10:38:28here and
  8558. 10:38:33um I don't
  8559. 10:38:36know what
  8560. 10:38:38else get open
  8561. 10:38:42interest open interest equals get open
  8562. 10:38:44interest okay and then let's print
  8563. 10:38:52time do sleep so this is over in our
  8564. 10:38:55liquidation bot this this guy right
  8565. 10:38:58here time. sleep
  8566. 10:39:18okay well maybe I just didn't it's not
  8567. 10:39:21called that I don't know it's fetch
  8568. 10:39:25B open interest um where were we before
  8569. 10:39:29lick Loop recent recent uh lick
  8570. 10:39:35Loop that makes more sense doer okay
  8571. 10:39:39let's run it back it's why it was white
  8572. 10:39:42instead of
  8573. 10:39:43yellow show me the open interest what I
  8574. 10:39:45got in there okay
  8575. 10:39:50sick
  8576. 10:39:54um so it's a DF yeah I'm just I'm being
  8577. 10:39:58silly what am I doing just go look
  8578. 10:40:00yourself dog sometimes I I pretend like
  8579. 10:40:03I don't know how to code a little bit I
  8580. 10:40:05know a little bit all I have to do is
  8581. 10:40:07copy this over and put it in the recent
  8582. 10:40:10lcks nope wrong file just paste it right
  8583. 10:40:14there
  8584. 10:40:15dude DF and then now I can
  8585. 10:40:18say
  8586. 10:40:19R yeah do that do that and then I'm
  8587. 10:40:22going to remove it from here the open
  8588. 10:40:24interest I don't want any of that
  8589. 10:40:26anymore I want it to be just totally
  8590. 10:40:29hidden secret silence moving in silence
  8591. 10:40:34like a
  8592. 10:40:35g let's go ahead here and run it recent
  8593. 10:40:41licks
  8594. 10:40:42Yes actually don't want recent licks
  8595. 10:40:45anymore this is the lick Loop
  8596. 10:40:48okay and it's going to show me how many
  8597. 10:40:50licks there are first it should at
  8598. 10:40:57least um I don't want that DF I don't
  8599. 10:41:00want that DF at
  8600. 10:41:01all see where it's
  8601. 10:41:04that keep your eyes
  8602. 10:41:07tight there it
  8603. 10:41:09is found you don't want you anymore get
  8604. 10:41:13them out of here
  8605. 10:41:26okay total open interest is that
  8606. 10:41:29[Music]
  8607. 10:41:42nice so let's look at our read me
  8608. 10:41:45because there's
  8609. 10:41:47actually no let's look at our
  8610. 10:41:49brainstorms funding rates open interest
  8611. 10:41:52and funding rates okay so I want to get
  8612. 10:41:55this
  8613. 10:42:00um funding rate
  8614. 10:42:12no let's call this funding
  8615. 10:42:19api. py because I would like to try the
  8616. 10:42:22funding rate with just a regular API
  8617. 10:42:25call then
  8618. 10:42:28because you know it doesn't need to be
  8619. 10:42:30that fast I don't think so maybe K
  8620. 10:42:36us okay
  8621. 10:42:39um let's go over here to open interest
  8622. 10:42:43and buy open interest we can actually
  8623. 10:42:44find the funding rate as well get funing
  8624. 10:42:47rate history get funing rate info
  8625. 10:42:54okay here's how to get the funding rate
  8626. 10:42:57here
  8627. 10:43:00on below is how to get the funding rate
  8628. 10:43:11data through an API
  8629. 10:43:15call instead of a web
  8630. 10:43:20socket please do it this
  8631. 10:43:25way and output the
  8632. 10:43:29full full
  8633. 10:43:33code I mean I guess that's four calls
  8634. 10:43:42though no I think what we got is
  8635. 10:43:46Gucci um wait do we need Super Speed on
  8636. 10:43:49this let's just have it let's get it
  8637. 10:43:51just in
  8638. 10:43:52case U and think it
  8639. 10:44:02through this would be nice because then
  8640. 10:44:04we wouldn't have to have the web sockets
  8641. 10:44:07open I can drop with and BNB
  8642. 10:44:17that's it
  8643. 10:44:19though my
  8644. 10:44:21thoughts those are my thoughts B those
  8645. 10:44:24are my thoughts fetch funding rates okay
  8646. 10:44:48run
  8647. 10:44:55it show me
  8648. 10:44:58something
  8649. 10:45:01please come on
  8650. 10:45:03dude what you got you printing anything
  8651. 10:45:06you probably had no prints in here
  8652. 10:45:08huh
  8653. 10:45:12sheesh
  8654. 10:45:15me oh there it is
  8655. 10:45:18BTC funding
  8656. 10:45:21rate this is slow as molasses though so
  8657. 10:45:26I can't do it I can't do this this ain't
  8658. 10:45:28going to be it no way that just took
  8659. 10:45:30forever okay so we're just going to run
  8660. 10:45:33it I'm just going to have the web socket
  8661. 10:45:48yeah that's going to take too long dog
  8662. 10:45:49so I'm just going to delete this file
  8663. 10:45:52here delete
  8664. 10:45:55it all right this is just going to run
  8665. 10:45:57somewhere and where is that going to be
  8666. 10:45:59I don't
  8667. 10:46:00know um copy path I need to set this all
  8668. 10:46:03over my server because that's the only
  8669. 10:46:05way this is going to be Gucci if you ask
  8670. 10:46:08me because then it's running forever
  8671. 10:46:11forever ever forever for forever forever
  8672. 10:46:15ever yeah yes forever
  8673. 10:46:19ever till this stuff goes
  8674. 10:46:22down cond activate cond activate
  8675. 10:46:26activate T flow okay
  8676. 10:46:29python paste it run
  8677. 10:46:31it run
  8678. 10:46:41it okay what
  8679. 10:46:45happened data fun
  8680. 10:46:49copy relative
  8681. 10:46:57path is that
  8682. 10:47:07different what do you mean dog
  8683. 10:47:34maybe I'm running the wrong thing yeah
  8684. 10:47:36I'm running the wrong thing that's why
  8685. 10:47:40I'm trying to run this same I don't know
  8686. 10:47:42we'll see copy path
  8687. 10:47:52there we go so I think I was running the
  8688. 10:47:53wrong file so here we
  8689. 10:48:05go she going to stay up to date that's
  8690. 10:48:08nice okay so um what do I want to do
  8691. 10:48:14here I only need the
  8692. 10:48:19BTC
  8693. 10:48:23eth whatever I'll keep this this is fine
  8694. 10:48:25for
  8695. 10:48:28now and
  8696. 10:49:08I'm just going to grab for symbol where
  8697. 10:49:10it's funing right grab the yearly funing
  8698. 10:49:12right
  8699. 10:49:17so in the recent lick Loop um let's
  8700. 10:49:23say grab
  8701. 10:49:26where it says
  8702. 10:49:31BTC um recent LS
  8703. 10:49:35funding. CSV
  8704. 10:49:40btz or
  8705. 10:49:42E and in the symbol
  8706. 10:49:47and get
  8707. 10:49:49the funding
  8708. 10:49:55right I don't want the sum
  8709. 10:50:02though
  8710. 10:50:06funding thank you thank you
  8711. 10:50:18okay there we go so that's what we
  8712. 10:50:20wanted I just need those two numbers
  8713. 10:50:22here and it should be getting the last
  8714. 10:50:25value of
  8715. 10:50:26it or any value actually because there's
  8716. 10:50:29only going to be one value this is the
  8717. 10:50:31funding rate it's constantly going now I
  8718. 10:50:34don't know where it's going oh it's
  8719. 10:50:36going right
  8720. 10:50:39here
  8721. 10:50:43yeah it's going right there and that's
  8722. 10:50:46sick because now we have everything we
  8723. 10:50:48want to
  8724. 10:50:49build and I've shown you everything here
  8725. 10:50:53shown you everything how is this
  8726. 10:50:55everything well when I go here let's see
  8727. 10:50:57if it actually works before I before I
  8728. 10:50:59say
  8729. 10:51:00anything we've worked through this
  8730. 10:51:02together from this from the idea portion
  8731. 10:51:04of this like before idea come into life
  8732. 10:51:09remember all right
  8733. 10:51:11so not quite there yet but data DF it's
  8734. 10:51:16actually in the
  8735. 10:51:24DF in my opinion but we'll
  8736. 10:51:27see maybe it's already knows string
  8737. 10:51:36contain okay yearly funding rate doesn't
  8738. 10:51:39have a yearly funding rate what do you
  8739. 10:51:45mean I'm just gonna say
  8740. 10:51:49this because I'm not gonna do stuff out
  8741. 10:51:53of my pay grade you know AI That's What
  8742. 10:51:55You Get Paid $20 a month for well worth
  8743. 10:52:00it oh man so the error you're encounter
  8744. 10:52:03is due to the attempt to access the data
  8745. 10:52:06using string indices which is not valid
  8746. 10:52:08instead you should use you should work
  8747. 10:52:10with the DF yeah I was thinking that too
  8748. 10:52:12dude so we're thinking the same thing I
  8749. 10:52:15just didn't implement correctly that's
  8750. 10:52:17okay um I show all this how to get up to
  8751. 10:52:20speed with me in the boot camp I know
  8752. 10:52:21today has been me like building building
  8753. 10:52:23building we went from all the way here
  8754. 10:52:27so you know the RBI process is this is
  8755. 10:52:29what I follow I research strategies or
  8756. 10:52:31Alpha generation techniques and I back
  8757. 10:52:33test them with good data and I Implement
  8758. 10:52:35into a trading bot so this training
  8759. 10:52:38we've gone and re re research the
  8760. 10:52:41strategies inside of my ideas uh inside
  8761. 10:52:44of my notes so um
  8762. 10:52:46yeah study for Alpha Man
  8763. 10:52:49books
  8764. 10:52:52YouTube and successfully we got all the
  8765. 10:52:55data source set up and it's super stable
  8766. 10:52:58now well let's go ahead and maybe give
  8767. 10:53:00it a couple stability tests here uh this
  8768. 10:53:03is what happened before and that's not
  8769. 10:53:04not stable at all um I want to see what
  8770. 10:53:07happens when I turn off my internet but
  8771. 10:53:09the problem with that is if I turn off
  8772. 10:53:11my internet then you get turned off
  8773. 10:53:13too dude so I'm not going to going to do
  8774. 10:53:17that um maybe I'll make it a little
  8775. 10:53:19choppy and see what
  8776. 10:53:21happens uh if this can keep these going
  8777. 10:53:24nicely it's looks like everything is
  8778. 10:53:26still flying in
  8779. 10:53:35here
  8780. 10:53:371638 that's right
  8781. 10:53:39[Music]
  8782. 10:53:42now okay so we went all the way from
  8783. 10:53:45idea generation we had so many ideas
  8784. 10:53:48that we were going over and we have a
  8785. 10:53:50ton that we can keep coming back to so
  8786. 10:53:53I'm just going to keep coming back to
  8787. 10:53:54this note sheet because we have so many
  8788. 10:53:57projects ahead of us and I don't feel
  8789. 10:54:00quite done with this liquidation one uh
  8790. 10:54:03I feel like we got the data we needed to
  8791. 10:54:05to let you fly I've given you everything
  8792. 10:54:09you need in order to now bring your
  8793. 10:54:11ideas to life again my ideas are just a
  8794. 10:54:14small small fraction small small
  8795. 10:54:17fraction and they're not even correct
  8796. 10:54:18it's just an idea so at this point now
  8797. 10:54:22that we have all this information my
  8798. 10:54:24plan from here is to we already built
  8799. 10:54:26the stat
  8800. 10:54:28arbot we already built that it's already
  8801. 10:54:30been built it's here on if you just go
  8802. 10:54:33to YouTube somewhere we already built it
  8803. 10:54:35so I'm just going to have this now say
  8804. 10:54:38I'm going test different
  8805. 10:54:40things I'm going to test different
  8806. 10:54:41things and these different things are
  8807. 10:54:43going to be things like this that I'm
  8808. 10:54:46going to return right here actually time
  8809. 10:54:49frame and time frame I want to return
  8810. 10:54:55the every everything that we need so the
  8811. 10:55:0015 minute
  8812. 10:55:06liquidations totals DF Maybe
  8813. 10:55:09[Music]
  8814. 10:55:16this is just printing so that's
  8815. 10:55:20nothing I want to say I want to return
  8816. 10:55:23the total
  8817. 10:55:26liquidations total
  8818. 10:55:33licks long licks short licks what else
  8819. 10:55:37eth funding BTC
  8820. 10:55:39funding what
  8821. 10:55:41else DF sure but what else B
  8822. 10:55:46data what it come on
  8823. 10:55:51cuz
  8824. 10:55:57oh open
  8825. 10:56:04interest total open interest is this
  8826. 10:56:07okay so that's my judge of open interest
  8827. 10:56:11at least so is what it is um now I have
  8828. 10:56:16I've why you all the way here
  8829. 10:56:18dude this is this is as far as I can
  8830. 10:56:21take you because everything else is
  8831. 10:56:23built I built everything else here on
  8832. 10:56:26the YouTube look look look just go to
  8833. 10:56:28YouTube here and type in uh moev and
  8834. 10:56:32then go to the video section and then go
  8835. 10:56:36find the stat AR
  8836. 10:56:39statistical there's a bunch of
  8837. 10:56:41videos statistical r
  8838. 10:56:47yeah yeah part four yep so there's like
  8839. 10:56:51a bunch of parts to it but oppos to me
  8840. 10:56:53just saying here um showing you that
  8841. 10:56:56like trying to like do a tutorial or
  8842. 10:56:58something I'm not going to do that but
  8843. 10:57:01um I'll definitely cover everything we
  8844. 10:57:03covered today here on
  8845. 10:57:05Friday and um maybe I should make a note
  8846. 10:57:08of that so today we did the liquidation
  8847. 10:57:12bot strategy books brainstorming
  8848. 10:57:18liquidation bot is
  8849. 10:57:20now the data that we need is now here
  8850. 10:57:24now it's just how are we going to
  8851. 10:57:25implement it so I'm going leave you at
  8852. 10:57:27that
  8853. 10:57:29point because there's plenty of examples
  8854. 10:57:32I'm thinking this
  8855. 10:57:37and I got to figure out how to turn that
  8856. 10:57:39on and off so maybe I'll do a part two
  8857. 10:57:41to this I don't know also want to do
  8858. 10:57:43back testing on this liquidation data so
  8859. 10:57:45I've got to get this set up on my
  8860. 10:57:49server get
  8861. 10:57:51set up on
  8862. 10:57:55server so it
  8863. 10:57:58runs 247 I'm just going to do that right
  8864. 10:58:00now because why wouldn't I why wouldn't
  8865. 10:58:03I okay
  8866. 10:58:06so let's think about
  8867. 10:58:08this
  8868. 10:58:13um 41
  8869. 10:58:18I want
  8870. 10:58:19to throw off my internet real quick so I
  8871. 10:58:22might lose you here but that's the case
  8872. 10:58:25I'll see you see you next time but uh I
  8873. 10:58:28just need to see the stability because
  8874. 10:58:30when I switch to a VPN that's when it it
  8875. 10:58:32really breaks
  8876. 10:58:38this okay I'm over there now I'm G let
  8877. 10:58:41the the everything reconnect here so we
  8878. 10:58:44don't lose the whole stream I stream
  8879. 10:58:46every day it's just every time I'm
  8880. 10:58:49coding I just put the mic on that's
  8881. 10:58:53it that's it I'm not your Guru sorry
  8882. 10:58:59bro sorry
  8883. 10:59:02buddy I'm just here coding okay
  8884. 10:59:19unfortunately let's go ahead and switch
  8885. 10:59:21back
  8886. 11:00:00okay well I guess the good thing the bad
  8887. 11:00:03news good news and bad
  8888. 11:00:05news the bad news let's get that out the
  8889. 11:00:07way first is this doesn't seem to
  8890. 11:00:10reconnect
  8891. 11:00:18so that's the bad
  8892. 11:00:25news the good news is it shouldn't
  8893. 11:00:28drop on my server
  8894. 11:00:35because because it's uh not changing
  8895. 11:00:38internets but we'll
  8896. 11:00:40see let's go ahead here and say big
  8897. 11:00:42licks
  8898. 11:00:44okay nope that's all our
  8899. 11:00:47studies p
  8900. 11:00:49i I get the error above when I'm running
  8901. 11:00:56the below
  8902. 11:00:59code I need it to be able to
  8903. 11:01:03reboot
  8904. 11:01:05itself without human
  8905. 11:01:10intervention and right now it's not able
  8906. 11:01:14to do that
  8907. 11:01:16okay so let me go ahead here
  8908. 11:01:19and where is that code
  8909. 11:01:42at I believe that is going to be under
  8910. 11:01:45Jupiter trading
  8911. 11:01:49Bots and that licks big
  8912. 11:01:52here
  8913. 11:01:58copy let's see if they can update
  8914. 11:02:03it while it does that I think I'm going
  8915. 11:02:05to go ahead
  8916. 11:02:08and well let's get this better let's see
  8917. 11:02:10if we can fix it first before I try to
  8918. 11:02:12set it up on my server regardless I
  8919. 11:02:15think
  8920. 11:02:16we're good because my server shouldn't
  8921. 11:02:19drop the
  8922. 11:02:26connection but I'm not
  8923. 11:02:28certain
  8924. 11:02:33so we'll
  8925. 11:02:42see all right let's do the same thing
  8926. 11:02:45might lose you again sorry but it is
  8927. 11:02:47what it
  8928. 11:02:48is okay I'm going to turn my VPN on
  8929. 11:02:52changing if we see the Reds again then
  8930. 11:02:54we know it's over
  8931. 11:02:59over I'm on the V now
  8932. 11:03:17okay well I
  8933. 11:03:19mean I don't see that air do
  8934. 11:03:23you I do not let's go ahead here
  8935. 11:03:28and close this bad
  8936. 11:03:31boy please do the same
  8937. 11:03:38thing please make the same updates for
  8938. 11:03:44this
  8939. 11:03:47all right so oh it no
  8940. 11:03:59sent never
  8941. 11:04:02mind your changes didn't
  8942. 11:04:11work player didn't work player
  8943. 11:04:15so you better
  8944. 11:04:17relax I apologize for the inconvenience
  8945. 11:04:20let's ensure the code can handle
  8946. 11:04:22unexpected Connection close yours more
  8947. 11:04:25robustly yes
  8948. 11:04:27please yes please
  8949. 11:04:48I guess I'll stay connected and then
  8950. 11:04:49I'll
  8951. 11:04:53disconnect because I know this probably
  8952. 11:04:55dropping the stream or whatever but I'm
  8953. 11:04:57sorry gotta do what you got to do you
  8954. 11:05:00know do you know how it
  8955. 11:05:02is so I'm glad you're
  8956. 11:05:06here all right so I'm connected I
  8957. 11:05:10believe so now I'm going to jump off 1 2
  8958. 11:05:133 4 5 I'm going jump off off the uh good
  8959. 11:05:17off
  8960. 11:05:21V see if it turns to Red now if it does
  8961. 11:05:24then I'm going try it out on my server
  8962. 11:05:27but I've shown you everything I can show
  8963. 11:05:30you showed you everything you need
  8964. 11:05:33dude everything you need when it comes
  8965. 11:05:36to
  8966. 11:05:39liquidations we built this out all here
  8967. 11:05:44together and we'll continue to build as
  8968. 11:05:47long as you continue to show up
  8969. 11:05:50dude you show up I show up that's it
  8970. 11:05:54777 so much love to
  8971. 11:05:57you so so much love all right this one's
  8972. 11:06:00looking a little more stable so let me
  8973. 11:06:03go ahead and I'm going jump back in to
  8974. 11:06:08the V and see oh no look at
  8975. 11:06:13that see if it gets it gets off it it
  8976. 11:06:17gets stuck
  8977. 11:06:20here
  8978. 11:06:23still it gets
  8979. 11:06:26stuck when I switch to a VPN
  8980. 11:07:10look how this one picks it up you see
  8981. 11:07:11how it reconnects that's nice
  8982. 11:07:23could be using the wrong file too to be
  8983. 11:07:25real to be real with you
  8984. 11:07:46licks big I'm just going to double check
  8985. 11:07:49here copy
  8986. 11:07:53path yeah that was
  8987. 11:07:59it okay
  8988. 11:08:02so
  8989. 11:08:05connected we'll figure this out over
  8990. 11:08:07time showing you all the functionality
  8991. 11:08:09you need though so you're Gucci you're
  8992. 11:08:13excused it's a good day it was a really
  8993. 11:08:15good day appreciate you being here 777
  8994. 11:08:19so much love to you I know you've been
  8995. 11:08:21here for a long time so you're excused
  8996. 11:08:24now if you want to learn more here you
  8997. 11:08:26can join the boot camp the boot camp
  8998. 11:08:28shows you step by step how to automate
  8999. 11:08:30your trading in more short concise
  9000. 11:08:32videos uh today and every day I'm really
  9001. 11:08:35just working here on YouTube not really
  9002. 11:08:37trying to be a YouTuber so I'm going to
  9003. 11:08:39continue to just kind of work here on
  9004. 11:08:42the tube
  9005. 11:08:43and show you what I'm working on and I
  9006. 11:08:47will explain it as I go
  9007. 11:08:50through as best as I can but sometimes I
  9008. 11:08:53can't explain it because I don't
  9009. 11:08:55understand it so I learn it here kind of
  9010. 11:08:58like we're going through here with uh
  9011. 11:09:01gbt a little statistics here
  9012. 11:09:10probability okay so I just jumped off
  9013. 11:09:13and it's still alive which is nice to
  9014. 11:09:15let's
  9015. 11:09:19see connected to okay well I'm going to
  9016. 11:09:23go ahead and jump back
  9017. 11:09:28on here we go let's go ahead and see it
  9018. 11:09:33come on show us
  9019. 11:09:34[Music]
  9020. 11:09:36something in the meantime oh there we
  9021. 11:09:40go there we
  9022. 11:09:43go there we go good good
  9023. 11:09:46job okay so this is the updated code
  9024. 11:09:48just make sure you have all of
  9025. 11:09:54it to get the liquidations just take a
  9026. 11:09:56screenshot real quick
  9027. 11:09:59because I a got time for all
  9028. 11:10:03that one two
  9029. 11:10:05three one two three one two three okay
  9030. 11:10:09you're Gucci right cool let's go ahead
  9031. 11:10:12and copy this no actually I want the
  9032. 11:10:15regular licks
  9033. 11:10:21here nice that
  9034. 11:10:25worked
  9035. 11:10:26whatever you did to
  9036. 11:10:31reconnect please do it below as
  9037. 11:10:39well this is a
  9038. 11:10:41different
  9039. 11:10:43function function
  9040. 11:10:58I don't know why you giving me such big
  9041. 11:11:01small liquidations but it's a whole
  9042. 11:11:03another
  9043. 11:11:14topic e
  9044. 11:11:53just putting the old one back in there I
  9045. 11:11:55don't know what she was
  9046. 11:11:57thinking she crazy sometimes
  9047. 11:12:00dog she's
  9048. 11:12:02crazy she crazy
  9049. 11:12:07dog all right so let's make sure you get
  9050. 11:12:09all this code as well because I want to
  9051. 11:12:11make sure you leave with
  9052. 11:12:13everything much love to you
  9053. 11:12:16777 appreciate you showing up doing the
  9054. 11:12:19work here I'm going to screenshot it
  9055. 11:12:21simulate web socket break holy
  9056. 11:12:37smokes so here's the screenshots one two
  9057. 11:12:423 one two
  9058. 11:12:46three
  9059. 11:12:52three two
  9060. 11:12:55EG that's all I got it's all I got for
  9061. 11:12:59you let's see if this runs so before I B
  9062. 11:13:02ounce good to have you so much love so
  9063. 11:13:05much love always every day every day to
  9064. 11:13:08you
  9065. 11:13:09dude let's go ahead and say licks big
  9066. 11:13:11should be running um fine this is the
  9067. 11:13:15other one here and now we shouldn't have
  9068. 11:13:20errors that's amazing so now we're
  9069. 11:13:23riding off into the sunset we have
  9070. 11:13:27everything we need here and you can take
  9071. 11:13:29it whichever way you want to go please
  9072. 11:13:31do keep me in mind think about me get in
  9073. 11:13:36the Discord say hello say hey Mev this
  9074. 11:13:39is what I'm working on thanks for the
  9075. 11:13:41yada yada whatever I gave you today I
  9076. 11:13:44try to give you all every every single
  9077. 11:13:46day and everything I know you know we're
  9078. 11:13:50going to keep studying this book just
  9079. 11:13:51for the last few minutes here
  9080. 11:13:54because we were just about to finish
  9081. 11:13:57this so example your trading bot knows
  9082. 11:13:59if a Lego Lego structure is successfully
  9083. 11:14:02built there's a 70% chance that art Arch
  9084. 11:14:06pieces were used the overall probability
  9085. 11:14:08of successfully building any Lego
  9086. 11:14:10structure is 40% and the probability of
  9087. 11:14:12using Arch pieces is 50% so T of arch
  9088. 11:14:15pieces um 70 P of success 40 P Arch
  9089. 11:14:20pieces 50 so one more here walk through
  9090. 11:14:23the math to find the probability of
  9091. 11:14:25successfully building a logo a Lego
  9092. 11:14:28castle given that Arch pieces were used
  9093. 11:14:31we use bige theorem P of success Arch
  9094. 11:14:35pieces so this is base theorem here
  9095. 11:14:38again plugging in the values okay P
  9096. 11:14:40success Arch pieces plug them in solving
  9097. 11:14:43for the likelihood the likelihood
  9098. 11:14:45something happen is another way to
  9099. 11:14:46express the conditional probability in
  9100. 11:14:48our example the likelihood of using Arch
  9101. 11:14:51pieces given that a Lego structure is
  9102. 11:14:53successfully built is p Arch pieces
  9103. 11:14:56success so normalizing the data
  9104. 11:14:59normalization involves adjusting values
  9105. 11:15:02measured on different scales to a common
  9106. 11:15:05scale in the context of probabilities
  9107. 11:15:08normalization ensures that the sum of
  9108. 11:15:10all probabilities in a standard
  9109. 11:15:12distribution equals one example if we
  9110. 11:15:14consider consider multiple factors
  9111. 11:15:16affecting the success of building a Lego
  9112. 11:15:19structure EG the arch pieces um roof
  9113. 11:15:23pieces window
  9114. 11:15:24pieces we might have initial initial
  9115. 11:15:28unnormalized probabilities we normalize
  9116. 11:15:30them by dividing each by the total sum
  9117. 11:15:33six likelihood of alternative hypothesis
  9118. 11:15:36prior and posterior prior probability
  9119. 11:15:40the initial probability of an event
  9120. 11:15:42before considering the new data
  9121. 11:15:44posterior probability the updated
  9122. 11:15:46probability of an event after
  9123. 11:15:48considering new data example prior the
  9124. 11:15:50probability of successfully building a
  9125. 11:15:52Lego structure without considering
  9126. 11:15:56specific pieces is 40% likelihood the
  9127. 11:15:59probability of using Arch pieces given
  9128. 11:16:02that the structure is successful is 70%
  9129. 11:16:05posterior the updated probability of
  9130. 11:16:08success given that Arch pieces are used
  9131. 11:16:12calculated
  9132. 11:16:15using base theorem is
  9133. 11:16:1756% step seven comparing unnormalized
  9134. 11:16:19posteriors unnormalized posteriors are
  9135. 11:16:22the raw probabilities before
  9136. 11:16:24normalization comparing these helps
  9137. 11:16:27understand the relative likelihood of
  9138. 11:16:29different hypothesis before they are
  9139. 11:16:32scaled to some to one example suppose we
  9140. 11:16:36have two types of pieces Arch and roof
  9141. 11:16:38and their respective likelihoods are
  9142. 11:16:40prior as Arch
  9143. 11:16:41roof 7.4 28
  9144. 11:16:45roof pieces success roof pieces 6.35 21
  9145. 11:16:50comparing these unnormalized posteriors
  9146. 11:16:52show that Arch pieces have a higher
  9147. 11:16:54likelihood of leading to success
  9148. 11:16:57compared to roof pieces summary of
  9149. 11:16:59Concepts conditional probability the
  9150. 11:17:01probability of an event given another
  9151. 11:17:03event has occurred Bas theorem a method
  9152. 11:17:05to calculate reverse conditional
  9153. 11:17:07probabilties likelihood the probability
  9154. 11:17:09of observing the data given of
  9155. 11:17:11hypothesis
  9156. 11:17:12normalization adjusting probability to
  9157. 11:17:15the sum of one prior probability initial
  9158. 11:17:17probability before new data posterior
  9159. 11:17:20probability updated probability after
  9160. 11:17:22considering new data unnormalized
  9161. 11:17:24posteriors raw probabilities before
  9162. 11:17:27normalization useful for comparison
  9163. 11:17:30recap with trading Bots conditional
  9164. 11:17:31probability your Bot considers the
  9165. 11:17:33likelihood of success given specific
  9166. 11:17:36indicators based theorem your Bot
  9167. 11:17:38updates probabilities based on new
  9168. 11:17:40trading data likelihood your Bot
  9169. 11:17:42evaluates the probability of seeing
  9170. 11:17:44certain market conditions normalization
  9171. 11:17:46your Bot ensures all considered
  9172. 11:17:49probabilities some to one prior and
  9173. 11:17:51posterior your Bot starts with initial
  9174. 11:17:55probabilities and updates them with new
  9175. 11:17:58information unnormalized posteriors your
  9176. 11:18:01Bot Compares raw probabilities to decide
  9177. 11:18:04on the best trading strategy

About this transcript

This page contains the full transcript of how to actually do algorithmic trading by Moon Dev, generated from the public captions YouTube serves with the video. The transcript has 53,612 words across 9,177 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.