docs: add ETF cross-asset public-data reproduction (closes #16) - #18
Merged
initial-d merged 1 commit intoJul 11, 2026
Merged
Conversation
Add second case study to public_data_mini_reproduction.md using 20 ETFs across asset classes. Computes one-day forward rank IC for 6 legacy factors. Closes initial-d#16
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.
Summary
Adds a second public-data mini reproduction case using 20 ETFs across asset classes, as requested in #16.
Changes
scripts/etf_factor_ic.pyscripts/etf_factor_ic_output.txtdocs/public_data_mini_reproduction.mdETF Universe
20 ETFs across 5 categories — all 20 downloaded successfully with 100% coverage (1005 dates each):
Key Results
original_001add_015stock_001old_042best_002best_001As expected, ETF-level IC values are lower than the equity case — stock-oriented legacy factors have reduced cross-sectional discrimination on portfolio-level instruments. This is documented in the Interpretation and Caveats sections.
Verification
pytest— all tests pass, no regressionsruff check .— no linting issuespublic_data_mini_reproduction.mdis unchangedTechnical Note
The script includes a yfinance user-agent compatibility fix (
configure_yfinance_user_agent()) for yfinance 0.2.40's obsolete Chrome 39 default header, which was causing HTTP 429 rejections. This workaround is a no-op on versions without that legacy default.🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com