Learn R Programming

TickExec (version 1.1)

LoadTickData: Locate and Load Tick Data of Given Instrument at Given Date

Description

Since the format of the data may vary, this funcation is expecting to vary among different datasets and data structures.

Usage

LoadTickData(dir, ticker, date, CALL = 'BUY', market = 'SHSZ')

Arguments

dir
The directory containing the Tick data.
date
date of the tick data.
ticker
ticker of the tick data.
CALL
'BUY', 'SELL' or 'TRADE', depends on the chunk of the data wanted.
market
specifying the sub-function to call depending on the market.

Value

A dataframe, or NA if no entries satisfy the given conditions.