# akfamily/akshare

**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/akfamily-akshare).**

16,358 stars · 2,836 forks · Python · mit

## Links

- GitHub: https://github.com/akfamily/akshare
- Homepage: https://akshare.akfamily.xyz
- awesome-repositories: https://awesome-repositories.com/repository/akfamily-akshare.md

## Topics

`academic` `akshare` `asset-pricing` `bond` `currency` `data` `data-analysis` `data-science` `datasets` `economic-data` `economics` `finance` `finance-api` `financial-data` `fundamental` `futures` `option` `quant` `stock`

## Description

This project is a Python library designed for the programmatic retrieval and analysis of diverse financial datasets. It functions as a comprehensive toolkit for quantitative research, providing a unified interface to fetch historical and real-time market data across asset classes including equities, futures, bonds, cryptocurrencies, and foreign exchange. By abstracting complex network requests into simple, parameter-driven functions, it enables users to integrate financial data into research workflows and automated trading systems.

The library distinguishes itself through its scraper-based aggregation and interface-driven normalization, which transform heterogeneous web-based data into consistent, tabular structures compatible with standard data analysis tools. It supports a wide range of specialized financial domains, including corporate fundamental analysis, institutional activity tracking, and macroeconomic monitoring. Beyond data retrieval, the framework includes built-in utilities for technical indicator calculation, market sentiment analysis, and the implementation of quantitative trading strategies.

The platform provides extensive infrastructure support to ensure reliable data access and consistent execution. This includes configuration utilities for managing network connectivity and proxy settings, as well as deployment tools for containerized environments. The library is designed to be environment-agnostic, facilitating its use in local development setups, cloud-based research environments, or automated trading services.

## Tags

### Business & Productivity Software

