Skip to main content
School of Economics and Finance

Python for Finance, Investing and Trading

The focus of the course is on working with Python to analyse financial markets. The course begins with an introduction to Python and the general syntax of the language. We then move on to (i) working with the data science libraries in Python such as NumPy (for linear algebra) and Pandas (for time series) and (ii) doing visualisations with libraries like Matplotlib and Plotly.

We discuss how to access market data from many different sources in Python, and how to backtest systematic trading strategies in Python with a focus on FX markets. We also talk about how to conduct event studies in Python. We show how we can use Python with Excel and also to create web dashboards. Python code examples are provided in Jupyter Notebooks.

Back to top