Skip to main content

掘金量化 掘金3 sdk

Project description

掘金量化

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

Changelog

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

Uploaded CPython 3.10Windows x86-64

gm-3.0.144-cp310-cp310-win32.whl (2.4 MB view details)

Uploaded CPython 3.10Windows x86

gm-3.0.144-cp39-cp39-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.9Windows x86-64

gm-3.0.144-cp39-cp39-win32.whl (2.4 MB view details)

Uploaded CPython 3.9Windows x86

gm-3.0.144-cp38-cp38-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.8Windows x86-64

gm-3.0.144-cp38-cp38-win32.whl (2.4 MB view details)

Uploaded CPython 3.8Windows x86

gm-3.0.144-cp37-cp37m-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.7mWindows x86-64

gm-3.0.144-cp37-cp37m-win32.whl (2.4 MB view details)

Uploaded CPython 3.7mWindows x86

gm-3.0.144-cp36-cp36m-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.6mWindows x86-64

gm-3.0.144-cp36-cp36m-win32.whl (2.4 MB view details)

Uploaded CPython 3.6mWindows x86

File details

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

File metadata

  • Download URL: gm-3.0.144-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for gm-3.0.144-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c1e0f8d2f4b30b83b1cc36f2379efc6fce7a6284db1b99fcf05d676f443a6da8
MD5 e79fcbe4971b160adc6227902d205f3f
BLAKE2b-256 11a73f5ffd443be2d5bfe6f6b62385eb7eddd491a494acdcf805e1a11f8c88c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.144-cp310-cp310-win32.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for gm-3.0.144-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 4a8591ece1f466a6ef4b6e849e41a1b5390204230c5c4fcf3936ce0030b6a3dc
MD5 183cb4716654d7b18a086b48f2ef8ca9
BLAKE2b-256 35eb89ffdf05d95a4abcb0643551d35dc29c52519ed4e59c77ad900dab2bd064

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.144-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for gm-3.0.144-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b23cf5deda179201d174eaca87fb650dee3fcd2e1b55bb4e4cb96b55cab56189
MD5 e4770d6b392c9de94453d3fd494e3b14
BLAKE2b-256 c1f25101397ec22a3b6454d511f56db22245eac5349eb42971a8f512cffe293d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.144-cp39-cp39-win32.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for gm-3.0.144-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 6f1668cf09a6936184a73a97671b4205dacb0a8c4dd902e2b8561479ae324327
MD5 dd959d147e99fa2f4b7cf46370f18c79
BLAKE2b-256 f27774f8e98857f0b36801fd64eec6431c0603845908ec9ee827d1e89d5ad62a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.144-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for gm-3.0.144-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7951298c38951fb7b1b5d53cfa234c89600a350d2ca780d78e24de5d1f277606
MD5 6f90414cf7d42f937ea6eefa80b848f3
BLAKE2b-256 56f99afc8354c86ea6131eb5cd474299bea6d6ab4affc61368584b47026e81a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.144-cp38-cp38-win32.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for gm-3.0.144-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 6821d7bc9139c228a9b6dbeb84cc28e1fab46fb5ad3443f89139bb69c13dd511
MD5 311fa98c0acdc439b03b829f61e7852e
BLAKE2b-256 96e304f5655a27b20c57053820a4a304d34de74f83f7c3a007827fd0c7f2d66d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.144-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for gm-3.0.144-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 baec59a6bcb5d0a1a3481da6879afcdfe3f36f8dd32c42fed744dd2740dc37c1
MD5 2cae1b004712c5882a76e36c4b2eda73
BLAKE2b-256 b6675ff82d8c2b4d2206ae2d979b2e650efdb074233ecd4d923960cec3a1d66e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.144-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for gm-3.0.144-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 e0717d8c46b7fb816debf85e32aec1a513a6786665912cb5b4653ef795cb2a31
MD5 59931a3e1cbabef8b159c0acfda901fb
BLAKE2b-256 4511348d3fccad66f1b0510bafea5520e086053d32c0c5dcabd18586824ddc19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.144-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for gm-3.0.144-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 92796ba585f3d830c36d0e98c0654affc819e667eaaa4b2d3be98a8c853204de
MD5 404eae4681c7cc7bc9524543491de849
BLAKE2b-256 abce7bd2b6f245cea821bb6709eccb4cd8d1b1cf89f741553a93daf5b742c6d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.144-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for gm-3.0.144-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 9c37f440d14d660547c5859c599f2d9c645efc2ccf7d13f3480f278da749a9e3
MD5 fe4c91befbbfbe9c4389f9fa978d3ffe
BLAKE2b-256 7540de93930ff69a5234e27fdb0514e87516c5c7eea88c83543acf759dadc010

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