Skip to main content

Core library for stock/crypto data with multi-source failover

Project description

open-stock-data

Core library for stock/crypto data with multi-source failover.

Provides 47 tool functions for A-stock, HK, US stock, and crypto data with automatic failover across 6 data sources.

Install

pip install open-stock-data

Usage

from open_stock_data.tools import stock_prices, get_current_time

# Get stock prices
print(stock_prices(symbol="600519", market="sh", limit=5))

# Get current time
print(get_current_time())

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

open_stock_data-0.1.2.tar.gz (86.9 kB view details)

Uploaded Source

Built Distribution

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

open_stock_data-0.1.2-py3-none-any.whl (104.3 kB view details)

Uploaded Python 3

File details

Details for the file open_stock_data-0.1.2.tar.gz.

File metadata

  • Download URL: open_stock_data-0.1.2.tar.gz
  • Upload date:
  • Size: 86.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for open_stock_data-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a9076d26b0a83ca0fa72595d1ba1655730d317aeea05dacb622203e3fd7e8d5a
MD5 013d27a217b3f22a02139863968b67da
BLAKE2b-256 0eb109f5e540846758845b531e839774ebb44778baa3435cd21c2ebe18b7f215

See more details on using hashes here.

File details

Details for the file open_stock_data-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for open_stock_data-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2725b2547dbba8eaf3273f177513e02e81e6f1dbf13f139014008cd9b5ec1da8
MD5 febf3cce23c8a5850ce3caa03ae43bec
BLAKE2b-256 84e655823e825afc1bad19a36f0c744190d5d0aabdd94353090dffca2ded6039

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