Returns stock prices for Apple company.

def fetch_appl():
    """Returns stock prices for Apple company."""
    yql = YQL('AAPL', '2014-01-01', '2014-01-10')

    for item in yql:
        print item.get('date'), item.get('price')

    yql.select('AAPL', '2014-01-01', '2014-01-10')

    for item in yql:
        print item.get('date'), item.get('price')