How to set up Jesse on Ubuntu — Transcript
Full transcript
- 0:00hey guys it's Sol in this video I'm
- 0:01going to show you how to set up Jesse on
- 0:03a brand new untu machine now we already
- 0:05supported the docker setup but that
- 0:07won't give you the maximum speed however
- 0:09a setup like this is going to take
- 0:11advantage of the most resources that
- 0:13your machine has which could be really
- 0:14handy when you're doing back test or
- 0:16running an optimization session now it's
- 0:17important to note that if you are going
- 0:19to set up Jesse on a VPS for doing live
- 0:22trading in production then I highly
- 0:24recommend actually going with the docker
- 0:25setup because that one is much easier to
- 0:27maintain and the extra speed that I'm
- 0:29talking about native installation in
- 0:31this video can't really be felt in a
- 0:33live trading session so with that out of
- 0:35the way let's get right into the video
- 0:36all right first we're going to have to
- 0:37install python itself however instead of
- 0:39installing python directly I'm going to
- 0:41use this tool called miniconda which is
- 0:43really great for doing research because
- 0:45it gives us isolated environments which
- 0:47are similar to python environments but
- 0:49way better and more isolated it also
- 0:51allows us to select the python version
- 0:53that you want to use which is really
- 0:54handy because let's say you want to use
- 0:56one python version for Jesse and another
- 0:58library that you want to use I simply
- 0:59Google will download minondo so let's
- 1:01open it all right go to this URL skip
- 1:04registration now this one is for
- 1:06Anaconda which will give us some
- 1:08graphical user interface which isn't
- 1:10what I need so I will scroll down to get
- 1:12to the miniconda installer now from here
- 1:14you need to choose the correct installer
- 1:16for your machine now most of you guys
- 1:18are running an x86 machine so you need
- 1:20to download this one but in my case I
- 1:22had to download the arm version because
- 1:24I'm running my auntu through the
- 1:26virtualization on a Mac machine it's
- 1:28also important to note that if you're
- 1:30machine is arm at the moment of
- 1:31recording this video you can set up
- 1:33Jessi on it at least for doing research
- 1:35but we don't officially support it so if
- 1:37you are getting a machine or if you are
- 1:39setting up a server or whatever I highly
- 1:41recommend going with the x86 version now
- 1:43I already downloaded it so I'm just
- 1:45going to CD into the directory that I
- 1:47have it so firstly open a terminal all
- 1:49right so I'm going to run CD and then
- 1:51PWD cuz I want to see where I am all
- 1:54right the ls right now C into the
- 1:58downloads folder
- 2:01and there is the file that I downloaded
- 2:04now to run this I'm going to Simply say
- 2:07bash and then
- 2:10miniconda let's press
- 2:13enter let's scroll
- 2:23down WR
- 2:25yes it says press enter to confirm the
- 2:27location
- 2:32all right so I'm getting this error
- 2:33because I ran this before so it says I
- 2:35need to add the dasu option to
- 2:48update all
- 2:50right all right so now it's it's asking
- 2:53me if I want to update my shell profile
- 2:56to automatically initial cond and I do
- 2:58want that so I'm going to write yes all
- 2:59right just to be sure let's open a new
- 3:01terminal Tab and I'm going to run the
- 3:03cond command here and it still
- 3:05recognizes it which is a good sign now
- 3:07we need to create our very first
- 3:09environment for Jesse to do that I'm
- 3:11going to say cond create D- name and I'm
- 3:14going to give it a name such as Jesse
- 3:17this could be anything by the way and
- 3:18then I'm going to pass the python
- 3:20version to be
- 3:232.12 all right so it's asking for
- 3:25confirmation press
- 3:27enter now we're going to have to wait to
- 3:29download the python version that we
- 3:30asked for all right we're done now to
- 3:32activate our environment all we need to
- 3:34do is to say cond activate Jess now
- 3:38before I press enter notice that in here
- 3:40it's saying base but after I press enter
- 3:44it says Jesse and that's how I know that
- 3:46my environment have been activated and
- 3:48if I run let's say pip D-
- 3:52version I can see the name of the
- 3:55environment which is Jesse all right now
- 3:57that we have python we can install Jesse
- 3:59itself all right so so to install Jesse
- 4:00itself all I need to say is PIP
- 4:04install
- 4:08Jessie all right now Jessi itself is
- 4:11installed and we can even go and create
- 4:13the J Project so for that I'm going to
- 4:15go to my home directory and let's see
- 4:18what I have here okay and to create a
- 4:21Jess project I need to fetch it from
- 4:23GitHub so let's open our documentation
- 4:30and go to the installation page to
- 4:32create a new Jess project I'm going to
- 4:34copy this line here open my terminal and
- 4:37paste the command
- 4:39here now this will fetch a project and
- 4:42name it my bot and you could rename this
- 4:44to whatever you want by the way now I'm
- 4:46going to go into my
- 4:49bot all right next I will create an
- 4:52environment file by copying it from the
- 4:55example file so I'm going to say cp.
- 4:58example and then MV all right now let's
- 5:01open the project file now to do that
- 5:03you're going to need a code editor I
- 5:04already downloaded vs code which is
- 5:07completely free and open source and
- 5:09really good option for this all right so
- 5:11I'm going to go to Open folder and I
- 5:14will select my project and press
- 5:17open I will say yes I trust this project
- 5:21and here's the file now here you can see
- 5:23that we need a post scale database and
- 5:26also ready for a caching database so we
- 5:28also need to install these two for that
- 5:30I'm going to go back to our
- 5:31documentation I will go to the
- 5:33environment setup
- 5:35Ubuntu I will scroll down to come to the
- 5:39post SQL now let's copy this line open
- 5:43the terminal and paste it
- 5:45here this is asking for my password I
- 5:48will give it we'll say
- 5:52yes all right that is done now I need to
- 5:55copy these commands in order to create a
- 5:58database for JC and a user and assign
- 6:01that user to that table all right next I
- 6:03need to copy these lines one by one and
- 6:05paste it into the terminal to generate
- 6:07my first database table user and assign
- 6:10that user to that table now I'm going to
- 6:11Speed the video so that it won't Bor
- 6:14you all right now the database is ready
- 6:17and we can move on to install R so let's
- 6:19copy this
- 6:21command and paste it here sudo app get
- 6:24install ready
- 6:26server say yes
- 6:30all right now we don't need to generate
- 6:31like a table for radi and all the
- 6:33default values are fine all right so now
- 6:35we're ready to run Jesse but before I do
- 6:37that I will go to the visual studio code
- 6:40and you see this value here by as it
- 6:43says in the comment by default this is
- 6:45set to work with the docker installation
- 6:47but we are running things natively so I
- 6:49need to comment this line and comment
- 6:52out this other line which sets the post
- 6:54host into Local Host and I also need to
- 6:58do the same for red now by the way if
- 7:00you own a premium account and you want
- 7:02to log in so that the premium features
- 7:04would show up you also need to generate
- 7:06an API key from this address on our
- 7:08website and paste that value here also
- 7:11the password that you set here is the
- 7:13one used inside the dashboard so that's
- 7:14also important we can change the default
- 7:17Port if you need to but I'm not going to
- 7:19all right so let's go to the terminal
- 7:21and while I'm inside my Jess project so
- 7:24see this is the directory of my Jess
- 7:27project and these are the files inside
- 7:29it so while I'm here and while this cond
- 7:32environment is selected so this is also
- 7:35really important so if you don't see the
- 7:36name of the environment here you need to
- 7:39activate it again by running cond
- 7:41activate and then the name of the
- 7:43environment which in our case was Jesse
- 7:45but I don't need to do that because it
- 7:46is already activated while this is the
- 7:48case simply run Jesse
- 7:51run and that's it now we need to open
- 7:54this address in order to open the
- 7:56dashboard so let's go to the browser and
- 7:58say local
- 8:00host 9,000 it's asking for a password
- 8:03which as I mentioned by default is
- 8:06test all right we're in now let's go to
- 8:09the import candles page increase this
- 8:12and see if it can import successfully
- 8:15and there we go it
- 8:17can all right so we're done now but I'm
- 8:20going to show you one more tip which
- 8:22will be really helpful when you're doing
- 8:24research so in the vs code if I go to
- 8:27the strategies folder and open an
- 8:30example strategy and try to write my
- 8:33first code let's say ta dot you will see
- 8:36I don't get autocomplete here because my
- 8:39code editor doesn't know about my python
- 8:41installation or Jess installation and I
- 8:44want that now the vs code itself is
- 8:45actually recommending to me to install
- 8:47the python extension and that's what we
- 8:49need but in case you don't see this
- 8:51that's fine just simply go to the
- 8:53extensions here and search the word
- 8:55python all right so this first one which
- 8:57is published by Microsoft is the one we
- 8:59want click
- 9:00install all right now that it is done if
- 9:03I go back to my strategy again and and
- 9:05remove this and press the dot one more
- 9:07time still I don't get anything now this
- 9:10time though the reason is yes the vs
- 9:12code does recognize python now but it
- 9:14doesn't recognize the cond environment
- 9:16that we installed Jesse package in it so
- 9:19for that we need to go to
- 9:22here and select the Jesse environment
- 9:26all right now if I remove this one more
- 9:28time and press the dot button I can see
- 9:30the complete list of the indicators that
- 9:32Jesse offers so for example I can just
- 9:35select Ballinger bands not only that if
- 9:38I write a parenthesis you can see I will
- 9:41get the accepted parameters of this
- 9:44function which is really helpful because
- 9:45I don't have to open the documentation
- 9:47all the time to see which parameters
- 9:49this function accepts all right that's
- 9:50it now of course you could install all
- 9:52types of plugins on your vs code which
- 9:54will make things easier for example I
- 9:56really recommend installing GitHub
- 9:59co-pilot which at this point offers even
- 10:01a generous free plan and it could make
- 10:03your research posessions much faster all
- 10:06right that's it guys I hope you guys
- 10:07enjoyed this video thanks for watching
- 10:09and I'll see you in the next one
- 10:17[Music]
About this transcript
This page contains the full transcript of How to set up Jesse on Ubuntu by Algo-trading with Saleh, generated from the public captions YouTube serves with the video. The transcript has 1,857 words across 258 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.