VarunS2002 / Python-NSE-Option-Chain-Analyzer

The NSE has a website which displays the option chain in near real-time. This program retrieves this data from the NSE site and then generates useful analysis of the Option Chain for the specified Index or Stock. It also continuously refreshes the Option Chain and visually displays the trend in various indicators useful for Technical Analysis.
GNU General Public License v3.0
390 stars 205 forks source link

Getting error #33

Closed amit-lalakiya closed 2 years ago

amit-lalakiya commented 2 years ago

Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\amit\AppData\Local\Programs\Python\Python39\lib\tkinter__init.py", line 1892, in call return self.func(*args) File "C:\Users\amit\AppData\Local\Programs\Python\Python39\lib\tkinter\init__.py", line 814, in callit func(*args) File "D:\Market\Python\ExcelTrading\OC_Analyzer_VarunS2002.py", line 1571, in main self.set_values() File "D:\Market\Python\ExcelTrading\OC_Analyzer_VarunS2002.py", line 1397, in set_values self.sheet.see(last_row) File "C:\Users\amit\venv\python39\lib\site-packages\tksheet_tksheet.py", line 1137, in see self.MT.see(row, column, keep_yscroll, keep_xscroll, bottom_right_corner, check_cell_visibility = check_cell_visibility, redraw = redraw) File "C:\Users\amit\venv\python39\lib\site-packages\tksheet_tksheet_main_table.py", line 1050, in see yvis, xvis = self.cell_is_completely_visible(r = r, c = c, separate_axes = True) File "C:\Users\amit\venv\python39\lib\site-packages\tksheet_tksheet_main_table.py", line 1106, in cell_is_completely_visible x1, y1, x2, y2 = self.GetCellCoords(r = r, c = c, sel = True) File "C:\Users\amit\venv\python39\lib\site-packages\tksheet_tksheet_main_table.py", line 2509, in GetCellCoords return self.col_positions[c] + 1,self.row_positions[r] + 1, self.col_positions[c + 1], self.row_positions[r + 1] IndexError: list index out of range

VarunS2002 commented 2 years ago

Most likely a duplicate of #25. Re-open issue if not.

amit-lalakiya commented 2 years ago

Your suggested fix worked. Now it is working as intended. I should have looked for the error reports before raising a new one. Thanks for making such an amazing tool.

VarunS2002 commented 2 years ago

@amit-lalakiya No issues. Thanks!