Dev#1012
Closed
gjh-ustc0311 wants to merge 58 commits intomassive-com:masterfrom
Closed
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Copy eastmoney_patch.py from reference repo into provider/_patch/ - Update imports in efinance_fetcher.py and akshare_fetcher.py - Add requests, tenacity, fake-useragent to core dependencies
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace market_cap_min/request_interval/data_dir with multi-source support: exchanges list, per-source intervals (akshare/yfinance/massive), separate list_dir/daily_dir, and data_source_priority for priority-based failover. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collaborator
|
Hey @gjh-ustc0311, looks like this might have been some internal project you're working on vs a PR you wanted to push up here. Was there a change you wanted pushed into the library here? |
…Fetcher Adds _us_code_map cache field to __init__ and _to_us_em_symbol method that converts plain tickers (AAPL) to eastmoney format (105.AAPL) via ak.stock_us_spot_em, with caching, error handling, and case-insensitive lookup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…y fallback Replace static DataFetchError for US stocks in AkshareFetcher._fetch_raw_data with a two-strategy _fetch_us_data method: try stock_us_hist (东方财富) first, fall back to stock_us_daily (新浪) on failure, raise DataFetchError only when both fail. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
For US stock codes (detected via _is_us_code), retain amplitude, change, and turnover_rate columns in addition to STANDARD_COLUMNS; A-share behavior is unchanged. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…back Upgrade AkshareSource.fetch_daily to use stock_us_hist (East Money API, more fields) as the primary source with stock_us_daily as fallback. Adds symbol resolution via stock_us_spot_em with result caching to avoid redundant API calls. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Collaborator
|
Hi @gjh-ustc0311, this is the public client library repo and it looks like you're doing personal development here. I'm going to close the pull request. It likely makes sense to move this to a private repo under your github account. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.