-
Notifications
You must be signed in to change notification settings - Fork 60
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
Should we compound continuously ? #253
Comments
Is the implementation simple? |
Yes. It only involves removing the zero floor subs. |
Then let's go |
I love the idea, but I feel like it's way more easy for everyone in the world to understand that interests are compounded each second rather than continuously... By that I mean that if I was a strategic lender who wants to calculate my compounded rate over a defined period, I intuitively (meaning: it is way more broadly known this way) go for the formula I unfortunately think that it makes more sense to compound every second from a business perspective |
I don't think it makes a big difference either way, but I made a quick PR for it. Feel free to veto! |
I feel like it is possible to find a way to explain it quite "simply" to everyone in the world (saying that interests are compounded at each instant which is even better than compounding every second) I don't really agree with you for the business perspective. The interest improvement through continuous compounding can be pretty significant for long term suppliers whom we want to attract as much as possible. Furthermore, I am not sure that TradFi people do not know about this technique (I saw the continuous interest formula in a paper from Simtopia so I think quants are familiar with it) |
In the first place, we have to explain that the compounded interest is approximated by a taylor series expansion anyway. So I don't consider it a huge leap to move to continuous compounding. It comes with the benefit of not having to do (n-1), (n-2).... and so is a bit more gas efficient as well. And yes, I pretty much agree with @peyha. Continuous compounding is a pretty well understood concept, and is probably more "pure" mathematically. But I don't want to overstate the benefits either. Besides the simpler taylor series formula saving a tiny bit of gas and complexity, the additional interest from continuous compounding is very unlikely to ever be a significant amount, and the error from approximating the taylor series in the first place will largely overshadow any difference this change makes. |
if you refuse the simulation hypothesis.. More seriously, @morpho-labs/offchain also team matters here |
In Ethereum world, I don't have a strong opinion on it, too, nerd on financial topics to have a relevant opinion. From a mathematic aspect, both are elegant. From an integrator pow, this is the same (not easier / harder to compute the APY). However, from 1s compounding to continuous, the diff is really small (especially for low rates) as mentioned before. |
I'm not sure it's really changing anything from my point of view: we'll build libs on top of the primitive, and most people will use libs or will read the docs. In the end it's not a big deal.
Maybe we could leverage on this to do some marketing and assume Blue will be the best protocol in the world because it's so mathematical right? 😂 |
Originally posted by @peyha in #222 (comment)
The text was updated successfully, but these errors were encountered: