View source: R/liquidity_cryptowat.R
prepareBestOrders | R Documentation |
This function extract best bids and best asks from the orderbook.csv file
prepareBestOrders(market, pair, sourceDirectory)
market |
is the required exchange |
pair |
is the required exchange rate pair |
sourceDirectory |
is the directory path where the csv order-book data files is located (and where the best_orders.csv file will be saved) |
This function extracts best bids and best asks from the orderbook.csv file and save them in the best_orders.csv file
## Not run:
data_file<-system.file("extdata", package = "bitcoinFinance")
prepareOrders("coinbase","btcusd",data_file,data_file)
prepareBestOrders("coinbase","btcusd",data_file )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.