Skip to main content

掘金量化 掘金3 sdk

Project description

掘金量化

A股实盘量化 中国期货量化 程序化交易 仿真 中国量化第一 掘金3 sdk

Changelog

Version 3.0.150

  • 本地数据代理优化
  • SDK 报错机制改造
  • 新增接口 set_option - 设置策略运行系统选项, 目前支持设置回测运行的最大线程数和触发流控时最大等待时间
  • 优化回测时的超时机制,避免部分回测业务不正常
  • 添加枚举量, 新的委托拒绝原因
  • 接口变更, 查询指数成分股接口新增 trade_date 参数
  • 修复 AccountStatus 查询与推送系列问题
  • 回测模式下载数据时打印相关指引信息

Version 3.0.149

  • 新增广发期权组合保证金API

Version 3.0.148

  • 新增财务数据接口
  • 修复已知 bug

Version 3.0.147

  • 修复启动速度过慢的问题
  • 修复调用 get_history_symbols 接口时进程崩溃退出问题

Version 3.0.146

  • 修复 get_symbols 和 get_history_symbols 接口 bug
  • Tick 类型添加 ask_q, bid_q 字段

Version 3.0.145

  • 新增投研数据查询接口
  • 修复 ipo_get_match_number 和 ipo_get_lot_info 函数日期参数传输错误 bug
  • 修复 get_history_instruments 函数返回值不存在 info 字段时产生的 Bug
  • 修复用 in 判断 BarLikeDict2 对象时无法退出的 bug

Version 3.0.144

  • 修复 get_history_instruments 返回错误的调整标志的 Bug

Version 3.0.143

  • 增加接口 bond_convertible_get_call_info - 查询可转债赎回信息

Version 3.0.142

  • context.data 获取 tick 时返回格式修正为 DataFrame
  • get_history_instrument 增加可转债字段
  • 支持 Python3.10, 弃用 Python2.7

Version 3.0.141

  • 限制 protobuf 版本小于 4.0 防止不兼容情况
  • 修复 get_history_instruments 里获取的保证金比例 margin_ratio 获取的是最新数据而不是历史数据的问题

Version 3.0.140

  • 算法单新增 algo_params 字段
  • 兼容老版本客户端传入错误的默认参数 undefined 的情况
  • 实时模式能正确返回错误信息
  • instrument 添加 conversion_price 字段

Version 3.0.139

  • 修复 Python 3.7.1 版本 typing_extensions 依赖问题, typing_extensions 版本需要大于等于 4.1.1
  • 增加 get_expire_rest_days 查询到期剩余天数
  • 修改 option_covered_open 备兑开仓, 在回测/仿真模式下不占用保证金
  • 修改 option_covered_close 备兑平仓, 在回测/仿真模式下不释放保证金
  • 新增 option_preorder_valid_volume 备兑标志, 可获取备兑可开数量
  • run 函数新增 backtest_match_mode 参数, 设置回测撮合模式, 可设定市价单是否采用当前 bar/tick 撮合成交

Version 3.0.138

  • 策略进程退出前, SDK主动退订已订阅代码, 恢复订阅权限
  • 修复回测模式中在 on_bar 或 on_tick 里下单后资金和持仓没有变化的问题
  • 兼容 Pandas 1.4.0 以上版本
  • option_get_symbols_by_exchange 增加参数 adjust_flag
  • 修复 get_history_instruments 返回的 multiplier 和 exercise_price 字段只取最新数据问题
  • 之前对所有的浮点数四舍五入改为仅对价格类的字段四舍五入4位小数
  • run 添加参数 backtest_commission_unit, 表示回测手续费需要按张收取
  • option_get_symbols_by_in_at_out 添加参数 adjust_flag 来决定选择的合约范围是否包含调整过的合约
  • 修复 get_instruments 的 exchanges 不支持list格式问题
  • 增加针对剩余时间t=0导致分母为0的健壮性处理, 定价模型计算时剩余时间最小值设置为 0.01

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gm-3.0.150-cp310-cp310-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.10Windows x86-64

gm-3.0.150-cp310-cp310-win32.whl (2.7 MB view details)

Uploaded CPython 3.10Windows x86

gm-3.0.150-cp310-cp310-manylinux1_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.10

gm-3.0.150-cp39-cp39-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.9Windows x86-64

gm-3.0.150-cp39-cp39-win32.whl (2.7 MB view details)

Uploaded CPython 3.9Windows x86

gm-3.0.150-cp39-cp39-manylinux1_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.9

gm-3.0.150-cp38-cp38-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.8Windows x86-64

gm-3.0.150-cp38-cp38-win32.whl (2.7 MB view details)

Uploaded CPython 3.8Windows x86

gm-3.0.150-cp38-cp38-manylinux1_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.8

gm-3.0.150-cp37-cp37m-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.7mWindows x86-64

gm-3.0.150-cp37-cp37m-win32.whl (2.7 MB view details)

Uploaded CPython 3.7mWindows x86

gm-3.0.150-cp37-cp37m-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.7m

gm-3.0.150-cp36-cp36m-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.6mWindows x86-64

gm-3.0.150-cp36-cp36m-win32.whl (2.6 MB view details)

Uploaded CPython 3.6mWindows x86

gm-3.0.150-cp36-cp36m-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.6m

File details

Details for the file gm-3.0.150-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: gm-3.0.150-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b99ac826c7631a6ff40ac5614ef60d58d6b46100f1ffb0219543c17a1a494c4f
MD5 617b5e2961ba07c691fbceed81edf737
BLAKE2b-256 54f9ddde0c7143a9b64f9e04dccab99a5b31ef6632c391e8500bd8a076ddefdd

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp310-cp310-win32.whl.

