Small trade.sql adjustment