bt_getorderbook: Order Book for a Market

Description Usage Arguments Value References Examples

Description

The bt_getorderbook() function returns the order book for a specified market on https://bittrex.com.

Usage

1
bt_getorderbook(market, type = c("both", "buy", "sell"), depth = 50)

Arguments

market

the market from which the order book will be retrieved.

type

type of orders to retrieve (default is "both")

depth

how deep the returned order book should be (default and maximum are 50). This is the size and price of bids whose price is lower than the highest bid and higher than the lowest ask.

Value

A named list with the following elements:

References

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

Examples

1
2
3
4
## Not run: 
head(bt_getorderbook("btc-eth")$result)

## End(Not run)

2ndTime/bittrex2 documentation built on May 31, 2019, 2:19 p.m.