Skip to content

Commit

Permalink
Merge pull request #68 from alvarob96/developer
Browse files Browse the repository at this point in the history
merge developer/ into master/
  • Loading branch information
Álvaro Bartolomé del Canto authored Nov 13, 2019
2 parents a780125 + e88ddc5 commit 7b043c9
Show file tree
Hide file tree
Showing 53 changed files with 12,164 additions and 14,158 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,9 @@ venv.bak/
# PyCharm default idea folder
.idea
.idea/
.idea/*
.idea/*

# VSCode Files
.vscode
.vscode/
.vscode/*
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dist: xenial

install:
- pip install -r requirements.txt
- pip install investpy==0.9.7
- pip install investpy==0.9.8
- pip install pytest==5.1.0
- pip install codecov==2.0.15
- pip install pytest-cov==2.7.1
Expand Down
8 changes: 7 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
include README.md
include investpy/resources/*
include investpy/resources/*
include investpy/resources/bonds/*
include investpy/resources/currency_crosses/*
include investpy/resources/etfs/*
include investpy/resources/funds/*
include investpy/resources/indices/*
include investpy/resources/stocks/*
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<a>
<img src="https://raw.githubusercontent.com/alvarob96/investpy/master/docs/investpy_logo.png" align="right">
</a>
<p align="center">
<img src="https://raw.githubusercontent.com/alvarob96/investpy/master/docs/investpy_logo.png" hspace="20">
</p>

# investpy — a Python package for financial historical data extraction from Investing
# Financial Historical Data Extraction with Python

investpy is a Python package to retrieve real-time historical data from [Investing](https://www.investing.com/).
It provides historical data retrieval from up to **29.628 stocks, 81.024 funds, 11.366 etfs, 1.889 currency crosses,
7.797 indices and 721 bonds**. Basically, investpy allows you to download historical data from almost
investpy is a Python package to retrieve historical data from [Investing](https://www.investing.com/).
It provides historical data retrieval from up to **29.628 stocks, 81.024 funds, 11.403 etfs, 1.889 currency crosses,
7.797 indices and 688 bonds**. Basically, investpy allows you to download historical data from almost
all the financial products indexed in Investing.com. All the data that can be retrieved includes data from all over the world,
from countries such as: **United States, France, India, Spain, Russia or Germany, amongst many others**. Therefore,
investpy is intended to wrap up all the available data from Investing.com, so that it can be retrieved via Python for
Expand All @@ -30,7 +30,7 @@ are some of the features that currently lead investpy to be one of the most cons
In order to get this package working you will need to install [**investpy**](https://pypi.org/project/investpy/) using
pip on the terminal by typing:

``$ pip install investpy==0.9.8``
``$ pip install investpy==0.9.9``

Every package used is listed in [requirements.txt](https://github.com/alvarob96/investpy/blob/master/requirements.txt)
file, which can also be installed via pip:
Expand Down
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/etfs_api.doctree
Binary file not shown.
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.9.8',
VERSION: '0.9.9',
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.9.8 documentation</title>
<title>API Reference &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</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.9.8 documentation</title>
<title>Disclaimer &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</div>


Expand Down
18 changes: 9 additions & 9 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.9.8 documentation</title>
<title>investpy.etfs &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</div>


Expand Down Expand Up @@ -463,23 +463,23 @@
<dl class="function">
<dt id="investpy.etfs.get_etfs_overview">
<code class="sig-prename descclassname">investpy.etfs.</code><code class="sig-name descname">get_etfs_overview</code><span class="sig-paren">(</span><em class="sig-param">country</em>, <em class="sig-param">as_json=False</em><span class="sig-paren">)</span><a class="headerlink" href="#investpy.etfs.get_etfs_overview" title="Permalink to this definition"></a></dt>
<dd><p>This function retrieves an object containing all the real time data available for all the ETFs from a country,
<dd><p>This function retrieves an overview containing all the real time data available for the main ETFs from a country,
such as the ETF names, symbols, current value, etc. as indexed in Investing.com. So on, the main usage of this
function is to get an overview on all the available ETFs from a country.</p>
function is to get an overview on the main ETFs from a country, so to get a general view.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>country</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">str</span></code>) – name of the country to retrieve all its available etf data from.</p></li>
<li><p><strong>country</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">str</span></code>) – name of the country to retrieve the ETFs overview from.</p></li>
<li><p><strong>as_json</strong> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">bool</span></code>, optional) – optional argument to determine the format of the output data (<code class="xref py py-obj docutils literal notranslate"><span class="pre">pandas.DataFrame</span></code> or <code class="xref py py-obj docutils literal notranslate"><span class="pre">json</span></code>).</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><p>The resulting <code class="xref py py-obj docutils literal notranslate"><span class="pre">pandas.DataFrame</span></code> contains all the data available in Investing.com from all the ETFs
<dd class="field-even"><p><p>The resulting <code class="xref py py-obj docutils literal notranslate"><span class="pre">pandas.DataFrame</span></code> contains all the data available in Investing.com of the main ETFs
from a country in order to get an overview of it.</p>
<p>If the retrieval process succeeded, the resulting <code class="xref py py-obj docutils literal notranslate"><span class="pre">pandas.DataFrame</span></code> should look like:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">name</span> <span class="o">|</span> <span class="n">symbol</span> <span class="o">|</span> <span class="n">last</span> <span class="o">|</span> <span class="n">change</span> <span class="o">|</span> <span class="n">turnover</span>
<span class="o">----------------------------------------</span>
<span class="n">xxxx</span> <span class="o">|</span> <span class="n">xxxxxx</span> <span class="o">|</span> <span class="n">xxxx</span> <span class="o">|</span> <span class="n">xxxxxx</span> <span class="o">|</span> <span class="n">xxxxxxxx</span>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">country</span> <span class="o">|</span> <span class="n">name</span> <span class="o">|</span> <span class="n">full_name</span> <span class="o">|</span> <span class="n">symbol</span> <span class="o">|</span> <span class="n">last</span> <span class="o">|</span> <span class="n">change</span> <span class="o">|</span> <span class="n">turnover</span>
<span class="o">--------|------|-----------|--------|------|--------|----------</span>
<span class="n">xxxxxxx</span> <span class="o">|</span> <span class="n">xxxx</span> <span class="o">|</span> <span class="n">xxxxxxxxx</span> <span class="o">|</span> <span class="n">xxxxxx</span> <span class="o">|</span> <span class="n">xxxx</span> <span class="o">|</span> <span class="n">xxxxxx</span> <span class="o">|</span> <span class="n">xxxxxxxx</span>
</pre></div>
</div>
</p>
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.9.8 documentation</title>
<title>investpy.funds &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</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.9.8 documentation</title>
<title>Index &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</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.9.8 documentation</title>
<title>Welcome to investpy’s documentation! &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</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.9.8 documentation</title>
<title>Additional Information &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</div>


Expand Down
4 changes: 2 additions & 2 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.9.8 documentation</title>
<title>Installation &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</div>


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.9.8 documentation</title>
<title>Introduction &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</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.9.8 documentation</title>
<title>investpy &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/model.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>Model &mdash; investpy 0.9.8 documentation</title>
<title>Model &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/py-modindex.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>Python Module Index &mdash; investpy 0.9.8 documentation</title>
<title>Python Module Index &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/search.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>Search &mdash; investpy 0.9.8 documentation</title>
<title>Search &mdash; investpy 0.9.9 documentation</title>



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


<div class="version">
0.9.8
0.9.9
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
author = 'Alvaro Bartolome'

# The short X.Y version
version = '0.9.8'
version = '0.9.9'
# The full version, including alpha/beta/rc tags
release = '0.9.8'
release = '0.9.9'


# -- General configuration ---------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions investpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env python
#!/usr/bin/python3

# Copyright 2018-2019 Alvaro Bartolome @ alvarob96 in GitHub
# See LICENSE for details.

__author__ = 'Alvaro Bartolome @ alvarob96 in GitHub'
__version__ = '0.9.8'
__version__ = '0.9.9'

from investpy.stocks import get_stocks, get_stocks_list, get_stocks_dict, get_stock_countries, get_stock_recent_data, \
get_stock_historical_data, get_stock_company_profile, get_stock_dividends, search_stocks
Expand Down
Loading

0 comments on commit 7b043c9

Please sign in to comment.