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
Currently we have two functions: CalculateSpotPrice and CalculateSpotPriceSansFee.
I know, this is using the naming used in the Balancer code, but I think this nomenclature of SpotPrice including fees is quite non-standard in industry and we should it correctly. (Even the balancer docs, define spot price as not including fees: https://docs.balancer.finance/core-concepts/protocol/index#spot-price).
I'd recommend switching:
CalculateSpotPriceSansFee -> CalculateSpotPrice
CalculateSpotPrice -> CalculateSpotPriceWithFee.
The text was updated successfully, but these errors were encountered:
Currently we have two functions:
CalculateSpotPrice
andCalculateSpotPriceSansFee
.I know, this is using the naming used in the Balancer code, but I think this nomenclature of SpotPrice including fees is quite non-standard in industry and we should it correctly. (Even the balancer docs, define spot price as not including fees: https://docs.balancer.finance/core-concepts/protocol/index#spot-price).
I'd recommend switching:
CalculateSpotPriceSansFee
->CalculateSpotPrice
CalculateSpotPrice
->CalculateSpotPriceWithFee
.The text was updated successfully, but these errors were encountered: