From 89b11119395278764e4121ebf545931d131d359a Mon Sep 17 00:00:00 2001 From: Varun Shanbhag <30069380+VarunS2002@users.noreply.github.com> Date: Wed, 24 May 2023 22:07:37 -0300 Subject: [PATCH] Release Version 5.5 - Updated Documentation for 5.5 - Updated Changelog for 5.5 --- CHANGELOG.md | 16 ++++++++++++++++ NSE_Option_Chain_Analyzer.py | 2 +- README.md | 8 +++----- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 762664a..4a35ee3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@
+> # [5.5](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/tag/5.5) + +## Bug Fix Update + +- Fixed `IndexError` caused by NSE updating the method they use for loading symbols on their website. + Issue: [#54](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/54) + , [#55](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/55) + , [#56](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/issues/56) +- No longer uses the web scraping technique to load symbols + - Instead uses the API to load symbols as that is what the new NSE website uses + - Removed `beautifulsoup4` from `requirements.txt` as it is no longer required +- Updated documentation: + - Removed `beautifulsoup4` from dependencies + +
+ > # [5.4](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/tag/5.4) ## Bug Fix Update diff --git a/NSE_Option_Chain_Analyzer.py b/NSE_Option_Chain_Analyzer.py index e4deb9e..cda7d3f 100644 --- a/NSE_Option_Chain_Analyzer.py +++ b/NSE_Option_Chain_Analyzer.py @@ -25,7 +25,7 @@ # noinspection PyAttributeOutsideInit class Nse: - version: str = '5.4' + version: str = '5.5' def __init__(self, window: Tk) -> None: self.intervals: List[int] = [1, 2, 3, 5, 10, 15] diff --git a/README.md b/README.md index 1f794e0..3498c18 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## [Downloads](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases) -[![Latest: v5.4](https://img.shields.io/badge/release-v5.4-brightgreen)](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/download/5.4/NSE_Option_Chain_Analyzer_5.4.exe) +[![Latest: v5.5](https://img.shields.io/badge/release-v5.5-brightgreen)](https://github.com/VarunS2002/Python-NSE-Option-Chain-Analyzer/releases/download/5.5/NSE_Option_Chain_Analyzer_5.5.exe) ![Download-Count](https://img.shields.io/github/downloads/VarunS2002/Python-NSE-Option-Chain-Analyzer/total?color=blue) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) @@ -163,8 +163,8 @@ on [Mr. Sameer Dharaskar's Course](http://advancesharetrading.com/). | Data | Description | |------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Server Time | Web Scraped. Indicates last data update time by NSE server | -| Value | Web Scraped. Underlying Instrument Value indicates the value of the underlying Security or Index | +| Server Time | Indicates last data update time by NSE server | +| Value | Underlying Instrument Value indicates the value of the underlying Security or Index | | 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) | | 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) | | Difference | Calculated. Difference between the Call Sum and Put Sum. If it's very -ve it's bullish, if it's very +ve then it's bearish else it's a sideways session. | @@ -216,8 +216,6 @@ on [Mr. Sameer Dharaskar's Course](http://advancesharetrading.com/). - [auto-py-to-exe](https://pypi.org/project/auto-py-to-exe/) is used for compiling the program to a .exe file -- [beautifulsoup4](https://pypi.org/project/beautifulsoup4/) is used for scraping the list of stocks and indices - - [pandas](https://pypi.org/project/pandas/) is used for storing and manipulating the data - [requests](https://pypi.org/project/requests/) is used for accessing and retrieving data from the NSE website