[Fix]ctp cancel order needs correct ExchangeID
This commit is contained in:
parent
0fb929e66c
commit
09d99964e5
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user