Skip to content

Commit

Permalink
updated docs/& release 0.5 setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Álvaro Bartolomé del Canto committed Sep 16, 2019
1 parent 96b1400 commit 3c69fbc
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Binary file modified docs/trendet.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion tests/test_trendet.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_trendet():

params = list()

for equity in equities[:20]:
for equity in equities[:25]:
obj = {
'equity': equity,
'country': 'spain',
Expand Down
4 changes: 2 additions & 2 deletions tests/test_trendet_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
},
]
Expand Down
2 changes: 1 addition & 1 deletion trendet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3c69fbc

Please sign in to comment.