Skip to main content

📈 PyInvestingDataFetcher

A simple Python library to fetch equity data from investing.com.

Disclaimer: I created this library for fun and learning. I'm not sure about the proper ways to utilize this data. Maybe it's useful for someone out there! 🤷‍♂️ Also, I haven't checked the terms of service of investing.com closely, so using this might not align with their policies. Please ensure you're in compliance before using! 🚫 📜 Table of Contents

📜 Table of Contents

  1. Installation
  2. Usage
  3. Configuration
  4. Contributing
  5. License

🛠 Installation

To install the library, just do:

pip install PyInvestingDataFetcher

🚀 Usage

Fetching data is a breeze with PyInvestingDataFetcher. Here's how:

from investingfetcher.equity import Equity
from investingfetcher.fetchers import LazyEquityFetcher

if __name__ == "__main__":
    fetcher = LazyEquityFetcher('api_key.config', as_single_df=True)
    res = fetcher[Equity.tesla]

Replace Equity.tesla with your desired equity name and see the magic! 🎩✨

⚙ Configuration

Remember to set up your api_key.config with the necessary keys and configurations to access investing.com data. api_key.config should look like this:

api_key=[your_api_key_here]

Metadata

Release files for investingfetcher 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for investingfetcher 0.1.0
File Size Uploaded
investingfetcher-0.1.0.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for investingfetcher 0.1.0
File Interpreter ABI Platform
investingfetcher-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / investingfetcher-0.1.0.tar.gz

Download URL investingfetcher-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
807ccf4c36828a21dad696f2ac1b45e53dce5c507d16040c16e33b5200c191f7
BLAKE2b-256 checksum
How to use checksums
291b4dcc45827ecfbc99c9de8607b8169a1bc6ed0ffd730a3e6930cd2112bfd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.9.12 Darwin/20.6.0

Release files / investingfetcher-0.1.0-py3-none-any.whl

Download URL investingfetcher-0.1.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9b240fd6588fde493a9d870084252178210bf00c9207964559cc3706e95ebf1
BLAKE2b-256 checksum
How to use checksums
e844d2d1e601faac9f7ab76792345b970712cfbcdea2202bb670843d05556a40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.9.12 Darwin/20.6.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page