best_worst_three: Find the three best-performing and worst-performing commodities
Description
This function takes in a data set and returns the best three and worst three
commodity names and their respective pnls. All these data will be presented
as a formatted table.
Usage
best_worst_three(x)
Value
output A list of the best three and worst three performers with their
commodity names, ids and respective pnls
Arguments
x
A data frame that contains data for individual commodities.