Skip to main content

A robust Python package for fetching and managing stock market data with yfinance to avoid frequent rate-limiting.

Project description

StockPulse

A robust Python package for fetching and managing stock market data with rate-limiting.

Installation

pip install stockpulse

Usage

from stockpulse import fetch_stock_data, intra_day_data, get_real_time_prices

# Fetch historical data
data = fetch_stock_data(tickers=["AAPL", "TSLA"], save_to_csv=True)

# Fetch intraday data
intraday = intra_day_data(tickers=["AAPL"], period="1d")

# Get real-time prices
prices = get_real_time_prices(tickers=["AAPL", "GOOGL"])
print(prices)

Features

  • Fetch historical and intraday stock data using yfinance.
  • Rate-limiting to avoid API restrictions.
  • Save data to CSV with organized file structure.
  • Continuous data fetching for real-time applications.

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

stockpulse-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stockpulse-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file stockpulse-0.1.0.tar.gz.

File metadata

  • Download URL: stockpulse-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for stockpulse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 71138aef8f96271bc379bf62206d8c792732f4ae94908068ed415ea3d9efd5ab
MD5 f72c69ceb901ac42860d2c8364e4b74e
BLAKE2b-256 3ffcb0e09b196b9e8c3cf3b3f884ae485e41dec11908cd61940bec0f9c5f8142

See more details on using hashes here.

File details

Details for the file stockpulse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: stockpulse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for stockpulse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7e3cd2edc52b9a4ba4e793d8d4a55e55f3c728cb0a7db26602e1a5559da5ad8
MD5 3893c9fb0aa1484fa85f1fc563ceaf5b
BLAKE2b-256 05232731024e4923b7e599c3ab61b4658c64ab4fc62de310e936a0c9d01f88b9

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