Skip to content

Commit

Permalink
[Mod] 更新版本号到1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Feb 21, 2022
1 parent e31e34d commit ae7fe1e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,4 +1,4 @@
# 1.0.0版本
# 1.0.1版本

1. 调整安装脚本setup.py,支持Windows下安装时根据Python版本进行编译
2. 调整接口初始化时,接口名称的赋值方式
13 changes: 7 additions & 6 deletions README.md
@@ -1,11 +1,11 @@
# vn.py框架的顶点HTS期权接口
# VeighNa框架的顶点HTS期权接口

<p align="center">
<img src ="https://vnpy.oss-cn-shanghai.aliyuncs.com/vnpy-logo.png"/>
</p>

<p align="center">
<img src ="https://img.shields.io/badge/version-1.0.0-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/version-1.0.1-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/platform-windows-yellow.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"/>
Expand All @@ -20,21 +20,22 @@

## 安装

安装需要基于3.0.0版本以上的[VN Studio](https://www.vnpy.com)
安装环境推荐基于3.0.0版本以上的[**VeighNa Studio**](https://www.vnpy.com)

直接使用pip命令:

```
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)】编译器

## 使用

Expand Down
4 changes: 2 additions & 2 deletions 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 =
Expand Down
2 changes: 1 addition & 1 deletion vnpy_hts/gateway/hts_gateway.py
Expand Up @@ -111,7 +111,7 @@

class HtsGateway(BaseGateway):
"""
vn.py用于对接顶点HTS期权柜台的交易接口
VeighNa用于对接顶点HTS期权柜台的交易接口
"""

default_name: str = "HTS"
Expand Down

0 comments on commit ae7fe1e

Please sign in to comment.