Beispiel #1
0
def get_crypto_quote(symbol, **kwargs):
    """
        .. warning:: This endpoint will be deprecated and moved to 
        ``iexfinance.crypto.get_crypto_quote in version 0.5.2.
    """
    warnings.warn("This endpoint will be deprecated and moved to "
                  "iexfinance.crypto.get_crypto_quote in version 0.5.2.")
    return CloudCrypto(symbol, **kwargs).fetch()
Beispiel #2
0
def get_crypto_quote(symbol, **kwargs):
    """
    Crypto Quotes

    This will return a quote for Cryptocurrencies supported by IEX Cloud.
    Each element is a standard ``quote``.

    Reference: https://iexcloud.io/docs/api/#crypto
    Data Weighting: ``1`` per symbol

    Parameters
    ----------
    symbol: str
        A cryptocurrency symbol for retrieval
    """
    return CloudCrypto(symbol, **kwargs).fetch()
Beispiel #3
0
def get_crypto_quote(symbol, **kwargs):
    """
    Crypto Quotes

    Single quote for Cryptocurrency supported by IEX Cloud.

    Reference: https://iexcloud.io/docs/api/#crypto
    Data Weighting: ``1`` per symbol

    Parameters
    ----------
    symbol: str
        A cryptocurrency symbol for retrieval

    Notes
    -----
    Each element contains Stocks ``quote`` fields.
    """
    return CloudCrypto(symbol, **kwargs).fetch()