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,