File metadata

  • Download URL: gm-3.0.150-cp310-cp310-win32.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 ce63a2ae7d65eafeec294ea6e66d7de06b0f2cab63eb1d171f5a2aa0d010e63c
MD5 54de7af9527a6dee6c9a4ae1804b9254
BLAKE2b-256 cf080e2ec815a9482710c2153a6474dbcc97f2e026984e31628d0609cb0ba98b

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp310-cp310-manylinux1_x86_64.whl.

File metadata

  • Download URL: gm-3.0.150-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2f4569a961f6befe02887d91cb50e64620fe79502fb3365bc6da75fc011ebe91
MD5 040f85266c731c97a244900d1d551a8c
BLAKE2b-256 eba13e4b91c27c4634501e90708611f45503252c303fdb1cc0c6403ea3589bb7

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: gm-3.0.150-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 34cc95eef7b6ed93856aebd0735f25f3dfda5f8f4fc3532912b4f54b39e5876d
MD5 95385c20d2e726d57d82e309822c5c91
BLAKE2b-256 6a5e4a7854ed9d75551a72dad6cc8a12526bcf392be85df36e46685f27b67604

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp39-cp39-win32.whl.

File metadata

  • Download URL: gm-3.0.150-cp39-cp39-win32.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 f5be8bbdb3de5c6402d8ef87c6fdc531ad46e5f8f6f3612b8ebd4a27f5fc914d
MD5 dc0e5852cc5911e877af2f6f1fa87de5
BLAKE2b-256 4fd500ef48ac6ad6913aa4901130f7f21a3636f4c5c3498b2c60ad5fe75bfc28

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: gm-3.0.150-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6ea2183d0715d2d72357ef7cf555239ee73a678f566a3eee5afdc5835d20777d
MD5 203bf99b29176dbc6797b8e7e6621b97
BLAKE2b-256 bce1021d61f81df87355f95b91cafaef90e05eab2b2b0770dc217831480edf65

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: gm-3.0.150-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1a7872bc2dc4fd46c565428c8dda2b16a5dd3bef0477085c80f3ab98ca611a1f
MD5 a926d4bdfa8138fa45d09f8961547d00
BLAKE2b-256 4bfa5e5c83ff27306bbe994176e671647c52097442e85289577adbed564ce52f

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp38-cp38-win32.whl.

File metadata

  • Download URL: gm-3.0.150-cp38-cp38-win32.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 d8c3cf641c6d2ea18e78f90a41c0b02ae48539916b467f48fb149d2f198916ae
MD5 ba94132e4935736a9e16b0c20754b7a6
BLAKE2b-256 281ac46b17164ceae0566d9812f68199d08dc646e636da9361e6efb46010bdf6

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: gm-3.0.150-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1a9b4239f42d1b1d42bd09dd20396f5b8b05d36893070101db025191a9450760
MD5 642314ba94fab220070f31252d2954be
BLAKE2b-256 b3e2f493abaf8f3edaaa93ef173bbeed134b7d597fd27e5fa7a8b02e278014c1

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: gm-3.0.150-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 2cf8df628308f5b17baef778c9c4f34e5c84cb3449ec3e5aac5cd5f52c14a512
MD5 51debdc53bca177e95bf2c154145484b
BLAKE2b-256 4ff7ad7e3ff854aa87979b34781d7a42006cf6c4d65a8902b95a1a7e4dad6ee0

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp37-cp37m-win32.whl.

File metadata

  • Download URL: gm-3.0.150-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 df62b04585898446feb91c9cb65fb50e8d24827f8663f3b369aecbad5287a737
MD5 4a8c05aea29beeb1b24f35b970a41684
BLAKE2b-256 80a1cfcc8e897dcad008dbc49c46c9afdbd3eee5439202163085545c8f6c96fa

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: gm-3.0.150-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e533aced87ca6a97986f7cd23201a053f161c4e6ff8a203229ba7e60f2dbfdb3
MD5 4039ab1bf0c3a55e0b901855c58cb827
BLAKE2b-256 7115e6fc50d021dc3abe38e8be3adfeed0d5dca0915bf0dd33d4b32a4e33e4d5

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: gm-3.0.150-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 4e90469f0865f8defeee8504f6bb71781af3a4ec9c155e5477ab2dfd946249a6
MD5 74f981fe65a22d08d2edae9dee2a5580
BLAKE2b-256 05c412a71ff2473807536615d25faebbffb7612884c1bd7a3cd6d9c8b4450b56

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp36-cp36m-win32.whl.

File metadata

  • Download URL: gm-3.0.150-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 2608056424e3c548dad043afc32cace43c4cb8db5256bb3e16f59127b8fc1e00
MD5 ae872aa67bcd3f68d46f891eb0eb61f1
BLAKE2b-256 e964492b616c58d7afbc57ae94ef2b50573d45a1aa1659f0291b557a307c6aa3

See more details on using hashes here.

File details

Details for the file gm-3.0.150-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: gm-3.0.150-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for gm-3.0.150-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 24dfafb74ea81886e92a9bd9892901bd8179df6ee60fa17c143ea36c65533675
MD5 c6c6dad78e30d999bcec7e7d412e1778
BLAKE2b-256 5f1c01f12d4b73f388c9b44640702cfc5043fd0396e919e2a8c596206f558d79

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page