strategy/order_methods.py
@@ -34,7 +34,7 @@ if volume < 100: volume = 100 # 调用笼子价计算工具计算下单价格 order_price = tool.get_buy_max_price(current_price) order_price = round(tool.get_buy_max_price(current_price), 2) buy_order = huaxin_trade_api.order(1, symbol[-6:], volume, order_price, blocking=True) logger.info(f"current_price===={current_price} order_price===={order_price}") logger.info(f"buy_order===={buy_order}")