powered by
blockchain_dot_com_l2_order_book
blockchain_dot_com_l2_order_book(symbol, timeout_seconds = 60)
returns a list containing a 'bids' and an 'asks' dataframe along with the specified symbol
the symbol for which to retrieve data
seconds until the query times out. Default is 60.
symbol <- 'BTC-USD' l2_order_book <- blockchain_dot_com_l2_order_book(symbol, 4.5) l2_order_book$bids l2_order_book$asks
Run the code above in your browser using DataLab