diff --git a/CHANGELOG.md b/CHANGELOG.md index dca562f..7ca767d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # 1.1.4版本 1. 加载策略类时,过滤TargetPosTemplate模板 +2. 移除策略配置时,同时删除该策略的缓存数据 # 1.1.3版本 diff --git a/README.md b/README.md index 5af45ba..f0d1046 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- + diff --git a/setup.cfg b/setup.cfg index 7541e53..11b0fa2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = vnpy_ctastrategy -version = 1.1.3 +version = 1.1.4 url = https://www.vnpy.com license = MIT author = Xiaoyou Chen diff --git a/vnpy_ctastrategy/__init__.py b/vnpy_ctastrategy/__init__.py index 827f52f..f5ccb94 100644 --- a/vnpy_ctastrategy/__init__.py +++ b/vnpy_ctastrategy/__init__.py @@ -22,6 +22,7 @@ from pathlib import Path +from typing import Type import importlib_metadata from vnpy.trader.app import BaseApp @@ -47,6 +48,6 @@ class CtaStrategyApp(BaseApp): app_module: str = __module__ app_path: Path = Path(__file__).parent display_name: str = "CTA策略" - engine_class: CtaEngine = CtaEngine + engine_class: Type[CtaEngine] = CtaEngine widget_name: str = "CtaManager" icon_name: str = str(app_path.joinpath("ui", "cta.ico"))