This commit is contained in:
vn.py 2019-07-10 10:15:15 +08:00
parent f6066681e1
commit 62a0451d41

View File

@ -716,6 +716,7 @@ class CtpTdApi(TdApi):
ctp_req = {
"InstrumentID": req.symbol,
"ExchangeID": req.exchange.value,
"LimitPrice": req.price,
"VolumeTotalOriginal": int(req.volume),
"OrderPriceType": ORDERTYPE_VT2CTP.get(req.type, ""),