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

Remove normalized_time_remaining from calculate_close_long_flat_plus_curve and calculate_close_short_flat_plus_curve #48

Open
DannyDelott opened this issue Mar 20, 2024 · 0 comments

Comments

@DannyDelott
Copy link
Contributor

The normalized_time_remaining is used to calculate fees paid to close longs or shorts. Callers should just pass current_time and maturity_time instead.

Started here delvtech/hyperdrive#842

@ryangoree ryangoree transferred this issue from delvtech/hyperdrive May 1, 2024
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

No branches or pull requests

1 participant