Get historical data not accepting parameters start_time and end_time
Not a Problem
The function get historical data gives the error : "Unexpected Additional Parameter"
Code is as follows:
Hist= td_obj.get_historic_data("symbol", bars= "5 mins", start_time= datetime(2020, 8, 2, 9, 30,0), end_time=datetime(2020,8,2,15,30,0)
Pls give a solution for the above error, I have sent this error earlier also and asked the question......the solution provided by the support team did not work.
Pls give a working solution asap
In the code, you have written the error is in the "symbol".
Here, the "symbol", is no more a variable but you are asking for the data of a stock whose name is 'symbol'.
I am guessing removing the quotes on either side of the symbol should solve it for you.
Here are the other options to call historic data:-
In the code, you have written the error is in the "symbol".
Here, the "symbol", is no more a variable but you are asking for the data of a stock whose name is 'symbol'.
I am guessing removing the quotes on either side of the symbol should solve it for you.
Here are the other options to call historic data:-
Replies have been locked on this page!