GeneralQuantTradeClient
通用量化交易框架客户端,用户获取平台数据
#20191129创建初始版本
#20191130增加bar数据获取接口 (1)初始化数据库连接配置,以下是标准配置,直接使用源代码,配置文件在conf目录下 database_manager = initialize.init(setting.SETTINGS) (2) database_manager.load_bar_data 获取bar数据接口,包含五个参数 symbol: str 合约名称,比如"M9999.XDCE" exchange: str,交易所,默认使用"test"" interval: str,bar数据聚合时间,目前只有"1m" start: datetime, 查询开始时间,时间格式符合"2019-11-07 09:00:00"这种格式 end: datetime, 查询结束时间,时间格式符合"2019-11-07 09:00:00"这种格式 数据接口返回panda.dataframe对象
0.1.2
对程序代码进行完善,增加代码注释
sphinx使用方法:
(1) python源代码自动生成rst,使用命令:
sphinx-apidoc.exe -o rst ..
sphinx-apidoc -o [生成rst的位置] [项目代码的位置] -f(强制重新覆盖写,否则会检测,如果有同名文件存在,会跳过不更新)
sphinx-apidoc -o rst ../src
Metadata
Release files for quant-trade-framework 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quant_trade_framework-0.1.3.tar.gz | 44.0 kB | Without provenance | Details for quant_trade_framework-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quant_trade_framework-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for quant_trade_framework-0.1.3-py3-none-any.whl |
Total release size: 108.6 kB
Release files / quant_trade_framework-0.1.3.tar.gz
| Download URL | quant_trade_framework-0.1.3.tar.gz |
|---|---|
| Size | 44.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d271113bb76aeea6ae095de45a4a9655cbbc89fe2355dbffdbe96bc8924e821d
|
|
BLAKE2b-256 checksum How to use checksums |
883036b75d1f8202c1ccea21fbc8eaf1d48da303ed2d84963774ce524fef4a30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.8
|
Release files / quant_trade_framework-0.1.3-py3-none-any.whl
| Download URL | quant_trade_framework-0.1.3-py3-none-any.whl |
|---|---|
| Size | 64.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7a958060c977b621bcadd2fde389bc1cb226b1f3e67d5930865261e09b8c6f1
|
|
BLAKE2b-256 checksum How to use checksums |
55d586284d5054d658e48506253a16c2a37dc948b0718cbb47a63fbf6e9a7ed5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.8
|
Security for quant-trade-framework 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.