-
Notifications
You must be signed in to change notification settings - Fork 6
Negative Interest: Zeta Adjustment #599
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
Merged
jalextowle
merged 33 commits into
main
from
jalextowle/negative-interest/zeta-adjustment
Oct 11, 2023
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
f2c19ae
Made some progress on the negative interest issues
jalextowle 9552e23
Simplified the mature negative interest flow and fixed the flow for s…
jalextowle 3e374bd
Fixed a discrepancy in the negative interest logic in `closeLong`
jalextowle 41458a9
Cleanup
jalextowle 8a9ce3a
Fixed issue after merge
jalextowle 2c97455
Refactored out `sharePaymentWithoutFees`
jalextowle 3b1f73c
Refactored out `shareProceedsWithFees`
jalextowle cd10625
Addressed review feedback from @jrhea
jalextowle 29fda0e
"Fixed" an intermittent failure in `test_lp_withdrawal_long_and_short…
jalextowle 500b083
Commit intermmediate progress
jalextowle af25c00
Made the share adjustment fixes
jalextowle e3b281d
Added a `minSharePrice`
jalextowle 6525ba4
Fixed some tests
jalextowle ef62e6c
Fixed the Rust codebase
jalextowle 2ee5ee0
Name changes in `HyperdriveLong`
jalextowle 91d7b79
Removed the long share price and did some renaming in `HyperdriveShort`
jalextowle a5cecc9
De-duplicated the negative interest logic between `closeLong` and `cl…
jalextowle f6691bc
Renamed `shareCurvePayment` and `shareCurveProceeds` to `shareCurveDe…
jalextowle 0717377
Merge branch 'main' into jalextowle/bug/negative-interest-mature-posi…
jalextowle 0950f34
Negative Interest: Round Trip (#600)
jalextowle 91f7839
Merge remote-tracking branch 'origin/jalextowle/bug/negative-interest…
jalextowle 9ac1a15
Renamed `bondCurvePayment` and `bondCurveProceeds` to `bondCurveDelta`
jalextowle ae98c71
Merge remote-tracking branch 'origin/main' into jalextowle/negative-i…
jalextowle f06bd6b
Fixed issues after merge
jalextowle 0a03cc7
Fixed the path independence test and added a test for k invariance
jalextowle ab8ca86
Merge remote-tracking branch 'origin/main' into jalextowle/negative-i…
jalextowle 657f370
Addressed review feedback
jalextowle 4c432f0
Merge branch 'jalextowle/negative-interest/refactor' into jalextowle/…
jalextowle 6631214
Merge remote-tracking branch 'origin/main' into jalextowle/negative-i…
jalextowle 595fb7e
Cleaned up the comments
jalextowle 6d7db94
Fixed a bug in `openShort` caused by negative interest
jalextowle 9e80e96
Added negative interest to `test_path_independence`
jalextowle 7a6cdcf
Ignored the max short integration test
jalextowle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.