From 29afce43d8151e6be87dba5172c0987272b66aa6 Mon Sep 17 00:00:00 2001 From: Edanflame <237397488@qq.com> Date: Thu, 17 Feb 2022 16:25:52 +0800 Subject: [PATCH 1/3] =?UTF-8?q?[Mod]=20=E5=B0=86=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E6=A0=87=E6=96=87=E4=BB=B6=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=EF=BC=8C=E6=94=B9=E4=B8=BA=E5=AE=8C=E6=95=B4=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy_scripttrader/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy_scripttrader/__init__.py b/vnpy_scripttrader/__init__.py index 248a8b0..bf602ff 100644 --- a/vnpy_scripttrader/__init__.py +++ b/vnpy_scripttrader/__init__.py @@ -44,4 +44,4 @@ class ScriptTraderApp(BaseApp): display_name = "脚本策略" engine_class = ScriptEngine widget_name = "ScriptManager" - icon_name = "script.ico" + icon_name = str(app_path.joinpath("ui", "script.ico")) From 257ee9c87f5d6a585d3af2b1ef20a335c39104b8 Mon Sep 17 00:00:00 2001 From: Edanflame <237397488@qq.com> Date: Thu, 17 Feb 2022 16:26:08 +0800 Subject: [PATCH 2/3] [Add] add CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9a66c2d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# 1.0.0版本 + +1. 将模块的图标文件信息,改为完整路径字符串 From 50f4755e7a77bf34e69741917db76bb12cb48f76 Mon Sep 17 00:00:00 2001 From: Edanflame <237397488@qq.com> Date: Thu, 17 Feb 2022 16:26:31 +0800 Subject: [PATCH 3/3] =?UTF-8?q?[Mod]=20=E6=9B=B4=E6=96=B0README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8b16d80..b36db41 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@

- +

@@ -17,7 +17,7 @@ ScriptTrader是用于交易脚本执行的功能模块,和其他策略模块 ## 安装 -安装需要基于2.7.0版本以上的[VN Studio](https://www.vnpy.com)。 +安装需要基于3.0.0版本以上的[VN Studio](https://www.vnpy.com)。 直接使用pip命令: @@ -28,5 +28,5 @@ pip install vnpy_scripttrader 下载解压后在cmd中运行 ``` -python setup.py install +pip install -e . ```