loadBar: load original data and reshape into time-bar

Description Usage Arguments Value

Description

load tick data from 'share' server and then reshape it into time-bar data

Usage

1
loadBar(ticker, start = NULL, end = NULL, localDtaPath, ...)

Arguments

ticker

string.

start

string(YYYY-MM-DD) or date. specify the start date of bar data. If null, take the earliest as possible

end

string(YYYY-MM-DD) or date. specify the end date of bar data. If null, take the latest as possible

localDtaPath

string. specify local dir where the tick data(.rda) files are saved

...

arguments to be passed to <tick2bar.time>

Value

A dataframe or NULL.


yuanwei/my documentation built on May 4, 2019, 6:35 p.m.