bt_getmarketsummary: Summary of a Markets

View source: R/public-interface.r

bt_getmarketsummaryR Documentation

Summary of a Markets

Description

the bt_getmarketsummary() retrieves a summary for a specified market on https://bittrex.com.

Usage

bt_getmarketsummary(market)

Arguments

market

the market to retrieve the summary 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 one row and columns corresponding to: the market name, the high, the low, the volume, the last trade, the last trade price, the base currency volume, a time stamp for the last transaction, the current bid, the current ask, the number of open buy orders, the number of open sell orders, the the previous day close, and when the market was created.

References

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

Examples

## Not run: 
ms <- bt_getmarketsummary("btc-eth")$result
head(ms)

## End(Not run)

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