"C:\Program Files\Python310\python.exe" C:\Users\amitb\Desktop\Python\dump.py
Codebase Version 2.8 : Solved - Strike Selection Issue
2025-02-19 15:13:02,944 - INFO - Now logging to Dhan Account.
2025-02-19 15:13:02,945 - INFO - Dhan.py started system
2025-02-19 15:13:02,945 - INFO - STARTED THE PROGRAM
-----Logged into Dhan-----
reading existing file all_instrument 2025-02-19.csv
Got the instrument file
2025-02-19 15:13:03,116 - ERROR - Error at getting start date as single positional indexer is out-of-bounds
Traceback (most recent call last):
File "C:\Users\amitb\Desktop\Python\Dhan_Tradehull_V2.py", line 431, in get_start_date
security_id = instrument_df[((instrument_df['SEM_TRADING_SYMBOL']==tradingsymbol)|(instrument_df['SEM_CUSTOM_SYMBOL']==tradingsymbol))&(instrument_df['SEM_EXM_EXCH_ID']==instrument_exchange[exchange])].iloc[-1]['SEM_SMST_SECURITY_ID']
File "C:\Users\amitb\AppData\Roaming\Python\Python310\site-packages\pandas\core\indexing.py", line 1191, in __getitem__
return self._getitem_axis(maybe_callable, axis=axis)
File "C:\Users\amitb\AppData\Roaming\Python\Python310\site-packages\pandas\core\indexing.py", line 1752, in _getitem_axis
self._validate_integer(key, axis)
File "C:\Users\amitb\AppData\Roaming\Python\Python310\site-packages\pandas\core\indexing.py", line 1685, in _validate_integer
raise IndexError("single positional indexer is out-of-bounds")
IndexError: single positional indexer is out-of-bounds
2025-02-19 15:13:03,121 - INFO - Successfully logged in to Dhan Account.
Exception in Getting OHLC data as Check the Tradingsymbol or Exchange
chart is
None
2025-02-19 15:13:03,138 - ERROR - Exception in Getting OHLC data as Check the Tradingsymbol or Exchange
Traceback (most recent call last):
File "C:\Users\amitb\Desktop\Python\Dhan_Tradehull_V2.py", line 476, in get_historical_data
raise Exception("Check the Tradingsymbol or Exchange")
Exception: Check the Tradingsymbol or Exchange
Process finished with exit code 0
Very Good Morning.
Thank you very much for Imran Ali Sir & Other related Support team in intiating to Provide the Advaced Algo Series. We request you to kindly provide the Support Sublime Text Files along with Each of these Series Videos sir.
Thanka a Lot.
VBR Prasad
Hi @Tradehull_Imran,
Thanks for starting the Algo series 2.
One request - Is it possible to add “CE LTP change” and “PE LTP Change” also in the get_option_chain function?
Thanks