You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Install missing modules using `pip install -r requirements.txt`
37
38
38
39
## Usage:
39
40
@@ -47,58 +48,85 @@ Calculations are based on [Mr. Sameer Dharaskar's Course](http://advancesharetra
47
48
48
49
## Note:
49
50
50
-
-If there is an error in fetching dates then try refreshing
51
+
- If there is an error in fetching dates then try refreshing
52
+
53
+
- If you face any issue or have a suggestion then feel free to open an issue.
54
+
55
+
- It is recommended to enable logging and then send the NSE-OCA.log file or the console output for reporting issues
56
+
57
+
- In case of network or connection errors the program doesn't crash and will keep retrying until manually stopped
51
58
52
-
-If you face any issue or have a suggestion then feel free to open an issue.
59
+
-If a ZeroDivisionError occurs or some data doesn't exist the value of the variable will be defaulted to 0
53
60
54
-
-It is recommended to enable logging and then send the nse.log file or the console output for reporting issues
61
+
- All data is retrieved from https://www.nseindia.com/api/option-chain-indices?symbol={index_name}
55
62
56
-
-In case of network or connection errors the program doesn't crash and will keep retrying until manually stopped
63
+
## Dependencies:
57
64
58
-
-If a ZeroDivisionError occurs or some data doesn't exist the value of the variable will be defaulted to 0
65
+
-[auto-py-to-exe](https://pypi.org/project/auto-py-to-exe/) is used for compiling the program to a .exe file
59
66
60
-
-All data is retrieved from https://www.nseindia.com/api/option-chain-indices?symbol={index_name}
67
+
-[numpy](https://pypi.org/project/numpy/) is used for calculations
61
68
62
-
-[tksheet](https://pypi.org/project/tksheet/) is used for the table containing the data
69
+
-[pandas](https://pypi.org/project/pandas/) is used for storing and manipulating the data
63
70
64
-
-[auto-py-to-exe](https://pypi.org/project/auto-py-to-exe/) is used for compiling the program to a .exe file
71
+
-[requests](https://pypi.org/project/requests/) is used for accessing and retrieving data from the NSE website
65
72
66
-
-[stream-to-logger](https://pypi.org/project/streamtologger/) is used for debug logging
73
+
-[stream-to-logger](https://pypi.org/project/streamtologger/) is used for debug logging
74
+
75
+
-[tksheet](https://pypi.org/project/tksheet/) is used for the table containing the data
76
+
77
+
-[win10toast](https://pypi.org/project/win10toast/) is used for Windows Toast notifications
67
78
68
79
## Features:
69
80
70
-
-The program continuously retrieves and refreshes the option chain giving near real-time analysis to the traders
81
+
- The program continuously retrieves and refreshes the option chain giving near real-time analysis to the traders
82
+
83
+
- New data rows are added only if the NSE server updates its time or data (To prevent displaying duplicate data)
84
+
85
+
- Supported Indices :
86
+
* NIFTY
87
+
* BANKNIFTY
88
+
* FINNIFTY
89
+
90
+
- Supports multiple instances with different indices and strike prices selected
91
+
92
+
- Red and Green colour indication for data based on trends
93
+
94
+
- Toast Notifications for notifying when trend changes
71
95
72
-
-New data row is added only if the NSE server updates its time or data (To prevent printing duplicate data)
96
+
- Program title format: `NSE-Option-Chain-Analyzer - {index} - {expiry_date} - {strike_price}`
73
97
74
-
-Supported Indices :
75
-
* NIFTY
76
-
* BANKNIFTY
77
-
* NIFTYIT
98
+
- Stop and Start functionality
78
99
79
-
-Red and Green colour indication for data based on trends
100
+
- You can select all table data using Ctrl+A or select individual cells, rows and columns
80
101
81
-
-Program title format: `NSE-Option-Chain-Analyzer - {index} - {expiry_date} - {strike_price}`
102
+
- Then you can copy it using Ctrl+C or right click menu
82
103
83
-
-Stop and Start functionality
104
+
- You can then paste it in any spreadsheet application (Tested with MS Excel and Google Sheets)
84
105
85
-
-You can select all table data using Ctrl+A or select individual cells, rows and columns
106
+
- Export all data to .csv file
86
107
87
-
-Then you can copy it using Ctrl+C or right click menu
108
+
- Real time exporting data rows to .csv file
88
109
89
-
-You can then paste it in any spreadsheet application (Tested with MS Excel and Google Sheets)
110
+
- Auto stop the program at 3:30pm when the market closes
90
111
91
-
-Export to .csv file option
112
+
- Auto Checking for updates
92
113
93
-
-Debug Logging toggle
114
+
-Debug Logging
94
115
95
-
-About window with version and links for developer GitHub profile, README, license, releases and sources
116
+
- Saves certain settings in a configuration file for subsequent runs. Saved Settings:
117
+
* Selected Index
118
+
* Refresh Interval
119
+
* Live Export
120
+
* Notifications
121
+
* Auto stop at 3:30pm
122
+
* Auto Check for Updates
123
+
* Debug Logging
96
124
97
-
-PEP 8 format
125
+
- Keyboard shortcuts for all options
98
126
99
-
-Object Oriented
127
+
## Data Displayed
100
128
101
-
-Table Data displayed:
129
+
>#### Table Data:
102
130
103
131
Data | Description
104
132
--- | ---
@@ -112,7 +140,7 @@ Put Boundary | Change in Put Open Interest for the given Strike Price. This is u
112
140
Call In The Money(ITM) | This indicates that bullish trend could continue and Value could cross 4 Strike Prices above given Strike Price. It's calculated as the ratio of Put writing and Call writing at the 4th Strike Price above the given Strike price. If the absolute ratio > 1.5 then its bullish sign.
113
141
Put In The Money(ITM) | This indicates that bearish trend could continue and Value could cross 2 Strike Prices below given Strike Price. It's calculated as the ratio of Call writing and Put writing at the 2nd Strike Price below the given Strike price. If the absolute ratio > 1.5 then its bearish sign.
114
142
115
-
-Label Data displayed:
143
+
>#### Label Data:
116
144
117
145
Data | Description
118
146
--- | ---
@@ -128,18 +156,18 @@ Put In The Money(ITM) | This indicates if the Put writers are also exiting far O
0 commit comments