Skip to content

Commit

Permalink
Merge pull request #34
Browse files Browse the repository at this point in the history
Fixed errors with tksheet versions 5.0.29+
  • Loading branch information
VarunS2002 committed Mar 11, 2022
2 parents 59ecd7b + 4a86540 commit bbdad16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions NSE_Option_Chain_Analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# noinspection PyAttributeOutsideInit
class Nse:
version: str = '5.3'
beta: Tuple[bool, int] = (False, 0)
beta: Tuple[bool, int] = (True, 1)

def __init__(self, window: Tk) -> None:
self.intervals: List[int] = [1, 2, 3, 5, 10, 15]
Expand Down Expand Up @@ -1314,7 +1314,7 @@ def set_itm_labels(call_change: float, put_change: float) -> str:
self.put_sum, self.difference,
self.call_boundary, self.put_boundary, self.call_itm,
self.put_itm]
self.sheet.insert_row(values=output_values)
self.sheet.insert_row(values=output_values, add_columns=True)
if self.live_export:
self.export_row(output_values)

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ beautifulsoup4>=4.9.3
pandas>=1.2.4
requests>=2.24.0
streamtologger>=2017.1
tksheet==5.0.24
tksheet>=5.0.24
win10toast>=0.9; platform_system == "Windows" and platform_release == "10"

0 comments on commit bbdad16

Please sign in to comment.