This repository holds the example notebooks referenced from the CHEME 5660 textbook. In addition, the notebooks used in the lab section are also available here.
The example notebooks used in lecture, and referenced from the book, are written using the Pluto notebook package and use the Julia programming language.
Julia is open source, free and runs on all major operating systems and platforms. To install Julia and Pluto please check out the tutorial for MIT 18.S191/6.S083/22.S092 course from Fall 2020.
- Install Julia (we are using v1.8, but future versions of Julia should also work)
- Install Pluto.jl
- Clone this repo:
git clone https://github.com/varnerlab/CHEME-5660-Markets-Mayhem-Example-Notebooks
- From the Julia REPL (
julia
), run Pluto (a web browser window will pop-up):Or you can simply type the following in a terminal:julia> using Pluto julia> Pluto.run()
julia -E "using Pluto; Pluto.run()"
- From Pluto, open one of the
.jl
notebook files located in theCHEME-5660-Markets-Mayhem-Example-Notebooks/pluto-notebooks/
directory—enjoy!
The labs are provided as Jupyter notebooks; you can find the installation instruction for installing Jupyter here. For the labs, we use Julia as our Jupyter notebook kernel; this requires the installation of the IJulia package.
To install IJulia from the Julia REPL press the ]
key to enter pkg mode and the issue the command:
add IJulia
This will install the IJulia package. If you already have Python/Jupyter installed on your machine, this process will also install a
kernel specification
that tells Jupyter how to launch Julia so we can use it in the notebook. You can then launch the Jupyter notebook server the usual
way by running jupyter notebook
in the terminal.
This content is offered solely for training and informational purposes. No offer or solicitation to buy or sell securities or derivative products, or any investment or trading advice or strategy, is made, given, or endorsed by the teaching team.
Trading involves risk. Carefully review your financial situation before investing in securities, futures contracts, options, or commodity interests. Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. Trading is generally inappropriate for someone with limited resources, investment or trading experience, or a low-risk tolerance. Only risk capital that is not required for living expenses.
You are fully responsible for any investment or trading decisions you make. Such decisions should be based solely on your evaluation of your financial circumstances, investment or trading objectives, risk tolerance, and liquidity needs.