prepareOrders: Extract the downloaded cryptocurriency order-book data from...

View source: R/liquidity_cryptowat.R

prepareOrdersR Documentation

Extract the downloaded cryptocurriency order-book data from the json files and save them into a csv file

Description

This function extracts the downloaded cryptocurriency order-book data from the json files and save them into a csv file

Usage

prepareOrders(market, pair, sourceDirectory, destDirectory)

Arguments

market

is the required exchange

pair

is the required exchange rate pair

sourceDirectory

is the directory path where the json order-book data files are located

destDirectory

is the directory path where the csv order-book files will be saved

Details

This function extracts the downloaded cryptocurriency order-book data from the json files and save them into a csv file

Examples

## Not run: 
data_file<-system.file("extdata", package = "bitcoinFinance")
prepareOrders("coinbase","btcusd",data_file,data_file)

## End(Not run)

deanfantazzini/bitcoinFinance documentation built on June 12, 2024, 4:10 p.m.