From f4d34bae13e108c90ac0e9f761ae00baa61e73b4 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Thu, 7 Mar 2019 13:32:45 +0800 Subject: [PATCH] [Fix]Close #1443 --- vnpy/app/cta_strategy/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/app/cta_strategy/engine.py b/vnpy/app/cta_strategy/engine.py index 01c3d7c8..70cc54fb 100644 --- a/vnpy/app/cta_strategy/engine.py +++ b/vnpy/app/cta_strategy/engine.py @@ -271,7 +271,7 @@ class CtaEngine(BaseEngine): req = OrderRequest( symbol=contract.symbol, exchange=contract.exchange, - dierction=direction, + direction=direction, offset=offset, price_type=PriceType.LIMIT, price=price,