updated for more trades.