Beispiel #1
0
def get_market_last(symbols=None, **kwargs):
    """
    MOVED to iexfinance.iexdata.get_last
    """
    import warnings
    warnings.warn(WNG_MSG % ("get_market_last", "iexdata.get_last"))
    return Last(symbols, **kwargs).fetch()
Beispiel #2
0
def get_last(symbols=None, **kwargs):
    """
    Last data for a symbol or list of symbols

    Last provides trade data for executions on IEX. It is a near real time,
    intraday API that provides IEX last sale price, size and time. Last is
    ideal for developers that need a lightweight stock quote.

    Reference: https://iexcloud.io/docs/api/#last
    Data Weighting: ``Free``

    Parameters
    ----------
    symbols: str or list, default None, optional
        A symbol or list of symbols
    kwargs:
        Additional Request Parameters (see base class)
    """
    return Last(symbols, **kwargs).fetch()