def sentimentDF(symbol, type='<STR_LIT>', date=None, token='<STR_LIT>', version='<STR_LIT>'):
ret = sentiment(symbol, type, date, token, version)<EOL>if type == '<STR_LIT>':<EOL><INDENT>ret = [ret]<EOL><DEDENT>df = pd.DataFrame(ret)<EOL>_toDatetime(df)<EOL>return df<EOL>
This endpoint provides social sentiment data from StockTwits. Data can be viewed as a daily value, or by minute for a given date.

    https://iexcloud.io/docs/api/#social-sentiment
    Continuous

    Args:
        symbol (string); Ticker to request
        type (string); 'daily' or 'minute'
        date (string); date in YYYYMMDD or datetime
        token (string); Access token
        version (string); API version

    Returns:
        DataFrame: result