bt_getticker: Get the Ticker Values for a Market

View source: R/public-interface.r

bt_gettickerR Documentation

Get the Ticker Values for a Market

Description

The bt_getticker() function returns the bid, ask, and last transaction price for a specified market on https://bittrex.com. The complete list of markets is available via bt_getmarkets().

Usage

bt_getticker(market)

Arguments

market

the market to get the ticker for.

Value

A named list with the following elements:

  • success: a boolean indicating whether the request was successful.

  • message: a string describing the error if the request was not successful, otherwise and empty string.

  • result: A data.frame with the bid, ask, and last transaction prices.

References

https://bittrex.com/api/v1.1/public/getticker

See Also

bt_getmarkets()

Examples

## Not run: 
getticker("btc-ltc")

## End(Not run)

ropensci/bittrex documentation built on July 6, 2022, 7:53 a.m.