I am trying to create a function that returns a days historical data for a certain symbol in python and have run across an error where whenever I call this function it return to me: My expected output would be one where the candles list is filled with data for that certain stock. Here is my code so far: Answer