Learn R Programming

cryptotrackr (version 1.3.3)

blockchain_dot_com_l3_order_book: blockchain_dot_com_l3_order_book

Description

blockchain_dot_com_l3_order_book

Usage

blockchain_dot_com_l3_order_book(symbol, timeout_seconds = 60)

Value

returns a list containing a 'bids' and an 'asks' dataframe along with the specified symbol

Arguments

symbol

the symbol for which to retrieve data

timeout_seconds

seconds until the query times out. Default is 60.

Examples

Run this code
symbol <- 'BTC-USD'
l3_order_book <- blockchain_dot_com_l3_order_book(symbol, 4.5)
l3_order_book$bids
l3_order_book$asks

Run the code above in your browser using DataLab