Skip to main content

掘金量化 掘金3 sdk

Project description

掘金量化

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

Changelog

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.147-cp310-cp310-win_amd64.whl (3.1 MB view details)

Uploaded CPython 3.10Windows x86-64

gm-3.0.147-cp310-cp310-win32.whl (2.6 MB view details)

Uploaded CPython 3.10Windows x86

gm-3.0.147-cp310-cp310-manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.10

gm-3.0.147-cp39-cp39-win_amd64.whl (3.1 MB view details)

Uploaded CPython 3.9Windows x86-64

gm-3.0.147-cp39-cp39-win32.whl (2.6 MB view details)

Uploaded CPython 3.9Windows x86

gm-3.0.147-cp39-cp39-manylinux1_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.9

gm-3.0.147-cp38-cp38-win_amd64.whl (3.1 MB view details)

Uploaded CPython 3.8Windows x86-64

gm-3.0.147-cp38-cp38-win32.whl (2.6 MB view details)

Uploaded CPython 3.8Windows x86

gm-3.0.147-cp38-cp38-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.8

gm-3.0.147-cp37-cp37m-win_amd64.whl (3.1 MB view details)

Uploaded CPython 3.7mWindows x86-64

gm-3.0.147-cp37-cp37m-win32.whl (2.6 MB view details)

Uploaded CPython 3.7mWindows x86

gm-3.0.147-cp37-cp37m-manylinux1_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.7m

gm-3.0.147-cp36-cp36m-win_amd64.whl (3.1 MB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

gm-3.0.147-cp36-cp36m-manylinux1_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.6m

File details

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

File metadata

  • Download URL: gm-3.0.147-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.1 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.147-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b53ceead08b97834c6a90bfa15bb182298d88ecdc12bd560f3e4f475259bc92e
MD5 6862ebcd3116fc1519b7da20cd94fa17
BLAKE2b-256 ee6750f694f4bc78e103cda4f630f8f95dbdee81e1dcae282d542d6aa06e5638

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp310-cp310-win32.whl
  • Upload date:
  • Size: 2.6 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.147-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 4a91289636274322baf665df653fcbb401164ec53745146deedf4686951dc972
MD5 becfe61fa75260b271ffda7f0524b9b2
BLAKE2b-256 c198cd361dcab3aec84b0b52bf5777a050c9e2ab25ac38c1edff1f0812a732ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 5.9 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.147-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1a242fad608d54836e09282ea1ee59a59736d1303681cae2641ef702bda77423
MD5 e69b3511abe95a5e88b4b259dcdf0b74
BLAKE2b-256 c215f09f6f6f5409065a1da2e0849197af562e97e4f9692fa4911f60038df54d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 3.1 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.147-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bf596bc88c8795ba38c926d632bae58ee5199ad84e0a0903209f9d8e48c0a147
MD5 174e268b28963a5f40fda8797cd587e7
BLAKE2b-256 ed2562305a3e4c945cdb4b670be32b43437e4289fc9329b4ccedb9ea96a66dc3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp39-cp39-win32.whl
  • Upload date:
  • Size: 2.6 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.147-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 30b01eeec459cd00642b05daeb7e9435508f7dd8df46529cd1ae8a8f965b39af
MD5 16e66832a58d7c7dbc6cf09a65fd06b4
BLAKE2b-256 77f0495ceb42126e76bba06922c8d955c127ab173a77ed802fd7c09881d955b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 5.9 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.147-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7dfb608cce749ff297efe3c6a6c8a30646aa5ab154987e9919b17f9b5df2ab5d
MD5 e09450fa3fca4122e080d9e6e3b858e2
BLAKE2b-256 c2a8f0203a9f3e5fbcd8abe2f66d024589ededf85fc6a79ac72f6d1b4a3e52d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 3.1 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.147-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 eb4202128a59ef8f9a36721d3fc946b0bbd8befd2b5510fb980df577506e8200
MD5 dc6dc4ecf51bbba72d77359d1362c8c4
BLAKE2b-256 44d77c7933c13f15900e656f4c533ecf2404e1b8be85f60c7ec6bfdd61633025

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp38-cp38-win32.whl
  • Upload date:
  • Size: 2.6 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.147-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 49949f89bb88463baf9fe2ec40385831b472ed36574a1e146cd7be906b870a48
MD5 e62fceb07ed5f612a5d23b5614f62b42
BLAKE2b-256 faca7319d39ff7348420b80e506ac729b24c510c878af38b661ba410e420ebec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 6.0 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.147-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 88a72ea28c49ab46af815933a6e59cd6bcf497261fa900e1d38dbbbd75d5298e
MD5 f05ec08339488eb2e73040fd9fe5a847
BLAKE2b-256 16dd5e6fd4a8b42d491dd4ba0cc10a3c91033aef529deceecbeb5b13fe66fd70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 3.1 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.147-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9292353e1d3674f7290381ba45635ed3dc8d9ffff76bf1be97252555732285d5
MD5 e3ab1b7e0df8f459246d0f1b021b9dd0
BLAKE2b-256 e2aa8ee7a41d211e950f606cbab43174f0b90e1098d98dfb373a8c88363f1839

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 2.6 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.147-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 ada4a5ee0aaef8965696ec562d529425ad714afafb9ef8808f1fad06fa9eecb5
MD5 48a357c9cbe29f61e888629b92d58b5b
BLAKE2b-256 8fff28f4aa560145e4fe8312fbfe61f0bd56fe72297a0451606cb915e1794a9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 5.8 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.147-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 493db7580f917d1276fc1aabe166f22b12b9da6182356998c6ccbd31b5f78a7a
MD5 557c94b91fbf6e32584f4b410112f43e
BLAKE2b-256 f6e9693062cc2cc05c92220247ea2bcca73dbae6490efcf9b1da9dd06a0c33a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 3.1 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.147-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 49684e1dbff38b7c904cb0c62b1778bb908ec00eb4cff59cb57d6ef0f818c7e0
MD5 cbc05ccde49b24b0e6fa4cc175281cb7
BLAKE2b-256 1287e6fde9354119e1a6335d2e9a7bc057ef50ec430ecc835681fff979869409

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-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.147-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 eafb0993b4ba9f6a48fdd2695289a7e903cfbfd4804d2d875e59304789c63dfa
MD5 78d2be7eb770913d30f7e726f06d423b
BLAKE2b-256 a9acb490b4d99bb5c76be7bf933b49b4dc486cbf6475795b16d772e575211478

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.147-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 5.8 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.147-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 abbe5e65c3b3edda23dd9c1bbca7726a8eeea1c174dc4541baf1427176727281
MD5 2723b4dc6856bd54f25794fe5115c95a
BLAKE2b-256 3f0c7e0c82ad8d35b6816aefbc9d1fc5560423e462a2421f0c139a63bfd50968

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