Traceback (most recent call last):
File “/Users/parveenchugh/python/Dhan_Tradehull.py”, line 222, in get_historical_data
df = pd.DataFrame(ohlc[‘data’])
File “/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pandas/core/frame.py”, line 887, in init
raise ValueError(“DataFrame constructor not properly called!”)
ValueError: DataFrame constructor not properly called!
How did you resolve this Issue?
I am facing the same
Hi @Nikhil_Shenoy @parveen_chugh
As of now there are no issues in historical data
do use the latest codebase : Dhan_Tradehull_V2.py - Google Drive
Also, do post all queries on this thread: Learn Algo Trading with Python | Codes | Youtube Series
This helps me keep track of questions and ensures other traders benefit as well, as they might be facing similar issues.