powered by
Function deletes entries for which the spread is negative.
rmNegativeSpread(qData)
data.table or xts object
data.table
xts
an xts object at least containing the columns "BID" and "OFR".
Jonathan Cornelissen, Kris Boudt and Onno Kleen
rmNegativeSpread(sampleQDataRaw)
Run the code above in your browser using DataLab