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.0.2.tar.gz (7.5 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.0.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vnpy_postgresql-1.0.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for vnpy_postgresql-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5348263f78513e94aa0da68c4cfde6638306761cae2b5c63d554b607358b855f
MD5 e81b6ce129f773d6d53de88bf8beb0a3
BLAKE2b-256 4ead4d19c43f56120580d2c771ea7b07adaec5616599d1ecf362bdd120a8d0c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vnpy_postgresql-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for vnpy_postgresql-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f0706d90932170a89df804b592970ac7944b9c8ba3ebc3a910205ab7f4f29b8
MD5 ddeab224ba295dc8963f64a60d636d0b
BLAKE2b-256 e29e8bcf4ce9a50a35da0237c76a111b98451c4a8bd1fc94670a46fafe842fb6

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