trade是一个可迭代的list/generator

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