So I am new to quantconnect and python and have been going through some samples to load historical data. I am running into issue while reading the time column from dataframe. Here is my code
df = qb.History(5)
print df
print df["close"] # This works
print df["time] # This does not work
Based on the output from printing the df it seems 'symbol' and 'time' column are not on the first line but second while the rest of the columns close, high, low, open, volume are on first line. How can I resolve this issue?
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!