[03.00] Programming Environment Setup
In this lesson, we will show the steps of setting up your environment by installing the Julia language version 1.7 and Jupyter.
Installing Julia Language
Julia is a high-level, high-performance language for technical computing that is rapidly gaining popularity in the data science and quantitative finance community. To install Julia 1.7.0, simply head over to the official Julia website, download the appropriate version for your operating system:
https://julialang.org/downloads/oldreleases/#:~:text=v1.7.0%2C%20on%202021%2D11%2D30T19%3A28%3A06Z
Important note: Please ensure that you download version 1.7.0.
After downloading, proceed with the installation. When installing Julia, ensure that you check the option to add Julia to your operating system's path.
Once the installation is complete, verify that your Julia environment is correctly installed by opening a command prompt and typing:
julia
The result must be this screen or very similar:
Next, let's talk about setting up IJulia notebooks, which provide an interactive computational environment for Julia. IJulia notebooks combine the convenience of a traditional notebook interface with the power of Julia's computational capabilities, making it an ideal tool for developing and documenting your ALM models. To install IJulia, simply open Julia (from your OS's menu or from command line) and run the following command:
using Pkg; Pkg.add("IJulia")
The output will looks like this:
Once you have Julia up and running on your machine, you are ready to start building powerful ALM models.
This will install the IJulia package and set up the necessary dependencies for running Julia code in Jupyter notebooks. After everything is installed, be sure to run the two following commands to start Jupyter with Julia:
using IJulia
notebook()
With Julia 1.7 installed and IJulia notebooks set up, you are now equipped to start running our code example notebooks! Be sure to navigate to the folder in which you unzipped our example notebooks and click in one of them. The notebooks should be ready to run!
PS: Below, you can find the Jupyter notebooks intended for use in the example exercises of this module. Please try and run some of the notebooks and report back in the forum bellow if you find any problems.
13 comments