From 70b589ed52d68399af7096ca36c598fbe055e196 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Tue, 8 Oct 2019 16:53:12 +0800 Subject: [PATCH] [Mod] convert order offset for INE contracts --- vnpy/trader/converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/trader/converter.py b/vnpy/trader/converter.py index 2fe11b05..0c30ff06 100644 --- a/vnpy/trader/converter.py +++ b/vnpy/trader/converter.py @@ -70,7 +70,7 @@ class OffsetConverter: if lock: 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) else: return [req]