add log
This commit is contained in:
parent
7601c64087
commit
1c62db5fb6
@ -248,6 +248,8 @@ class RealTraderManager:
|
|||||||
|
|
||||||
logger.info(f"###获取订单: {order_id}")
|
logger.info(f"###获取订单: {order_id}")
|
||||||
logger.info(type(order_id))
|
logger.info(type(order_id))
|
||||||
|
logger.info(int(order_id))
|
||||||
|
logger.info(type(int(order_id)))
|
||||||
updated_order = self.trader.get_order(order_id)
|
updated_order = self.trader.get_order(order_id)
|
||||||
|
|
||||||
# 根据委托状态更新订单状态
|
# 根据委托状态更新订单状态
|
||||||
|
@ -273,7 +273,7 @@ class XtTrader(BaseTrader):
|
|||||||
"status_msg": order.status_msg
|
"status_msg": order.status_msg
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
logger.error(f"无法获取订单: {order_id}")
|
logger.error(f"获取订单失败: {order_id}")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def _convert_price_type(self, price_type):
|
def _convert_price_type(self, price_type):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user