From b465491f226d9e07fffd4e59cd0affc9284521ca Mon Sep 17 00:00:00 2001 From: Kevin Johnson Date: Sun, 23 Jun 2024 17:50:16 -0700 Subject: [PATCH 1/5] Update setup.py numpy version fix #799 --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0dc65944..d79a5015 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,10 @@ package_data={ "data": ["data/*.csv"], }, - install_requires=["pandas"], + install_requires=[ + "numpy==1.26.4", + "pandas" + ], # List additional groups of dependencies here (e.g. development dependencies). # You can install these using the following syntax, for example: # $ pip install -e .[dev,test] From defdd0e25d655942b56e347b27591f10fc055501 Mon Sep 17 00:00:00 2001 From: Allysson Macedo <94933158+allyssonmacedo@users.noreply.github.com> Date: Sat, 7 Sep 2024 14:16:35 -0300 Subject: [PATCH 2/5] Adding missing **kwargs.py Adding missing **kwargs in pvr volume indicator --- pandas_ta/volume/pvr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas_ta/volume/pvr.py b/pandas_ta/volume/pvr.py index 0fdd57f6..51673c30 100644 --- a/pandas_ta/volume/pvr.py +++ b/pandas_ta/volume/pvr.py @@ -4,7 +4,7 @@ from pandas import Series -def pvr(close, volume): +def pvr(close, volume, **kwargs): """ Indicator: Price Volume Rank""" # Validate arguments close = verify_series(close) From 4f29638ae01a2b191e4a152e9f61447ec9fdeeb1 Mon Sep 17 00:00:00 2001 From: Allysson Macedo <94933158+allyssonmacedo@users.noreply.github.com> Date: Fri, 13 Sep 2024 21:10:30 -0300 Subject: [PATCH 3/5] Update setup.py --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index d0d5da2e..b7cd8936 100644 --- a/setup.py +++ b/setup.py @@ -59,7 +59,6 @@ "pandas>=2.2.0", "pandas-datareader", "scipy>=1.12" - ], # List additional groups of dependencies here (e.g. development dependencies). # You can install these using the following syntax, for example: From 2a74fcd5d61b95c470ae2e5e412c3b2d7ee10650 Mon Sep 17 00:00:00 2001 From: Allysson Macedo <94933158+allyssonmacedo@users.noreply.github.com> Date: Fri, 13 Sep 2024 21:10:57 -0300 Subject: [PATCH 4/5] Update pvr.py --- pandas_ta/volume/pvr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas_ta/volume/pvr.py b/pandas_ta/volume/pvr.py index 4ae37956..be016a60 100644 --- a/pandas_ta/volume/pvr.py +++ b/pandas_ta/volume/pvr.py @@ -8,7 +8,8 @@ def pvr( - close: Series, volume: Series, drift: Int = None, **kwargs) -> Series: + close: Series, volume: Series, drift: Int = None, **kwargs +) -> Series: """Price Volume Rank The Price Volume Rank was developed by Anthony J. Macek and is described From a5ef5172763977b51f5d8461f96b6e700e3b8b9f Mon Sep 17 00:00:00 2001 From: Allysson Macedo <94933158+allyssonmacedo@users.noreply.github.com> Date: Fri, 13 Sep 2024 21:14:44 -0300 Subject: [PATCH 5/5] Update pvr.py --- pandas_ta/volume/pvr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas_ta/volume/pvr.py b/pandas_ta/volume/pvr.py index be016a60..59758316 100644 --- a/pandas_ta/volume/pvr.py +++ b/pandas_ta/volume/pvr.py @@ -8,7 +8,7 @@ def pvr( - close: Series, volume: Series, drift: Int = None, **kwargs + close: Series, volume: Series, drift: int = None, **kwargs ) -> Series: """Price Volume Rank