Sector earnings are reaching a trough