[Mod] convert order offset for INE contracts

This commit is contained in:
vn.py 2019-10-08 16:53:12 +08:00
parent b66e2a9dd2
commit 70b589ed52

View File

@ -70,7 +70,7 @@ class OffsetConverter:
if lock: if lock:
return holding.convert_order_request_lock(req) return holding.convert_order_request_lock(req)
elif req.exchange == Exchange.SHFE: elif req.exchange in [Exchange.SHFE, Exchange.INE]:
return holding.convert_order_request_shfe(req) return holding.convert_order_request_shfe(req)
else: else:
return [req] return [req]