refactor trade queries, add Trade.filter, filter by trade id range