qb = QuantBook()

vix = qb.AddIndex('VIX').Symbol

plot_symbol = vix

for sym in qb.Securities.Keys:

if sym == plot_symbol:

plot_data = data.loc[plot_symbol]['close']

print(sym, plot_symbol, plot_data)

plot_data.plot()