lixinger-python 0.3.13__tar.gz → 0.3.15__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.13 → lixinger_python-0.3.15}/.claude/settings.local.json +9 -1
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/ARCHITECTURE.md +1 -1
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/CHANGELOG.md +50 -1
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/PKG-INFO +1 -1
- lixinger_python-0.3.15/docs/api/industry/fs/sw_2021/bank.md +47 -0
- lixinger_python-0.3.15/docs/api/industry/fs/sw_2021/hybrid.md +45 -0
- lixinger_python-0.3.15/docs/api/industry/fs/sw_2021/insurance.md +45 -0
- lixinger_python-0.3.15/docs/api/industry/fs/sw_2021/non_financial.md +45 -0
- lixinger_python-0.3.15/docs/api/industry/fs/sw_2021/security.md +45 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/__init__.py +11 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/base.py +20 -2
- lixinger_python-0.3.15/lixinger/api/cn/industry/__init__.py +43 -0
- lixinger_python-0.3.15/lixinger/api/cn/industry/fs/__init__.py +35 -0
- lixinger_python-0.3.15/lixinger/api/cn/industry/fs/sw_2021/__init__.py +47 -0
- lixinger_python-0.3.15/lixinger/api/cn/industry/fs/sw_2021/bank.py +133 -0
- lixinger_python-0.3.15/lixinger/api/cn/industry/fs/sw_2021/hybrid.py +133 -0
- lixinger_python-0.3.15/lixinger/api/cn/industry/fs/sw_2021/insurance.py +134 -0
- lixinger_python-0.3.15/lixinger/api/cn/industry/fs/sw_2021/non_financial.py +133 -0
- lixinger_python-0.3.15/lixinger/api/cn/industry/fs/sw_2021/security.py +134 -0
- lixinger_python-0.3.15/lixinger/api/cn/industry/namespace.py +198 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/client.py +28 -0
- lixinger_python-0.3.15/lixinger/models/cn/industry/__init__.py +25 -0
- lixinger_python-0.3.15/lixinger/models/cn/industry/fs/__init__.py +17 -0
- lixinger_python-0.3.15/lixinger/models/cn/industry/fs/sw_2021/__init__.py +15 -0
- lixinger_python-0.3.15/lixinger/models/cn/industry/fs/sw_2021/bank.py +20 -0
- lixinger_python-0.3.15/lixinger/models/cn/industry/fs/sw_2021/hybrid.py +20 -0
- lixinger_python-0.3.15/lixinger/models/cn/industry/fs/sw_2021/insurance.py +20 -0
- lixinger_python-0.3.15/lixinger/models/cn/industry/fs/sw_2021/non_financial.py +20 -0
- lixinger_python-0.3.15/lixinger/models/cn/industry/fs/sw_2021/security.py +20 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/utils/retry.py +15 -4
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/mkdocs.yml +7 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/pyproject.toml +1 -1
- lixinger_python-0.3.15/tests/test_industry_fs_sw_2021.py +300 -0
- lixinger_python-0.3.15/tests/test_no_data.py +126 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_retry.py +105 -13
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/uv.lock +1 -1
- lixinger_python-0.3.13/lixinger/api/cn/industry/__init__.py +0 -21
- lixinger_python-0.3.13/lixinger/api/cn/industry/namespace.py +0 -88
- lixinger_python-0.3.13/lixinger/models/cn/industry/__init__.py +0 -13
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/.env.example +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/.github/copilot-instructions.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/.github/workflows/README.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/.github/workflows/pr-checks.yml +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/.gitignore +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/.pre-commit-config.yaml +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/.python-version +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/.ruff.toml +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/ADD_NEW_API_QUICK.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/CLAUDE.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/DOCUMENTATION.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/LICENSE +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/MANIFEST.in +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/PUBLISHING.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/README.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/codecov.yml +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/client.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/announcement.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/candlestick.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/company.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/dividend.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/equity_change.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/fs/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/fundamental/bank.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/fundamental/insurance.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/fundamental/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/fundamental/other_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/fundamental/security.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/indices.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/company/profile.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/fund/announcement.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/fund/asset_combination.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/fund/asset_industry_combination.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/fund/candlestick.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/fund/fund.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/fund/profile.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/fund/shareholdings.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/index/candlestick.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/index/constituent_weightings.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/index/constituents.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/index/drawdown.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/index/fundamental.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/index/index.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/index/tracking_fund.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/api/overview.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/development/code-style.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/development/contributing.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/development/testing.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/examples/company.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/examples/fund.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/examples/index.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/getting-started/configuration.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/getting-started/installation.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/getting-started/quickstart.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/docs/index.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/examples/company_example.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/examples/company_profile_example.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/examples/dividend_example.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/examples/fs_example.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/examples/index_constituent_weightings_example.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/examples/index_constituents_example.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/examples/index_info_example.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/examples/index_margin_trading_example.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/announcement.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/candlestick.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/company.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/dividend.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/equity_change.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fs/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fs/bank.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fs/insurance.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fs/non_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fs/other_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fs/security.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fundamental/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fundamental/bank.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fundamental/insurance.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fundamental/non_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fundamental/other_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/fundamental/security.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/indices.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/namespace.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/company/profile.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/fund/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/fund/announcement.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/fund/asset_combination.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/fund/asset_industry_combination.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/fund/candlestick.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/fund/fund.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/fund/profile.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/fund/shareholdings.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/candlestick.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/constituent_weightings.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/constituents.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/drawdown.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/fs/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/fs/bank.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/fs/hybrid.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/fs/non_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/fs/security.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/fundamental.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/index.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/margin_trading.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/namespace.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/index/tracking_fund.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/industry/margin_trading/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/industry/margin_trading/cni.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/industry/margin_trading/sw.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/cn/industry/margin_trading/sw_2021.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/macro/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/macro/namespace.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/macro/national_debt.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/macro/rmb_deposits.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/macro/rmb_loans.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/api/macro/social_financing.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/config.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/exceptions.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/announcement.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/candlestick.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/company.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/dividend.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/equity_change.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fs/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fs/bank.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fs/insurance.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fs/non_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fs/other_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fs/security.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fundamental/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fundamental/bank.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fundamental/insurance.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fundamental/non_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fundamental/other_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/fundamental/security.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/company/indices.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/fund/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/fund/announcement.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/fund/asset_combination.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/fund/asset_industry_combination.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/fund/candlestick.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/fund/fund.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/fund/profile.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/fund/shareholdings.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/candlestick.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/constituent_weightings.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/constituents.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/drawdown.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/fs/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/fs/bank.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/fs/hybrid.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/fs/non_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/fs/security.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/fundamental.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/index.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/margin_trading.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/index/tracking_fund.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/industry/margin_trading/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/industry/margin_trading/cni.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/industry/margin_trading/sw.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/cn/industry/margin_trading/sw_2021.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/macro/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/macro/national_debt.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/macro/rmb_deposits.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/macro/rmb_loans.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/models/macro/social_financing.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/py.typed +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/utils/__init__.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/utils/api.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/utils/dataframe.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/utils/dict.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger/utils/rate_limiter.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/REMINDER.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/allotment.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/announcement.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/block-deal.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/candlestick.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/customers.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/dividend.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/equity-change.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fs/bank.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fs/insurance.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fs/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fs/other_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fs/security.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fund-collection-shareholders.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fund-shareholders.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fundamental/bank.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fundamental/insurance.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fundamental/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fundamental/other_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/fundamental/security.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/capita.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/df.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/elr.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/esc.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/mm_ha.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/mssc.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/mtasl.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/npd.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/ple.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/shnc.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/t_a.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/tr.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/hot/tr_dri.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/indices.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/industries.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/inquiry.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/major-shareholders-shares-change.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/majority-shareholders.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/margin-trading-and-securities-lending.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/measures.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/mutual-market.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/nolimit-shareholders.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/operating-data.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/operation-revenue-constitution.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/pledge.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/profile.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/senior-executive-shares-change.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/shareholders-num.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/suppliers.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/trading-abnormal.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company/volatility.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/company.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/announcement.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/asset-combination.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/asset-industry-combination.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/candlestick.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/dividend.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/drawdown.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/fees.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/hot/f_as.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/hot/f_nlacan.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/hot/fet_s.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/hot/ff.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/hot/fp.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/hot/fpr.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/hot/fss.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/manager.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/net-value-of-dividend-reinvestment.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/net-value.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/profile.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/shareholders-structure.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/shareholdings.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/shares.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/split.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/total-net-value.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/turnover-rate.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund/volatility.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-company/asset-scale.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-company/fund-list.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-company/fund-manager-list.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-company/hot/fc_as.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-company/hot/fc_asr.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-company/shareholdings.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-company.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-manager/hot/fmi.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-manager/hot/fmp.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-manager/management-funds.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-manager/profit-ratio.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-manager/shareholdings.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund-manager.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/fund.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/candlestick.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/constituent-weightings.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/constituents.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/drawdown.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/fs/bank.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/fs/hybrid.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/fs/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/fs/security.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/fundamental.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/hot/cp.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/hot/ic.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/hot/ifet_sni.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/hot/mm_ha.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/hot/mtasl.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/hot/tr.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/hot/tr_cp.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/margin-trading-and-securities-lending.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/mutual-market.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/tracking-fund.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index/volatility.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/index.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/constituents/cni.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/constituents/sw.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/constituents/sw_2021.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/cni/bank.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/cni/hybrid.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/cni/insurance.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/cni/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/cni/security.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/sw/bank.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/sw/hybrid.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/sw/insurance.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/sw/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/sw/security.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/sw_2021/bank.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/sw_2021/hybrid.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/sw_2021/insurance.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/sw_2021/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fs/sw_2021/security.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fundamental/cni.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fundamental/sw.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/fundamental/sw_2021.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/hot/mm_ha/cni.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/hot/mm_ha/sw.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/hot/mm_ha/sw_2021.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/hot/mtasl/cni.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/hot/mtasl/sw.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/hot/mtasl/sw_2021.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/margin-trading-and-securities-lending/cni.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/margin-trading-and-securities-lending/sw.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/margin-trading-and-securities-lending/sw_2021.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/mutual-market/cni.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/mutual-market/sw.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry/mutual-market/sw_2021.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/cn/industry.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/allotment.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/announcement.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/candlestick.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/dividend.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/employee.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/equity-change.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fs/bank.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fs/insurance.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fs/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fs/other_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fs/reit.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fs/security.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fund-collection-shareholders.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fund-shareholders.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fundamental/bank.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fundamental/insurance.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fundamental/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fundamental/other_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fundamental/reit.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/fundamental/security.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/hot/capita.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/hot/director_equity_change.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/hot/mm_ah.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/hot/npd.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/hot/rep.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/hot/ss.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/hot/ss_ha.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/hot/tr.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/hot/tr_dri.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/indices.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/industries.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/latest-shareholders.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/mutual-market.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/operation-revenue-constitution.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/profile.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/repurchase.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/shareholders-equity-change.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/short-selling.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/split.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company/volatility.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/company.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/candlestick.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/constituents.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/drawdown.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/fs/hybrid.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/fs/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/fundamental.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/hot/cp.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/hot/ic.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/hot/ifet_sni.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/hot/mm_ah.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/mutual-market.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/tracking-fund.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index/volatility.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/index.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/industry/constituents/hsi.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/industry/fs/hsi/hybrid.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/industry/fs/hsi/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/industry/fundamental/hsi.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/industry/hot/mm_ah/hsi.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/industry/mutual-market/hsi.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/hk/industry.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/bop.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/central-bank-balance-sheet.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/credit-securities-account.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/crude-oil.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/currency-exchange-rate.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/domestic-debt-securities.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/domestic-trade.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/energy.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/foreign-assets.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/foreign-trade.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/gdp.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/gold-price.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/industrialization.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/interest-rates.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/investment-in-fixed-assets.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/investor.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/leverage-ratio.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/money-supply.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/national-debt.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/national-finance.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/natural-gas.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/non-ferrous-metals.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/official-reserve-assets.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/platinum-price.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/population.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/price-index.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/real-estate.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/required-reserves.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/rmb-deposits.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/rmb-loans.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/rmbidx.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/silver-price.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/social-financing.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/stamp-duty.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/traffic-transportation.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/unemployment-rate.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/usdx.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/macro/vix-fear-index.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/us/index/candlestick.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/us/index/constituents.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/us/index/drawdown.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/us/index/fs/non_financial.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/us/index/fundamental.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/us/index/hot/cp.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/us/index/hot/ifet_sni.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/us/index/tracking-fund.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/us/index/volatility.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/lixinger-api/us/index.md +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/mypy.ini +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/scripts/explore_api.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/scripts/generate_docs.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/scripts/publish.sh +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/api/cn/company/test_announcement.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/api/cn/company/test_dividend.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/api/cn/index/test_constituents.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/conftest.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_bank_statements.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_candlestick.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_client.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_cn_index_candlestick.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_cn_index_constituent_weightings.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_company.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_company_profile.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_equity_change.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_fund.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_fund_announcement.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_fund_asset_combination.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_fund_asset_industry_combination.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_fund_candlestick.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_fund_profile.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_fund_shareholdings.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_fundamental.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_fundamental_bank.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_fundamental_security.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_index.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_index_constituents.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_index_drawdown.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_index_fs_bank.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_index_fs_hybrid.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_index_fs_non_financial.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_index_fs_security.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_index_fundamental.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_index_margin_trading.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_indices.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_industry_margin_trading.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_insurance_statements.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_integration.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_macro.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_non_financial_statements.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_other_financial_statements.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_security_statements.py +0 -0
- {lixinger_python-0.3.13 → lixinger_python-0.3.15}/tests/test_tracking_fund.py +0 -0
|
@@ -13,7 +13,15 @@
|
|
|
13
13
|
"Bash(uv sync *)",
|
|
14
14
|
"Bash(curl -s https://pypi.org/pypi/lixinger-python/0.3.11/json)",
|
|
15
15
|
"Bash(python3 -c \"import sys, json; d = json.load\\(sys.stdin\\); print\\('Name:', d['info']['name']\\); print\\('Version:', d['info']['version']\\); print\\('Files:', len\\(d['urls']\\)\\)\")",
|
|
16
|
-
"Bash(curl -s https://pypi.org/pypi/lixinger-python/0.3.12/json)"
|
|
16
|
+
"Bash(curl -s https://pypi.org/pypi/lixinger-python/0.3.12/json)",
|
|
17
|
+
"Bash(curl -s https://pypi.org/pypi/lixinger-python/0.3.13/json)",
|
|
18
|
+
"Bash(git diff *)",
|
|
19
|
+
"Read(//tmp/**)",
|
|
20
|
+
"Bash(git checkout *)",
|
|
21
|
+
"Bash(curl -s https://pypi.org/pypi/lixinger-python/0.3.14/json)",
|
|
22
|
+
"Bash(LIXINGER_API_KEY=test uv run *)",
|
|
23
|
+
"Bash(git *)",
|
|
24
|
+
"Bash(gh --version)"
|
|
17
25
|
]
|
|
18
26
|
}
|
|
19
27
|
}
|
|
@@ -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/
|
|
46
|
+
│ │ │ ├── industry/ # /cn/industry/*(含 margin_trading/ 按行业分类系统细分、fs/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,53 @@ 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.15] - 2026-07-06
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- 申万2021版行业财报数据 API 家族 (`/cn/industry/fs/sw_2021/*`) —— 新增
|
|
18
|
+
`client.industry.fs.sw_2021` 子命名空间, 按行业样本类型分 5 个端点:
|
|
19
|
+
- `POST /cn/industry/fs/sw_2021/bank` — 银行类行业财报(含不良率、拨贷比、
|
|
20
|
+
贷款质量等银行特有指标)—
|
|
21
|
+
`client.industry.fs.sw_2021.bank.get_bank_statements()` /
|
|
22
|
+
`get_industry_sw_2021_bank_statements()`
|
|
23
|
+
- `POST /cn/industry/fs/sw_2021/hybrid` — 混合型行业财报(样本同时包含
|
|
24
|
+
金融公司和非金融公司)—
|
|
25
|
+
`client.industry.fs.sw_2021.hybrid.get_hybrid_statements()` /
|
|
26
|
+
`get_industry_sw_2021_hybrid_statements()`
|
|
27
|
+
- `POST /cn/industry/fs/sw_2021/insurance` — 保险类行业财报(含内含价值、
|
|
28
|
+
新业务价值等保险特有指标)—
|
|
29
|
+
`client.industry.fs.sw_2021.insurance.get_insurance_statements()` /
|
|
30
|
+
`get_industry_sw_2021_insurance_statements()`
|
|
31
|
+
- `POST /cn/industry/fs/sw_2021/non_financial` — 非金融类行业财报 —
|
|
32
|
+
`client.industry.fs.sw_2021.non_financial.get_non_financial_statements()` /
|
|
33
|
+
`get_industry_sw_2021_non_financial_statements()`
|
|
34
|
+
- `POST /cn/industry/fs/sw_2021/security` — 证券类行业财报(含经纪、投行、
|
|
35
|
+
资管业务净收入等证券特有指标)—
|
|
36
|
+
`client.industry.fs.sw_2021.security.get_security_statements()` /
|
|
37
|
+
`get_industry_sw_2021_security_statements()`
|
|
38
|
+
- 每个端点均支持嵌套 metrics(自动 flatten 为 `q.ps.oi.t` 形式的列)、
|
|
39
|
+
`date` / `start_date` + `end_date` 两种查询模式以及 `limit` 参数.
|
|
40
|
+
|
|
41
|
+
## [0.3.14] - 2026-07-05
|
|
42
|
+
|
|
43
|
+
### Fixed
|
|
44
|
+
- `code=1, message="no data"` 响应不再被误报为错误. 之前会抛
|
|
45
|
+
`APIError("API returned error code 1: no data")`, 现在正确返回空 payload,
|
|
46
|
+
下游得到空 `DataFrame`. Lixinger 在非交易日、空日期范围、停牌股票等
|
|
47
|
+
场景会返回该响应.
|
|
48
|
+
- 服务端未返回 `Retry-After` header 的 429 响应现在退避 15 秒 (可通过
|
|
49
|
+
`DEFAULT_RATE_LIMIT_RETRY_AFTER` 观察), 而不是之前的 1/2/4 秒指数退避.
|
|
50
|
+
Lixinger 的速率窗口是 60 秒, 1 秒后重试几乎必然再 429, 白白浪费重试配额.
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
- `_request` 的成功判断从 `code == 1 AND message == "success"` 放宽为
|
|
54
|
+
`code == 1`. message 视为人类可读的描述.
|
|
55
|
+
- `_request` 会把 `data` 字段的 `None` / 缺失情况归一到 `[]`, 避免下游
|
|
56
|
+
20+ 个遍历 `data` 的 API 方法崩在 `for item in None`.
|
|
57
|
+
- `async_retry_on_failure` 新增 `jitter: float = 0.2` 参数, 每次 sleep
|
|
58
|
+
会在 `[base*(1-jitter), base*(1+jitter)]` 之间均匀采样, 避免多客户端
|
|
59
|
+
惊群. 传 `jitter=0` 关闭 (方便测试和确定性场景).
|
|
60
|
+
|
|
14
61
|
## [0.3.13] - 2026-07-05
|
|
15
62
|
|
|
16
63
|
### Fixed
|
|
@@ -201,7 +248,9 @@ asyncio.run(main())
|
|
|
201
248
|
- Pre-commit hooks
|
|
202
249
|
- MkDocs for documentation
|
|
203
250
|
|
|
204
|
-
[unreleased]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.
|
|
251
|
+
[unreleased]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.15...HEAD
|
|
252
|
+
[0.3.15]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.14...v0.3.15
|
|
253
|
+
[0.3.14]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.13...v0.3.14
|
|
205
254
|
[0.3.13]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.12...v0.3.13
|
|
206
255
|
[0.3.12]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.11...v0.3.12
|
|
207
256
|
[0.3.11]: https://github.com/TedaLIEz/lixinger-python/compare/v0.3.10...v0.3.11
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# 银行类行业财报
|
|
2
|
+
|
|
3
|
+
获取申万2021版银行类行业的财报数据(利润表 / 资产负债表 / 现金流量表 / 财务指标)。
|
|
4
|
+
|
|
5
|
+
## API 端点
|
|
6
|
+
|
|
7
|
+
`POST /cn/industry/fs/sw_2021/bank`
|
|
8
|
+
|
|
9
|
+
## 类参考
|
|
10
|
+
|
|
11
|
+
::: lixinger.api.cn.industry.fs.sw_2021.bank.IndustrySw2021BankStatementAPI
|
|
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_bank_statements
|
|
22
|
+
|
|
23
|
+
# 方式 1: 使用异步客户端
|
|
24
|
+
async def example1():
|
|
25
|
+
async with AsyncLixingerClient() as client:
|
|
26
|
+
df = await client.industry.fs.sw_2021.bank.get_bank_statements(
|
|
27
|
+
stock_codes=["480000"],
|
|
28
|
+
metrics=["q.ps.oi.t"],
|
|
29
|
+
date="2026-03-31",
|
|
30
|
+
)
|
|
31
|
+
print(df)
|
|
32
|
+
|
|
33
|
+
# 方式 2: 使用函数式 API
|
|
34
|
+
async def example2():
|
|
35
|
+
df = await get_industry_sw_2021_bank_statements(
|
|
36
|
+
stock_codes=["480000"],
|
|
37
|
+
metrics=["q.ps.oi.t"],
|
|
38
|
+
date="2026-03-31",
|
|
39
|
+
)
|
|
40
|
+
print(df)
|
|
41
|
+
|
|
42
|
+
asyncio.run(example1())
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## 相关链接
|
|
46
|
+
|
|
47
|
+
- [官方文档](https://www.lixinger.com/open/api/doc?api-key=cn/industry/fs/sw_2021/bank)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# 混合型行业财报
|
|
2
|
+
|
|
3
|
+
获取申万2021版混合型行业(样本同时包含金融公司和非金融公司)的财报数据。
|
|
4
|
+
|
|
5
|
+
## API 端点
|
|
6
|
+
|
|
7
|
+
`POST /cn/industry/fs/sw_2021/hybrid`
|
|
8
|
+
|
|
9
|
+
## 类参考
|
|
10
|
+
|
|
11
|
+
::: lixinger.api.cn.industry.fs.sw_2021.hybrid.IndustrySw2021HybridStatementAPI
|
|
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_hybrid_statements
|
|
22
|
+
|
|
23
|
+
async def example1():
|
|
24
|
+
async with AsyncLixingerClient() as client:
|
|
25
|
+
df = await client.industry.fs.sw_2021.hybrid.get_hybrid_statements(
|
|
26
|
+
stock_codes=["490000"],
|
|
27
|
+
metrics=["q.ps.toi.t"],
|
|
28
|
+
date="2026-03-31",
|
|
29
|
+
)
|
|
30
|
+
print(df)
|
|
31
|
+
|
|
32
|
+
async def example2():
|
|
33
|
+
df = await get_industry_sw_2021_hybrid_statements(
|
|
34
|
+
stock_codes=["490000"],
|
|
35
|
+
metrics=["q.ps.toi.t"],
|
|
36
|
+
date="2026-03-31",
|
|
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/fs/sw_2021/hybrid)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# 保险类行业财报
|
|
2
|
+
|
|
3
|
+
获取申万2021版保险类行业的财报数据,含内含价值、新业务价值等保险行业特有指标。
|
|
4
|
+
|
|
5
|
+
## API 端点
|
|
6
|
+
|
|
7
|
+
`POST /cn/industry/fs/sw_2021/insurance`
|
|
8
|
+
|
|
9
|
+
## 类参考
|
|
10
|
+
|
|
11
|
+
::: lixinger.api.cn.industry.fs.sw_2021.insurance.IndustrySw2021InsuranceStatementAPI
|
|
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_insurance_statements
|
|
22
|
+
|
|
23
|
+
async def example1():
|
|
24
|
+
async with AsyncLixingerClient() as client:
|
|
25
|
+
df = await client.industry.fs.sw_2021.insurance.get_insurance_statements(
|
|
26
|
+
stock_codes=["490200"],
|
|
27
|
+
metrics=["q.ps.oi.t"],
|
|
28
|
+
date="2026-03-31",
|
|
29
|
+
)
|
|
30
|
+
print(df)
|
|
31
|
+
|
|
32
|
+
async def example2():
|
|
33
|
+
df = await get_industry_sw_2021_insurance_statements(
|
|
34
|
+
stock_codes=["490200"],
|
|
35
|
+
metrics=["q.ps.oi.t"],
|
|
36
|
+
date="2026-03-31",
|
|
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/fs/sw_2021/insurance)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# 非金融类行业财报
|
|
2
|
+
|
|
3
|
+
获取申万2021版非金融类行业(样本仅包含非金融公司)的财报数据。
|
|
4
|
+
|
|
5
|
+
## API 端点
|
|
6
|
+
|
|
7
|
+
`POST /cn/industry/fs/sw_2021/non_financial`
|
|
8
|
+
|
|
9
|
+
## 类参考
|
|
10
|
+
|
|
11
|
+
::: lixinger.api.cn.industry.fs.sw_2021.non_financial.IndustrySw2021NonFinancialStatementAPI
|
|
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_non_financial_statements
|
|
22
|
+
|
|
23
|
+
async def example1():
|
|
24
|
+
async with AsyncLixingerClient() as client:
|
|
25
|
+
df = await client.industry.fs.sw_2021.non_financial.get_non_financial_statements(
|
|
26
|
+
stock_codes=["370000"],
|
|
27
|
+
metrics=["q.ps.toi.t"],
|
|
28
|
+
date="2026-03-31",
|
|
29
|
+
)
|
|
30
|
+
print(df)
|
|
31
|
+
|
|
32
|
+
async def example2():
|
|
33
|
+
df = await get_industry_sw_2021_non_financial_statements(
|
|
34
|
+
stock_codes=["370000"],
|
|
35
|
+
metrics=["q.ps.toi.t"],
|
|
36
|
+
date="2026-03-31",
|
|
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/fs/sw_2021/non_financial)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# 证券类行业财报
|
|
2
|
+
|
|
3
|
+
获取申万2021版证券类行业的财报数据,含经纪业务净收入、投资银行业务净收入等证券行业特有指标。
|
|
4
|
+
|
|
5
|
+
## API 端点
|
|
6
|
+
|
|
7
|
+
`POST /cn/industry/fs/sw_2021/security`
|
|
8
|
+
|
|
9
|
+
## 类参考
|
|
10
|
+
|
|
11
|
+
::: lixinger.api.cn.industry.fs.sw_2021.security.IndustrySw2021SecurityStatementAPI
|
|
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_security_statements
|
|
22
|
+
|
|
23
|
+
async def example1():
|
|
24
|
+
async with AsyncLixingerClient() as client:
|
|
25
|
+
df = await client.industry.fs.sw_2021.security.get_security_statements(
|
|
26
|
+
stock_codes=["490100"],
|
|
27
|
+
metrics=["q.ps.oi.t"],
|
|
28
|
+
date="2026-03-31",
|
|
29
|
+
)
|
|
30
|
+
print(df)
|
|
31
|
+
|
|
32
|
+
async def example2():
|
|
33
|
+
df = await get_industry_sw_2021_security_statements(
|
|
34
|
+
stock_codes=["490100"],
|
|
35
|
+
metrics=["q.ps.oi.t"],
|
|
36
|
+
date="2026-03-31",
|
|
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/fs/sw_2021/security)
|
|
@@ -44,7 +44,12 @@ from lixinger.api.cn.index import (
|
|
|
44
44
|
)
|
|
45
45
|
from lixinger.api.cn.industry import (
|
|
46
46
|
get_industry_cni_margin_trading,
|
|
47
|
+
get_industry_sw_2021_bank_statements,
|
|
48
|
+
get_industry_sw_2021_hybrid_statements,
|
|
49
|
+
get_industry_sw_2021_insurance_statements,
|
|
47
50
|
get_industry_sw_2021_margin_trading,
|
|
51
|
+
get_industry_sw_2021_non_financial_statements,
|
|
52
|
+
get_industry_sw_2021_security_statements,
|
|
48
53
|
get_industry_sw_margin_trading,
|
|
49
54
|
)
|
|
50
55
|
from lixinger.api.macro import (
|
|
@@ -110,6 +115,12 @@ __all__ = [
|
|
|
110
115
|
"get_industry_sw_margin_trading",
|
|
111
116
|
"get_industry_sw_2021_margin_trading",
|
|
112
117
|
"get_industry_cni_margin_trading",
|
|
118
|
+
# Industry financial statements (申万2021版)
|
|
119
|
+
"get_industry_sw_2021_bank_statements",
|
|
120
|
+
"get_industry_sw_2021_hybrid_statements",
|
|
121
|
+
"get_industry_sw_2021_insurance_statements",
|
|
122
|
+
"get_industry_sw_2021_non_financial_statements",
|
|
123
|
+
"get_industry_sw_2021_security_statements",
|
|
113
124
|
# Macro
|
|
114
125
|
"get_national_debt",
|
|
115
126
|
"get_rmb_deposits",
|
|
@@ -15,6 +15,12 @@ _global_rate_limiter = AsyncRateLimiter(max_requests=1000)
|
|
|
15
15
|
# Lazy initialization of global http client to avoid issues with proxy/config changes
|
|
16
16
|
_global_http_client: httpx.AsyncClient | None = None
|
|
17
17
|
|
|
18
|
+
# Fallback delay in seconds when a 429 response omits Retry-After. The Lixinger
|
|
19
|
+
# rate-limit window is 60s, so short exponential backoff (1/2/4s) almost always
|
|
20
|
+
# fires inside the same window and gets 429ed again. 15s gives the window room
|
|
21
|
+
# to age and burns fewer retry attempts on doomed requests.
|
|
22
|
+
DEFAULT_RATE_LIMIT_RETRY_AFTER = 15.0
|
|
23
|
+
|
|
18
24
|
|
|
19
25
|
def get_global_client() -> httpx.AsyncClient:
|
|
20
26
|
"""Get or create the global HTTP client."""
|
|
@@ -113,6 +119,10 @@ class BaseAPI:
|
|
|
113
119
|
|
|
114
120
|
if response.status_code == 429:
|
|
115
121
|
retry_after = _parse_retry_after(response.headers.get("Retry-After"))
|
|
122
|
+
# Server didn't tell us how long to wait — pick a delay long enough
|
|
123
|
+
# for the 60s rate-limit window to actually age.
|
|
124
|
+
if retry_after is None:
|
|
125
|
+
retry_after = DEFAULT_RATE_LIMIT_RETRY_AFTER
|
|
116
126
|
raise RateLimitError(
|
|
117
127
|
"Rate limit exceeded",
|
|
118
128
|
status_code=429,
|
|
@@ -133,7 +143,15 @@ class BaseAPI:
|
|
|
133
143
|
code = data.get("code")
|
|
134
144
|
message = data.get("message")
|
|
135
145
|
|
|
136
|
-
|
|
146
|
+
# code is the machine-readable success signal; message is human text.
|
|
147
|
+
# Lixinger returns code=1 for success even when there's no data
|
|
148
|
+
# (e.g. message="no data" on non-trading days or empty ranges) —
|
|
149
|
+
# treat any code=1 as success and normalize a missing/null payload
|
|
150
|
+
# to [] so downstream iteration and get_response_df both work.
|
|
151
|
+
if code != 1:
|
|
137
152
|
raise APIError(f"API returned error code {code}: {message}")
|
|
138
153
|
|
|
139
|
-
|
|
154
|
+
payload = data.get("data")
|
|
155
|
+
if payload is None:
|
|
156
|
+
return []
|
|
157
|
+
return payload
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""Industry-related APIs."""
|
|
2
|
+
|
|
3
|
+
from lixinger.api.cn.industry.fs import (
|
|
4
|
+
IndustrySw2021BankStatementAPI,
|
|
5
|
+
IndustrySw2021HybridStatementAPI,
|
|
6
|
+
IndustrySw2021InsuranceStatementAPI,
|
|
7
|
+
IndustrySw2021NonFinancialStatementAPI,
|
|
8
|
+
IndustrySw2021SecurityStatementAPI,
|
|
9
|
+
get_industry_sw_2021_bank_statements,
|
|
10
|
+
get_industry_sw_2021_hybrid_statements,
|
|
11
|
+
get_industry_sw_2021_insurance_statements,
|
|
12
|
+
get_industry_sw_2021_non_financial_statements,
|
|
13
|
+
get_industry_sw_2021_security_statements,
|
|
14
|
+
)
|
|
15
|
+
from lixinger.api.cn.industry.margin_trading import (
|
|
16
|
+
IndustryCniMarginTradingAPI,
|
|
17
|
+
IndustrySw2021MarginTradingAPI,
|
|
18
|
+
IndustrySwMarginTradingAPI,
|
|
19
|
+
get_industry_cni_margin_trading,
|
|
20
|
+
get_industry_sw_2021_margin_trading,
|
|
21
|
+
get_industry_sw_margin_trading,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
__all__ = [
|
|
25
|
+
# API Classes
|
|
26
|
+
"IndustryCniMarginTradingAPI",
|
|
27
|
+
"IndustrySw2021BankStatementAPI",
|
|
28
|
+
"IndustrySw2021HybridStatementAPI",
|
|
29
|
+
"IndustrySw2021InsuranceStatementAPI",
|
|
30
|
+
"IndustrySw2021MarginTradingAPI",
|
|
31
|
+
"IndustrySw2021NonFinancialStatementAPI",
|
|
32
|
+
"IndustrySw2021SecurityStatementAPI",
|
|
33
|
+
"IndustrySwMarginTradingAPI",
|
|
34
|
+
# Functional APIs
|
|
35
|
+
"get_industry_cni_margin_trading",
|
|
36
|
+
"get_industry_sw_2021_bank_statements",
|
|
37
|
+
"get_industry_sw_2021_hybrid_statements",
|
|
38
|
+
"get_industry_sw_2021_insurance_statements",
|
|
39
|
+
"get_industry_sw_2021_margin_trading",
|
|
40
|
+
"get_industry_sw_2021_non_financial_statements",
|
|
41
|
+
"get_industry_sw_2021_security_statements",
|
|
42
|
+
"get_industry_sw_margin_trading",
|
|
43
|
+
]
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""Industry financial statement APIs.
|
|
2
|
+
|
|
3
|
+
This module provides access to industry financial statement APIs by
|
|
4
|
+
industry classification system:
|
|
5
|
+
|
|
6
|
+
- sw_2021: 申万2021版行业财报数据
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from lixinger.api.cn.industry.fs.sw_2021 import (
|
|
10
|
+
IndustrySw2021BankStatementAPI,
|
|
11
|
+
IndustrySw2021HybridStatementAPI,
|
|
12
|
+
IndustrySw2021InsuranceStatementAPI,
|
|
13
|
+
IndustrySw2021NonFinancialStatementAPI,
|
|
14
|
+
IndustrySw2021SecurityStatementAPI,
|
|
15
|
+
get_industry_sw_2021_bank_statements,
|
|
16
|
+
get_industry_sw_2021_hybrid_statements,
|
|
17
|
+
get_industry_sw_2021_insurance_statements,
|
|
18
|
+
get_industry_sw_2021_non_financial_statements,
|
|
19
|
+
get_industry_sw_2021_security_statements,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
__all__ = [
|
|
23
|
+
# API Classes
|
|
24
|
+
"IndustrySw2021BankStatementAPI",
|
|
25
|
+
"IndustrySw2021HybridStatementAPI",
|
|
26
|
+
"IndustrySw2021InsuranceStatementAPI",
|
|
27
|
+
"IndustrySw2021NonFinancialStatementAPI",
|
|
28
|
+
"IndustrySw2021SecurityStatementAPI",
|
|
29
|
+
# Functional APIs
|
|
30
|
+
"get_industry_sw_2021_bank_statements",
|
|
31
|
+
"get_industry_sw_2021_hybrid_statements",
|
|
32
|
+
"get_industry_sw_2021_insurance_statements",
|
|
33
|
+
"get_industry_sw_2021_non_financial_statements",
|
|
34
|
+
"get_industry_sw_2021_security_statements",
|
|
35
|
+
]
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""申万2021版行业财报数据 API.
|
|
2
|
+
|
|
3
|
+
This module provides access to industry financial statement APIs for the
|
|
4
|
+
Shenwan 2021 classification, grouped by industry sample type:
|
|
5
|
+
|
|
6
|
+
- bank: 银行类行业财报
|
|
7
|
+
- hybrid: 混合型行业财报(同时包含金融和非金融公司)
|
|
8
|
+
- insurance: 保险类行业财报
|
|
9
|
+
- non_financial: 非金融类行业财报
|
|
10
|
+
- security: 证券类行业财报
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from lixinger.api.cn.industry.fs.sw_2021.bank import (
|
|
14
|
+
IndustrySw2021BankStatementAPI,
|
|
15
|
+
get_industry_sw_2021_bank_statements,
|
|
16
|
+
)
|
|
17
|
+
from lixinger.api.cn.industry.fs.sw_2021.hybrid import (
|
|
18
|
+
IndustrySw2021HybridStatementAPI,
|
|
19
|
+
get_industry_sw_2021_hybrid_statements,
|
|
20
|
+
)
|
|
21
|
+
from lixinger.api.cn.industry.fs.sw_2021.insurance import (
|
|
22
|
+
IndustrySw2021InsuranceStatementAPI,
|
|
23
|
+
get_industry_sw_2021_insurance_statements,
|
|
24
|
+
)
|
|
25
|
+
from lixinger.api.cn.industry.fs.sw_2021.non_financial import (
|
|
26
|
+
IndustrySw2021NonFinancialStatementAPI,
|
|
27
|
+
get_industry_sw_2021_non_financial_statements,
|
|
28
|
+
)
|
|
29
|
+
from lixinger.api.cn.industry.fs.sw_2021.security import (
|
|
30
|
+
IndustrySw2021SecurityStatementAPI,
|
|
31
|
+
get_industry_sw_2021_security_statements,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
__all__ = [
|
|
35
|
+
# API Classes
|
|
36
|
+
"IndustrySw2021BankStatementAPI",
|
|
37
|
+
"IndustrySw2021HybridStatementAPI",
|
|
38
|
+
"IndustrySw2021InsuranceStatementAPI",
|
|
39
|
+
"IndustrySw2021NonFinancialStatementAPI",
|
|
40
|
+
"IndustrySw2021SecurityStatementAPI",
|
|
41
|
+
# Functional APIs
|
|
42
|
+
"get_industry_sw_2021_bank_statements",
|
|
43
|
+
"get_industry_sw_2021_hybrid_statements",
|
|
44
|
+
"get_industry_sw_2021_insurance_statements",
|
|
45
|
+
"get_industry_sw_2021_non_financial_statements",
|
|
46
|
+
"get_industry_sw_2021_security_statements",
|
|
47
|
+
]
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"""申万2021版行业 - 银行类财报数据 API."""
|
|
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.fs.sw_2021.bank import IndustrySw2021BankStatementSchema
|
|
9
|
+
from lixinger.utils.api import api
|
|
10
|
+
from lixinger.utils.dataframe import get_response_df
|
|
11
|
+
from lixinger.utils.dict import flatten_dict
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class IndustrySw2021BankStatementAPI(BaseAPI):
|
|
15
|
+
"""申万2021版银行类行业财报数据 API."""
|
|
16
|
+
|
|
17
|
+
async def get_bank_statements( # noqa: PLR0913
|
|
18
|
+
self,
|
|
19
|
+
stock_codes: list[str],
|
|
20
|
+
metrics: list[str],
|
|
21
|
+
date: str | None = None,
|
|
22
|
+
start_date: str | None = None,
|
|
23
|
+
end_date: str | None = None,
|
|
24
|
+
limit: int | None = None,
|
|
25
|
+
) -> pd.DataFrame:
|
|
26
|
+
"""获取申万2021版银行类行业的财报数据.
|
|
27
|
+
|
|
28
|
+
API Endpoint: /cn/industry/fs/sw_2021/bank
|
|
29
|
+
API Method: POST
|
|
30
|
+
API Doc: https://www.lixinger.com/open/api/doc?api-key=cn/industry/fs/sw_2021/bank
|
|
31
|
+
|
|
32
|
+
获取申万2021年版银行类大陆行业(样本仅包含银行)的财务数据,包括利润表、
|
|
33
|
+
资产负债表、现金流量表、财务指标。注意该行业划分多从2021年开始,
|
|
34
|
+
更早的时间可能没有数据。
|
|
35
|
+
|
|
36
|
+
Args:
|
|
37
|
+
stock_codes: 行业代码列表,长度 >=1 且 <=100。当传入 start_date
|
|
38
|
+
时只能传入一个行业代码。
|
|
39
|
+
metrics: 指标列表,格式为
|
|
40
|
+
``[granularity].[tableName].[fieldName].[expressionCalculateType]``,
|
|
41
|
+
例如 ``"q.ps.oi.t"``。当 stock_codes 长度大于 1 时最多 48 个
|
|
42
|
+
指标;等于 1 时最多 128 个指标。
|
|
43
|
+
date: 日期 (YYYY-MM-DD),与 start_date 二选一。支持 ``"latest"``。
|
|
44
|
+
start_date: 开始日期 (YYYY-MM-DD),与 date 二选一。开始和结束的时间
|
|
45
|
+
间隔不超过 10 年。
|
|
46
|
+
end_date: 结束日期 (YYYY-MM-DD),可选,默认上周一。
|
|
47
|
+
limit: 返回最近数据的数量,仅在 date range 请求下生效。
|
|
48
|
+
|
|
49
|
+
Returns:
|
|
50
|
+
包含申万2021版银行类行业财报数据的 DataFrame。
|
|
51
|
+
|
|
52
|
+
Example:
|
|
53
|
+
获取申万2021版银行行业的营业收入::
|
|
54
|
+
|
|
55
|
+
from lixinger import AsyncLixingerClient
|
|
56
|
+
|
|
57
|
+
async with AsyncLixingerClient() as client:
|
|
58
|
+
df = await client.industry.fs.sw_2021.bank.get_bank_statements(
|
|
59
|
+
stock_codes=["480000"],
|
|
60
|
+
metrics=["q.ps.oi.t"],
|
|
61
|
+
date="2026-03-31",
|
|
62
|
+
)
|
|
63
|
+
print(df)
|
|
64
|
+
|
|
65
|
+
"""
|
|
66
|
+
payload: dict[str, Any] = {
|
|
67
|
+
"stockCodes": stock_codes,
|
|
68
|
+
"metricsList": metrics,
|
|
69
|
+
}
|
|
70
|
+
if date is not None:
|
|
71
|
+
payload["date"] = date
|
|
72
|
+
if start_date is not None:
|
|
73
|
+
payload["startDate"] = start_date
|
|
74
|
+
if end_date is not None:
|
|
75
|
+
payload["endDate"] = end_date
|
|
76
|
+
if limit is not None:
|
|
77
|
+
payload["limit"] = limit
|
|
78
|
+
|
|
79
|
+
data = await self._request("POST", "/cn/industry/fs/sw_2021/bank", json=payload)
|
|
80
|
+
|
|
81
|
+
# Flatten nested metrics (e.g. {"q": {"ps": {"oi": {"t": ...}}}})
|
|
82
|
+
flattened_data = [flatten_dict(item) for item in data]
|
|
83
|
+
|
|
84
|
+
return get_response_df(flattened_data, IndustrySw2021BankStatementSchema)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
# Functional API instance
|
|
88
|
+
_api_instance = IndustrySw2021BankStatementAPI()
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
@api
|
|
92
|
+
async def get_industry_sw_2021_bank_statements( # noqa: PLR0913
|
|
93
|
+
stock_codes: list[str],
|
|
94
|
+
metrics: list[str],
|
|
95
|
+
date: str | None = None,
|
|
96
|
+
start_date: str | None = None,
|
|
97
|
+
end_date: str | None = None,
|
|
98
|
+
limit: int | None = None,
|
|
99
|
+
) -> pd.DataFrame:
|
|
100
|
+
"""获取申万2021版银行类行业的财报数据.
|
|
101
|
+
|
|
102
|
+
Args:
|
|
103
|
+
stock_codes: 行业代码列表。
|
|
104
|
+
metrics: 指标列表。
|
|
105
|
+
date: 日期 (YYYY-MM-DD),与 start_date 二选一。
|
|
106
|
+
start_date: 开始日期 (YYYY-MM-DD),与 date 二选一。
|
|
107
|
+
end_date: 结束日期 (YYYY-MM-DD),可选。
|
|
108
|
+
limit: 返回最近数据的数量,仅在 date range 请求下生效。
|
|
109
|
+
|
|
110
|
+
Returns:
|
|
111
|
+
包含申万2021版银行类行业财报数据的 DataFrame。
|
|
112
|
+
|
|
113
|
+
Example:
|
|
114
|
+
获取申万2021版银行行业的营业收入::
|
|
115
|
+
|
|
116
|
+
from lixinger import get_industry_sw_2021_bank_statements
|
|
117
|
+
|
|
118
|
+
df = await get_industry_sw_2021_bank_statements(
|
|
119
|
+
stock_codes=["480000"],
|
|
120
|
+
metrics=["q.ps.oi.t"],
|
|
121
|
+
date="2026-03-31",
|
|
122
|
+
)
|
|
123
|
+
print(df)
|
|
124
|
+
|
|
125
|
+
"""
|
|
126
|
+
return await _api_instance.get_bank_statements(
|
|
127
|
+
stock_codes=stock_codes,
|
|
128
|
+
metrics=metrics,
|
|
129
|
+
date=date,
|
|
130
|
+
start_date=start_date,
|
|
131
|
+
end_date=end_date,
|
|
132
|
+
limit=limit,
|
|
133
|
+
)
|