the bt_getmarkethistory() function retrieves recent trade information for a specified market on https://bittrex.com.

bt_getmarkethistory(market)

Arguments

market

the market from which history data will be retrieved.

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 containing recent trade information including the order type, time, quantity, price, and fill type.

References

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

Examples

if (FALSE) { mh <- bt_getmarkethistory("btc-eth")$result head(mh) }