Skip to main content

investpy — Python package for stock historical data extraction from Investing

Project description

investpy — Python package for stock historical data extraction from Investing

Python Version PyPi Version Anaconda Cloud Version Package Status Build Status Documentation Status codecov Downloads

Introduction

Since Investing does not have an API, I decided to develop this Python scraper in order to retrieve historical data from the companies that integrate the Continuous Spanish Stock Market. The scraper is a Python package everyone can use through PyPi (Python Package Installer) via investpy.

The main purpose of developing this package was to use it as the Data Extraction tool for its namesake section, for my Final Degree Project at the University of Salamanca titled "Machine Learning for stock investment recommendation systems". The package end up being so consistent, reliable and usable that it is going to be used as the main Data Extraction tool by another students in their Final Degree Projects named "Recommender system of banking products" and "Robo-Advisor Application".

To conclude this section, I am in the need to specify that this is not the final version of the package, this is just a beta version of it that will keep going while I develop a consistent Python package for financial data extraction.

Installation

In order to get this package working you will need to install investpy from PyPi via Terminal typing:

pip install investpy==0.8.6

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

Documentation

investpy - Read the Docs

Contribute to investpy - Open Source Helpers

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 where anyone can contribute opening new issues if needed or navigate through them in order to solve them or contribute to its solving.

Additionally, you can triage issues on investpy CodeTriage so you can provide issues so the package can grow and improve as the issues solves bugs, problems or needs, and maybe provide new ideas to improve package functionality and efficiency.

Feel free to contact package administrator via email!

License

MIT License

Additional Information

The package is currently in a development version, so please, if needed open an issue to solve all the possible problems the package may be causing so I fix them as fast as I can. Also, any new ideas or proposals are welcome, and I will gladly implement them in the package if the are positive and useful.

For further information or any question feel free to contact me via email at alvarob96@usal.es

You can also check my Medium Publication, where I upload weekly posts related to Data Science and some of them explain investpy functions and development in a deeper way.

Disclaimer

This Python Package has been made for research purposes in order to fit a needs that Investing.com does not cover, so this package works like an Application Programming Interface (API) of Investing.com developed in an altruistic way. Conclude that this package is not related in any way with Investing.com or any dependant company, the only requirement for developing this package was to mention the source where data is retrieved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

investpy-0.8.6.tar.gz (245.6 kB view details)

Uploaded Source

File details

Details for the file investpy-0.8.6.tar.gz.

File metadata

  • Download URL: investpy-0.8.6.tar.gz
  • Upload date:
  • Size: 245.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for investpy-0.8.6.tar.gz
Algorithm Hash digest
SHA256 89b17b9b88c2f32ec55937ed978a6e40bb5f21a56fbe7511d99a803b14079fc2
MD5 9dd63e537adcd92babe62aa43bfacc83
BLAKE2b-256 7d8e3751a956c17c17f47ba262927367bbb66a7a58c7585816c86bb072ede8a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page