- [Automated Trading Execution](https://awesome-repositories.com/f/business-productivity-software/automated-trading-execution.md) — Connects to brokerage interfaces to perform live trading operations based on quantitative strategies. ([source](https://akshare.akfamily.xyz))
- [Exchange Rate Datasets](https://awesome-repositories.com/f/business-productivity-software/currency-conversion-services/exchange-rate-datasets.md) — Retrieves current or historical exchange rate data for specific currency pairs to support quantitative research and financial analysis across international markets. ([source](https://akshare.akfamily.xyz/data/currency/currency.html))
- [Investment Research Terminals](https://awesome-repositories.com/f/business-productivity-software/financial-operational-management/billing-financial-systems/financial-analysis-tools/investment-research-terminals.md) — Provides an integrated environment for accessing and processing market data to build and test investment models.
- [Activity Tracking](https://awesome-repositories.com/f/business-productivity-software/activity-tracking.md) — Tracks institutional research, fund holdings, and capital flows to identify professional investment trends. ([source](https://akshare.akfamily.xyz/data/index.html))
- [Historical Data Analysis](https://awesome-repositories.com/f/business-productivity-software/historical-data-analysis.md) — Retrieves daily or periodic historical price and volume data for stock indices. ([source](https://akshare.akfamily.xyz/data/index/index.html))
- [Financial Institution Registries](https://awesome-repositories.com/f/business-productivity-software/financial-institution-registries.md) — Provides access to official registration and membership records for financial institutions. ([source](https://akshare.akfamily.xyz/data/fund/fund_private.html))
- [Trading Risk Analysis](https://awesome-repositories.com/f/business-productivity-software/trading-risk-analysis.md) — Calculates trading costs and profitability by reviewing fee structures and margin requirements. ([source](https://akshare.akfamily.xyz/data/futures/futures.html))
- [Trade Statistics Trackers](https://awesome-repositories.com/f/business-productivity-software/trading-risk-analysis/trade-statistics-trackers.md) — Accesses market-wide transaction statistics including margin trading and block trades. ([source](https://akshare.akfamily.xyz/data/index.html))
- [Trading Volume Analytics](https://awesome-repositories.com/f/business-productivity-software/cryptocurrency-trading-platforms/trading-volume-analytics.md) — Fetches historical trading volume and open interest data for digital asset futures and options to analyze market liquidity and investor interest. ([source](https://akshare.akfamily.xyz/data/dc/dc.html))

### Data & Databases

- [Financial Data Connectors](https://awesome-repositories.com/f/data-databases/financial-data-connectors.md) — Provides a programmatic interface for accessing standardized financial statements, exchange rates, and regulatory disclosures.
- [Market Data Providers](https://awesome-repositories.com/f/data-databases/market-data-providers.md) — Fetches real-time market data for stock indices from major financial providers. ([source](https://akshare.akfamily.xyz/data/index/index.html))
- [Financial Data Processing](https://awesome-repositories.com/f/data-databases/financial-data-processing.md) — Fetches specialized datasets including economic indicators and industry-specific metrics to support quantitative research and deeper financial analysis of market trends. ([source](https://akshare.akfamily.xyz/data/others/others.html))
- [Bond Market Quotes](https://awesome-repositories.com/f/data-databases/market-data-providers/bond-market-quotes.md) — Fetches real-time and historical market quotes, including spot market prices, yields, and transaction records for bonds. ([source](https://akshare.akfamily.xyz/data/bond/bond.html))
- [Metric Calculators](https://awesome-repositories.com/f/data-databases/metric-calculators.md) — Computes basis spreads and roll yields to evaluate market structure and hedging opportunities. ([source](https://akshare.akfamily.xyz/data/futures/futures.html))
- [Volatility Indexes](https://awesome-repositories.com/f/data-databases/data-indexing-services/volatility-indexes.md) — Retrieves volatility index data to support market sentiment analysis. ([source](https://akshare.akfamily.xyz/data/index/index.html))
- [Financial Market Visualizers](https://awesome-repositories.com/f/data-databases/data-visualization-charts/financial-market-visualizers.md) — Generates technical charts and visual representations of financial data and price movements. ([source](https://cdn.jsdelivr.net/gh/akfamily/akshare@main/README.md))
- [Fundamental Data Retrieval](https://awesome-repositories.com/f/data-databases/fundamental-data-retrieval.md) — Retrieves standardized financial statements and governance metrics to evaluate the operational health of public companies.
- [Fund Composition Data](https://awesome-repositories.com/f/data-databases/information-retrieval/fund-composition-data.md) — Extracts detailed asset allocation data to provide transparency into investment strategies. ([source](https://akshare.akfamily.xyz/data/fund/fund_public.html))
- [Performance History](https://awesome-repositories.com/f/data-databases/information-retrieval/fund-composition-data/performance-history.md) — Fetches historical net values and growth rates to support quantitative research. ([source](https://akshare.akfamily.xyz/data/fund/fund_public.html))
- [Bond Indices](https://awesome-repositories.com/f/data-databases/market-data-providers/bond-indices.md) — Provides historical performance metrics and composition data for various bond indices, including treasury and composite indices. ([source](https://akshare.akfamily.xyz/data/bond/bond.html))
- [Tabular Data Frames](https://awesome-repositories.com/f/data-databases/time-series-data-modeling/tabular-data-frames.md) — Uses tabular data structures as the primary medium for representing and manipulating multi-dimensional financial datasets.
- [Currency Conversion](https://awesome-repositories.com/f/data-databases/currency-conversion.md) — Calculates the converted value of a specific amount between two currencies using the latest available exchange rates to ensure accurate financial reporting and budgeting. ([source](https://akshare.akfamily.xyz/data/currency/currency.html))
- [Data Normalization Utilities](https://awesome-repositories.com/f/data-databases/data-normalization-utilities.md) — Maps heterogeneous API responses and web tables into consistent, standardized Python data structures for analysis.
- [Bond Issuance Records](https://awesome-repositories.com/f/data-databases/data-retrieval-interfaces/bond-issuance-records.md) — Retrieves detailed descriptive and issuance data for bonds by filtering through parameters like type, issuer, and rating. ([source](https://akshare.akfamily.xyz/data/bond/bond.html))
- [Industry Classification Systems](https://awesome-repositories.com/f/data-databases/industry-classification-systems.md) — Enables categorization of financial data based on standard industry classification systems. ([source](https://akshare.akfamily.xyz/data/index/index.html))
- [Performance Rankings](https://awesome-repositories.com/f/data-databases/information-retrieval/fund-composition-data/performance-rankings.md) — Generates comparative rankings for funds based on historical returns and risk metrics. ([source](https://akshare.akfamily.xyz/data/fund/fund_public.html))
- [Profitability Metrics](https://awesome-repositories.com/f/data-databases/information-retrieval/fund-composition-data/profitability-metrics.md) — Computes historical profit probabilities and average returns to assist in decision-making. ([source](https://akshare.akfamily.xyz/data/fund/fund_public.html))
- [Bond Market Summaries](https://awesome-repositories.com/f/data-databases/market-data-providers/bond-market-summaries.md) — Retrieves historical market summaries, including issuance volumes, transaction statistics, and yield curve data for various bond types. ([source](https://akshare.akfamily.xyz/data/bond/bond.html))
- [Digital Asset Institutional Holdings](https://awesome-repositories.com/f/data-databases/market-data-providers/digital-asset-institutional-holdings.md) — Downloads current data on institutional and government digital asset holdings including market value, cost basis, and ownership percentages to track large-scale market participation. ([source](https://akshare.akfamily.xyz/data/dc/dc.html))
- [High-Frequency Index Data](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/data-indexing-strategies/high-frequency-index-data.md) — Fetches historical minute-level price data for major stock indices to support backtesting. ([source](https://akshare.akfamily.xyz/data/hf/hf.html))
- [Web Scrapers](https://awesome-repositories.com/f/data-databases/web-scrapers.md) — Extracts structured financial information by parsing web responses from diverse public sources into unified data formats.
- [Commodity Market Data](https://awesome-repositories.com/f/data-databases/commodity-market-data.md) — Fetches daily warehouse receipt and inventory reports from major exchanges to track physical commodity supply changes and assess market availability. ([source](https://akshare.akfamily.xyz/data/futures/futures.html))
- [Indexing and Search](https://awesome-repositories.com/f/data-databases/indexing-and-search.md) — Provides programmatic access to index constituent lists and their associated weights for financial analysis. ([source](https://akshare.akfamily.xyz/data/index/index.html))
- [Manager Registrations](https://awesome-repositories.com/f/data-databases/information-retrieval/fund-composition-data/manager-registrations.md) — Retrieves lists of active and cancelled private fund managers including registration details. ([source](https://akshare.akfamily.xyz/data/fund/fund_private.html))
- [Product Records](https://awesome-repositories.com/f/data-databases/information-retrieval/fund-composition-data/product-records.md) — Retrieves detailed records for various investment products including operational and registration status. ([source](https://akshare.akfamily.xyz/data/fund/fund_private.html))
- [Carbon Market Data](https://awesome-repositories.com/f/data-databases/market-data-providers/carbon-market-data.md) — Retrieves historical and current carbon emission market data for domestic and international regions to support energy-related financial analysis. ([source](https://akshare.akfamily.xyz/data/energy/energy.html))
- [Convertible Bond Data](https://awesome-repositories.com/f/data-databases/market-data-providers/convertible-bond-data.md) — Aggregates real-time market data, historical price trends, and detailed profile information for convertible bonds. ([source](https://akshare.akfamily.xyz/data/bond/bond.html))
- [Derivative Quotes](https://awesome-repositories.com/f/data-databases/market-data-providers/derivative-quotes.md) — Retrieves real-time spot, forward, and swap market quotes for currency hedging analysis. ([source](https://akshare.akfamily.xyz/data/fx/fx.html))
- [Repurchase Market Data](https://awesome-repositories.com/f/data-databases/market-data-providers/repurchase-market-data.md) — Fetches real-time and historical transaction data for pledged bond repurchase agreements in the interbank and exchange markets. ([source](https://akshare.akfamily.xyz/data/bond/bond.html))

### Artificial Intelligence & ML

- [Financial Market Analysis Platforms](https://awesome-repositories.com/f/artificial-intelligence-ml/market-analysis-agents/financial-market-analysis-platforms.md) — Aggregates institutional activity, corporate fundamentals, and sentiment metrics to support data-driven investment decision-making.
- [Market Sentiment Analyzers](https://awesome-repositories.com/f/artificial-intelligence-ml/market-sentiment-analyzers.md) — Aggregates social media and analyst data to measure market sentiment for specific assets. ([source](https://akshare.akfamily.xyz/data/index.html))

### Scientific & Mathematical Computing

- [Algorithmic Trading](https://awesome-repositories.com/f/scientific-mathematical-computing/quantitative-finance/algorithmic-trading.md) — Implements common trading algorithms including momentum and mean reversion models. ([source](https://akshare.akfamily.xyz/articles.html))
- [Research Platforms](https://awesome-repositories.com/f/scientific-mathematical-computing/quantitative-finance/research-platforms.md) — Provides a comprehensive toolkit for implementing trading strategies, calculating technical indicators, and performing backtesting.
- [Technical Analysis](https://awesome-repositories.com/f/scientific-mathematical-computing/quantitative-finance/technical-analysis.md) — Computes technical analysis metrics and volatility measures from raw market data. ([source](https://akshare.akfamily.xyz))
- [Multi-Factor Research Models](https://awesome-repositories.com/f/scientific-mathematical-computing/multi-factor-research-models.md) — Supports quantitative analysis of market factors and asset pricing models. ([source](https://akshare.akfamily.xyz/data/article/article.html))
- [Economic Analysis Tools](https://awesome-repositories.com/f/scientific-mathematical-computing/research-analysis-workflows/economic-analysis-tools.md) — Fetches central bank rates and economic policy indices to analyze the impact of global policy on financial markets.
- [Research Retrieval Interfaces](https://awesome-repositories.com/f/scientific-mathematical-computing/research-analysis-workflows/research-and-data-analysis-tools/research-retrieval-interfaces.md) — Retrieves historical realized volatility metrics for global financial indices. ([source](https://akshare.akfamily.xyz/data/article/article.html))

### Security & Cryptography

- [Banking Data](https://awesome-repositories.com/f/security-cryptography/integration-detail-retrieval/banking-data.md) — Fetches historical interest rate decision reports for major global economies. ([source](https://akshare.akfamily.xyz/data/interest_rate/interest_rate.html))
- [Reference Rates](https://awesome-repositories.com/f/security-cryptography/integration-detail-retrieval/banking-data/reference-rates.md) — Retrieves historical and current central bank parity rates and commercial bank exchange rates. ([source](https://akshare.akfamily.xyz/data/fx/fx.html))
- [Regulatory Compliance](https://awesome-repositories.com/f/security-cryptography/governance-policy-frameworks/compliance-governance/regulatory-compliance.md) — Fetches structured records of regulatory penalties issued to financial institutions. ([source](https://akshare.akfamily.xyz/data/bank/bank.html))
- [Interbank Lending Rates](https://awesome-repositories.com/f/security-cryptography/integration-detail-retrieval/banking-data/reference-rates/interbank-lending-rates.md) — Fetches historical interbank offered rate data across various global markets, currencies, and maturity tenors. ([source](https://akshare.akfamily.xyz/data/interest_rate/interest_rate.html))
- [Repo Fixing Rates](https://awesome-repositories.com/f/security-cryptography/integration-detail-retrieval/banking-data/reference-rates/repo-fixing-rates.md) — Obtains historical or recent repo and interbank repo fixing rate data for specified date ranges or market types. ([source](https://akshare.akfamily.xyz/data/interest_rate/interest_rate.html))

### Web Development

- [Futures Specifications](https://awesome-repositories.com/f/web-development/api-management-tools/api-development-management/api-documentation/contract-first-specifications/futures-specifications.md) — Accesses metadata for futures contracts including trading hours and margin rules. ([source](https://akshare.akfamily.xyz/data/futures/futures.html))

### Software Engineering & Architecture

- [Data Fetching Layers](https://awesome-repositories.com/f/software-engineering-architecture/data-fetching-layers.md) — Separates raw data fetching logic from processing layers to facilitate modular integration of new financial data sources.
