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(sample_qdataraw_microseconds) # }
Run the code above in your browser using DataLab