Learn R Programming

highfrequency (version 0.7.0.1)

rmNegativeSpread: Delete entries for which the spread is negative

Description

Function deletes entries for which the spread is negative.

Usage

rmNegativeSpread(qData)

Arguments

qData

an xts object at least containing the columns "BID" and "OFR".

Value

data.table or xts object

Examples

Run this code
# NOT RUN {
rmNegativeSpread(sampleQDataRawMicroseconds)

# }

Run the code above in your browser using DataLab