for the given code getting this error
DataFrame constructor not properly called!
Traceback (most recent call last):
please help me regrading this issue.
Code:
tsl = Tradehull(client_code,token_id) # tradehull_support_library
available_balance = tsl.get_balance()
max_risk_for_the_day = (available_balance1)/100-1
print(“available_balance”, available_balance)
print(“max_risk_for_the_day”, max_risk_for_the_day)
while True:
previous_hist_data = tsl.get_historical_data(‘ACC’,‘NSE’,5)
time.sleep(60)

