def bookDF(symbol=None, token='<STR_LIT>', version='<STR_LIT>'):
x = book(symbol, token, version)<EOL>data = []<EOL>for key in x:<EOL><INDENT>d = x[key]<EOL>d['<STR_LIT>'] = key<EOL>data.append(d)<EOL><DEDENT>df = pd.io.json.json_normalize(data)<EOL>_toDatetime(df)<EOL>return df<EOL>
Book shows IEX’s bids and asks for given symbols.

    https://iexcloud.io/docs/api/#deep-book

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

    Returns:
        DataFrame: result