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.

Source Distribution

quant_trade_framework-0.1.3.tar.gz (44.0 kB view details)

Uploaded Source

Built Distribution

quant_trade_framework-0.1.3-py3-none-any.whl (64.5 kB view details)

Uploaded Python 3

File details

Details for the file quant_trade_framework-0.1.3.tar.gz.

File metadata

  • Download URL: quant_trade_framework-0.1.3.tar.gz
  • Upload date:
  • Size: 44.0 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

Hashes for quant_trade_framework-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d271113bb76aeea6ae095de45a4a9655cbbc89fe2355dbffdbe96bc8924e821d
MD5 172d7584704fe5bb962f95993a410342
BLAKE2b-256 883036b75d1f8202c1ccea21fbc8eaf1d48da303ed2d84963774ce524fef4a30

See more details on using hashes here.

File details

Details for the file quant_trade_framework-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: quant_trade_framework-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 64.5 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

Hashes for quant_trade_framework-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b7a958060c977b621bcadd2fde389bc1cb226b1f3e67d5930865261e09b8c6f1
MD5 66e6ea2b240a8115be41ff4a5da8a0a1
BLAKE2b-256 55d586284d5054d658e48506253a16c2a37dc948b0718cbb47a63fbf6e9a7ed5

See more details on using hashes here.

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