Skip to main content

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对象

0.1.2 对程序代码进行完善,增加代码注释 sphinx使用方法: (1) python源代码自动生成rst,使用命令: sphinx-apidoc.exe -o rst ..
sphinx-apidoc -o [生成rst的位置] [项目代码的位置] -f(强制重新覆盖写,否则会检测,如果有同名文件存在,会跳过不更新) sphinx-apidoc -o rst ../src

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for quant-trade-framework, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size quant_trade_framework-0.1.3-py3-none-any.whl (64.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size quant_trade_framework-0.1.3.tar.gz (44.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page