Error in fetching WHIRLPOOL21DECFUT historical data in Python.

Kamal C. shared this idea 2 years ago
Under Consideration

If I use, it works fine.

td_app.get_historic_data("WHIRLPOOL21DECFUT", duration='37 D', bar_size=barsize)
But If I use, I get this error:

td_app.get_historic_data("WHIRLPOOL21DECFUT", duration='38 D', bar_size=barsize)
Error:

ValueError: invalid literal for int() with base 10: ''

What should I do? I just want to get historical data from the start date.

Leave a Comment
 
Attach a file