Skip to content

Commit

Permalink
[Mod] 更新说明文档
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Sep 24, 2021
1 parent 74a3025 commit b388b3f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# vn.py框架的Tushare数据服务接口
# vn.py框架的TuShare数据服务接口

<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.2.64-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/version-1.2.64.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/github/license/vnpy/vnpy.svg?color=orange"/>
Expand Down Expand Up @@ -34,7 +34,6 @@
* BYBIT
* COINBASE
* DERIBIT
* GATEIO

注意:需要使用相应的数据服务权限,可以通过[该页面](https://www.tushare.pro)注册使用。

Expand All @@ -58,9 +57,10 @@ python setup.py install

## 使用

在VN Trader中配置时,需要填写以下字段信息
在vn.py中使用TuShare时,需要在全局配置中填写以下字段信息

| 字段名 ||
|--------- |---- |
|datafeed.username | token|
|datafeed.password | token|
|名称|含义|必填|举例|
|---------|----|---|---|
|datafeed.name|名称||tushare|
|datafeed.username|用户名||token|
|datafeed.password|密码||c3a110417f08f26d2c221edc0c50d4a8a5001502eea89cf5|
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = vnpy_tushare
version = 1.2.64
version = 1.2.64.0
url = https://www.vnpy.com
license = MIT
author = Xiaoyou Chen
Expand Down Expand Up @@ -31,5 +31,4 @@ packages = find:
include_package_data = True
zip_safe = False
install_requires =
importlib_metadata
tushare

0 comments on commit b388b3f

Please sign in to comment.