Metadata-Version: 2.1
Name: nginqcomm
Version: 0.2.10
Summary: nginq common lib
Home-page: https://git.pandaminer.com/quant/nginq-common
Author: zhoushx1018
Author-email: zhoushx1018@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.9.0
Description-Content-Type: text/markdown
License-File: LICENSE


# nginq-common 
quant/nginq 的公共模块整理出来，独立做个源码仓库  nginq-common 

后续  quant/nginq 拆分， 每个策略独立一个原编码仓库  strategy-18、strategy-6、strategy-b 等


## 安装工具
```
# pip install twine 
```

## pypi账号

- 在 pypi 注册账号

- 编辑 ~/.pypirc

```
# cd  ~
# cat .pypirc

[distutils]
index-servers=pypi

[pypi]
repository =  https://upload.pypi.org/legacy/
username = [pypiUserName]
password = [pypiPasswd]

```

## 项目打包
```
# 打包检查
# python setup.py check

# 打包
# python setup.py sdist build

# 上传
# twine upload dist/*

```

另， **不推荐的上传方式如下（密码容易被劫持）**
```

# 打包
# python setup.py sdist

# 上传
# python setup.py upload  
```

## 安装本项目的包（最好指定版本）

```
## 手工导入 
# pip install nginqcomm==0.2.2


## requirements.txt 文件
#  cat requirements.txt
...
nginqcomm==0.2.5
...


## 安装后的查看
# pip list | grep -i nginqcomm

```

