Description Usage Arguments Examples
View source: R/public_order_book.R
GET current public order book data
1 2 3 4 5 6 7 8 9 |
exchange |
Which exchange to use for price and market data. Choices are "binance", "binance-us", "bitstamp", "bittrex", "coinbase-pro", "crypto.com", "ftx", "ftx-us", "gemini", "huobi", "kraken", "kucoin", and "poloniex". |
base_asset |
Base asset (default BTC) |
quote_asset |
Quote asset (default USD) |
dry_run |
If TRUE, call httr2::req_dry_run, which shows the API call without actually sending it. |
... |
Query parameters passed to API call |
level |
Parameter used for varying aggregations of order book.
|
depth |
Optional parameter used to specify number of bids and asks to return.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 | public_order_book(exchange = "binance")
public_order_book(exchange = "binance-us")
public_order_book(exchange = "bitstamp")
public_order_book(exchange = "bittrex")
public_order_book(exchange = "coinbase-pro")
public_order_book(exchange = "crypto.com")
public_order_book(exchange = "ftx")
public_order_book(exchange = "ftx-us")
public_order_book(exchange = "gemini")
public_order_book(exchange = "huobi", level = "step0")
public_order_book(exchange = "kraken")
public_order_book(exchange = "kucoin")
public_order_book(exchange = "poloniex")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.