Description Usage Arguments Value Examples
View source: R/public_orderbook.R
This function is a public function and will fetch all bids/asks for provided currency pair (product_id). User should change the level to get the best bid/ask or to fetch all bids/asks.
1 | public_orderbook(product_id = "BTC-USD", level = 1)
|
product_id |
Optional character parameter. This is a case insensitive value of the product id for which the order book is desired. Default to |
level |
Optional parameter. Integer value of level denoting level of detail. Valid user values of 1, 2, 3. Default to 1. |
A named list with bids and asks for the provided currency pair.
1 2 3 4 5 6 | ## Not run:
public_orderbook()
public_orderbook(product_id = "BCH-USD", level = 3)
public_orderbook(product_id = "BTC-EUR", level = 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.