From ae7fe1e243da0e214947c7eb09b1e8d4128e04f8 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Mon, 21 Feb 2022 11:19:51 +0800 Subject: [PATCH] =?UTF-8?q?[Mod]=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E5=88=B01.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- README.md | 13 +++++++------ setup.cfg | 4 ++-- vnpy_hts/gateway/hts_gateway.py | 2 +- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1b1038..6e60e6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 1.0.0版本 +# 1.0.1版本 1. 调整安装脚本setup.py,支持Windows下安装时根据Python版本进行编译 2. 调整接口初始化时,接口名称的赋值方式 diff --git a/README.md b/README.md index 4b06d21..6f48780 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# vn.py框架的顶点HTS期权接口 +# VeighNa框架的顶点HTS期权接口

- + @@ -20,7 +20,7 @@ ## 安装 -安装需要基于3.0.0版本以上的[VN Studio](https://www.vnpy.com)。 +安装环境推荐基于3.0.0版本以上的【[**VeighNa Studio**](https://www.vnpy.com)】。 直接使用pip命令: @@ -28,13 +28,14 @@ pip install vnpy_hts ``` -或者下载解压后在cmd中运行: + +或者下载源代码后,解压后在cmd中运行: ``` -pip install -e . +pip install . ``` -由于在安装的同时需要编译C++代码,因此在执行上述命令之前需要去微软[官网](https://my.visualstudio.com/Downloads?q=build%20tools)下载Visual Studio Build Tools。其中工作负荷选择Visual C++生成工具,同时推荐下载2017版。 +使用源代码安装时需要进行C++编译,因此在执行上述命令之前请确保已经安装了【Visual Studio(Windows)】或者【GCC(Linux)】编译器。 ## 使用 diff --git a/setup.cfg b/setup.cfg index c65e7bd..64a520b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,11 +1,11 @@ [metadata] name = vnpy_hts -version = 1.0.0 +version = 1.0.1 url = https://www.vnpy.com license = MIT author = Xiaoyou Chen author_email = xiaoyou.chen@mail.vnpy.com -description = HTS gateway for vn.py quant trading framework. +description = HTS gateway for VeighNa quant trading framework. long_description = file: README.md long_description_content_type = text/markdown keywords = diff --git a/vnpy_hts/gateway/hts_gateway.py b/vnpy_hts/gateway/hts_gateway.py index 30ab8b1..39437c7 100644 --- a/vnpy_hts/gateway/hts_gateway.py +++ b/vnpy_hts/gateway/hts_gateway.py @@ -111,7 +111,7 @@ class HtsGateway(BaseGateway): """ - vn.py用于对接顶点HTS期权柜台的交易接口。 + VeighNa用于对接顶点HTS期权柜台的交易接口。 """ default_name: str = "HTS"