powered by
Function deletes entries for which the spread is negative.
rmNegativeSpread(qData)
an xts object at least containing the columns "BID" and "OFR".
xts
data.table or xts object
data.table
# NOT RUN { rmNegativeSpread(sampleQDataRaw) # }
Run the code above in your browser using DataLab