Quant Trade Framwork
Project description
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对象
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
Built Distribution
File details
Details for the file quant_trade_framework-0.0.2.tar.gz
.
File metadata
- Download URL: quant_trade_framework-0.0.2.tar.gz
- Upload date:
- Size: 33.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09db20a4e140027672b75082ebb6cd52077ffc94d350be9729baa28f7d0546d2 |
|
MD5 | 992d0bf31565d766d68d06fd84f823d8 |
|
BLAKE2b-256 | 0961aa58bd5163c3903ba183f5b8e7edf9d2ae32a3c9580b8af7b3af3fd4c6ab |
File details
Details for the file quant_trade_framework-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: quant_trade_framework-0.0.2-py3-none-any.whl
- Upload date:
- Size: 50.8 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abaf05eca39e3cfdd5dfca20abccc6a7b115f133891d666e1a5d4aa38ac1d2c0 |
|
MD5 | 48aee96e0b42a10a0c3b25709fb30e80 |
|
BLAKE2b-256 | d6c7e2bcc9b3e6fcc75e3bea458fd49454e98b4e507da96bc5f6d13ca4bd56d7 |