pyEX/stocks.py
def earningsDF(symbol, token='', version=''):
    '''Earnings data for a given company including the actual EPS, consensus, and fiscal period. Earnings are available quarterly (last 4 quarters) and annually (last 4 years).

    https://iexcloud.io/docs/api/#earnings
    Updates at 9am, 11am, 12pm UTC every day

    Args:
        symbol (string); Ticker to request
        token (string); Access token
        version (string); API version

    Returns:
        DataFrame: result
    '''
    e = earnings(symbol, token, version)
    df = _earningsToDF(e)
    return df
def earningsDF(symbol, token='', version=''):
    '''Earnings data for a given company including the actual EPS, consensus, and fiscal period. Earnings are available quarterly (last 4 quarters) and annually (last 4 years).

    https://iexcloud.io/docs/api/#earnings
    Updates at 9am, 11am, 12pm UTC every day

    Args:
        symbol (string); Ticker to request
        token (string); Access token
        version (string); API version

    Returns:
        DataFrame: result
    '''
    e = earnings(symbol, token, version)
    df = _earningsToDF(e)
    return df
def earningsDF ( symbol , token = '' , version = '' ) : e = earnings ( symbol , token , version ) df = _earningsToDF ( e ) return df
Earnings data for a given company including the actual EPS, consensus, and fiscal period. Earnings are available quarterly (last 4 quarters) and annually (last 4 years).

    https://iexcloud.io/docs/api/#earnings
    Updates at 9am, 11am, 12pm UTC every day

    Args:
        symbol (string); Ticker to request
        token (string); Access token
        version (string); API version

    Returns:
        DataFrame: result
Earnings data for a given company including the actual EPS consensus and fiscal period . Earnings are available quarterly ( last 4 quarters ) and annually ( last 4 years ) .