prepareTradesFromDirectory: Extract the downloaded cryptocurriency trades data from the...

View source: R/liquidity_cryptowat.R

prepareTradesFromDirectoryR Documentation

Extract the downloaded cryptocurriency trades data from the json files and save them into a csv file

Description

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

Usage

prepareTradesFromDirectory(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 trades data files are located

destDirectory

is the directory path where the csv tradesdata files will be saved

Details

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

Examples

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

## End(Not run)

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