From 0ee582a12efcda1b27f7df058641b9abb6161f4a Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Sat, 14 Sep 2019 14:39:24 +0800 Subject: [PATCH] [Mod] move OffsetConverter module to vnpy.trader --- vnpy/app/cta_strategy/engine.py | 2 +- vnpy/{app/cta_strategy => trader}/converter.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename vnpy/{app/cta_strategy => trader}/converter.py (100%) diff --git a/vnpy/app/cta_strategy/engine.py b/vnpy/app/cta_strategy/engine.py index 5245faca..c4622fc2 100644 --- a/vnpy/app/cta_strategy/engine.py +++ b/vnpy/app/cta_strategy/engine.py @@ -38,6 +38,7 @@ from vnpy.trader.constant import ( from vnpy.trader.utility import load_json, save_json, extract_vt_symbol, round_to from vnpy.trader.database import database_manager from vnpy.trader.rqdata import rqdata_client +from vnpy.trader.converter import OffsetConverter from .base import ( APP_NAME, @@ -50,7 +51,6 @@ from .base import ( STOPORDER_PREFIX ) from .template import CtaTemplate -from .converter import OffsetConverter STOP_STATUS_MAP = { diff --git a/vnpy/app/cta_strategy/converter.py b/vnpy/trader/converter.py similarity index 100% rename from vnpy/app/cta_strategy/converter.py rename to vnpy/trader/converter.py