def is_upper_limit(self, symbol):
    '是否涨停'
    tick = self.tick_dict.get(symbol, None)
    if ((tick is None) or (tick.limit_up is None) or (tick.limit_up == 0)):
        return False
    if (tick.bid_price_1 == tick.limit_up):
        return True
是否涨停
def is_upper_limit(self, symbol):
    
    tick = self.tick_dict.get(symbol, None)
    if ((tick is None) or (tick.limit_up is None) or (tick.limit_up == 0)):
        return False
    if (tick.bid_price_1 == tick.limit_up):
        return True