# Micro-sheep/efinance

efinance 是一个可以快速获取基金、股票、债券、期货数据的 Python 库，回测以及量化交易的好帮手！🚀🚀🚀

Repository: https://github.com/Micro-sheep/efinance
Canonical: https://ross.abutalabs.com/products/efinance
Language: Python
License: MIT
License Family: permissive
Topics: finance, stock, fund, bond, futures, quant
Last push: 2026-07-17T07:47:42+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 40, longevity 100
- inputs: {"age_days": 2015, "days_push": 47, "days_rel": 536, "gap_med": 4, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3958, forks 746 (observed 2026-08-28T04:08:30.536526+00:00)

## What it is
A free open-source Python library for quickly fetching Chinese stock, fund, bond, and futures market data based on Eastmoney. It is designed to help individual traders and quants feed data into backtesting and quantitative trading systems.

## Use cases
- get historical daily k-line data for chinese stocks
- fetch fund net value and performance data
- download futures market data in python
- pull bond quotes for analysis
- feed market data into a backtesting pipeline
- build a personal quantitative trading data source

## When to choose
- you need free programmatic access to China A-share, fund, bond, or futures data
- you want a simple pandas-friendly API for market data
- you are building a personal quant or backtesting system

## When to avoid
- you need commercial-grade, guaranteed data availability or SLAs
- you need non-Chinese or global market data
- you plan commercial use, which the license disclaims

## Facets
- artifact type: library
- maturity: active
- function: http-client, data-science, analytics
- domain: fintech, data-science, analytics
- platform: python, cross-platform
- tags: finance, stock-data, fund-data, bond-data, futures-data, eastmoney, quant, market-data, trading

## Member repositories
- Micro-sheep/efinance (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:30.536526+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:24:28.829960+00:00, confidence not recorded.
  - readme: https://github.com/Micro-sheep/efinance (fetched 2026-08-28T04:08:30.536526+00:00, sha 7745b7210d67)
  - registry_pypi: https://pypi.org/pypi/efinance/json (fetched 2026-08-29T09:17:55.942613+00:00, sha 410e1ceca31f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
