added function to get trade data, (non-functional)