bt_getmarkethistory: Recent History for a Market

View source: R/public-interface.r

bt_getmarkethistoryR Documentation

Recent History for a Market

Description

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

Usage

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

## Not run: 
mh <- bt_getmarkethistory("btc-eth")$result
head(mh)

## End(Not run)

kaneplusplus/bittrex documentation built on July 6, 2022, 10:02 p.m.