At:
D:\software\veighNa\lib\site-packages\vnpy_tap\gateway\tap_gateway.py(502): onRspQryContract
ValueError: could not convert string to float: '' 这个报错时不时会出现
tap_gateway中的send_order方法中
error_id, session, byte_order_id = self.insertOrder(order_req)
if self.byte_client_id in byte_order_id:
prefix: bytes = b"#" + self.byte_client_id + b"#" + self.byte_client_location + b"#"
byte_order_id = byte_order_id.replace(prefix, "")
有时候返回这个error_id=60001,有时候又能成功,即便下单工程,在下面的if判断里会因为byte_order_id不是byte而报错,请教下vnpy_tap的使用方式,没差到太多资料