National Economics University logo Faculty of Data Science and Artificial Intelligence logo BAI Lab logo

Topic 6

Multivariate Financial Time Series Bundle

Medium +1 Bonus Point
Multivariate Financial Time Series Bundle

Topic 6 โ€“ Multivariate Financial Time Series Bundle

Level: Medium Goal: Model several assets jointly (correlations, VAR, multivariate forecasting).

Dataset

Download Instructions

  1. Open the dataset page above.
  2. Click "Download".
  3. Extract to data/financial/.
  4. Choose some CSVs (indices, FX, commodities).

Data Loading

import pandas as pd
import os
print(os.listdir("data/financial"))
sp500 = pd.read_csv("data/financial/sp500.csv")  # adjust
oil   = pd.read_csv("data/financial/oil.csv")    # adjust
for df_ in (sp500, oil):
df_["Date"] = pd.to_datetime(df_["Date"])
df_.set_index("Date", inplace=True)
df_.sort_index(inplace=True)
merged = sp500[["Close"]].rename(columns={"Close": "SP500"}).join(
oil[["Close"]].rename(columns={"Close": "OIL"}), how="inner"
)

Implementation Steps

1. Data Exploration

2. Exploratory Data Analysis (EDA)

3. Data Preprocessing

4. Correlation Analysis

5. Model Building

6. Model Evaluation

7. Portfolio Analysis (Optional)

Expected Deliverables

  1. EDA Report:
  1. Model Results:
  1. Code:

Tips

Starter Notebook

The starter notebook contains installation instructions and data loading code to help you get started with this topic.

๐Ÿ““ View Starter Notebook on GitHub

Note: You can view the notebook directly on GitHub or download it to run locally in Jupyter.

Getting Started

This topic includes:

Navigate to the Topic/6.Multivariate_Financial/ directory to access all resources.

โ† Back to All Topics