Fecthing historical data for multiple stocks

rajtk
How to get the historical data for multiple stocks using a loop ? It is able to fetch for 1 stock but , when I try to fetch the same using a loop it says KeyError: 'access_token'.
Can you please help here ? I have also induced a sleep(5) , still no go.
Tagged:
This discussion has been closed.