Portfolio cleanup: reproducible S&P 500 vs KOSPI analysis - #1
Merged
Conversation
Jimin0731
marked this pull request as draft
August 6, 2026 16:08
Jimin0731
marked this pull request as ready for review
August 6, 2026 17:31
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.
Motivation
^GSPC) and KOSPI (^KS11) local-currency monthly price indices from January 2000 through December 2024.Implemented
analysis.pyfunctions for monthly returns, normalized performance, calendar-year compounding, annualized geometric price return, annualized volatility, maximum drawdown, positive-month ratio, 12-month rolling volatility, and 36-month rolling return correlation.Data snapshot
yfinance^GSPCand^KS111999-12-01through2025-01-01d6627cb85439f6dc7724b4d5efbc4ced9ac0ada89f88449bef358bf9a15aeb4fKey results
The 36-month rolling monthly-return correlation has mean
0.6602, minimum0.2686, and maximum0.8400.Interpretation limits
Results use unadjusted local-currency price indices. Dividends, USD/KRW exchange-rate movements, fees, taxes, inflation, and investor-specific currency conversion are excluded. This is descriptive historical analysis, not a forecast, causal claim, recommendation, trading strategy, or total-return comparison.
Validation status
38d6d42c8fc86399c459227347d2ed0c934aa980.This PR remains draft and unmerged.