Microsoft Windows [Version 10.0.22631.4751]
(c) Microsoft Corporation. All rights reserved.
E:\masterclass 1 to 9\6. Session6- 1st Live Algo\6. Session6- 1st Live Algo\1st live Algo>py “Dhan_codebase usage.py”
-----Logged into Dhan-----
reading existing file all_instrument 2025-03-08.csv
Got the instrument file
MOTHERSON
intraday_minute_data() missing 2 required positional arguments: ‘from_date’ and ‘to_date’
Traceback (most recent call last):
File “E:\masterclass 1 to 9\6. Session6- 1st Live Algo\6. Session6- 1st Live Algo\1st live Algo\Dhan_Tradehull.py”, line 253, in get_intraday_data
ohlc = self.Dhan.intraday_minute_data(str(security_id),exchangeSegment,instrument_type)
TypeError: intraday_minute_data() missing 2 required positional arguments: ‘from_date’ and ‘to_date’
Traceback (most recent call last):
File “Dhan_codebase usage.py”, line 28, in
chart[‘rsi’] = talib.RSI(chart[‘close’], timeperiod=14) #pandas
TypeError: ‘NoneType’ object is not subscriptable
E:\masterclass 1 to 9\6. Session6- 1st Live Algo\6. Session6- 1st Live Algo\1st live Algo>
eror while running file @Tradehull_Imran