# shidenggui/easyquotation

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/shidenggui-easyquotation).**

5,021 stars · 1,495 forks · Python · mit

## Links

- GitHub: https://github.com/shidenggui/easyquotation
- awesome-repositories: https://awesome-repositories.com/repository/shidenggui-easyquotation.md

## Description

easyquotation is a Python library that provides access to Chinese stock market data, including real-time quotes, historical daily candlestick prices, exchange-traded fund details, and a stock code database sync utility. It retrieves live trading data from Chinese exchanges, A-shares, and Hong Kong listed stocks without requiring manual API key configuration, offering a unified interface to multiple public data feeds.

The library combines several market data providers behind a single query interface, using asynchronous I/O to handle parallel requests and a polling engine that delivers sub-second updates for real-time quotes. It normalizes raw JSON responses into a consistent schema, pools HTTP sessions to reduce latency, caches recent responses to avoid redundant network calls, and maintains a local registry of stock symbols mapped to exchange-specific codes. This architecture allows runtime selection between providers and supports both on-demand and streaming data retrieval.

## Tags

### Data & Databases

- [Chinese Market Data Libraries](https://awesome-repositories.com/f/data-databases/market-data-providers/chinese-market-data-libraries.md) — A library that provides real-time quotes, historical candlesticks, and ETF data from Chinese stock exchanges without requiring manual API key configuration.
- [Market Data Provider Adapters](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage/storage-backend-configurators/backend-provider-adapters/market-data-provider-adapters.md) — Allows runtime selection between multiple data providers based on availability or preference.
- [Schema-Driven Data Normalizers](https://awesome-repositories.com/f/data-databases/data-processing-pipelines/data-processing/data-normalization-schema-enforcement/schema-driven-data-normalizers.md) — Converts raw JSON responses from different sources into a consistent schema for downstream use.
- [Candlestick Data Providers](https://awesome-repositories.com/f/data-databases/market-data-providers/candlestick-data-providers.md) — An interface for obtaining historical daily open, close, high, low prices and volume for stocks on Chinese exchanges.
- [Market Data Aggregators](https://awesome-repositories.com/f/data-databases/market-data-providers/market-data-aggregators.md) — Combines multiple backend market data providers behind a single unified query interface.
- [A-Share Quote Retrievers](https://awesome-repositories.com/f/data-databases/multi-asset-quote-retrievers/a-share-quote-retrievers.md) — This market data library retrieves live stock prices and trading data from A-share market data providers with sub-second latency. ([source](https://github.com/shidenggui/easyquotation/blob/master/README.md))
- [ETF Pricing Details](https://awesome-repositories.com/f/data-databases/information-retrieval/fund-composition-data/etf-pricing-details.md) — This market data library gathers detailed pricing, discount, net asset value, and volume information for exchange-traded funds from a financial platform. ([source](https://github.com/shidenggui/easyquotation/blob/master/README.md))
- [Candlestick Data Retrievers](https://awesome-repositories.com/f/data-databases/market-data-providers/candlestick-data-retrievers.md) — This market data library obtains historical daily open, close, high, low prices and volume for a stock exchange as a time series. ([source](https://github.com/shidenggui/easyquotation/blob/master/README.md))
- [Stock Code Registries](https://awesome-repositories.com/f/data-databases/stock-code-registries.md) — Updating the local mapping of stock identifiers to market codes to include newly listed securities. ([source](https://github.com/shidenggui/easyquotation/blob/master/README.md))

### Business & Productivity Software

- [Real-Time Market Prices](https://awesome-repositories.com/f/business-productivity-software/pricing-structures/pricing-data-retrieval/real-time-market-prices.md) — Retrieves live stock prices and trading data from Chinese exchange feeds via public APIs. ([source](https://github.com/shidenggui/easyquotation#readme))
- [Stock Price Trackers](https://awesome-repositories.com/f/business-productivity-software/stock-price-trackers.md) — Fetching live stock prices and trading data from Chinese exchanges with low-latency public APIs.

### Web Development

- [Market Data Polling Engines](https://awesome-repositories.com/f/web-development/data-polling/market-data-polling-engines.md) — Polls market data APIs at short intervals to simulate live price feeds with sub-second updates.
- [ETF](https://awesome-repositories.com/f/web-development/data-aggregators/etf.md) — A module that gathers pricing, net asset value, discount, and volume information for exchange-traded funds listed in China.

### Part of an Awesome List

- [Historical Price Data Fetchers](https://awesome-repositories.com/f/awesome-lists/data/financial-data-analysis/historical-price-data-fetchers.md) — Retrieving daily open, high, low, close prices and volume for stock exchange listings over time.

### Networking & Communication

- [Exchange-Traded Fund Data Connectors](https://awesome-repositories.com/f/networking-communication/trading-exchange-connectors/exchange-traded-fund-data-connectors.md) — Obtaining detailed pricing, net asset value, discount, and volume for ETFs from financial platforms.
