Interest calculation or investment allocation