Skip to content

Commit e3b7d19

Browse files
committed
Release Version 5.0
- Updated Documentation for 5.0 - Updated Changelog for 5.0
1 parent 58f5884 commit e3b7d19

File tree

3 files changed

+187
-20
lines changed

3 files changed

+187
-20
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
<br>
44

5+
># [5.0](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/tag/5.0)
6+
## Major Feature Update
7+
- Added Support for Stocks (Total 141 Stocks). Issue: [#8](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/8)
8+
- Set Index Mode or Stock Mode then select your preferred Index or Stock
9+
- Values are in 10s in Stock mode and 1000s in Index mode (to compensate for low values of stocks)
10+
- Symbol of the Stock is present in the names of the .csv files
11+
- Appropriate Units are reflected in the headers of .csv files
12+
- Added Saving New settings for subsequent runs
13+
- New Saved settings:
14+
* Index/Stock Mode
15+
* Selected Stock
16+
- Fixed possible issues while reading configuration
17+
- Optimised retrieving data from the API
18+
19+
<br>
20+
521
># [4.1](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/tag/4.1)
622
## Feature and Bug Fix Update
723
- Added Dumping Entire Option Chain data to a .csv file. Issues: [#3](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/3) and [#4](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/4)

NSE_Option_Chain_Analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
# noinspection PyAttributeOutsideInit
2222
class Nse:
23-
version: str = '4.1'
23+
version: str = '5.0'
2424

2525
def __init__(self, window: Tk) -> None:
2626
self.intervals: List[int] = [1, 2, 3, 5, 10, 15]

README.md

Lines changed: 170 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Python NSE-Option-Chain-Analyzer
22

33
## [Downloads](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases)
4-
[![Latest: v4.1](https://img.shields.io/badge/release-v4.1-brightgreen)](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/download/4.1/NSE_Option_Chain_Analyzer_4.1.exe)
4+
[![Latest: v5.0](https://img.shields.io/badge/release-v5.0-brightgreen)](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/download/5.0/NSE_Option_Chain_Analyzer_5.0.exe)
55
![Download-Count](https://img.shields.io/github/downloads/VarunS2002/Python-NSE-Option-Chain-Analyzer/total?color=blue)
66
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
77

88
For doing technical analysis for option traders, the Option Chain is the most important tool for deciding entry and exit strategies.
9-
The National Stock Exchange (NSE) has a website which displays the option chain for traders in near real-time. This program scrapes this data from the NSE site and then generates useful analysis of the Option Chain for the specified Security or Index from the NSE website.
9+
The National Stock Exchange (NSE) has a website which displays the option chain for traders 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 from the NSE website.
1010
It also continuously refreshes the Option Chain and visually displays the trend in various indicators and useful for Technical Analysis.
1111
Calculations are based on [Mr. Sameer Dharaskar's Course](http://advancesharetrading.com/).
1212

@@ -38,13 +38,17 @@ Calculations are based on [Mr. Sameer Dharaskar's Course](http://advancesharetra
3838

3939
## Usage:
4040

41-
1. Select your Index or Security option and it's Expiry Date
41+
1. Set Index Mode or Stock Mode
4242

43-
2. Enter your preferred Strike Price
43+
2. Select your Index or Stock
44+
45+
3. Select it's Expiry Date
4446

45-
3. Enter the interval you want the program to refresh (Optional : Defaults to 1 minute)
47+
4. Enter your preferred Strike Price
4648

47-
4. Click Start
49+
5. Set the interval you want the program to refresh (Optional : Defaults to 1 minute)
50+
51+
6. Click Start
4852

4953
## Note:
5054

@@ -58,8 +62,6 @@ Calculations are based on [Mr. Sameer Dharaskar's Course](http://advancesharetra
5862

5963
- If a ZeroDivisionError occurs or some data doesn't exist the value of the variable will be defaulted to 0
6064

61-
- All data is retrieved from https://www.nseindia.com/api/option-chain-indices?symbol={index_name}
62-
6365
## Dependencies:
6466

6567
- [auto-py-to-exe](https://pypi.org/project/auto-py-to-exe/) is used for compiling the program to a .exe file
@@ -87,7 +89,150 @@ Calculations are based on [Mr. Sameer Dharaskar's Course](http://advancesharetra
8789
* BANKNIFTY
8890
* FINNIFTY
8991

90-
- Supports multiple instances with different indices and strike prices selected
92+
- Supported Stocks :
93+
* AARTIIND
94+
* ACC
95+
* ADANIENT
96+
* ADANIPORTS
97+
* AMARAJABAT
98+
* AMBUJACEM
99+
* APOLLOHOSP
100+
* APOLLOTYRE
101+
* ASHOKLEY
102+
* ASIANPAINT
103+
* AUROPHARMA
104+
* AXISBANK
105+
* BAJAJ-AUTO
106+
* BAJAJFINSV
107+
* BAJFINANCE
108+
* BALKRISIND
109+
* BANDHANBNK
110+
* BANKBARODA
111+
* BATAINDIA
112+
* BEL
113+
* BERGEPAINT
114+
* BHARATFORG
115+
* BHARTIARTL
116+
* BHEL
117+
* BIOCON
118+
* BOSCHLTD
119+
* BPCL
120+
* BRITANNIA
121+
* CADILAHC
122+
* CANBK
123+
* CHOLAFIN
124+
* CIPLA
125+
* COALINDIA
126+
* COFORGE
127+
* COLPAL
128+
* CONCOR
129+
* CUMMINSIND
130+
* DABUR
131+
* DIVISLAB
132+
* DLF
133+
* DRREDDY
134+
* EICHERMOT
135+
* ESCORTS
136+
* EXIDEIND
137+
* FEDERALBNK
138+
* GAIL
139+
* GLENMARK
140+
* GMRINFRA
141+
* GODREJCP
142+
* GODREJPROP
143+
* GRASIM
144+
* HAVELLS
145+
* HCLTECH
146+
* HDFC
147+
* HDFCAMC
148+
* HDFCBANK
149+
* HDFCLIFE
150+
* HEROMOTOCO
151+
* HINDALCO
152+
* HINDPETRO
153+
* HINDUNILVR
154+
* IBULHSGFIN
155+
* ICICIBANK
156+
* ICICIGI
157+
* ICICIPRULI
158+
* IDEA
159+
* IDFCFIRSTB
160+
* IGL
161+
* INDIGO
162+
* INDUSINDBK
163+
* INDUSTOWER
164+
* INFRATEL
165+
* INFY
166+
* IOC
167+
* ITC
168+
* JINDALSTEL
169+
* JSWSTEEL
170+
* JUBLFOOD
171+
* KOTAKBANK
172+
* L&TFH
173+
* LALPATHLAB
174+
* LICHSGFIN
175+
* LT
176+
* LUPIN
177+
* M&M
178+
* M&MFIN
179+
* MANAPPURAM
180+
* MARICO
181+
* MARUTI
182+
* MCDOWELL-N
183+
* MFSL
184+
* MGL
185+
* MINDTREE
186+
* MOTHERSUMI
187+
* MRF
188+
* MUTHOOTFIN
189+
* NATIONALUM
190+
* NAUKRI
191+
* NESTLEIND
192+
* NMDC
193+
* NTPC
194+
* ONGC
195+
* PAGEIND
196+
* PEL
197+
* PETRONET
198+
* PFC
199+
* PIDILITIND
200+
* PNB
201+
* POWERGRID
202+
* PVR
203+
* RAMCOCEM
204+
* RBLBANK
205+
* RECLTD
206+
* RELIANCE
207+
* SAIL
208+
* SBILIFE
209+
* SBIN
210+
* SHREECEM
211+
* SIEMENS
212+
* SRF
213+
* SRTRANSFIN
214+
* SUNPHARMA
215+
* SUNTV
216+
* TATACHEM
217+
* TATACONSUM
218+
* TATAMOTORS
219+
* TATAPOWER
220+
* TATASTEEL
221+
* TCS
222+
* TECHM
223+
* TITAN
224+
* TORNTPHARM
225+
* TORNTPOWER
226+
* TVSMOTOR
227+
* UBL
228+
* ULTRACEMCO
229+
* UPL
230+
* VEDL
231+
* VOLTAS
232+
* WIPRO
233+
* ZEEL
234+
235+
- Supports multiple instances with different indices/stocks and/or strike prices selected
91236

92237
- Red and Green colour indication for data based on trends
93238

@@ -100,7 +245,7 @@ Calculations are based on [Mr. Sameer Dharaskar's Course](http://advancesharetra
100245
* Call ITM: Yes/No
101246
* Put ITM: Yes/No
102247

103-
- Program title format: `NSE-Option-Chain-Analyzer - {index} - {expiry_date} - {strike_price}`
248+
- Program title format: `NSE-Option-Chain-Analyzer - {index/stock} - {expiry_date} - {strike_price}`
104249

105250
- Stop and Start manually
106251

@@ -123,7 +268,9 @@ Calculations are based on [Mr. Sameer Dharaskar's Course](http://advancesharetra
123268
- Debug Logging
124269

125270
- Saves certain settings in a configuration file for subsequent runs. Saved Settings:
271+
* Index/Stock Mode
126272
* Selected Index
273+
* Selected Stock
127274
* Refresh Interval
128275
* Live Export
129276
* Notifications
@@ -142,20 +289,20 @@ Data | Description
142289
--- | ---
143290
Server Time | *Web Scraped*. Indicates last data update time by NSE server
144291
Value | *Web Scraped*. Underlying Instrument Value indicates the value of the underlying Security or Index
145-
Call Sum | Calculated. Sum of the Changes in Call Open Interest contracts of the given Strike Price and the next immediate two Strike Prices (In Thousands)
146-
Put Sum | Calculated. Sum of the Change in Put Open Interest contracts of the given Strike Price and the next two Strike Prices (In Thousands)
292+
Call Sum | Calculated. Sum of the Changes in Call Open Interest contracts of the given Strike Price and the next immediate two Strike Prices (In Thousands for Index Mode and Tens for Stock Mode)
293+
Put Sum | Calculated. Sum of the Change in Put Open Interest contracts of the given Strike Price and the next two Strike Prices (In Thousands for Index Mode and Tens for Stock Mode)
147294
Difference | Calculated. Difference between the Call Sum and Put Sum. If its very -ve its bullish, if its very +ve then its bearish else its a sideways session.
148-
Call Boundary | Change in Call Open Interest contracts for 2 Strike Prices above the given Strike Price. This is used to determine if Call writers are taking new positions (Bearish) or exiting their positions (Bullish). (In Thousands)
149-
Put Boundary | Change in Put Open Interest for the given Strike Price. This is used to determine if Put writers are taking new positions (Bullish) or exiting their positions(Bearish). (In Thousands)
295+
Call Boundary | Change in Call Open Interest contracts for 2 Strike Prices above the given Strike Price. This is used to determine if Call writers are taking new positions (Bearish) or exiting their positions (Bullish). (In Thousands for Index Mode and Tens for Stock Mode)
296+
Put Boundary | Change in Put Open Interest for the given Strike Price. This is used to determine if Put writers are taking new positions (Bullish) or exiting their positions(Bearish). (In Thousands for Index Mode and Tens for Stock Mode)
150297
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.
151298
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.
152299

153300
>#### Label Data:
154301
155302
Data | Description
156303
--- | ---
157-
Open Interest Upper Boundary | Highest and 2nd Highest(highest in OI boundary range) Call Open Interest contracts (in thousands) and their corresponding Strike Prices
158-
Open Interest Lower Boundary | Highest and 2nd Highest(highest in OI boundary range) Put Open Interest contracts (in thousands) and their corresponding Strike Prices
304+
Open Interest Upper Boundary | Highest and 2nd Highest(highest in OI boundary range) Call Open Interest contracts (In Thousands for Index Mode and Tens for Stock Mode) and their corresponding Strike Prices
305+
Open Interest Lower Boundary | Highest and 2nd Highest(highest in OI boundary range) Put Open Interest contracts (In Thousands for Index Mode and Tens for Stock Mode) and their corresponding Strike Prices
159306
Open Interest | This indicates if the latest OI data record indicates Bearish or Bullish signs near Indicated Strike Price. If the Call Sum is more than the Put Sum then the OI is considered Bearish as there is more Call writing than Puts. If the Put Sum is more than the Call sum then the OI Is considered Bullish as the Put writing exceeds the Call writing.
160307
Put Call Ratio(PCR) | Sum Total of Put Open Interest contracts divided by Sum Total of Call Open Interest contracts
161308
Call Exits | This indicates if the Call writers are exiting near given Strike Price in the latest OI data record. If the Call sum is < 0 or if the change in Call OI at the Call boundary (2 Strike Prices above the given Strike Price) is < 0, then Call writers are exiting their positions and the Bulls have a clear path.
@@ -168,11 +315,15 @@ Put In The Money(ITM) | This indicates if the Put writers are also exiting far O
168315

169316
- Login Page:
170317

171-
<br>![Login_Window](https://i.imgur.com/vgoQzww.png) <br><br>
318+
<br>![Login_Window](https://i.imgur.com/TfETQkz.png) <br><br>
319+
320+
- Main Window Index Mode:
172321

173-
- Main Window:
322+
<br>![Main_Window_Index](https://i.imgur.com/JHn58gn.png) <br><br>
174323

175-
<br>![Main_Window](https://i.imgur.com/JHn58gn.png) <br><br>
324+
- Main Window Stock Mode:
325+
326+
<br>![Main_Window_Stock](https://i.imgur.com/jwL1zrU.png) <br><br>
176327

177328
- Selecting Data:
178329

0 commit comments

Comments
 (0)