Avoid redundant calculations for calculate_close_short_flat_plus_curve
#43
Labels
enhancement
New feature or request
calculate_close_short_flat_plus_curve
#43
delvtech/hyperdrive#916 adds a couple of negative interest checks, which requires a few internal variables used by
calculate_close_short_flat_plus_curve
. Additionally, a newclose_short_governance_fee
also includes a potentially redundantclose_short_curve_fee
. Further work is needed to remove redundant calculations of these internal variables.The text was updated successfully, but these errors were encountered: