You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The netCurveTrade has units of [bonds] but maxCurveTrade has units of [shares] or [bonds/price]. So the ‘else’ branch where the net curve trade is negative, there seems to be a mixture of units, and the value that is passed to the calculateSharesInGivenBondsOut should be in bonds, not shares. #352