Skip to content

Commit

Permalink
readme.md updated & minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Álvaro Bartolomé del Canto committed Aug 21, 2019
1 parent 64afbf9 commit 91bb22a
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,5 @@ venv.bak/
# PyCharm IDEA files
.idea
.idea/
.idea/*
.idea/*
.idea/workspace.xml
48 changes: 47 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,47 @@
# trendet - Python package for trend detection on stock time series
# trendet - is a Python package for trend detection on stock time series data

[![Python Version](https://img.shields.io/pypi/pyversions/trendet.svg)](https://pypi.org/project/trendet/)
[![PyPi Version](https://img.shields.io/pypi/v/trendet.svg)](https://pypi.org/project/trendet/)
[![Package Status](https://img.shields.io/pypi/status/trendet.svg)](https://pypi.org/project/trendet/)
[![Build Status](https://dev.azure.com/alvarob96/alvarob96/_apis/build/status/alvarob96.trendet?branchName=master)](https://dev.azure.com/alvarob96/alvarob96/_build?definitionId=1&_a=summary)
[![Build Status](https://img.shields.io/travis/alvarob96/trendet/master.svg?label=Travis%20CI&logo=travis&logoColor=white)](https://travis-ci.org/alvarob96/trendet)
[![Documentation Status](https://readthedocs.org/projects/trendet/badge/?version=latest)](https://trendet.readthedocs.io/)
[![Downloads](https://img.shields.io/pypi/dm/trendet.svg?style=flat)](https://pypistats.org/packages/trendet)

<p align="center">
<img src="https://raw.githubusercontent.com/alvarob96/trendet/master/docs/trendet.jpg"/>
</p>

## Introduction

**trendet** is a Python package to detect trends on the market so to analyze its behaviour. So on, this package
has been created to support [investpy](https://github.com/alvarob96/investpy) features when it comes to data retrieval
from different financial products such as stocks/equities, funds or ETFs. **trendet** is intended to be used combined
with **investpy**, but also with every OHLC `pandas.DataFrame`.

## Installation

In order to get this package working you will need to install it using pip by typing on the terminal:

``$ python -m pip install trendet --upgrade``

Or just install the current release or a specific release version such as:

``$ python -m pip install trendet==0.1``

## Contribute

As this is an open source project it is open to contributions, bug reports, bug fixes, documentation improvements,
enhancements and ideas.

Also there is an open tab of [issues](https://github.com/alvarob96/trendet/issues) where anyone can contribute opening
new issues if needed or navigate through them in order to solve them or contribute to its solving.

## Disclaimer

This package has been created so to identify market trends based on stock historical data retrieved via
[investpy](https://github.com/alvarob96/investpy) so to determine which trends have been prevailing on the market
based on a single stock/equity OHLC values.

Conclude that this is the result of a research project, so this package has been developed with research purposes and
no profit is intended.
Binary file added 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: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
investpy==0.8.8
setuptools==41.2.0
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ def readme():
description='trendet - Python package for trend detection on stock time series',
long_description=readme(),
long_description_content_type='text/markdown',
install_requires=[],
install_requires=[
'investpy==0.8.8',
'setuptools==41.2.0'
],
data_files=[],
include_package_data=True,
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion trendet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def identify_trends(equity, from_date, to_date, window_size=5, trend_limit=3, la
Returns:
:obj:`pandas.DataFrame`:
The function returns a :obj:`pandas.DataFrame` which contains the retrieved historical data from Investing
using investpy, with a new column which identifies every trend found on the market between two dates
using `investpy`, with a new column which identifies every trend found on the market between two dates
identifying when did the trend started and when did it end. So the additional column contains labeled date
ranges.
Raises:
Expand Down

0 comments on commit 91bb22a

Please sign in to comment.