YouTube2Text

Jesse v1.12: Easy strategy Monte Carlo and more — Transcript

by Algo-trading with Saleh · 1,843 words · 245 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Hey guys, so today I released version
  2. 0:021.12 of Jesse and I cannot wait to show
  3. 0:04you what's new. So let's get right into
  4. 0:06it. Now before I show you the first
  5. 0:08feature that I added, there is one
  6. 0:10critical thing you need to be aware of
  7. 0:12and that is if you already have a J
  8. 0:13project, which I assume is all of you
  9. 0:15guys watching this, you need to open
  10. 0:17thev file of your project. Now this is a
  11. 0:19default file. Now here I'm using example
  12. 0:22but for you it's going to be just and in
  13. 0:24it you have the default password of the
  14. 0:27dashboard or the default port and things
  15. 0:29like that right but one value is new and
  16. 0:31you need to add it and that is lsp port.
  17. 0:34So add this value by default it is 91
  18. 0:37but if that port is occupied on your
  19. 0:39machine for whatever reason feel free to
  20. 0:41change this. Now the other file that you
  21. 0:42need to update is the docker compos file
  22. 0:44of your project. This is of course if
  23. 0:46you are running Jesse with Docker which
  24. 0:48is going to be many of you guys
  25. 0:50including myself for my production
  26. 0:52server but for my local machine which I
  27. 0:53do research I went with the native setup
  28. 0:56but anyways so you need to open this
  29. 0:58file and find this port option here and
  30. 1:00after you know 9,000 9,000 or after this
  31. 1:04one it doesn't really matter you need to
  32. 1:05add this value the reason you needed to
  33. 1:07add that value is because now we have
  34. 1:09our very own Python language server and
  35. 1:11the reason you needed to add that value
  36. 1:13in the MV file is now we have our very
  37. 1:16own Python language server and what that
  38. 1:18means is if you open the built-in code
  39. 1:20editor of Jesse you will no longer get
  40. 1:23some general autocomplete you will get
  41. 1:25like intelligent ones so here's what
  42. 1:28that means so if I write TA dot now I
  43. 1:31will get a complete list of all the
  44. 1:33built-in indicators of Jessie so for
  45. 1:36example if I want to use the comma
  46. 1:37indicator or EMA or SMA or SRSI you see
  47. 1:43I will get all of them And I can also
  48. 1:45see the accepted parameters with the
  49. 1:47default values etc. So you no longer
  50. 1:50need to install an IDE just so you can
  51. 1:53use Jesse. Now many of you guys are
  52. 1:55developers and you prefer having an ID
  53. 1:58like cursor or whatever and that's
  54. 2:00perfectly fine. I get you. But if you
  55. 2:02are like a researcher and you are not a
  56. 2:04developer and you don't want to do that,
  57. 2:05that's perfectly fine. or but even if
  58. 2:08you are a developer sometimes you're
  59. 2:09just running your instance on a remote
  60. 2:11server and maybe you want to make a
  61. 2:14quick modification to your strategy
  62. 2:16right within the server right so in
  63. 2:17those cases now you're going to have a
  64. 2:19complete intelligent auto complete which
  65. 2:22will be very helpful so let's delete
  66. 2:24this so that's basically it why we did
  67. 2:26this but the other thing that you will
  68. 2:28see is that if you open the strategies
  69. 2:30page now you will see a complete list of
  70. 2:33the strategies that we have hosted on
  71. 2:35our website submitted either by me or
  72. 2:37our community members. And that means
  73. 2:40you no longer have to open our website,
  74. 2:42see the strategy, copy the code, come
  75. 2:44here, create a new one, and paste the
  76. 2:46code. You can just click a button and it
  77. 2:49will be imported for you. Now, I already
  78. 2:51have this. So, for example, if I look up
  79. 2:54the turtle strategy and come here. So,
  80. 2:58this one I don't already have. So, if I
  81. 2:59click on the import. All right. So, it
  82. 3:01says I already have it. So, let's delete
  83. 3:04this.
  84. 3:06So you can do this and now if I click
  85. 3:09here you see it will just import it
  86. 3:12instantly. So this is way more
  87. 3:14convenient that what we had before. Next
  88. 3:16the most exciting feature of this
  89. 3:18release is the Monte Carlo page. If you
  90. 3:20open the new dashboard you can find a
  91. 3:22new option has been added to your header
  92. 3:24and that is the Monte Carlo page. If you
  93. 3:27click on it, you see it looks very much
  94. 3:29similar to the optimization page, but
  95. 3:31this one is for running monol
  96. 3:32simulations. And we have two types of
  97. 3:34it. Trade simulation and candles. I
  98. 3:36already covered the difference between
  99. 3:37two options in this video which I
  100. 3:39released like a month ago. But back then
  101. 3:41you could only run it via the script
  102. 3:42that I wrote for you guys. But now we
  103. 3:44have it right within the dashboard. So
  104. 3:46for example, we can give it a duration,
  105. 3:49select whichever type you want. We can
  106. 3:50give it the number of scenarios, change
  107. 3:52the type of it. And the default is
  108. 3:54moving block bootstrap which is good for
  109. 3:55most people. And we can change the batch
  110. 3:58size, enable or disable the fast mode.
  111. 4:00And now if I run this,
  112. 4:03and by the way, this is going to take a
  113. 4:04while to begin. It's just like the
  114. 4:06optimization mode, right? Maybe a little
  115. 4:08bit faster than that, but it also
  116. 4:09depends on the number of scenarios that
  117. 4:11you select. So here I can see the Monte
  118. 4:14Carlo trades with a beautiful chart. And
  119. 4:17I can also see the table which tells me
  120. 4:19like what's the max ro done for the
  121. 4:20original back test in the worst 5%
  122. 4:23median or the best 5% of them. And here
  123. 4:25I have another table for the candle. So
  124. 4:28this one is like a stress testing your
  125. 4:30strategy. Now by the way if you want me
  126. 4:31to create a separate video just
  127. 4:34explaining these concepts about Monte
  128. 4:36Carlo let me know down below in the
  129. 4:37comments. Now here we have another
  130. 4:40beautiful chart. We have this table
  131. 4:42which tells us the original back test
  132. 4:44like what was it max draw down or the
  133. 4:46sharp ratio and here as you can see like
  134. 4:48it was 1.18 for the original for the
  135. 4:51median it was 1.82 for the best 5% it
  136. 4:54was 3.21 which tells me that the chances
  137. 4:57of the strategy and the results that I'm
  138. 4:59seeing here being overfit is actually
  139. 5:02pretty low. So that's why we added
  140. 5:04because back then we didn't know if the
  141. 5:06strategy is overfitit or not. So you
  142. 5:08just had the back test results but now
  143. 5:10we have the Monte Carlos which is really
  144. 5:12helpful for both seeing if the strategy
  145. 5:15is overfit or not and second for doing
  146. 5:17the position sizing. So for example I
  147. 5:19can see the max for my original back was
  148. 5:22- 90%. Right? But for the worst case it
  149. 5:26was minus 29%. Now by the way this is a
  150. 5:29mistake I will fix it later. So the
  151. 5:31worst max done would have been this one
  152. 5:34not this one but anyway so in the worst
  153. 5:36case it was minus 29%. So that means if
  154. 5:38I want to ensure that I never lose let's
  155. 5:42say more than 20% I need to lower the
  156. 5:44size of my positions a little bit in
  157. 5:46this strategy. So that's how you can use
  158. 5:48this feature. It's pretty awesome. Now
  159. 5:50besides that we also have the logs here.
  160. 5:52So if one of the scenarios is getting an
  161. 5:54error you can see the error right within
  162. 5:56here and you can fix it. So for example,
  163. 5:58it's saying that the order price must be
  164. 6:00greater than zero. So this happens in
  165. 6:02some cases with the simulations. If it
  166. 6:04happens just a few times, don't worry
  167. 6:06about it. But there could be a case
  168. 6:08where you run simulation and you don't
  169. 6:10see any lines here, right? So you're
  170. 6:11wondering what's happening here like
  171. 6:13what's causing the issue, you can just
  172. 6:14find the logs and you can see
  173. 6:16everything. Next, we have the history
  174. 6:17page. So let's say you ran a Monte Carlo
  175. 6:20before and you really like the results.
  176. 6:22You can just come here and load it
  177. 6:24again. You can also add some notes to it
  178. 6:26so that in the future you can find it
  179. 6:28very easily or by simply running a
  180. 6:30search for it. You can also pip
  181. 6:32previously existing options. So suppose
  182. 6:34that you have run like hundreds of
  183. 6:36scenarios and your database and files
  184. 6:38are getting a little bit heavy, you can
  185. 6:40just come here and delete the ones that
  186. 6:41you don't use anymore. And also if at
  187. 6:44some point you wanted to know okay in
  188. 6:46that point when I ran that Monteol
  189. 6:48simulation, what was the exact code that
  190. 6:50I was using? because maybe you have
  191. 6:52changed your strategies code since then,
  192. 6:54you can just click on this view strategy
  193. 6:56button and it will show you a snapshot
  194. 6:58of your strategy in that moment. And if
  195. 7:01you want to change the number of CPU
  196. 7:03cores that are being used for this
  197. 7:05simulation, you need to go to the
  198. 7:07settings under the Monteol section. You
  199. 7:09you'll be able to change the number of
  200. 7:11this and maybe you want to change the
  201. 7:13starting balance and things like that.
  202. 7:15You can also do that here. Now these
  203. 7:17were the new features that we added but
  204. 7:19we actually implemented countless amount
  205. 7:21of bug fixes and improvements to the
  206. 7:24dashboard of Jesse and also I completely
  207. 7:27refactored the websocket connection that
  208. 7:30is used for Jesse's dashboard and back
  209. 7:31end to communicate with each other and
  210. 7:33things are significantly more reliable
  211. 7:35right now. So you will no longer need to
  212. 7:37restart Jesse itself just to get rid of
  213. 7:40some kind of bug which wasn't happening
  214. 7:41that much but things are way more and
  215. 7:44remember that in the coming months I'm
  216. 7:46going to release Jesse 2.0 which is
  217. 7:48going to have a completely new version
  218. 7:50of the live trading session where you
  219. 7:52can add your own indicators to the
  220. 7:54chart. You can customize the dashboard a
  221. 7:56little bit. We will have full database
  222. 7:58synchronization so you can browse the
  223. 8:00previously submitted orders and trades.
  224. 8:02And next year I'm going to work to add
  225. 8:04agents to the platform so you guys can
  226. 8:06use them to do research for you. And
  227. 8:09we're going to have machine learning
  228. 8:10models. So overall things are about to
  229. 8:12change drastically and you don't want to
  230. 8:14miss it and this is the best way to do
  231. 8:16that. And remember that our licenses are
  232. 8:18lifetime. So if you purchase it once,
  233. 8:20you won't have to worry about it again.
  234. 8:21But the main reason you guys would want
  235. 8:23to do that is to just support the
  236. 8:24project. because if it wasn't because of
  237. 8:26the guys who already purchased a premium
  238. 8:28account in the past, I would not have
  239. 8:30been able to continue the development
  240. 8:32for I think more than 5 years now. So, I
  241. 8:35also want to thank all of you guys who
  242. 8:36already did and supported me during
  243. 8:38these years. So, that's it for now.
  244. 8:39Thank you for watching. I'll see you in
  245. 8:41the next one.

About this transcript

This page contains the full transcript of Jesse v1.12: Easy strategy Monte Carlo and more by Algo-trading with Saleh, generated from the public captions YouTube serves with the video. The transcript has 1,843 words across 245 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.