[Fix]ctp cancel order needs correct ExchangeID

This commit is contained in:
vn.py 2019-07-10 17:07:01 +08:00
parent 0fb929e66c
commit 09d99964e5

View File

@ -761,7 +761,7 @@ class CtpTdApi(TdApi):
ctp_req = {
"InstrumentID": req.symbol,
"Exchange": req.exchange,
"ExchangeID": req.exchange.value,
"OrderRef": order_ref,
"FrontID": int(frontid),
"SessionID": int(sessionid),