def daily(date=None, last='<STR_LIT>', token='<STR_LIT>', version='<STR_LIT>'):
if date:<EOL><INDENT>date = _strOrDate(date)<EOL>return _getJson('<STR_LIT>' + date, token, version)<EOL><DEDENT>elif last:<EOL><INDENT>return _getJson('<STR_LIT>' + last, token, version)<EOL><DEDENT>return _getJson('<STR_LIT>', token, version)<EOL>
https://iexcloud.io/docs/api/#stats-historical-daily

    Args:
        token (string); Access token
        version (string); API version

    Returns:
        dict: result