-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hedge_ratio.py #293
hedge_ratio.py #293
Conversation
Work-in-progress. |
macrosynergy/panel/hedge_ratio.py
Outdated
the sample of data used for the rolling regression. If an entire period of data | ||
is excluded by the blacklisting, where a period is defined by the frequency | ||
parameter "refreq", the regression coefficient will remain constant for that | ||
period, or all periods coinciding with the blacklist. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blacklist periods can carry forward a past hedge ratio. Thus, they don't have to be NAs. However, after the blacklist period has ended, new estimates of hedge ratios must not be calculated based on returns during the blacklist period, but also on the returns thereafter or (possibly) before.
…ynergy/macrosynergy into feature/portfolio_hedging
Solving ToDos. |
Updates following code review. |
todos for daily hedge ratios and hedged returns
Requires code clean-up and logic check. |
Believe latest ToDos have been addressed - minor changes. |
added formalities and three todos
Commencing code.