Skip to content

Commit

Permalink
fix stock insider due to finviz side change
Browse files Browse the repository at this point in the history
  • Loading branch information
lit26 committed Mar 2, 2022
1 parent 848d82b commit eea0c44
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Tianning Li'

# The full version, including alpha/beta/rc tags
release = '0.12.0'
release = '0.12.1'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion finvizfinance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
.. moduleauthor:: Tianning Li <[email protected]>
"""

__version__ = "0.12.0"
__version__ = "0.12.1"
__author__ = "Tianning Li"
2 changes: 1 addition & 1 deletion finvizfinance/insider.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_insider(self):
Returns:
df(pandas.DataFrame): insider information table
"""
insider_trader = self.soup.findAll("table")[5]
insider_trader = self.soup.findAll("table")[4]
rows = insider_trader.findAll("tr")
table_header = [i.text.strip() for i in rows[0].findAll("td")] + [
"SEC Form 4 Link"
Expand Down
1 change: 1 addition & 0 deletions release.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
| Date | Version | Comment |
| ------------- | ------------- | ------------- |
| 2022/05/02 | 0.12.1 | Update changes in stock insider due to finviz's change. |
| 2022/05/02 | 0.12.0 | Update changes in stock screener. Issue: https://github.com/lit26/finvizfinance/issues/41|
| 2021/12/30 | 0.11.1 | Update changes in stock fundamental. Issue: https://github.com/lit26/finvizfinance/issues/38. PR: https://github.com/lit26/finvizfinance/pull/37 |
| 2021/12/11 | 0.11 | Reformat the code to follow PEP 8 style guide. |
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

HERE = pathlib.Path(__file__).parent

VERSION = '0.12.0'
VERSION = '0.12.1'
PACKAGE_NAME = 'finvizfinance'
AUTHOR = 'Tianning Li'
AUTHOR_EMAIL = '[email protected]'
Expand Down

0 comments on commit eea0c44

Please sign in to comment.