Skip to main content

VeighNa框架的PostgreSQL数据库接口

说明

基于peewee开发的PostgreSQL数据库接口。

使用

全局配置

在VeighNa中使用PostgreSQL时,需要在全局配置中填写以下字段信息:

名称 含义 必填 举例
database.name 名称 postgresql
database.host 地址 localhost
database.port 端口 5432
database.database 实例 vnpy
database.user 用户名 postgres
database.password 密码 123456

请注意,VeighNa不会主动为关系型数据库创建数据库,所以请确保你所填的database.database字段对应的数据库已经创建好了。若未创建数据库,请手动连上数据库并创建。

创建实例

VeighNa不会主动为PostgreSQL数据库创建实例,所以使用前请确保database.database字段中填写的的数据库实例已经创建了。

若实例尚未创建,可以使用【pgAdmin 4】客户端的【Create Database】进行操作。

Release files for vnpy_postgresql 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vnpy_postgresql 1.1.2
File Size Uploaded
vnpy_postgresql-1.1.2.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vnpy_postgresql 1.1.2
File Interpreter ABI Platform
vnpy_postgresql-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.5 kB

Release files / vnpy_postgresql-1.1.2.tar.gz

Download URL vnpy_postgresql-1.1.2.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
acfc58ca6b4090c81544467b315c15bdefd41a39464efdf8ea38b3cc8c9dc340
BLAKE2b-256 checksum
How to use checksums
42fca4b8e300538e8cbf9e775666c73fc3cf0c815f1eb957b9fd7dc1c38dd968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.3

Release files / vnpy_postgresql-1.1.2-py3-none-any.whl

Download URL vnpy_postgresql-1.1.2-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd18bfe99d0e1534c1a76093d307d7dae7b4e9f2a396d94e5e375128c1639fa5
BLAKE2b-256 checksum
How to use checksums
a8d996f700b7278a9c57bff81ce48207e4b55a3fabd04a21ceb300e0984964ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.3

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page