But maybe the forward curve tends to rise over time in contango markets and fall over time in backwardation markets?
import pandas as pd
from pandas_datareader import DataReader as pdr
import yfinance as yf
import matplotlib.pyplot as plt
import seaborn as sns
sns.set_style("whitegrid")
spot = pdr("DCOILWTICO", "fred", start=1990)
uso = yf.download("USO", start=1970, progress=False)["Adj Close"]
spot = spot.reindex(uso.index)
plt.plot(spot)
plt.show()
spot = spot/spot.iloc[0]
uso = uso/uso.iloc[0]
plt.plot(spot, label="Spot")
plt.plot(uso, label="USO")
plt.ylabel("Value per 2006 $")
plt.legend()
plt.show()