lixinger-python 0.3.15__tar.gz → 0.3.17__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/.claude/settings.local.json +3 -1
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/ARCHITECTURE.md +1 -1
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/CHANGELOG.md +31 -1
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/PKG-INFO +1 -1
- lixinger_python-0.3.17/docs/api/industry/constituents/sw_2021.md +45 -0
- lixinger_python-0.3.17/docs/api/industry/fundamental/sw_2021.md +48 -0
- lixinger_python-0.3.17/docs/api/industry/industry.md +53 -0
- lixinger_python-0.3.17/examples/industry_constituents_sw_2021_example.py +35 -0
- lixinger_python-0.3.17/examples/industry_example.py +38 -0
- lixinger_python-0.3.17/examples/industry_fundamental_sw_2021_example.py +49 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/__init__.py +9 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/__init__.py +15 -0
- lixinger_python-0.3.17/lixinger/api/cn/industry/constituents/__init__.py +19 -0
- lixinger_python-0.3.17/lixinger/api/cn/industry/constituents/sw_2021.py +122 -0
- lixinger_python-0.3.17/lixinger/api/cn/industry/fundamental/__init__.py +19 -0
- lixinger_python-0.3.17/lixinger/api/cn/industry/fundamental/sw_2021.py +153 -0
- lixinger_python-0.3.17/lixinger/api/cn/industry/industry.py +141 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/namespace.py +71 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/client.py +16 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/__init__.py +6 -0
- lixinger_python-0.3.17/lixinger/models/cn/industry/constituents/__init__.py +13 -0
- lixinger_python-0.3.17/lixinger/models/cn/industry/constituents/sw_2021.py +24 -0
- lixinger_python-0.3.17/lixinger/models/cn/industry/fundamental/__init__.py +13 -0
- lixinger_python-0.3.17/lixinger/models/cn/industry/fundamental/sw_2021.py +23 -0
- lixinger_python-0.3.17/lixinger/models/cn/industry/industry.py +26 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/mkdocs.yml +3 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/pyproject.toml +1 -1
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/scripts/generate_docs.py +42 -0
- lixinger_python-0.3.17/tests/test_industry.py +224 -0
- lixinger_python-0.3.17/tests/test_industry_constituents_sw_2021.py +173 -0
- lixinger_python-0.3.17/tests/test_industry_fundamental_sw_2021.py +178 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/uv.lock +1 -1
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/.env.example +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/.github/copilot-instructions.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/.github/workflows/README.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/.github/workflows/pr-checks.yml +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/.gitignore +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/.pre-commit-config.yaml +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/.python-version +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/.ruff.toml +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/ADD_NEW_API_QUICK.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/CLAUDE.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/DOCUMENTATION.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/LICENSE +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/MANIFEST.in +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/PUBLISHING.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/README.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/codecov.yml +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/client.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/announcement.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/candlestick.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/company.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/dividend.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/equity_change.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/fs/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/fundamental/bank.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/fundamental/insurance.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/fundamental/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/fundamental/other_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/fundamental/security.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/indices.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/company/profile.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/fund/announcement.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/fund/asset_combination.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/fund/asset_industry_combination.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/fund/candlestick.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/fund/fund.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/fund/profile.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/fund/shareholdings.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/index/candlestick.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/index/constituent_weightings.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/index/constituents.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/index/drawdown.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/index/fundamental.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/index/index.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/index/tracking_fund.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/industry/fs/sw_2021/bank.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/industry/fs/sw_2021/hybrid.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/industry/fs/sw_2021/insurance.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/industry/fs/sw_2021/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/industry/fs/sw_2021/security.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/api/overview.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/development/code-style.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/development/contributing.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/development/testing.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/examples/company.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/examples/fund.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/examples/index.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/getting-started/configuration.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/getting-started/installation.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/getting-started/quickstart.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/docs/index.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/examples/company_example.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/examples/company_profile_example.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/examples/dividend_example.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/examples/fs_example.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/examples/index_constituent_weightings_example.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/examples/index_constituents_example.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/examples/index_info_example.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/examples/index_margin_trading_example.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/base.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/announcement.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/candlestick.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/company.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/dividend.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/equity_change.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fs/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fs/bank.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fs/insurance.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fs/non_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fs/other_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fs/security.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fundamental/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fundamental/bank.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fundamental/insurance.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fundamental/non_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fundamental/other_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/fundamental/security.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/indices.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/namespace.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/company/profile.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/fund/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/fund/announcement.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/fund/asset_combination.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/fund/asset_industry_combination.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/fund/candlestick.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/fund/fund.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/fund/profile.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/fund/shareholdings.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/candlestick.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/constituent_weightings.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/constituents.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/drawdown.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/fs/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/fs/bank.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/fs/hybrid.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/fs/non_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/fs/security.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/fundamental.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/index.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/margin_trading.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/namespace.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/index/tracking_fund.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/fs/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/fs/sw_2021/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/fs/sw_2021/bank.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/fs/sw_2021/hybrid.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/fs/sw_2021/insurance.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/fs/sw_2021/non_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/fs/sw_2021/security.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/margin_trading/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/margin_trading/cni.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/margin_trading/sw.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/cn/industry/margin_trading/sw_2021.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/macro/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/macro/namespace.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/macro/national_debt.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/macro/rmb_deposits.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/macro/rmb_loans.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/api/macro/social_financing.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/config.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/exceptions.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/announcement.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/candlestick.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/company.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/dividend.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/equity_change.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fs/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fs/bank.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fs/insurance.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fs/non_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fs/other_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fs/security.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fundamental/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fundamental/bank.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fundamental/insurance.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fundamental/non_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fundamental/other_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/fundamental/security.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/company/indices.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/fund/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/fund/announcement.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/fund/asset_combination.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/fund/asset_industry_combination.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/fund/candlestick.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/fund/fund.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/fund/profile.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/fund/shareholdings.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/candlestick.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/constituent_weightings.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/constituents.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/drawdown.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/fs/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/fs/bank.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/fs/hybrid.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/fs/non_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/fs/security.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/fundamental.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/index.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/margin_trading.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/index/tracking_fund.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/fs/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/fs/sw_2021/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/fs/sw_2021/bank.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/fs/sw_2021/hybrid.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/fs/sw_2021/insurance.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/fs/sw_2021/non_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/fs/sw_2021/security.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/margin_trading/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/margin_trading/cni.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/margin_trading/sw.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/cn/industry/margin_trading/sw_2021.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/macro/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/macro/national_debt.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/macro/rmb_deposits.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/macro/rmb_loans.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/models/macro/social_financing.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/py.typed +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/utils/__init__.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/utils/api.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/utils/dataframe.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/utils/dict.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/utils/rate_limiter.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger/utils/retry.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/REMINDER.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/allotment.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/announcement.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/block-deal.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/candlestick.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/customers.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/dividend.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/equity-change.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fs/bank.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fs/insurance.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fs/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fs/other_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fs/security.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fund-collection-shareholders.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fund-shareholders.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fundamental/bank.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fundamental/insurance.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fundamental/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fundamental/other_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/fundamental/security.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/capita.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/df.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/elr.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/esc.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/mm_ha.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/mssc.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/mtasl.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/npd.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/ple.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/shnc.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/t_a.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/tr.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/hot/tr_dri.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/indices.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/industries.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/inquiry.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/major-shareholders-shares-change.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/majority-shareholders.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/margin-trading-and-securities-lending.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/measures.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/mutual-market.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/nolimit-shareholders.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/operating-data.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/operation-revenue-constitution.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/pledge.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/profile.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/senior-executive-shares-change.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/shareholders-num.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/suppliers.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/trading-abnormal.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company/volatility.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/company.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/announcement.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/asset-combination.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/asset-industry-combination.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/candlestick.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/dividend.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/drawdown.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/fees.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/hot/f_as.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/hot/f_nlacan.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/hot/fet_s.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/hot/ff.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/hot/fp.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/hot/fpr.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/hot/fss.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/manager.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/net-value-of-dividend-reinvestment.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/net-value.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/profile.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/shareholders-structure.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/shareholdings.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/shares.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/split.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/total-net-value.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/turnover-rate.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund/volatility.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-company/asset-scale.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-company/fund-list.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-company/fund-manager-list.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-company/hot/fc_as.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-company/hot/fc_asr.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-company/shareholdings.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-company.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-manager/hot/fmi.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-manager/hot/fmp.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-manager/management-funds.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-manager/profit-ratio.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-manager/shareholdings.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund-manager.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/fund.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/candlestick.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/constituent-weightings.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/constituents.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/drawdown.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/fs/bank.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/fs/hybrid.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/fs/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/fs/security.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/fundamental.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/hot/cp.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/hot/ic.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/hot/ifet_sni.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/hot/mm_ha.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/hot/mtasl.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/hot/tr.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/hot/tr_cp.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/margin-trading-and-securities-lending.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/mutual-market.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/tracking-fund.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index/volatility.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/index.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/constituents/cni.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/constituents/sw.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/constituents/sw_2021.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/cni/bank.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/cni/hybrid.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/cni/insurance.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/cni/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/cni/security.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/sw/bank.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/sw/hybrid.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/sw/insurance.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/sw/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/sw/security.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/sw_2021/bank.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/sw_2021/hybrid.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/sw_2021/insurance.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/sw_2021/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fs/sw_2021/security.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fundamental/cni.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fundamental/sw.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/fundamental/sw_2021.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/hot/mm_ha/cni.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/hot/mm_ha/sw.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/hot/mm_ha/sw_2021.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/hot/mtasl/cni.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/hot/mtasl/sw.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/hot/mtasl/sw_2021.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/margin-trading-and-securities-lending/cni.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/margin-trading-and-securities-lending/sw.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/margin-trading-and-securities-lending/sw_2021.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/mutual-market/cni.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/mutual-market/sw.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry/mutual-market/sw_2021.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/cn/industry.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/allotment.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/announcement.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/candlestick.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/dividend.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/employee.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/equity-change.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fs/bank.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fs/insurance.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fs/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fs/other_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fs/reit.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fs/security.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fund-collection-shareholders.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fund-shareholders.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fundamental/bank.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fundamental/insurance.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fundamental/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fundamental/other_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fundamental/reit.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/fundamental/security.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/hot/capita.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/hot/director_equity_change.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/hot/mm_ah.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/hot/npd.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/hot/rep.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/hot/ss.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/hot/ss_ha.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/hot/tr.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/hot/tr_dri.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/indices.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/industries.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/latest-shareholders.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/mutual-market.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/operation-revenue-constitution.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/profile.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/repurchase.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/shareholders-equity-change.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/short-selling.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/split.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company/volatility.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/company.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/candlestick.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/constituents.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/drawdown.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/fs/hybrid.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/fs/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/fundamental.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/hot/cp.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/hot/ic.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/hot/ifet_sni.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/hot/mm_ah.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/mutual-market.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/tracking-fund.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index/volatility.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/index.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/industry/constituents/hsi.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/industry/fs/hsi/hybrid.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/industry/fs/hsi/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/industry/fundamental/hsi.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/industry/hot/mm_ah/hsi.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/industry/mutual-market/hsi.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/hk/industry.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/bop.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/central-bank-balance-sheet.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/credit-securities-account.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/crude-oil.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/currency-exchange-rate.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/domestic-debt-securities.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/domestic-trade.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/energy.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/foreign-assets.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/foreign-trade.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/gdp.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/gold-price.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/industrialization.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/interest-rates.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/investment-in-fixed-assets.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/investor.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/leverage-ratio.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/money-supply.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/national-debt.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/national-finance.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/natural-gas.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/non-ferrous-metals.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/official-reserve-assets.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/platinum-price.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/population.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/price-index.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/real-estate.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/required-reserves.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/rmb-deposits.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/rmb-loans.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/rmbidx.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/silver-price.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/social-financing.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/stamp-duty.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/traffic-transportation.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/unemployment-rate.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/usdx.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/macro/vix-fear-index.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/us/index/candlestick.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/us/index/constituents.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/us/index/drawdown.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/us/index/fs/non_financial.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/us/index/fundamental.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/us/index/hot/cp.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/us/index/hot/ifet_sni.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/us/index/tracking-fund.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/us/index/volatility.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/lixinger-api/us/index.md +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/mypy.ini +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/scripts/explore_api.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/scripts/publish.sh +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/api/cn/company/test_announcement.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/api/cn/company/test_dividend.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/api/cn/index/test_constituents.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/conftest.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_bank_statements.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_candlestick.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_client.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_cn_index_candlestick.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_cn_index_constituent_weightings.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_company.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_company_profile.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_equity_change.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_fund.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_fund_announcement.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_fund_asset_combination.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_fund_asset_industry_combination.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_fund_candlestick.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_fund_profile.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_fund_shareholdings.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_fundamental.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_fundamental_bank.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_fundamental_security.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_index.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_index_constituents.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_index_drawdown.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_index_fs_bank.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_index_fs_hybrid.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_index_fs_non_financial.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_index_fs_security.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_index_fundamental.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_index_margin_trading.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_indices.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_industry_fs_sw_2021.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_industry_margin_trading.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_insurance_statements.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_integration.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_macro.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_no_data.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_non_financial_statements.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_other_financial_statements.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_retry.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_security_statements.py +0 -0
- {lixinger_python-0.3.15 → lixinger_python-0.3.17}/tests/test_tracking_fund.py +0 -0
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
"Bash(curl -s https://pypi.org/pypi/lixinger-python/0.3.14/json)",
|
|
22
22
|
"Bash(LIXINGER_API_KEY=test uv run *)",
|
|
23
23
|
"Bash(git *)",
|
|
24
|
-
"Bash(gh --version)"
|
|
24
|
+
"Bash(gh --version)",
|
|
25
|
+
"Bash(unzip -l /Users/guojian/VSCodeProject/lixinger-python/dist/lixinger_python-0.3.15-py3-none-any.whl)",
|
|
26
|
+
"WebFetch(domain:pypi.org)"
|
|
25
27
|
]
|
|
26
28
|
}
|
|
27
29
|
}
|
|
@@ -43,7 +43,7 @@ lixinger-python/
|
|
|
43
43
|
│ │ ├── cn/ # 中国大陆市场
|
|
44
44
|
│ │ │ ├── company/ # /cn/company/*(含 fs/ 与 fundamental/ 按公司类型细分)
|
|
45
45
|
│ │ │ ├── index/ # /cn/index/*(含 fs/ 按指数类型细分)
|
|
46
|
-
│ │ │ ├── industry/ # /cn/industry/*(含 margin_trading/ 按行业分类系统细分、fs/sw_2021/
|
|
46
|
+
│ │ │ ├── industry/ # /cn/industry/*(含 margin_trading/ 按行业分类系统细分、fs/sw_2021/ 按行业样本类型细分、constituents/sw_2021 与 fundamental/sw_2021 按行业分类系统细分)
|
|
47
47
|
│ │ │ └── fund/ # /cn/fund/*
|
|
48
48
|
│ │ └── macro/ # /macro/*(宏观数据:national_debt / rmb_deposits / rmb_loans / social_financing / ...)
|
|
49
49
|
│ ├── models/ # Pandera DataFrame Schema(结构镜像 api/)
|
|
@@ -11,6 +11,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
- Add support for US stock market APIs
|
|
12
12
|
- Add caching mechanism for API responses
|
|
13
13
|
|
|
14
|
+
## [0.3.17] - 2026-07-07
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- 行业基础信息 API (`POST /cn/industry`) —
|
|
18
|
+
`client.cn_industry.industry.get_industry()` /
|
|
19
|
+
`client.cn_industry.get_industry()` (namespace 别名) /
|
|
20
|
+
`get_industry()` (函数式 API). 支持申万 (sw)、申万2021版 (sw_2021)、
|
|
21
|
+
国证 (cni) 三大分类体系, 可按行业代码 (`stock_codes`) 批量查询, 或按
|
|
22
|
+
`source` + `level` (`one` / `two` / `three`) 获取指定分类级别的全部行业.
|
|
23
|
+
返回 DataFrame 包含 stock_code / name / source / level / area_code /
|
|
24
|
+
market / fs_table_type / currency / launch_date 等字段.
|
|
25
|
+
|
|
26
|
+
## [0.3.16] - 2026-07-07
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
- 申万2021版行业成分股 API (`POST /cn/industry/constituents/sw_2021`) —
|
|
30
|
+
`client.cn_industry.constituents.sw_2021.get_constituents()` /
|
|
31
|
+
`get_industry_sw_2021_constituents()`. 支持按行业代码批量查询指定日期的
|
|
32
|
+
成分股列表, 自动将嵌套的 `constituents[]` 与 `stockName {cmn_hans_cn, en}`
|
|
33
|
+
拍平为 `industry_stock_code / stock_code / area_code / market /
|
|
34
|
+
stock_name_cn / stock_name_en` 六列 DataFrame.
|
|
35
|
+
- 申万2021版行业基本面数据 API (`POST /cn/industry/fundamental/sw_2021`) —
|
|
36
|
+
`client.cn_industry.fundamental.sw_2021.get_fundamental()` /
|
|
37
|
+
`get_industry_sw_2021_fundamental()`. 支持 PE-TTM / PB / PS-TTM / 股息率
|
|
38
|
+
的估值指标及 1年 / 3年 / 5年 / 10年 / 20年 / 上市以来的统计数据(分位点、
|
|
39
|
+
20% / 50% / 80% 分位点对应值、最大值 / 最小值 / 平均值), 同时支持市值、
|
|
40
|
+
A股市值、流通市值、自由流通市值等指标, 提供 `date` / `start_date` +
|
|
41
|
+
`end_date` 两种查询模式以及 `limit` 参数.
|
|
42
|
+
|
|
14
43
|
## [0.3.15] - 2026-07-06
|
|
15
44
|
|
|
16
45
|
### Added
|
|
@@ -248,7 +277,8 @@ asyncio.run(main())
|
|
|
248
277
|
- Pre-commit hooks
|
|
249
278
|
- MkDocs for documentation
|
|
250
279
|
|
|
251
|
-
[unreleased]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.
|
|
280
|
+
[unreleased]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.16...HEAD
|
|
281
|
+
[0.3.16]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.15...v0.3.16
|
|
252
282
|
[0.3.15]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.14...v0.3.15
|
|
253
283
|
[0.3.14]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.13...v0.3.14
|
|
254
284
|
[0.3.13]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.12...v0.3.13
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# 行业成分股(申万2021版)
|
|
2
|
+
|
|
3
|
+
获取申万2021版行业分类在指定日期的成分股列表。可按行业代码批量查询, 返回每只成分股的代码、地区、市场以及中英文名称。注意该行业划分多从2021年开始, 更早的时间可能没有数据。
|
|
4
|
+
|
|
5
|
+
## API 端点
|
|
6
|
+
|
|
7
|
+
`POST /cn/industry/constituents/sw_2021`
|
|
8
|
+
|
|
9
|
+
## 类参考
|
|
10
|
+
|
|
11
|
+
::: lixinger.api.cn.industry.constituents.sw_2021.IndustrySw2021ConstituentsAPI
|
|
12
|
+
options:
|
|
13
|
+
show_root_heading: true
|
|
14
|
+
show_source: true
|
|
15
|
+
heading_level: 3
|
|
16
|
+
|
|
17
|
+
## 使用示例
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
import asyncio
|
|
21
|
+
from lixinger import AsyncLixingerClient, get_industry_sw_2021_constituents
|
|
22
|
+
|
|
23
|
+
# 方式 1: 使用异步客户端
|
|
24
|
+
async def example1():
|
|
25
|
+
async with AsyncLixingerClient() as client:
|
|
26
|
+
df = await client.cn_industry.constituents.sw_2021.get_constituents(
|
|
27
|
+
stock_codes=["490000"],
|
|
28
|
+
date="latest",
|
|
29
|
+
)
|
|
30
|
+
print(df)
|
|
31
|
+
|
|
32
|
+
# 方式 2: 使用函数式 API
|
|
33
|
+
async def example2():
|
|
34
|
+
df = await get_industry_sw_2021_constituents(
|
|
35
|
+
stock_codes=["490000"],
|
|
36
|
+
date="latest",
|
|
37
|
+
)
|
|
38
|
+
print(df)
|
|
39
|
+
|
|
40
|
+
asyncio.run(example1())
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## 相关链接
|
|
44
|
+
|
|
45
|
+
- [官方文档](https://www.lixinger.com/open/api/doc?api-key=cn/industry/constituents/sw_2021)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# 行业基本面数据(申万2021版)
|
|
2
|
+
|
|
3
|
+
获取申万2021版行业的基本面估值数据及相关统计数据。指标包括 PE-TTM、PB、PS-TTM、股息率、市值、A股市值、流通市值、自由流通市值, 以及 PE-TTM、PB、PS-TTM、股息率在不同时间周期(1年 / 3年 / 5年 / 10年 / 20年 / 上市以来) 下的统计数据(分位点、20% / 50% / 80% 分位点对应值、最大值、最小值、平均值)。
|
|
4
|
+
|
|
5
|
+
## API 端点
|
|
6
|
+
|
|
7
|
+
`POST /cn/industry/fundamental/sw_2021`
|
|
8
|
+
|
|
9
|
+
## 类参考
|
|
10
|
+
|
|
11
|
+
::: lixinger.api.cn.industry.fundamental.sw_2021.IndustrySw2021FundamentalAPI
|
|
12
|
+
options:
|
|
13
|
+
show_root_heading: true
|
|
14
|
+
show_source: true
|
|
15
|
+
heading_level: 3
|
|
16
|
+
|
|
17
|
+
## 使用示例
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
import asyncio
|
|
21
|
+
from lixinger import AsyncLixingerClient, get_industry_sw_2021_fundamental
|
|
22
|
+
|
|
23
|
+
# 方式 1: 使用异步客户端 - 通过日期获取
|
|
24
|
+
async def example1():
|
|
25
|
+
async with AsyncLixingerClient() as client:
|
|
26
|
+
df = await client.cn_industry.fundamental.sw_2021.get_fundamental(
|
|
27
|
+
stock_codes=["490000"],
|
|
28
|
+
metrics=["pe_ttm.y10.mcw.cvpos", "pe_ttm.mcw", "mc"],
|
|
29
|
+
date="2026-06-02",
|
|
30
|
+
)
|
|
31
|
+
print(df)
|
|
32
|
+
|
|
33
|
+
# 方式 2: 使用函数式 API - 通过时间范围获取
|
|
34
|
+
async def example2():
|
|
35
|
+
df = await get_industry_sw_2021_fundamental(
|
|
36
|
+
stock_codes=["490000"],
|
|
37
|
+
metrics=["pe_ttm.y10.mcw.cvpos", "pe_ttm.mcw", "mc"],
|
|
38
|
+
start_date="2025-06-13",
|
|
39
|
+
end_date="2026-06-13",
|
|
40
|
+
)
|
|
41
|
+
print(df)
|
|
42
|
+
|
|
43
|
+
asyncio.run(example1())
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## 相关链接
|
|
47
|
+
|
|
48
|
+
- [官方文档](https://www.lixinger.com/open/api/doc?api-key=cn/industry/fundamental/sw_2021)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# 行业基础信息
|
|
2
|
+
|
|
3
|
+
获取大陆行业分类的基础信息, 支持申万 (sw)、申万2021版 (sw_2021)、国证 (cni) 三大分类体系. 可按一/二/三级行业级别筛选.
|
|
4
|
+
|
|
5
|
+
## API 端点
|
|
6
|
+
|
|
7
|
+
`POST /cn/industry`
|
|
8
|
+
|
|
9
|
+
## 类参考
|
|
10
|
+
|
|
11
|
+
::: lixinger.api.cn.industry.industry.IndustryAPI
|
|
12
|
+
options:
|
|
13
|
+
show_root_heading: true
|
|
14
|
+
show_source: true
|
|
15
|
+
heading_level: 3
|
|
16
|
+
|
|
17
|
+
## 使用示例
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
import asyncio
|
|
21
|
+
from lixinger import AsyncLixingerClient, get_industry
|
|
22
|
+
|
|
23
|
+
# 方式 1: 使用异步客户端
|
|
24
|
+
async def example1():
|
|
25
|
+
async with AsyncLixingerClient() as client:
|
|
26
|
+
# 获取指定行业信息
|
|
27
|
+
df = await client.cn_industry.industry.get_industry(
|
|
28
|
+
source="sw",
|
|
29
|
+
stock_codes=["490000"],
|
|
30
|
+
)
|
|
31
|
+
print(df)
|
|
32
|
+
|
|
33
|
+
# 获取申万一级行业列表
|
|
34
|
+
df = await client.cn_industry.industry.get_industry(
|
|
35
|
+
source="sw",
|
|
36
|
+
level="one",
|
|
37
|
+
)
|
|
38
|
+
print(df)
|
|
39
|
+
|
|
40
|
+
# 方式 2: 使用函数式 API(推荐)
|
|
41
|
+
async def example2():
|
|
42
|
+
df = await get_industry(
|
|
43
|
+
source="sw",
|
|
44
|
+
stock_codes=["490000"],
|
|
45
|
+
)
|
|
46
|
+
print(df)
|
|
47
|
+
|
|
48
|
+
asyncio.run(example1())
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## 相关链接
|
|
52
|
+
|
|
53
|
+
- [官方文档](https://www.lixinger.com/open/api/doc?api-key=cn/industry)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""申万2021版行业成分股 API 示例.
|
|
2
|
+
|
|
3
|
+
演示如何使用申万2021版行业成分股 API 获取行业分类下的成分股列表.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import asyncio
|
|
7
|
+
|
|
8
|
+
from lixinger import AsyncLixingerClient, get_industry_sw_2021_constituents
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
async def main():
|
|
12
|
+
"""演示申万2021版行业成分股 API 用法."""
|
|
13
|
+
# 方式 1: 使用异步客户端 (推荐)
|
|
14
|
+
print("方式 1: 使用异步客户端...")
|
|
15
|
+
async with AsyncLixingerClient() as client:
|
|
16
|
+
print("\n获取申万2021版 490000 (非银金融) 行业最新成分股...")
|
|
17
|
+
df = await client.cn_industry.constituents.sw_2021.get_constituents(
|
|
18
|
+
stock_codes=["490000"],
|
|
19
|
+
date="latest",
|
|
20
|
+
)
|
|
21
|
+
print(f"成分股数量: {len(df)}")
|
|
22
|
+
print(df.head(10))
|
|
23
|
+
|
|
24
|
+
# 方式 2: 使用函数式 API
|
|
25
|
+
print("\n方式 2: 使用函数式 API...")
|
|
26
|
+
df = await get_industry_sw_2021_constituents(
|
|
27
|
+
stock_codes=["490000"],
|
|
28
|
+
date="latest",
|
|
29
|
+
)
|
|
30
|
+
print(f"成分股数量: {len(df)}")
|
|
31
|
+
print(df.head(10))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
if __name__ == "__main__":
|
|
35
|
+
asyncio.run(main())
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"""行业基础信息 API 示例.
|
|
2
|
+
|
|
3
|
+
演示如何使用 /cn/industry 端点获取三大分类体系 (sw / sw_2021 / cni) 的行业信息.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import asyncio
|
|
7
|
+
|
|
8
|
+
from lixinger import AsyncLixingerClient, get_industry
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
async def main() -> None:
|
|
12
|
+
"""演示行业基础信息 API 用法."""
|
|
13
|
+
# 方式 1: 使用异步客户端 (推荐)
|
|
14
|
+
print("方式 1: 使用异步客户端...")
|
|
15
|
+
async with AsyncLixingerClient() as client:
|
|
16
|
+
print("\n获取申万 490000 (非银金融) 行业信息...")
|
|
17
|
+
df = await client.cn_industry.industry.get_industry(
|
|
18
|
+
source="sw",
|
|
19
|
+
stock_codes=["490000"],
|
|
20
|
+
)
|
|
21
|
+
print(df)
|
|
22
|
+
|
|
23
|
+
print("\n获取申万一级行业列表...")
|
|
24
|
+
df = await client.cn_industry.industry.get_industry(
|
|
25
|
+
source="sw",
|
|
26
|
+
level="one",
|
|
27
|
+
)
|
|
28
|
+
print(f"共 {len(df)} 条")
|
|
29
|
+
print(df.head())
|
|
30
|
+
|
|
31
|
+
# 方式 2: 使用函数式 API
|
|
32
|
+
print("\n方式 2: 使用函数式 API...")
|
|
33
|
+
df = await get_industry(source="sw", stock_codes=["490000"])
|
|
34
|
+
print(df)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
if __name__ == "__main__":
|
|
38
|
+
asyncio.run(main())
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"""申万2021版行业基本面数据 API 示例.
|
|
2
|
+
|
|
3
|
+
演示如何使用申万2021版行业基本面数据 API 获取行业的估值指标及历史统计数据.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import asyncio
|
|
7
|
+
|
|
8
|
+
from lixinger import AsyncLixingerClient, get_industry_sw_2021_fundamental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
async def main():
|
|
12
|
+
"""演示申万2021版行业基本面数据 API 用法."""
|
|
13
|
+
# 方式 1: 使用异步客户端 (推荐)
|
|
14
|
+
print("方式 1: 使用异步客户端...")
|
|
15
|
+
async with AsyncLixingerClient() as client:
|
|
16
|
+
# 通过指定日期获取
|
|
17
|
+
print("\n通过日期获取申万2021版 490000 (非银金融) 基本面数据...")
|
|
18
|
+
df = await client.cn_industry.fundamental.sw_2021.get_fundamental(
|
|
19
|
+
stock_codes=["490000"],
|
|
20
|
+
metrics=["pe_ttm.y10.mcw.cvpos", "pe_ttm.mcw", "mc"],
|
|
21
|
+
date="2026-06-02",
|
|
22
|
+
)
|
|
23
|
+
print(df)
|
|
24
|
+
|
|
25
|
+
# 通过时间范围获取
|
|
26
|
+
print("\n通过时间范围获取申万2021版 490000 (非银金融) 基本面数据...")
|
|
27
|
+
df = await client.cn_industry.fundamental.sw_2021.get_fundamental(
|
|
28
|
+
stock_codes=["490000"],
|
|
29
|
+
metrics=["pe_ttm.y10.mcw.cvpos", "pe_ttm.mcw", "mc"],
|
|
30
|
+
start_date="2025-06-13",
|
|
31
|
+
end_date="2026-06-13",
|
|
32
|
+
)
|
|
33
|
+
print(f"总记录数: {len(df)}")
|
|
34
|
+
print(df.head(5))
|
|
35
|
+
|
|
36
|
+
# 方式 2: 使用函数式 API + limit 参数
|
|
37
|
+
print("\n方式 2: 使用函数式 API (最近 10 天)...")
|
|
38
|
+
df = await get_industry_sw_2021_fundamental(
|
|
39
|
+
stock_codes=["490000"],
|
|
40
|
+
metrics=["pe_ttm.mcw", "mc"],
|
|
41
|
+
start_date="2025-06-01",
|
|
42
|
+
limit=10,
|
|
43
|
+
)
|
|
44
|
+
print(f"总记录数: {len(df)}")
|
|
45
|
+
print(df.head(10))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
if __name__ == "__main__":
|
|
49
|
+
asyncio.run(main())
|
|
@@ -43,8 +43,11 @@ from lixinger.api.cn.index import (
|
|
|
43
43
|
get_drawdown as get_index_drawdown,
|
|
44
44
|
)
|
|
45
45
|
from lixinger.api.cn.industry import (
|
|
46
|
+
get_industry,
|
|
46
47
|
get_industry_cni_margin_trading,
|
|
47
48
|
get_industry_sw_2021_bank_statements,
|
|
49
|
+
get_industry_sw_2021_constituents,
|
|
50
|
+
get_industry_sw_2021_fundamental,
|
|
48
51
|
get_industry_sw_2021_hybrid_statements,
|
|
49
52
|
get_industry_sw_2021_insurance_statements,
|
|
50
53
|
get_industry_sw_2021_margin_trading,
|
|
@@ -111,6 +114,8 @@ __all__ = [
|
|
|
111
114
|
"get_index_bank_statements",
|
|
112
115
|
"get_index_security_statements",
|
|
113
116
|
"get_index_hybrid_statements",
|
|
117
|
+
# Industry base info
|
|
118
|
+
"get_industry",
|
|
114
119
|
# Industry margin trading
|
|
115
120
|
"get_industry_sw_margin_trading",
|
|
116
121
|
"get_industry_sw_2021_margin_trading",
|
|
@@ -121,6 +126,10 @@ __all__ = [
|
|
|
121
126
|
"get_industry_sw_2021_insurance_statements",
|
|
122
127
|
"get_industry_sw_2021_non_financial_statements",
|
|
123
128
|
"get_industry_sw_2021_security_statements",
|
|
129
|
+
# Industry constituents (申万2021版)
|
|
130
|
+
"get_industry_sw_2021_constituents",
|
|
131
|
+
# Industry fundamental (申万2021版)
|
|
132
|
+
"get_industry_sw_2021_fundamental",
|
|
124
133
|
# Macro
|
|
125
134
|
"get_national_debt",
|
|
126
135
|
"get_rmb_deposits",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
"""Industry-related APIs."""
|
|
2
2
|
|
|
3
|
+
from lixinger.api.cn.industry.constituents import (
|
|
4
|
+
IndustrySw2021ConstituentsAPI,
|
|
5
|
+
get_industry_sw_2021_constituents,
|
|
6
|
+
)
|
|
3
7
|
from lixinger.api.cn.industry.fs import (
|
|
4
8
|
IndustrySw2021BankStatementAPI,
|
|
5
9
|
IndustrySw2021HybridStatementAPI,
|
|
@@ -12,6 +16,11 @@ from lixinger.api.cn.industry.fs import (
|
|
|
12
16
|
get_industry_sw_2021_non_financial_statements,
|
|
13
17
|
get_industry_sw_2021_security_statements,
|
|
14
18
|
)
|
|
19
|
+
from lixinger.api.cn.industry.fundamental import (
|
|
20
|
+
IndustrySw2021FundamentalAPI,
|
|
21
|
+
get_industry_sw_2021_fundamental,
|
|
22
|
+
)
|
|
23
|
+
from lixinger.api.cn.industry.industry import IndustryAPI, get_industry
|
|
15
24
|
from lixinger.api.cn.industry.margin_trading import (
|
|
16
25
|
IndustryCniMarginTradingAPI,
|
|
17
26
|
IndustrySw2021MarginTradingAPI,
|
|
@@ -23,8 +32,11 @@ from lixinger.api.cn.industry.margin_trading import (
|
|
|
23
32
|
|
|
24
33
|
__all__ = [
|
|
25
34
|
# API Classes
|
|
35
|
+
"IndustryAPI",
|
|
26
36
|
"IndustryCniMarginTradingAPI",
|
|
27
37
|
"IndustrySw2021BankStatementAPI",
|
|
38
|
+
"IndustrySw2021ConstituentsAPI",
|
|
39
|
+
"IndustrySw2021FundamentalAPI",
|
|
28
40
|
"IndustrySw2021HybridStatementAPI",
|
|
29
41
|
"IndustrySw2021InsuranceStatementAPI",
|
|
30
42
|
"IndustrySw2021MarginTradingAPI",
|
|
@@ -32,8 +44,11 @@ __all__ = [
|
|
|
32
44
|
"IndustrySw2021SecurityStatementAPI",
|
|
33
45
|
"IndustrySwMarginTradingAPI",
|
|
34
46
|
# Functional APIs
|
|
47
|
+
"get_industry",
|
|
35
48
|
"get_industry_cni_margin_trading",
|
|
36
49
|
"get_industry_sw_2021_bank_statements",
|
|
50
|
+
"get_industry_sw_2021_constituents",
|
|
51
|
+
"get_industry_sw_2021_fundamental",
|
|
37
52
|
"get_industry_sw_2021_hybrid_statements",
|
|
38
53
|
"get_industry_sw_2021_insurance_statements",
|
|
39
54
|
"get_industry_sw_2021_margin_trading",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Industry constituents APIs.
|
|
2
|
+
|
|
3
|
+
This module provides access to industry constituent APIs by industry
|
|
4
|
+
classification system:
|
|
5
|
+
|
|
6
|
+
- sw_2021: 申万2021版行业 (Shenwan 2021)
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from lixinger.api.cn.industry.constituents.sw_2021 import (
|
|
10
|
+
IndustrySw2021ConstituentsAPI,
|
|
11
|
+
get_industry_sw_2021_constituents,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
# API Classes
|
|
16
|
+
"IndustrySw2021ConstituentsAPI",
|
|
17
|
+
# Functional APIs
|
|
18
|
+
"get_industry_sw_2021_constituents",
|
|
19
|
+
]
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"""Industry (申万2021版) constituents APIs."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import pandas as pd
|
|
6
|
+
|
|
7
|
+
from lixinger.api.base import BaseAPI
|
|
8
|
+
from lixinger.models.cn.industry.constituents.sw_2021 import IndustrySw2021Constituent
|
|
9
|
+
from lixinger.utils.api import api
|
|
10
|
+
from lixinger.utils.dataframe import get_response_df
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class IndustrySw2021ConstituentsAPI(BaseAPI):
|
|
14
|
+
"""申万2021版行业成分股 API."""
|
|
15
|
+
|
|
16
|
+
async def get_constituents(
|
|
17
|
+
self,
|
|
18
|
+
stock_codes: list[str],
|
|
19
|
+
date: str = "latest",
|
|
20
|
+
) -> pd.DataFrame:
|
|
21
|
+
"""获取申万2021版行业成分股列表.
|
|
22
|
+
|
|
23
|
+
获取申万2021版行业分类在指定日期的成分股列表. 可按行业代码批量查询获取
|
|
24
|
+
指定时间样本信息, 返回信息包括每只成分股的代码、地区和市场信息.
|
|
25
|
+
注意该行业划分多从2021年开始, 更早的时间可能没有数据. 当用户需要查看
|
|
26
|
+
申万2021行业成分股列表、获取成分股清单或确认股票行业分类时, 调用此接口.
|
|
27
|
+
|
|
28
|
+
API Endpoint: /cn/industry/constituents/sw_2021
|
|
29
|
+
API Method: POST
|
|
30
|
+
API Doc: https://www.lixinger.com/open/api/doc?api-key=cn/industry/constituents/sw_2021
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
stock_codes: 申万2021版行业代码列表, 长度 >=1 且 <=100, 例如
|
|
34
|
+
``["490000"]``. 请参考行业信息API获取合法的stockCode.
|
|
35
|
+
date: 信息日期 (YYYY-MM-DD, 北京时间) 或 ``"latest"``, 默认 ``"latest"``.
|
|
36
|
+
|
|
37
|
+
Returns:
|
|
38
|
+
DataFrame containing sw_2021 industry constituents with columns:
|
|
39
|
+
|
|
40
|
+
- industry_stock_code: 行业代码
|
|
41
|
+
- stock_code: 成分股代码
|
|
42
|
+
- area_code: 地区代码
|
|
43
|
+
- market: 市场
|
|
44
|
+
- stock_name_cn: 股票中文名称
|
|
45
|
+
- stock_name_en: 股票英文名称
|
|
46
|
+
|
|
47
|
+
Example:
|
|
48
|
+
获取申万2021版行业成分股列表::
|
|
49
|
+
|
|
50
|
+
from lixinger import AsyncLixingerClient
|
|
51
|
+
|
|
52
|
+
async with AsyncLixingerClient() as client:
|
|
53
|
+
df = await client.cn_industry.constituents.sw_2021.get_constituents(
|
|
54
|
+
stock_codes=["490000"],
|
|
55
|
+
date="latest",
|
|
56
|
+
)
|
|
57
|
+
print(df)
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
payload: dict[str, Any] = {
|
|
61
|
+
"date": date,
|
|
62
|
+
}
|
|
63
|
+
if stock_codes:
|
|
64
|
+
payload["stockCodes"] = stock_codes
|
|
65
|
+
|
|
66
|
+
data = await self._request("POST", "/cn/industry/constituents/sw_2021", json=payload)
|
|
67
|
+
|
|
68
|
+
# Flatten nested response: one row per constituent per industry, with the
|
|
69
|
+
# nested stockName {cmn_hans_cn, en} broken out into separate columns.
|
|
70
|
+
flattened_data: list[dict[str, Any]] = []
|
|
71
|
+
for item in data:
|
|
72
|
+
industry_stock_code = item.get("stockCode")
|
|
73
|
+
for constituent in item.get("constituents", []):
|
|
74
|
+
stock_name = constituent.get("stockName") or {}
|
|
75
|
+
flattened_data.append(
|
|
76
|
+
{
|
|
77
|
+
"industry_stock_code": industry_stock_code,
|
|
78
|
+
"stock_code": constituent.get("stockCode"),
|
|
79
|
+
"area_code": constituent.get("areaCode"),
|
|
80
|
+
"market": constituent.get("market"),
|
|
81
|
+
"stock_name_cn": stock_name.get("cmn_hans_cn") if isinstance(stock_name, dict) else None,
|
|
82
|
+
"stock_name_en": stock_name.get("en") if isinstance(stock_name, dict) else None,
|
|
83
|
+
}
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
return get_response_df(flattened_data, IndustrySw2021Constituent)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# Functional API instance
|
|
90
|
+
_api_instance = IndustrySw2021ConstituentsAPI()
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
@api
|
|
94
|
+
async def get_industry_sw_2021_constituents(
|
|
95
|
+
stock_codes: list[str],
|
|
96
|
+
date: str = "latest",
|
|
97
|
+
) -> pd.DataFrame:
|
|
98
|
+
"""获取申万2021版行业成分股列表.
|
|
99
|
+
|
|
100
|
+
Args:
|
|
101
|
+
stock_codes: 申万2021版行业代码列表.
|
|
102
|
+
date: 信息日期 (YYYY-MM-DD) 或 ``"latest"``, 默认 ``"latest"``.
|
|
103
|
+
|
|
104
|
+
Returns:
|
|
105
|
+
DataFrame containing sw_2021 industry constituents.
|
|
106
|
+
|
|
107
|
+
Example:
|
|
108
|
+
获取申万2021版行业成分股列表::
|
|
109
|
+
|
|
110
|
+
from lixinger import get_industry_sw_2021_constituents
|
|
111
|
+
|
|
112
|
+
df = await get_industry_sw_2021_constituents(
|
|
113
|
+
stock_codes=["490000"],
|
|
114
|
+
date="latest",
|
|
115
|
+
)
|
|
116
|
+
print(df)
|
|
117
|
+
|
|
118
|
+
"""
|
|
119
|
+
return await _api_instance.get_constituents(
|
|
120
|
+
stock_codes=stock_codes,
|
|
121
|
+
date=date,
|
|
122
|
+
)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Industry fundamental data APIs.
|
|
2
|
+
|
|
3
|
+
This module provides access to industry fundamental (valuation) APIs by
|
|
4
|
+
industry classification system:
|
|
5
|
+
|
|
6
|
+
- sw_2021: 申万2021版行业 (Shenwan 2021)
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from lixinger.api.cn.industry.fundamental.sw_2021 import (
|
|
10
|
+
IndustrySw2021FundamentalAPI,
|
|
11
|
+
get_industry_sw_2021_fundamental,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
# API Classes
|
|
16
|
+
"IndustrySw2021FundamentalAPI",
|
|
17
|
+
# Functional APIs
|
|
18
|
+
"get_industry_sw_2021_fundamental",
|
|
19
|
+
]
|