diff --git a/README.md b/README.md index 89e0d04..3cb8b80 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ In order to get this package working you will need to install it using pip by ty Or just install the current release or a specific release version such as: -``$ python -m pip install trendet==0.4`` +``$ python -m pip install trendet==0.5`` ## Usage @@ -55,6 +55,7 @@ import seaborn as sns sns.set(style='darkgrid') df = trendet.identify_all_trends(equity='bbva', + country='spain', from_date='01/01/2018', to_date='01/01/2019', window_size=5, diff --git a/docs/conf.py b/docs/conf.py index 5db69c2..260bca2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,7 @@ author = 'Alvaro Bartolome del Canto' # The full version, including alpha/beta/rc tags -release = '0.4' +release = '0.5' # -- General configuration --------------------------------------------------- diff --git a/docs/installation.rst b/docs/installation.rst index e9f0864..11a81fe 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -7,4 +7,4 @@ In order to get this package working you will need to install it using pip by ty Or just install the current release or a specific release version such as:: - $ python -m pip install trendet==0.4 + $ python -m pip install trendet==0.5 diff --git a/docs/trendet.jpg b/docs/trendet.jpg index e903846..1ae66e8 100644 Binary files a/docs/trendet.jpg and b/docs/trendet.jpg differ diff --git a/docs/usage.rst b/docs/usage.rst index 77cd7b9..9736f9b 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -70,7 +70,7 @@ Identify All Trends of investpy DataFrame ----------------------------------------- Additionally **trendet** allows the user to identify/detect all the up and down trends on the market -via the function `identify_all_trends` which has been included in 0.4 release. So on, the sample code for +via the function `identify_all_trends` which has been included in 0.5 release. So on, the sample code for its usage is as follows: .. code-block:: python diff --git a/setup.py b/setup.py index 650f86b..2d1670f 100644 --- a/setup.py +++ b/setup.py @@ -11,10 +11,10 @@ def readme(): setup( name='trendet', - version='0.4', + version='0.5', packages=find_packages(), url='https://github.com/alvarob96/trendet', - download_url='https://github.com/alvarob96/trendet/archive/0.4.tar.gz', + download_url='https://github.com/alvarob96/trendet/archive/0.5.tar.gz', license='MIT License', author='Alvaro Bartolome', author_email='alvarob96@usal.es', diff --git a/tests/test_trendet.py b/tests/test_trendet.py index 109a7b1..a6afe1f 100644 --- a/tests/test_trendet.py +++ b/tests/test_trendet.py @@ -25,7 +25,7 @@ def test_trendet(): params = list() - for equity in equities[:20]: + for equity in equities[:25]: obj = { 'equity': equity, 'country': 'spain', diff --git a/tests/test_trendet_errors.py b/tests/test_trendet_errors.py index c50c9c8..88883fc 100644 --- a/tests/test_trendet_errors.py +++ b/tests/test_trendet_errors.py @@ -319,13 +319,13 @@ def test_errors(): { 'df': df, 'column': 'Close', - 'window_size': 1, + 'window_size': 5, 'identify': ['error'] }, { 'df': df, 'column': 'Close', - 'window_size': 1, + 'window_size': 5, 'identify': 'error' }, ] diff --git a/trendet/__init__.py b/trendet/__init__.py index 720537f..8b45699 100644 --- a/trendet/__init__.py +++ b/trendet/__init__.py @@ -4,7 +4,7 @@ # See LICENSE for details. __author__ = 'Alvaro Bartolome @ alvarob96 on GitHub' -__version__ = '0.4' +__version__ = '0.5' from investpy import get_historical_data, get_equity_countries