Learn R Programming

highfrequency (version 1.0.1)

rmNegativeSpread: Delete entries for which the spread is negative

Description

Function deletes entries for which the spread is negative.

Usage

rmNegativeSpread(qData)

Value

data.table or xts object

Arguments

qData

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

Author

Jonathan Cornelissen, Kris Boudt and Onno Kleen

Examples

Run this code
rmNegativeSpread(sampleQDataRaw)

Run the code above in your browser using DataLab