import pandas as pd
import os

input_filename = 'data/raw/ohlcv.csv'
output_filename = 'data/interim/ohlcv_with_header.csv'

header = ['timestamp', 'open', 'high', 'low', 'close', 'volume']
df = pd.read_csv(input_filename, engine='python', names=header)

df.to_csv(output_filename, encoding='utf-8', header=True, index=False)
