Skip to content

Commit 25a536d

Browse files
authored
Update README.md
1 parent c8ea76a commit 25a536d

File tree

1 file changed

+51
-7
lines changed

1 file changed

+51
-7
lines changed

README.md

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

33
### [Downloads](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases)
4+
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
45

56
This program web scrapes and then generates useful analysis of the Option Chain for the specified security from the NSE website.
67
It also continuously refreshes the Option Chain and visually displays the trend in various indicators and useful for Technical Analysis.
@@ -11,17 +12,29 @@ It also continuously refreshes the Option Chain and visually displays the trend
1112

1213
-Select your Index or Underlying Stock and Expiry Date on the website
1314

14-
-Run the program and enter the final URL from the browser and your preferred Strike Price
15+
-Run the program and enter the current URL from the browser and your preferred Strike Price
16+
17+
-You can select all table data using Ctrl+A or select individual cells, rows and columns
18+
19+
-Then you can copy it using Ctrl+C or right click menu
20+
21+
-You can then paste it in any spreadsheet application (Tested with MS Excel and Google Sheets)
22+
23+
-You can also export all data to a .csv file from the menu
1524

1625
## Note:
1726

1827
-Required modules:
1928

2029
```
30+
tkinter
31+
tksheet
2132
bs4
2233
requests
2334
pandas
24-
time
35+
datetime
36+
webbrowser
37+
csv
2538
```
2639

2740
-Install missing modules using pip
@@ -34,23 +47,54 @@ time
3447

3548
-The program infinitely refreshes every 30 seconds
3649

37-
-New data is printed only if the server time has changed (To prevent printing duplicate data)
50+
-New data is displayed only if the server time has increased (To prevent printing duplicate data)
51+
52+
-Red and Green colour indication for data based on trends
53+
54+
-Program title format: NSE-Option-Chain-Analyzer - {underlying_stock} - {expiry_date} - {strike_price}
55+
56+
-Stop and Start functionality
57+
58+
-Export to .csv file option
59+
60+
-About window with version and links for developer Github profile, README, license, releases and sources
3861

3962
-PEP 8 format
4063

41-
-Data printed:
64+
-Table Data displayed:
4265

4366
Data | How it's calculated
4467
--- | ---
4568
Server Time | *Web Scraped*
4669
Underlying Index Points | *Web Scraped*
47-
Max Call Open Interest and corresponding Strike Price | Highest Call Open Interest (in lacs)
48-
Max Put Open Interest and corresponding Strike Price | Highest Put Open Interest (in lacs)
49-
Put Call Ratio(PCR) | Total Put Open Interest divided by Total Call Open Interest
5070
Call Sum | Sum of the Change in Call Open Interests of the given Strike Price and the next two Strike Prices (in lacs)
5171
Put Sum | Sum of the Change in Put Open Interests of the given Strike Price and the next two Strike Prices (in lacs)
5272
Difference | Difference between the Call Sum and Put Sum
5373
Call Boundary | Change in Call Open Interest for 2 Strike Prices above the given Strike Price. This is used to determine if Call writers are exiting their positions.
5474
Put Boundary | Change in Put Open Interest for the given Strike Price. This is used to determine if Put writers are exiting their positions.
5575
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 the ratio of Put writing and Call writing at the 4th Strike Price above the given Strike price.
5676
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 the ratio of Call writing and Put writing at the 2nd Strike Price below the given Strike price.
77+
78+
-Label Data displayed:
79+
80+
Data | How it's calculated
81+
--- | ---
82+
Max Call Open Interest and Strike Price | Highest Call Open Interest (in lacs) and it's corresponding Strike Price
83+
Max Put Open Interest and Strike Price | Highest Put Open Interest (in lacs) and it's corresponding Strike Price
84+
Put Call Ratio(PCR) | Total Put Open Interest divided by Total Call Open Interest
85+
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.
86+
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.
87+
Put Exits | This indicates if the Put writers are exiting near given Strike Price in the latest OI data record. If the Put sum is < 0 or if the change in Put OI at the Put boundary (the given Strike Price) is < 0, then Put writers are exiting their positions and the Bears have a clear path.
88+
Call In The Money(ITM) | This indicates if the Call writers are also exiting far OTM strike prices (4 Strike Prices above the given Strike Price) showing extreme bullishness. Conditions are if the Call writers are exiting their far OTM positions and the Put writers are writing at the same Strike Price. This signal also changes to Yes if the change in Call OI at the far OTM is < 0.
89+
Put In The Money(ITM) | This indicates if the Put writers are also exiting far OTM strike prices (2 Strike Prices below the given Strike Price) showing extreme bearishness. Conditions are if the Put writers are exiting their far OTM positions and the Call writers are writing at the same Strike Price. This signal also changes to Yes if the change in Put OI at the far OTM is < 0.
90+
91+
92+
## Screenshots:
93+
94+
![Screenshot_1](https://i.imgur.com/JEUKcMp.png)
95+
96+
![Screenshot_2](https://i.imgur.com/rwJeMmT.png)
97+
98+
![Screenshot_3](https://i.imgur.com/O4kNI2Y.png)
99+
100+
![Screenshot_4](https://i.imgur.com/Hwbep1G.png)

0 commit comments

Comments
 (0)