From ab979e9141e114f41d9497ea249db0e48df14141 Mon Sep 17 00:00:00 2001 From: Value Raider Date: Sun, 21 Jan 2024 18:10:41 +0000 Subject: [PATCH 1/6] Version 0.2.36 --- CHANGELOG.rst | 10 ++++++++++ meta.yaml | 2 +- yfinance/version.py | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 168873f9a..ab9491228 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,16 @@ Change Log =========== +0.2.36 +------ +Small fixes: +- Update README.md for better copy-ability #1823 +- Name download() column levels #1795 +- Fix history(keepna=False) when repair=True #1824 +- Replace empty list with empty pd.Series #1724 +- Handle peewee with old sqlite #1827 +- Fix JSON error handling #1830 #1833 + 0.2.35 ------ Internal fixes for 0.2.34 diff --git a/meta.yaml b/meta.yaml index 843a8f43f..bf2ae700e 100644 --- a/meta.yaml +++ b/meta.yaml @@ -1,5 +1,5 @@ {% set name = "yfinance" %} -{% set version = "0.2.35" %} +{% set version = "0.2.36" %} package: name: "{{ name|lower }}" diff --git a/yfinance/version.py b/yfinance/version.py index 25a1d1a51..e77270bea 100644 --- a/yfinance/version.py +++ b/yfinance/version.py @@ -1 +1 @@ -version = "0.2.35" +version = "0.2.36" From eab6c8dfa7251c924791ed55aed33e7e3ff97630 Mon Sep 17 00:00:00 2001 From: ValueRaider Date: Thu, 1 Feb 2024 21:28:38 +0000 Subject: [PATCH 2/6] Update bug_report.yaml because people can't read --- .github/ISSUE_TEMPLATE/bug_report.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 5510d529a..a760b63f5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -61,7 +61,7 @@ body: id: debug-log attributes: label: "Debug log" - description: "Run code with debug logging enabled and post the full output. Instructions: https://github.com/ranaroussi/yfinance/tree/main#logging" + description: "Run code with debug logging enabled and post the full output. IMPORTANT INSTRUCTIONS: https://github.com/ranaroussi/yfinance/tree/main#logging" validations: required: true From 1d31e7ca016768c5a3f820c29049d3aa25132b7d Mon Sep 17 00:00:00 2001 From: ValueRaider Date: Sat, 10 Feb 2024 22:23:25 +0000 Subject: [PATCH 3/6] Update issue form - more emphasis on following instructions --- .github/ISSUE_TEMPLATE/bug_report.yaml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index a760b63f5..e27da413f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -6,23 +6,13 @@ body: - type: markdown attributes: value: | - # IMPORTANT - Read and follow these instructions carefully. Help us help you. - - ### Does issue already exist? - - Use the search tool. Don't annoy everyone by duplicating existing Issues. + # !!! IMPORTANT !!! FOLLOW THESE INSTRUCTIONS CAREFULLY !!! ### Are you up-to-date? - Upgrade to the latest version and confirm the issue/bug is still there. - - `$ pip install yfinance --upgrade --no-cache-dir` - - Confirm by running: + Upgrade to the latest version: `$ pip install yfinance --upgrade --no-cache-dir` - `import yfinance as yf ; print(yf.__version__)` - - and comparing against [PIP](https://pypi.org/project/yfinance/#history). + Confirm latest version by running: `import yfinance as yf ; print(yf.__version__)` and comparing against [PyPI](https://pypi.org/project/yfinance/#history). ### Does Yahoo actually have the data? @@ -34,6 +24,10 @@ body: Yahoo Finance free service has rate-limiting https://github.com/ranaroussi/yfinance/discussions/1513. Once limit hit, Yahoo can delay, block, or return bad data -> not a `yfinance` bug. + ### Does issue already exist? + + Use the search tool. Don't duplicate existing issues. + - type: markdown attributes: value: | From c2d568367c2ec15f49c7ddaf4f23d2a8c39b8fbe Mon Sep 17 00:00:00 2001 From: Value Raider Date: Sun, 25 Feb 2024 13:25:28 +0000 Subject: [PATCH 4/6] Version 0.2.37 --- CHANGELOG.rst | 7 +++++++ meta.yaml | 2 +- yfinance/version.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ab9491228..ec83d34a3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,13 @@ Change Log =========== +0.2.37 +------ +Small fixes: +- Fix Pandas warnings #1838 #1844 +- Fix price repair bug, typos, refactor #1866 #1865 #1849 +- Stop disabling logging #1841 + 0.2.36 ------ Small fixes: diff --git a/meta.yaml b/meta.yaml index bf2ae700e..772e5fdc9 100644 --- a/meta.yaml +++ b/meta.yaml @@ -1,5 +1,5 @@ {% set name = "yfinance" %} -{% set version = "0.2.36" %} +{% set version = "0.2.37" %} package: name: "{{ name|lower }}" diff --git a/yfinance/version.py b/yfinance/version.py index e77270bea..b6008a194 100644 --- a/yfinance/version.py +++ b/yfinance/version.py @@ -1 +1 @@ -version = "0.2.36" +version = "0.2.37" From 3d180fcf2c3a32593f1ede67435dd6499c334455 Mon Sep 17 00:00:00 2001 From: vittoboa Date: Tue, 16 Apr 2024 19:35:58 +0200 Subject: [PATCH 5/6] Move ticker symbol from parameter to URL --- yfinance/scrapers/holders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yfinance/scrapers/holders.py b/yfinance/scrapers/holders.py index 17a260420..4a3e7d0b0 100644 --- a/yfinance/scrapers/holders.py +++ b/yfinance/scrapers/holders.py @@ -73,8 +73,8 @@ def insider_roster(self) -> pd.DataFrame: def _fetch(self, proxy): modules = ','.join( ["institutionOwnership", "fundOwnership", "majorDirectHolders", "majorHoldersBreakdown", "insiderTransactions", "insiderHolders", "netSharePurchaseActivity"]) - params_dict = {"modules": modules, "corsDomain": "finance.yahoo.com", "symbol": self._symbol, "formatted": "false"} - result = self._data.get_raw_json(_QUOTE_SUMMARY_URL_, user_agent_headers=self._data.user_agent_headers, params=params_dict, proxy=proxy) + params_dict = {"modules": modules, "corsDomain": "finance.yahoo.com", "formatted": "false"} + result = self._data.get_raw_json(f"{_QUOTE_SUMMARY_URL_}/{self._symbol}", user_agent_headers=self._data.user_agent_headers, params=params_dict, proxy=proxy) return result def _fetch_and_parse(self): From a1bcb4c351bf9a6f31a9f7c005cd596894544583 Mon Sep 17 00:00:00 2001 From: ValueRaider Date: Tue, 16 Apr 2024 22:17:23 +0100 Subject: [PATCH 6/6] Version 0.2.38 --- CHANGELOG.rst | 4 ++++ meta.yaml | 2 +- yfinance/version.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ec83d34a3..fa41d3e2d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,10 @@ Change Log =========== +0.2.38 +------ +Fix holders & insiders #1908 + 0.2.37 ------ Small fixes: diff --git a/meta.yaml b/meta.yaml index 772e5fdc9..c9b1e69ce 100644 --- a/meta.yaml +++ b/meta.yaml @@ -1,5 +1,5 @@ {% set name = "yfinance" %} -{% set version = "0.2.37" %} +{% set version = "0.2.38" %} package: name: "{{ name|lower }}" diff --git a/yfinance/version.py b/yfinance/version.py index b6008a194..1c1f34a3b 100644 --- a/yfinance/version.py +++ b/yfinance/version.py @@ -1 +1 @@ -version = "0.2.37" +version = "0.2.38"