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.37.tar.gz (16.9 kB view hashes)

Uploaded Source

Built Distribution

quantguard-0.1.37-py3-none-any.whl (24.7 kB view hashes)

Uploaded Python 3

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