Skip to content

Commit

Permalink
Merge pull request #3 from Edanflame/main
Browse files Browse the repository at this point in the history
将模块的图标文件信息,改为完整路径字符串
  • Loading branch information
vnpy committed Feb 20, 2022
2 parents 3053aee + 50f4755 commit b56e8e5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,3 @@
# 1.0.0版本

1. 将模块的图标文件信息,改为完整路径字符串
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -7,7 +7,7 @@
<p align="center">
<img src ="https://img.shields.io/badge/version-1.0.0-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg"/>
<img src ="https://img.shields.io/badge/python-3.7-blue.svg" />
<img src ="https://img.shields.io/badge/python-3.7|3.8|3.9|3.10-blue.svg" />
<img src ="https://img.shields.io/github/license/vnpy/vnpy.svg?color=orange"/>
</p>

Expand All @@ -17,7 +17,7 @@ ScriptTrader是用于交易脚本执行的功能模块,和其他策略模块

## 安装

安装需要基于2.7.0版本以上的[VN Studio](https://www.vnpy.com)
安装需要基于3.0.0版本以上的[VN Studio](https://www.vnpy.com)

直接使用pip命令:

Expand All @@ -28,5 +28,5 @@ pip install vnpy_scripttrader
下载解压后在cmd中运行

```
python setup.py install
pip install -e .
```
2 changes: 1 addition & 1 deletion vnpy_scripttrader/__init__.py
Expand Up @@ -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"))

0 comments on commit b56e8e5

Please sign in to comment.