Skip to main content

交易对账

Project description

安装环境

基础环境安装

conda create --name quantguard python=3.10.6
conda activate quantguard

安装poetry包管理工具

pip install poetry

# 解决 poetry publish 问题
pip install urllib3==1.26.6

安装项目依赖

poetry install

开发过程中安装具体某个包

poetry add xxx包名

发布

poetry build
poetry publish

启动项目

本地测试

请在config目录下创建settings.local.yml填写自己的配置

启动

quantguard server

生成环境安装

pip install quantguard==0.1.24 -i https://pypi.Python.org/simple 

安装superset

卸载本地安装的pandas,因为安装superset容易产生冲突(测试只支持pandas 2.0.3)

poetry remove pandas
poetry add apache-superset

初始化db

设置 superset SECRET_KEY, 详见superset_config.py文件

Create an admin user in your metadata database (use admin as username to be able to load the examples)

export FLASK_APP=superset superset db upgrade superset fab create-admin

Load some data to play with

superset load_examples

Create default roles and permissions

superset init

To start a development web server on port 8088, use -p to bind to another port

superset run -p 8088 --with-threads --reload --debugger

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

quantguard-0.1.38.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

quantguard-0.1.38-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file quantguard-0.1.38.tar.gz.

File metadata

  • Download URL: quantguard-0.1.38.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.6 Darwin/23.2.0

File hashes

Hashes for quantguard-0.1.38.tar.gz
Algorithm Hash digest
SHA256 5ffd83c98a8e5dfdea8c9a8a5e2d01d835ee0957c36533f4a91e5936b4f3636e
MD5 1644cd008e71401b012e271a99a87e58
BLAKE2b-256 29b21fc7525e69e556d2bbe5007138be397882aa9347cb10974c86f01a86bd34

See more details on using hashes here.

File details

Details for the file quantguard-0.1.38-py3-none-any.whl.

File metadata

  • Download URL: quantguard-0.1.38-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.6 Darwin/23.2.0

File hashes

Hashes for quantguard-0.1.38-py3-none-any.whl
Algorithm Hash digest
SHA256 00d8977a3082b209648f9f225e116f2697455af7867a1862651f3e9d028ad99d
MD5 c2943bb15e356a03ffc02586198f7a91
BLAKE2b-256 14fea7594d6a05ee5fff3afa233c4a79951c30008d99327556813842aa33311e

See more details on using hashes here.

Supported by

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