Skip to content

Commit

Permalink
docs updated & release setup
Browse files Browse the repository at this point in the history
- both docstrings and rst files updated
- argument rename from *start* and *end* to *from_date* and *to_date*, as described on #16
  • Loading branch information
Álvaro Bartolomé del Canto committed Aug 12, 2019
1 parent d19de48 commit cce9ca3
Show file tree
Hide file tree
Showing 33 changed files with 121 additions and 121 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ install:
- pip install requests==2.22.0
- pip install lxml==4.3.3
- pip install Unidecode==1.0.23
- pip install investpy==0.8.6
- pip install investpy==0.8.7
- pip install pytest==4.5.0
- pip install codecov==2.0.15
- pip install pytest-cov==2.7.1
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ investpy seeks to be one of the most used Python packages when it comes to histo

In order to get this package working you will need to install [**investpy**](https://pypi.org/project/investpy/) from PyPi via Terminal typing:

``pip install investpy==0.8.6``
``pip install investpy==0.8.7``

All the dependencies are already listed on the setup file of the package, but to sum them up, you will need the following requirements:

Expand Down Expand Up @@ -55,7 +55,7 @@ Date
2019-07-17 4.905 4.965 4.900 4.952 22410000
2019-07-18 4.856 4.894 4.812 4.879 35820000

df = investpy.get_historical_data(equity='bbva', start='01/01/2018', end='12/08/2019', as_json=False, order='ascending')
df = investpy.get_historical_data(equity='bbva', from_date='01/01/2018', to_date='12/08/2019', as_json=False, order='ascending')

This comment has been minimized.

Copy link
@alvarobartt

alvarobartt Aug 12, 2019

Owner

consider splitting examples for recent data retrieval and historical data retrieval, since it can be confusing

print(df.head())

>>>
Expand Down Expand Up @@ -85,7 +85,7 @@ Date
2019-07-17 1.129 1.129 1.129 1.129
2019-07-18 1.126 1.126 1.126 1.126

df = investpy.get_fund_historical_data(fund='bbva plan multiactivo moderado pp', start='01/01/2018', end='12/08/2019', as_json=False, order='ascending')
df = investpy.get_fund_historical_data(fund='bbva plan multiactivo moderado pp', from_date='01/01/2018', to_date='12/08/2019', as_json=False, order='ascending')
print(df.head())

>>>
Expand Down Expand Up @@ -115,7 +115,7 @@ Date
2019-07-17 35.830 36.080 35.810 35.965
2019-07-18 35.640 35.785 35.515 35.515

df = investpy.get_etf_historical_data(etf='bbva accion dj eurostoxx 50', start='01/01/2018', end='12/08/2019', as_json=False, order='ascending')
df = investpy.get_etf_historical_data(etf='bbva accion dj eurostoxx 50', from_date='01/01/2018', to_date='12/08/2019', as_json=False, order='ascending')
print(df.head())

>>>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/_sources/equities.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ protect investors from fraudulent practices. Historically, they have outperforme
run. These investments can be purchased from most online stock brokers.

In this case, historical data from stocks or equities is retrieved from `Investing Equities <https://es.investing.com/equities/spain>`_
just for the Spanish Stock Market, on the current release 0.8.6.
just for the Spanish Stock Market, on the current release 0.8.7.

Getting Started
---------------
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/_sources/installation.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ it will install the following dependencies:

.. note::

After installing the package you are now available to use it! As investpy's latest release is 0.8.6 the installation is
After installing the package you are now available to use it! As investpy's latest release is 0.8.7 the installation is
optimized for it. If you try installing another investpy release, some features may not work.
2 changes: 1 addition & 1 deletion docs/_build/html/_sources/installation.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Installation

.. note::

After installing the package you are now available to use it! As investpy's latest release is 0.8.6 the installation is
After installing the package you are now available to use it! As investpy's latest release is 0.8.7 the installation is
optimized for it. If you try installing another investpy release, some features may not work.

First Installation
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '0.8.6',
VERSION: '0.8.7',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>API Reference &mdash; investpy 0.8.6 documentation</title>
<title>API Reference &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/contribution.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Contribute to investpy - &mdash; investpy 0.8.6 documentation</title>
<title>Contribute to investpy - &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -58,7 +58,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/disclaimer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Disclaimer &mdash; investpy 0.8.6 documentation</title>
<title>Disclaimer &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -59,7 +59,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/equities.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Stocks/Equities &mdash; investpy 0.8.6 documentation</title>
<title>Stocks/Equities &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down Expand Up @@ -175,7 +175,7 @@ <h1>Stocks/Equities<a class="headerlink" href="#stocks-equities" title="Permalin
protect investors from fraudulent practices. Historically, they have outperformed most other investments over the long
run. These investments can be purchased from most online stock brokers.</p>
<p>In this case, historical data from stocks or equities is retrieved from <a class="reference external" href="https://es.investing.com/equities/spain">Investing Equities</a>
just for the Spanish Stock Market, on the current release 0.8.6.</p>
just for the Spanish Stock Market, on the current release 0.8.7.</p>
<div class="section" id="getting-started">
<h2>Getting Started<a class="headerlink" href="#getting-started" title="Permalink to this headline"></a></h2>
<p>To get started using <a class="reference external" href="https://pypi.org/project/investpy/">investpy</a> you first need to install it as described on
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/equities_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>investpy.equities &mdash; investpy 0.8.6 documentation</title>
<title>investpy.equities &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/etfs_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>investpy.etfs &mdash; investpy 0.8.6 documentation</title>
<title>investpy.etfs &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>GitHub Gists on investpy use &mdash; investpy 0.8.6 documentation</title>
<title>GitHub Gists on investpy use &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -58,7 +58,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/funds_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>investpy.funds &mdash; investpy 0.8.6 documentation</title>
<title>investpy.funds &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Index &mdash; investpy 0.8.6 documentation</title>
<title>Index &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -59,7 +59,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Welcome to investpy’s documentation! &mdash; investpy 0.8.6 documentation</title>
<title>Welcome to investpy’s documentation! &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -59,7 +59,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/information.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Additional Information &mdash; investpy 0.8.6 documentation</title>
<title>Additional Information &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Installation &mdash; investpy 0.8.6 documentation</title>
<title>Installation &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down Expand Up @@ -165,7 +165,7 @@
<span id="installation-label"></span><h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline"></a></h1>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>After installing the package you are now available to use it! As investpy’s latest release is 0.8.6 the installation is
<p>After installing the package you are now available to use it! As investpy’s latest release is 0.8.7 the installation is
optimized for it. If you try installing another investpy release, some features may not work.</p>
</div>
<div class="section" id="first-installation">
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Introduction &mdash; investpy 0.8.6 documentation</title>
<title>Introduction &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>License &mdash; investpy 0.8.6 documentation</title>
<title>License &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>investpy &mdash; investpy 0.8.6 documentation</title>
<title>investpy &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/main_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>investpy &mdash; investpy 0.8.6 documentation</title>
<title>investpy &mdash; investpy 0.8.7 documentation</title>



Expand Down Expand Up @@ -60,7 +60,7 @@


<div class="version">
0.8.6
0.8.7
</div>


Expand Down
Loading

0 comments on commit cce9ca3

Please sign in to comment.