finchx 1.0.0__py3-none-any.whl
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.
- finchx/__init__.py +12 -0
- finchx/client.py +986 -0
- finchx/collector.py +99 -0
- finchx/collectors/__init__.py +109 -0
- finchx/collectors/core.py +1723 -0
- finchx/collectors/errors.py +140 -0
- finchx/computed/__init__.py +31 -0
- finchx/computed/deviation.py +576 -0
- finchx/config.py +1 -0
- finchx/contracts/__init__.py +45 -0
- finchx/contracts/dataset.py +14 -0
- finchx/contracts/models.py +149 -0
- finchx/contracts/status.py +14 -0
- finchx/contracts/units.py +105 -0
- finchx/datasets/__init__.py +403 -0
- finchx/datasets/company_executive_share_change.py +81 -0
- finchx/datasets/company_executive_snapshot.py +79 -0
- finchx/datasets/corporate_action_dividend.py +91 -0
- finchx/datasets/corporate_action_repurchase.py +85 -0
- finchx/datasets/definition.py +40 -0
- finchx/datasets/disclosure.py +324 -0
- finchx/datasets/document_common.py +168 -0
- finchx/datasets/financial_statement.py +178 -0
- finchx/datasets/fundamental_common.py +81 -0
- finchx/datasets/fundamental_company_profile.py +106 -0
- finchx/datasets/fundamental_financial_summary.py +140 -0
- finchx/datasets/fundamental_industry_comparison.py +169 -0
- finchx/datasets/fundamental_revenue_breakdown.py +125 -0
- finchx/datasets/instrument.py +175 -0
- finchx/datasets/market_breadth.py +186 -0
- finchx/datasets/market_broken_limit_pool.py +163 -0
- finchx/datasets/market_consecutive_limit_up.py +198 -0
- finchx/datasets/market_daily_replay.py +213 -0
- finchx/datasets/market_dragon_tiger.py +318 -0
- finchx/datasets/market_fund_flow.py +443 -0
- finchx/datasets/market_industry_comparison.py +188 -0
- finchx/datasets/market_instrument_sector_snapshot.py +184 -0
- finchx/datasets/market_intraday.py +400 -0
- finchx/datasets/market_klines.py +240 -0
- finchx/datasets/market_limit_down_pool.py +159 -0
- finchx/datasets/market_limit_up_pool.py +165 -0
- finchx/datasets/market_orderbook.py +161 -0
- finchx/datasets/market_quote.py +220 -0
- finchx/datasets/market_quote_snapshot.py +259 -0
- finchx/datasets/market_ranking.py +184 -0
- finchx/datasets/market_sentiment.py +213 -0
- finchx/datasets/market_stock_keyword.py +180 -0
- finchx/datasets/market_strong_pool.py +160 -0
- finchx/datasets/market_yesterday_limit_up_pool.py +156 -0
- finchx/datasets/news.py +317 -0
- finchx/datasets/ownership_capital_snapshot.py +65 -0
- finchx/datasets/ownership_float_holder.py +136 -0
- finchx/datasets/ownership_holder_summary_snapshot.py +80 -0
- finchx/datasets/trading_calendar.py +152 -0
- finchx/datasets/trading_calendar_service.py +90 -0
- finchx/entities/__init__.py +24 -0
- finchx/entities/instrument.py +39 -0
- finchx/entities/symbols.py +171 -0
- finchx/health/__init__.py +305 -0
- finchx/observability.py +276 -0
- finchx/providers/__init__.py +99 -0
- finchx/providers/aigupiao_market_intelligence.py +613 -0
- finchx/providers/eastmoney_disclosure.py +13 -0
- finchx/providers/eastmoney_documents.py +715 -0
- finchx/providers/eastmoney_market.py +775 -0
- finchx/providers/eastmoney_news.py +9 -0
- finchx/providers/eastmoney_stock_keyword.py +254 -0
- finchx/providers/errors.py +14 -0
- finchx/providers/http.py +74 -0
- finchx/providers/instrument.py +43 -0
- finchx/providers/jiuyangongshe_replay.py +435 -0
- finchx/providers/market_klines.py +18 -0
- finchx/providers/market_news.py +437 -0
- finchx/providers/market_quote.py +24 -0
- finchx/providers/market_ranking.py +24 -0
- finchx/providers/registry.py +459 -0
- finchx/providers/sohu_klines.py +286 -0
- finchx/providers/tencent.py +727 -0
- finchx/providers/tencent_f10.py +831 -0
- finchx/providers/tencent_float_holder.py +340 -0
- finchx/providers/tencent_fund_flow.py +581 -0
- finchx/providers/tencent_industry.py +210 -0
- finchx/providers/tencent_intraday.py +415 -0
- finchx/providers/tencent_klines.py +334 -0
- finchx/providers/tencent_quote.py +201 -0
- finchx/providers/tencent_sector.py +197 -0
- finchx/providers/tonghuashun_financial.py +150 -0
- finchx/providers/trading_calendar.py +354 -0
- finchx/quality.py +525 -0
- finchx/query/__init__.py +12 -0
- finchx/query/documents.py +245 -0
- finchx/query/financial.py +57 -0
- finchx/query/market_news.py +235 -0
- finchx/schemas/__init__.py +54 -0
- finchx/schemas/v1/company-executive-share-change.schema.json +25 -0
- finchx/schemas/v1/company-executive-snapshot.schema.json +25 -0
- finchx/schemas/v1/corporate-action-dividend.schema.json +30 -0
- finchx/schemas/v1/corporate-action-repurchase.schema.json +27 -0
- finchx/schemas/v1/disclosure-document-ref.schema.json +60 -0
- finchx/schemas/v1/disclosure-document.schema.json +51 -0
- finchx/schemas/v1/examples/standard-record.json +32 -0
- finchx/schemas/v1/examples/status-estimated.json +17 -0
- finchx/schemas/v1/examples/status-failed.json +12 -0
- finchx/schemas/v1/examples/status-missing.json +12 -0
- finchx/schemas/v1/financial-statement.schema.json +39 -0
- finchx/schemas/v1/fundamental-company-profile.schema.json +15 -0
- finchx/schemas/v1/fundamental-financial-summary.schema.json +36 -0
- finchx/schemas/v1/fundamental-industry-comparison.schema.json +31 -0
- finchx/schemas/v1/fundamental-revenue-breakdown.schema.json +30 -0
- finchx/schemas/v1/instrument-identity.schema.json +20 -0
- finchx/schemas/v1/instrument.schema.json +14 -0
- finchx/schemas/v1/market-breadth.schema.json +128 -0
- finchx/schemas/v1/market-broken-limit-pool.schema.json +219 -0
- finchx/schemas/v1/market-consecutive-limit-up-snapshot.schema.json +237 -0
- finchx/schemas/v1/market-daily-replay.schema.json +262 -0
- finchx/schemas/v1/market-deviation.schema.json +83 -0
- finchx/schemas/v1/market-dragon-tiger-detail.schema.json +278 -0
- finchx/schemas/v1/market-dragon-tiger-list.schema.json +188 -0
- finchx/schemas/v1/market-equity-intraday-5d.schema.json +134 -0
- finchx/schemas/v1/market-equity-intraday.schema.json +134 -0
- finchx/schemas/v1/market-fund-flow-daily.schema.json +106 -0
- finchx/schemas/v1/market-fund-flow-intraday.schema.json +203 -0
- finchx/schemas/v1/market-fund-flow-snapshot.schema.json +249 -0
- finchx/schemas/v1/market-index-intraday-5d.schema.json +160 -0
- finchx/schemas/v1/market-index-intraday.schema.json +160 -0
- finchx/schemas/v1/market-industry-comparison.schema.json +56 -0
- finchx/schemas/v1/market-instrument-sector-snapshot.schema.json +28 -0
- finchx/schemas/v1/market-klines.schema.json +59 -0
- finchx/schemas/v1/market-limit-down-pool.schema.json +234 -0
- finchx/schemas/v1/market-limit-up-pool.schema.json +234 -0
- finchx/schemas/v1/market-orderbook.schema.json +115 -0
- finchx/schemas/v1/market-quote-snapshot.schema.json +227 -0
- finchx/schemas/v1/market-quote.schema.json +204 -0
- finchx/schemas/v1/market-ranking.schema.json +339 -0
- finchx/schemas/v1/market-sentiment-snapshot.schema.json +227 -0
- finchx/schemas/v1/market-stock-keyword.schema.json +26 -0
- finchx/schemas/v1/market-strong-pool.schema.json +219 -0
- finchx/schemas/v1/market-yesterday-limit-up-pool.schema.json +196 -0
- finchx/schemas/v1/news-document-ref.schema.json +61 -0
- finchx/schemas/v1/news-document.schema.json +40 -0
- finchx/schemas/v1/ownership-capital-snapshot.schema.json +13 -0
- finchx/schemas/v1/ownership-float-holder.schema.json +42 -0
- finchx/schemas/v1/ownership-holder-summary-snapshot.schema.json +16 -0
- finchx/schemas/v1/provenance.schema.json +44 -0
- finchx/schemas/v1/quality.schema.json +28 -0
- finchx/schemas/v1/source-reference.schema.json +23 -0
- finchx/schemas/v1/source.schema.json +23 -0
- finchx/schemas/v1/standard-record.schema.json +130 -0
- finchx/schemas/v1/trading-calendar.schema.json +21 -0
- finchx/schemas/v1/units.schema.json +76 -0
- finchx/storage/__init__.py +34 -0
- finchx/storage/cache.py +181 -0
- finchx/storage/errors.py +40 -0
- finchx/storage/memory.py +69 -0
- finchx/storage/models.py +210 -0
- finchx/storage/protocol.py +49 -0
- finchx/storage/serialization.py +224 -0
- finchx/storage/sqlite.py +250 -0
- finchx-1.0.0.dist-info/METADATA +438 -0
- finchx-1.0.0.dist-info/RECORD +163 -0
- finchx-1.0.0.dist-info/WHEEL +5 -0
- finchx-1.0.0.dist-info/licenses/LICENSE +201 -0
- finchx-1.0.0.dist-info/top_level.txt +1 -0
finchx/__init__.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"""FinchX: an independent Python package for A-share market data."""
|
|
2
|
+
|
|
3
|
+
__version__ = "1.0.0"
|
|
4
|
+
|
|
5
|
+
from finchx.collector import Collector
|
|
6
|
+
from finchx.client import CLIENT_ENDPOINTS, FinchX
|
|
7
|
+
from finchx.query import (
|
|
8
|
+
DisclosureService, FinancialStatementService, MarketNewsService, NewsService,
|
|
9
|
+
disclosure, financial_statements, market_news, news,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
__all__ = ["Collector", "FinchX", "CLIENT_ENDPOINTS", "DisclosureService", "FinancialStatementService", "MarketNewsService", "NewsService", "disclosure", "financial_statements", "market_news", "news", "__version__"]
|