Skip to content
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

Merged
merged 57 commits into from
Apr 28, 2022
Merged

hedge_ratio.py #293

merged 57 commits into from
Apr 28, 2022

Conversation

Ksteeds
Copy link
Contributor

@Ksteeds Ksteeds commented Mar 18, 2022

Commencing code.

@Ksteeds Ksteeds requested a review from rsueppel March 18, 2022 14:02
@Ksteeds Ksteeds self-assigned this Mar 18, 2022
@Ksteeds Ksteeds changed the title Starting hedge ratio code. hedge_ratio.py Mar 18, 2022
@Ksteeds
Copy link
Contributor Author

Ksteeds commented Mar 18, 2022

Work-in-progress.

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.
Copy link
Contributor

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.

@Ksteeds
Copy link
Contributor Author

Ksteeds commented Mar 24, 2022

Solving ToDos.

@Ksteeds
Copy link
Contributor Author

Ksteeds commented Apr 4, 2022

Updates following code review.

@Ksteeds
Copy link
Contributor Author

Ksteeds commented Apr 5, 2022

Requires code clean-up and logic check.

@Ksteeds Ksteeds linked an issue Apr 19, 2022 that may be closed by this pull request
@Ksteeds
Copy link
Contributor Author

Ksteeds commented Apr 20, 2022

Believe latest ToDos have been addressed - minor changes.

@Ksteeds Ksteeds merged commit bc30507 into develop Apr 28, 2022
@Ksteeds Ksteeds deleted the feature/portfolio_hedging branch April 29, 2022 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hedge_ratio
2 participants