Import libraries
We start with importing standard libraries. pathlib
has been commented out. If you wish to save CSV files somewhere on your computer or a server, you can use libraries such as pathlib
or os
.
# Appendix
# Data manipulation
import pandas as pd
import numpy as np
from scipy.signal import *
# import pathlib
# Data download
import yfinance as yf
# Data visualisation
%matplotlib inline
import matplotlib.pyplot as plt
This was, of course, profoundly Earth shattering—we will use the ensuing momentary lapse of reason to swiftly proceed to the next step.