Skip to main content

PostgreSQL database adapter for VeighNa quant trading framework.

Project description

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】进行操作。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vnpy_postgresql-1.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vnpy_postgresql-1.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file vnpy_postgresql-1.1.0.tar.gz.

File metadata

  • Download URL: vnpy_postgresql-1.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.11

File hashes

Hashes for vnpy_postgresql-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9d604e43fa420cf65cb3743e2cddbc7412ff9f0f3e61f4a21d2a6efa3decdbee
MD5 a6f1db6894d96b90e21b1cfb9c8c173e
BLAKE2b-256 49c87f45b2b83e6580d294050667bbaa0932ccfda9061e3178c5bba20a48362d

See more details on using hashes here.

File details

Details for the file vnpy_postgresql-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vnpy_postgresql-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 317d7cbafcd415a00960e5639441c1f44218fbffa24af6f6247fdbd6f93d7c22
MD5 543b53123e803986c2c1cb2ef572680f
BLAKE2b-256 0c4f7ff52dfdb28120560bd620795c1ebf24fc055d9b482193b976459eacd62c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page