blockchain_dot_com_l2_order_book: blockchain_dot_com_l2_order_book

View source: R/blockchain_dot_com.R

blockchain_dot_com_l2_order_bookR Documentation

blockchain_dot_com_l2_order_book

Description

blockchain_dot_com_l2_order_book

Usage

blockchain_dot_com_l2_order_book(symbol, timeout_seconds = 60)

Arguments

symbol

the symbol for which to retrieve data

timeout_seconds

seconds until the query times out. Default is 60.

Value

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

Examples

symbol <- 'BTC-USD'
l2_order_book <- blockchain_dot_com_l2_order_book(symbol, 4.5)
l2_order_book$bids
l2_order_book$asks

cryptotrackr documentation built on June 22, 2024, 10:39 a.m.