code: def import_trade(self, trade):
          
          for item in trade:
              self.make_deal(item.code, item.datetime, item.amount,
                             item.towards, item.price.item.order_model, item.amount_model)
docs: trade是一个可迭代的list/generator