This repository contains coursework for the Machine Learning for Finance class, part of the Masterโs in Data Science at the Barcelona School of Economics.
๐ฅ Collaborators:
- Lucia Sauer โ Economist & Data Scientist
- Julian Romero โ Economist & Data Scientist
We explore the intersection of machine learning and finance through hands-on projects involving forecasting, algorithmic trading, portfolio optimization, and option pricing.
- ๐ฆ Financial market instruments and data exploration
- ๐ Financial time series modeling: ARMA, GARCH, etc.
- ๐ง Neural Networks (MLP, RNN, LSTM) and Gaussian Processes
- ๐ฐ Sentiment analysis & algorithmic trading
- ๐ผ Portfolio optimization with ML & heuristics
- โ๏ธ Risk modeling with alternative data
- ๐งฎ Option pricing: Black-Scholes, binomial models, ML-based methods
- ๐ค Reinforcement learning for financial applications
We use uv for lightweight, fast dependency management and environment setup. Make sure you have it installed in your computer following the official documentation.
uv syncโโโ hw1/
โ โโโ data/ # Raw and converted datasets
โ โโโ notebooks/ # Folder with notebooks and ouputs
โ โ โโโ tables/ # Folder with .tex table outputs
โ โ โโโ data_converter_rds_csv.R # Script to convert .RDS to .csv
โ โ โโโ part_1_2.ipynb # Notebook with Ex. 1 and 2
โ โ โโโ part_3_4.ipynb # Notebook with Ex. 3 and 4
โ โโโ HW1_Arratia25bse.pdf # Homework 1 assignment
โ โโโ ml4finance_hw1.pdf # Homework 1 final report
โโโ .gitignore # Files ignored in the repository
โโโ .python-version # Python version for environment
โโโ pyproject.toml # uv project metadata and dependencies
โโโ README.md
โโโ uv.lock # uv dependencies versions
This is an academic project โ models and strategies are for learning purposes only and not financial advice.