Administrator
2024-06-28 0d69c5cc12bec38abc02b74c6193d7b660a3f662
trade/current_price_process_manager.py
@@ -44,7 +44,7 @@
                if trade_state == trade_constant.TRADE_STATE_BUY_PLACE_ORDER or trade_state == trade_constant.TRADE_STATE_BUY_DELEGATED:
                    is_want_buy = True
                rate = round((price - pricePre) * 100 / pricePre, 2)
                if tool.is_ge_code(rate):
                if tool.is_ge_code(code):
                    # 创业板的涨幅需要打折
                    rate = rate/2
                if rate >= 0 and not trade_manager.ForbiddenBuyCodeByScoreManager().is_in_cache(code):