File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- # vn.py框架的PostgreSQL数据库接口
1
+ # VeighNa框架的PostgreSQL数据库接口
2
2
3
3
<p align =" center " >
4
4
<img src =" https://vnpy.oss-cn-shanghai.aliyuncs.com/vnpy-logo.png " />
7
7
<p align =" center " >
8
8
<img src ="https://img.shields.io/badge/version-1.0.0-blueviolet.svg"/>
9
9
<img src ="https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg"/>
10
- <img src ="https://img.shields.io/badge/python-3.7-blue.svg" />
10
+ <img src ="https://img.shields.io/badge/python-3.7|3.8|3.9|3.10 -blue.svg" />
11
11
</p >
12
12
13
13
## 说明
18
18
19
19
### 全局配置
20
20
21
- 在vn.py中使用PostgreSQL时 ,需要在全局配置中填写以下字段信息:
21
+ 在VeighNa中使用PostgreSQL时 ,需要在全局配置中填写以下字段信息:
22
22
23
23
| 名称| 含义| 必填| 举例|
24
24
| ---------| ----| ---| ---|
29
29
| database.user| 用户名| 是| postgres|
30
30
| database.password| 密码| 是| 123456|
31
31
32
- 请注意,vn.py不会主动为关系型数据库创建数据库 ,所以请确保你所填的database.database字段对应的数据库已经创建好了。若未创建数据库,请手动连上数据库并创建。
32
+ 请注意,VeighNa不会主动为关系型数据库创建数据库 ,所以请确保你所填的database.database字段对应的数据库已经创建好了。若未创建数据库,请手动连上数据库并创建。
33
33
34
34
### 创建实例
35
35
36
- vn.py不会主动为PostgreSQL数据库创建实例 ,所以使用前请确保database.database字段中填写的的数据库实例已经创建了。
36
+ VeighNa不会主动为PostgreSQL数据库创建实例 ,所以使用前请确保database.database字段中填写的的数据库实例已经创建了。
37
37
38
38
若实例尚未创建,可以使用【pgAdmin 4】客户端的【Create Database】进行操作。
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ url = https://www.vnpy.com
5
5
license = MIT
6
6
author = Xiaoyou Chen
7
7
8
- description = PostgreSQL database adapter for vn.py quant trading framework.
8
+ description = PostgreSQL database adapter for VeighNa quant trading framework.
9
9
long_description = file: README.md
10
10
long_description_content_type = text/markdown
11
11
keywords =
You can’t perform that action at this time.
0 commit comments