Closed Walodja1987 closed 1 year ago
The break even price was incorrectly calculated because the price variable in calcBreakEven function was not scaled to 18 decimals as all the other variables (gradient, inflection, floor and cap).
price
calcBreakEven
This PR fixes this.
The break even price was incorrectly calculated because the
price
variable incalcBreakEven
function was not scaled to 18 decimals as all the other variables (gradient, inflection, floor and cap).This PR fixes this.