crypto_dot_com_get_ticker {cryptotrackr}R Documentation

crypto_dot_com_get_ticker

Description

crypto_dot_com_get_ticker

Usage

crypto_dot_com_get_ticker(instrument, timeout_seconds = 60)

Arguments

instrument

the instrument name which you want to query

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns ticker data for specified instrument. Refer to Crypto.com for help interpreting response data: https://exchange-docs.crypto.com/spot/index.html#public-get-ticker

Examples

crypto_dot_com_get_ticker("BTC_USDT", 4.5)

[Package cryptotrackr version 1.3.3 Index]