Yahoo API parameter adjustment and refactoring