YouTube2Text

How to set up Jesse on Windows — Transcript

by Algo-trading with Saleh · 3,721 words · 496 segments · language en · Watch on YouTube

Full transcript

  1. 0:00hey guys it's s today I'm going to show
  2. 0:02you how to set up Jesse on a brand new
  3. 0:04Windows machine for algo trading with
  4. 0:06python now you could also use the docker
  5. 0:08setup which is the fastest way to get it
  6. 0:10started with Jesse but it's not the
  7. 0:12fastest way because by using Docker
  8. 0:13you're basically running things inside
  9. 0:15the virtualization software which can
  10. 0:17never beat the speed of a native
  11. 0:19installation so let's get right into it
  12. 0:21so the first thing that we're going to
  13. 0:22need is to set up python itself but
  14. 0:24there's this tool called mini condo or
  15. 0:26anac condo which is way better than
  16. 0:28installing python directly because
  17. 0:30because it allows us to create isolated
  18. 0:31environments very similar to python
  19. 0:33environments but these one are way more
  20. 0:35isolated and easier to manage right to
  21. 0:37get it I simply Google download
  22. 0:39miniconda all right let's accept this
  23. 0:41and here it's telling me to go to this
  24. 0:43page and here I'm going to click on skip
  25. 0:46registration right and the first one is
  26. 0:47the installer for anondo which is the
  27. 0:50same thing as minondo except it has a
  28. 0:52GUI a user interface which I don't
  29. 0:54really want so I'm going to scroll down
  30. 0:56to reach the miniconda installer and
  31. 0:59download this one for your Windows
  32. 1:00machine I already did this so I'm just
  33. 1:02going to install it from here press next
  34. 1:05agree just me next because I don't want
  35. 1:07to install python separately on my
  36. 1:09machine I'm also going to check this
  37. 1:11option and also this one all right so
  38. 1:13when it's done click on the next button
  39. 1:15one more time and let's uncheck this and
  40. 1:18this all right next I need to install
  41. 1:21red on Windows but the bad news is that
  42. 1:23there isn't R installer directly for
  43. 1:26Windows however we can do that using the
  44. 1:28WSL for Windows which is how you can run
  45. 1:31a Linux machine inside your Windows
  46. 1:33machine now to do that I'm going to
  47. 1:34search for Powershell and I need to run
  48. 1:37this as administrator so right click on
  49. 1:40it and press run as administrator say
  50. 1:42yes let's make this bigger and in here
  51. 1:44I'm going to have to paste this content
  52. 1:46now by the way in case you don't have it
  53. 1:48for this next part we need this text
  54. 1:50inside the Powershell so let's copy
  55. 1:52it go back to the powers shell all right
  56. 1:55let's press enter it's asking us to
  57. 1:57restart the computer to complete the
  58. 1:59oper ation press enter and wait until
  59. 2:02the machine comes up again all right now
  60. 2:03that the system is up again open the
  61. 2:05Microsoft store Look up the word Ubuntu
  62. 2:07and we have different versions of 1 two
  63. 2:09but I want to go with 1 220 and here
  64. 2:12simply press the button get all right
  65. 2:14now that is done let's click on the open
  66. 2:16button and here is our open to machine
  67. 2:18it says press any key to continue and
  68. 2:21here it says press any key to install
  69. 2:23Windows sub system okay press yes and
  70. 2:25again it is downloading something all
  71. 2:27right so at this point again we need to
  72. 2:29press one key to reboot the system so
  73. 2:32let's restart everything one more time
  74. 2:34all right now let's open wuntu and we
  75. 2:36need to wait again until it finishes the
  76. 2:39installation all right so it's asking me
  77. 2:41for a username which I will simply say
  78. 2:43Sol and for password I will enter my
  79. 2:47password and then I will repeat the
  80. 2:49password and we are in our open to
  81. 2:51machine now all right now we can begin
  82. 2:52installing Ries for that I'm going to
  83. 2:54say pseudo app get update and it is
  84. 2:57asking for my password all right next
  85. 2:59I'm I'm going to say PSE
  86. 3:01sudo appg
  87. 3:05upgrade and press
  88. 3:07enter all right let's clear this and now
  89. 3:10finally we can install red Itself by
  90. 3:12simply saying sud sudo app get install
  91. 3:17redis server hit yes all right to make
  92. 3:20sure everything worked I'm going to say
  93. 3:22redis
  94. 3:25c-v and we can see the version all right
  95. 3:27now every time that you want to run you
  96. 3:30need to run the This Server and to do
  97. 3:32that simply open the open to interface
  98. 3:34and run red
  99. 3:36server click on allow and if you see
  100. 3:38this page it means it's working you can
  101. 3:40also see the port that is is running in
  102. 3:42and all the other info all right so I'm
  103. 3:44going to minimize this and by the way
  104. 3:46you need to keep it open all right so I
  105. 3:47shouldn't completely close it but I will
  106. 3:49keep it there all right next we need to
  107. 3:51download the poster SQL which is the
  108. 3:53main database that Jessi uses to do that
  109. 3:55open this URL which will get you here
  110. 3:57and click on the download the installer
  111. 3:59now from here you can download any
  112. 4:01version that we support now we usually
  113. 4:02support all the newer versions of bql so
  114. 4:05I don't think it really matters which
  115. 4:06version you set up but right now I'm
  116. 4:08going to go with version 17 I already
  117. 4:10downloaded this before so I'm just going
  118. 4:11to open it
  119. 4:13here press yes click on the next button
  120. 4:16next now I can safely uncheck these two
  121. 4:20options but make sure to keep the other
  122. 4:21two press next next now the password you
  123. 4:24enter here is really important because
  124. 4:26it's the one we're going to need later
  125. 4:28in order to create a table for suggested
  126. 4:30to use now to keep it simple because
  127. 4:32this is running locally I can simply set
  128. 4:34something like
  129. 4:36password click on next the default Port
  130. 4:38is fine next next and next click on
  131. 4:41finish now that the setup is done we
  132. 4:43need to add postore SQL to the path of
  133. 4:45our Windows environment now in case you
  134. 4:47don't know what it means it means that
  135. 4:48we need to make sure that our CMD or The
  136. 4:51Terminal that we are using inside
  137. 4:53windows will recognize the postl command
  138. 4:55now to do that go to the search bar and
  139. 4:57enter EnV so you can see this page click
  140. 5:00on environment variables the default is
  141. 5:02set on path click on edit now here you
  142. 5:04can see the things that are already
  143. 5:05added for example we earlier set up
  144. 5:07manyonda and if you remember our
  145. 5:09terminal did recognize the cond command
  146. 5:11and that's because we already have it
  147. 5:13inside the path all right now that I
  148. 5:14need to add a new one I'm going to click
  149. 5:16on browse and from here I need to open
  150. 5:19my postcore SQL installation which is on
  151. 5:21this PC C drive program files POC SQL
  152. 5:25and the bin folder is the one that we
  153. 5:27want click on okay and now you can see
  154. 5:28it being added here here click on okay
  155. 5:30and one more time and one more time all
  156. 5:32right now open the search bar and look
  157. 5:34for CMD and now if I run the psql
  158. 5:38command and D- version CM version 17 so
  159. 5:42that means it is indeed recognizing the
  160. 5:44psql command all right so for this next
  161. 5:46part I need to copy and paste the
  162. 5:48commands for creating a new table and
  163. 5:51database and username for Jesse now for
  164. 5:53that just scroll down to this section on
  165. 5:55our documentation again you can find it
  166. 5:57on this URL or just simply go to to the
  167. 5:59environment setup the windows section
  168. 6:01post SC SQL and scroll down to this page
  169. 6:04all right so I open them side by side so
  170. 6:06you can see it easier so let's so let's
  171. 6:08copy this first line paste it here all
  172. 6:10right so it's asking for password now
  173. 6:12remember this is the password that we
  174. 6:14said earlier the one that I told you it
  175. 6:15is really important and I simply set it
  176. 6:17to password so I'm going to type
  177. 6:20password all right so I entered it
  178. 6:22incorrectly let's do it again
  179. 6:25password and we are in all right so
  180. 6:27let's copy this First Command which will
  181. 6:29create the dat database again on Windows
  182. 6:30you need to press right click to paste
  183. 6:33on this window and sometimes control and
  184. 6:35V doesn't work
  185. 6:37lastly back slash Q to exit all right
  186. 6:40now that we have everything to run Jesse
  187. 6:42go to the installation part and you will
  188. 6:44see the commands for creating a new
  189. 6:46Jesse project but before we create our
  190. 6:48project we need to set up Jesse itself
  191. 6:50which is what we haven't done yet so for
  192. 6:51that we can simply say pip inst install
  193. 6:53Jesse one more time open the CMD all
  194. 6:56right now we are ready to set up our
  195. 6:58cond environment for Jess so that we can
  196. 7:00install j itself and all the required P
  197. 7:02packages so for that I'm going to say
  198. 7:04cond
  199. 7:06create and then I will pass a name and
  200. 7:08it could be anything it could be for
  201. 7:10example Jesse or it could be but and
  202. 7:13next I will pass the python version and
  203. 7:16I will choose 3.12 now we already do
  204. 7:19support python 3.13 however Sometimes
  205. 7:22some packages don't play nice so for
  206. 7:24that reason I think it's best to go with
  207. 7:25version 3.12 for now all right hit enter
  208. 7:30it's asking me to set up these packages
  209. 7:32press yes now one really great thing
  210. 7:34about the condo environments is that
  211. 7:36each and every single one that you
  212. 7:37create is totally separated from the
  213. 7:40others and I know this sounds like the
  214. 7:41regular python environments but in my
  215. 7:44experience cond environments work way
  216. 7:46better and I never experienced any
  217. 7:47issues with them not only that they also
  218. 7:49allow us to have multiple versions of
  219. 7:50python which is really helpful all right
  220. 7:52now that that is over to activate it we
  221. 7:54should run cond activate and then the
  222. 7:57name of the environment which I said but
  223. 8:00now remember you need to do this every
  224. 8:02single time that you open a new CMD tab
  225. 8:04or for example when you restart your
  226. 8:06computer and you want to start JC again
  227. 8:08hit enter all right now if I say pip D-
  228. 8:13version I can see the version it is
  229. 8:15pointing to which firstly it says
  230. 8:17miniconda and also the name of the
  231. 8:20environment is but and here is the
  232. 8:21version of the Python all right now
  233. 8:23first I will say python install scon
  234. 8:27which is a package that we need to have
  235. 8:29for some other packages to be able to
  236. 8:31build all right finally I should be able
  237. 8:33to install Jesse Itself by saying pip
  238. 8:36install Jesse and we're done now to make
  239. 8:40sure Jesse is installed correctly I'm
  240. 8:41going to run Jesse D- version and we can
  241. 8:44see it being installed correctly all
  242. 8:46right now the next step is to create our
  243. 8:48Jesse project which is where our
  244. 8:50strategies and project files will be
  245. 8:52let's clean this now for this next part
  246. 8:54it could be anywhere on your computer
  247. 8:56but I'm going to go to the desktop now
  248. 8:58open the documentation
  249. 8:59now now that we have done this step
  250. 9:01which is to install Jesse itself we're
  251. 9:03ready to create our first Jesse project
  252. 9:06and you can find the commands for that
  253. 9:07here now here's the command to do that
  254. 9:09using git however not every computer
  255. 9:11already has git installed so let's copy
  256. 9:13this paste it here and run it and you
  257. 9:15see it is not recognizing the git
  258. 9:17command because I don't have git
  259. 9:18installed on my machine now you could
  260. 9:20install git which is a very helpful use
  261. 9:22for developers but if you only need it
  262. 9:24for doing this you don't have to you can
  263. 9:26instead go to Jess's GitHub repository
  264. 9:28you can find find the link on our
  265. 9:30documentation from here and go to the
  266. 9:32main organization find the project
  267. 9:34template and here you can download this
  268. 9:36as a zip file so again you can either
  269. 9:38use git by fishing it directly using
  270. 9:41this command or you can download it as a
  271. 9:42zip file now I'm going to download it
  272. 9:44from here let's open it now here's a
  273. 9:46project and I'm going to copy it and go
  274. 9:49to my C drive and paste it here next I'm
  275. 9:51going to rename it into my butt but this
  276. 9:54could be anything that you want all
  277. 9:55right now let's open the CMD
  278. 9:59I'm going to first activate my cond
  279. 10:01environment by saying cond activate but
  280. 10:04and then I need to go inside the project
  281. 10:06for that I'm going to say CD the C
  282. 10:10drive and here I can see the mybot
  283. 10:13project that I made for myself so let's
  284. 10:16go inside it and here are the contents
  285. 10:19of my project all right next I need to
  286. 10:22copy and create that MV file for my
  287. 10:24project we can do that by saying copy.
  288. 10:26env. example and then EnV now I already
  289. 10:30did this before that's why I'm getting
  290. 10:31this error but you shouldn't see
  291. 10:34it all right now we need to edit the
  292. 10:36files inside the project for that we're
  293. 10:38going to need a code editor now the one
  294. 10:39I suggest you install if you don't
  295. 10:41already have one is called vs code which
  296. 10:44is free and open source so just Google
  297. 10:46download V code and you should be good
  298. 10:48to go but I already have it installed so
  299. 10:50I'm going to open it next I need to open
  300. 10:52my project C drive and here's my project
  301. 10:55select folder yes I trust the project
  302. 10:58and here are the of my project now open
  303. 11:00the NV file that we just created and
  304. 11:02here's the thing these values for po SQL
  305. 11:05and redis have been set for usage with
  306. 11:08Docker but we are not using Docker in
  307. 11:10this video so we are installing
  308. 11:11everything natively to get the maximum
  309. 11:13speed so you need to comment this line
  310. 11:16and uncomment this one and also do the
  311. 11:18same for red now by the way whichever
  312. 11:20password we set here is going to be the
  313. 11:22password for the dashboard which we're
  314. 11:24going to open in a second all right so
  315. 11:25open the file by pressing contrl and S
  316. 11:28and now to run Jesse itself all I need
  317. 11:30to do while I'm inside the project again
  318. 11:32if you want to check to see whether you
  319. 11:33are in the project or not just run the
  320. 11:35DI command and I can see the files of my
  321. 11:38project that's how I know I am indeed
  322. 11:40inside it so run the Jesse run command
  323. 11:43but before you do this make sure you are
  324. 11:45indeed inside the cond environment that
  325. 11:48you made for it so for example if I
  326. 11:50create a new one let's say you restarted
  327. 11:52your computer and go to my
  328. 11:58project now now if I run this command
  329. 12:00here I'm going to get J is not
  330. 12:03recognized as internal or external
  331. 12:05command now why is that because if I run
  332. 12:07the P list command you can see that
  333. 12:09Jesse is not installed here because we
  334. 12:11install Jesse inside our Honda
  335. 12:13environment called but so before you do
  336. 12:15that run
  337. 12:16Honda activate butt right now I already
  338. 12:20have that in this Windows press enter at
  339. 12:24the first time you run this it might
  340. 12:26take a while but the other times are
  341. 12:28going to be super fast
  342. 12:29now I have to stop this because I made
  343. 12:31one mistake and that is I accidentally
  344. 12:33closed the Ubuntu which was running red
  345. 12:36so and remember I said you need to keep
  346. 12:37that window open so let's open ubun 2
  347. 12:40again and run red
  348. 12:43server now let's minimize this and here
  349. 12:47I'm going to run justu run one more
  350. 12:50time all right if you see this page
  351. 12:53click on allow and we should be able to
  352. 12:55use yes now now we need to open this URL
  353. 12:57go to your browser and and now we can
  354. 13:00enter 0000 as the message was indicating
  355. 13:03but we can also run Local Host and then
  356. 13:07double colon and then enter the port
  357. 13:10which was 9,000 all right so if you see
  358. 13:12this window everything's working fine
  359. 13:14now remember the password inside the MV
  360. 13:16file it was test so let's enter it here
  361. 13:19and we are in now to make sure
  362. 13:20everything is working fine go to the
  363. 13:22import candles page let's select BTC and
  364. 13:26change this to the beginning of 2025 and
  365. 13:28click on the import button and if you
  366. 13:30see this working then everything's
  367. 13:32working fine now I'm going to press
  368. 13:33cancel all right so everything's working
  369. 13:35great now now I'm going to show you a
  370. 13:36couple of tips all right so firstly how
  371. 13:38should you update your Jess installation
  372. 13:40in the future so to do that now by the
  373. 13:41way you can stop Jessi by pressing
  374. 13:43control and C now to update your J
  375. 13:45installation in the future when I
  376. 13:47release a new version while you are
  377. 13:49inside the correct cond environment and
  378. 13:52again you can ensure that by seeing the
  379. 13:53name of the environment here simply run
  380. 13:55pip in so Jesse but this time to update
  381. 13:59it we need to pass Dash and then
  382. 14:01uppercase U right and then press enter
  383. 14:04now I'm already running the latest
  384. 14:05version so nothing's going to happen but
  385. 14:07here's the thing sometimes I don't know
  386. 14:09why this is an issue with python when I
  387. 14:11run this command it doesn't work the
  388. 14:13first time I mean it shows that
  389. 14:14everything is updated but then when I
  390. 14:17check the version by passing jc--
  391. 14:20version I can see that the version
  392. 14:22hasn't been updated so but when I do it
  393. 14:25again it works fine so just in case when
  394. 14:27you run it check for the version by
  395. 14:29running this command and if it's not
  396. 14:30saying the latest version then just run
  397. 14:32that command one more time all right so
  398. 14:34this was one thing now the other thing I
  399. 14:35want you to know is that inside the NV
  400. 14:38file we also have this value for license
  401. 14:40API token now if you are a premium user
  402. 14:43of JC you need to generate an API token
  403. 14:46from this URL and enter it here and then
  404. 14:49to make sure it works come here and run
  405. 14:52the Jess run command one more time and
  406. 14:54this time by the way notice that it
  407. 14:55started instantly this time and this
  408. 14:57time when you go inside the
  409. 14:59dashboard and give it a refresh when you
  410. 15:01go here instead of seeing the word guest
  411. 15:04you should see premium PL or something
  412. 15:06similar to that if you see it it means
  413. 15:07it's working now another thing I want to
  414. 15:09show you is that if you have an API
  415. 15:12token the one that I just described
  416. 15:14again the one you generate at this URL
  417. 15:16and enter here if you have that and you
  418. 15:18want to install Jess's live trading
  419. 15:21plugin what you need to do is to come to
  420. 15:23this page and run Jesse install life now
  421. 15:29I'm getting this error because my API
  422. 15:31key token value is empty but if you
  423. 15:33integrate there it should go just fine
  424. 15:35all right so there's that but the last
  425. 15:37thing I want to show you is the vs code
  426. 15:39itself so you can find the strategies
  427. 15:41from this folder and by default we have
  428. 15:43one example of strategy so let's Zoom
  429. 15:45this a bit now you can see it is
  430. 15:47recommending to install this extension
  431. 15:49for python I'm going to close it because
  432. 15:51I want to show it myself now you see we
  433. 15:53have everything here but we don't
  434. 15:55exactly have all to complete so for
  435. 15:57instance if I here say ta do which is
  436. 16:01this module for technical indicators in
  437. 16:03Jesse which I have indeed imported here
  438. 16:06I don't see any suggestions to enable
  439. 16:09that go to the extension section of vs
  440. 16:11code and look the word python now this
  441. 16:15first one which has a lot of
  442. 16:17installation and has been released by
  443. 16:18Microsoft is the one that we want just
  444. 16:20click on install all right so if you see
  445. 16:23this window it means that it is
  446. 16:25installed successfully and if I click on
  447. 16:27it I can see the disable button and
  448. 16:29uninstall which means it's working
  449. 16:31there's also this really cool extension
  450. 16:33for python called pyland but if I go
  451. 16:35into it you can see it's already
  452. 16:37installed and that's because this
  453. 16:38package already installed this for me
  454. 16:40but just in case look it up go into it
  455. 16:42and make sure it is also enabled all
  456. 16:44right so if I go back to the strategy
  457. 16:46code now and press dot button one more
  458. 16:49time you can see it's still not working
  459. 16:52but it is giving me an error this time
  460. 16:54right so that's a good sign now why is
  461. 16:56that well here's the thing we have
  462. 16:59multiple cond environments and remember
  463. 17:01each cond environment can have its own
  464. 17:04python version so we need a way to tell
  465. 17:06V code which python to use now to do
  466. 17:09that we can click on this select
  467. 17:11interpreter button and choose the right
  468. 17:14one now I have one called but and one
  469. 17:17called base and this one and but is the
  470. 17:21environment that we made for our project
  471. 17:23so I will select that give it a moment
  472. 17:25and I can see the name of it here and
  473. 17:28now if I remove this press the dot one
  474. 17:31more time I can see a complete list of
  475. 17:33the indicators that we support such as
  476. 17:35the EMA the Ballinger bands or whatever
  477. 17:38and also I can see the parameters that
  478. 17:40are accepted for each function so you
  479. 17:43don't have to have the documentation
  480. 17:45open all the time which is really cool
  481. 17:47all right next it's also a good idea to
  482. 17:48set up some AI tools such as GitHub
  483. 17:52copil it which will help you edit the
  484. 17:54code faster or it will give you
  485. 17:56autocomplete and things like that but
  486. 17:58there are so many options for that out
  487. 18:00there in fact I might make a video just
  488. 18:01about the tools that are out there for
  489. 18:03this purpose all right guys I hope you
  490. 18:05enjoyed this video and it helps you set
  491. 18:06up your own Jesse environment on your
  492. 18:08Windows machine thanks for watching and
  493. 18:10I'll see you in the next one
  494. 18:16[Music]
  495. 18:17[Applause]
  496. 18:19[Music]

About this transcript

This page contains the full transcript of How to set up Jesse on Windows by Algo-trading with Saleh, generated from the public captions YouTube serves with the video. The transcript has 3,721 words across 496 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.