simple method for calculating forward and trailing pe ratio seems ok
update for new vanilla client http interface