round.numbers: Count round numbers in bid prices.

Description Usage Arguments Value

Description

Unusually round bid prices raise suspicioun of bid rigging. Given a data frame of bids, this function counts how many of those bids are round. It also counts the total number of bids and checks which currency is most common for the bids. The currency information is mainly helpful for debugging.

Usage

1
2
## S3 method for class 'numbers'
round(bids)

Arguments

bids

Data frame of bids, with the columns "currency" and "contract.number"

Value

Data frame of contracts, with the columns "round.bids", "total.bids", and "main.currency".


tlevine/red-flags documentation built on May 31, 2019, 3:51 p.m.