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