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.0.tar.gz (170.4 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.0-py3-none-any.whl (95.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for open_stock_data-0.1.0.tar.gz
Algorithm Hash digest
SHA256 43bfd75a362b6fb7b1f19cd066d646c414eaee694e23993a2764e308215fc8ae
MD5 74ad10a0527e856df044747a37e99cbc
BLAKE2b-256 800b4cea90d9085fa4237c642eae73392e9758bbaf6ae6584df447ce74187d99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_stock_data-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39de9029a3f1ffd2a79b19d3d7cdf44d1a11357c9a89e3e9c67e5c8983f4b8f7
MD5 94ee28af4b3b8943ae6dd9c3d940cebc
BLAKE2b-256 3aefa198a26c963698387575827afc148cb28af21683b4ab1aa0df498b9e6409

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