Skip to main content

掘金量化 掘金3 sdk

Project description

掘金量化

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

Changelog

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

gm-3.0.145-cp310-cp310-manylinux1_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9Windows x86

gm-3.0.145-cp39-cp39-manylinux1_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.9

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

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

Uploaded CPython 3.8

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

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

gm-3.0.145-cp37-cp37m-manylinux1_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

gm-3.0.145-cp36-cp36m-manylinux1_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.6m

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f30d73ec864bfcde5b764abdae1a228b7ddcec3c6bddd27ee830487deab1b092
MD5 a5426d6bf5762182b38774270f6f7eb3
BLAKE2b-256 7397c64b3892518cf6b795fc2127a29f7ebf4bc7c4e8e4f9305b53db505cb48b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 e51ceed4bab716415fa48d104c54583a3f64f7da212746616df515db042b4aae
MD5 5a88828f1424c358455aabc15898d3d4
BLAKE2b-256 8f2b4cf5e8fc3fa247043af22706be8e3d386551f52b64782a5341fe4662230f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 5.8 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.145-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 47575e44d91b427cfb96c1ffbf356aba6183c56297cb14002bf0d9876e7a3f13
MD5 deeccaa1cd564df5bb4a442794f50a08
BLAKE2b-256 5273604ed417011b1ebea92cc9f95abc71be832cc4acd9272b46542beaf8cc6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3cc02005d1c939bfba7e3024131cfd10daf89671ee75db36dd86e33cd126ca89
MD5 481c7d037ac1a7d59d54bcd9f57fff5b
BLAKE2b-256 cf98e76b0982afb41a8808b7087e678cf5820b71ef908d181693bfd31e3a3f1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 9b2e8053a46d5c56a8cf5187e8ef561743bff1861b5976280ed80487aac2abee
MD5 45c1cbaef0784a0241cb040e189e8217
BLAKE2b-256 95c8d469f8cae30c3455c73e7e767990eb51ac4d114bb6b84d729c36c4ad0400

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 5.8 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.145-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 878adefe00b46eadc56f9b8e63f7acbef9d98929d51e402e913602999b3f8888
MD5 84aa9e4ef14a00cad1c71c7f66438353
BLAKE2b-256 25432bc67a954d2bddd913ddae41f2686819c449338ed4ba132a242a3d49bd94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2856bace2e02801e1a0aff4ef13f2f73370087bf697c54f8d325501ea53dd079
MD5 8626059e523b3eb718ada6305dddb929
BLAKE2b-256 30a4af08fa0d21e2786d5af9a1aa69b7c776fb7ca79af6c7408eb082db2d13e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 b2858ceb310fa03116303e66c06f810428cb84da6bc0afd7d3e7a222aaf6f5ac
MD5 ec116151160fcdb434a8219c6615f872
BLAKE2b-256 a92f9680ff38e588dcc95c051e1356eb5adb74e1ee65dd40e477604cfa6bf411

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9ad220049e654a7f77c9bfc28fb81fa686a7bc5e7cda01ed9aed3bfb5ed400b2
MD5 de38965ebf25eb1563b37d7d8f5350d0
BLAKE2b-256 208e6863baa3f192248efa8f6a3ec582f3a50cd378eac6d4308018de95ea3749

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 159fc3fdc5abdfbf3bb9e55ab6d54be9d4a884046ef33418713fc1beb8f4adff
MD5 1ae85f78d7dc763f5c9e21411f6c6256
BLAKE2b-256 39919757d38d996b0ee285227ca9e51fd5c0adb7d39570a2265ba235e18a5f07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 e0a9560b3b54568cecbbb235ca8005c9f71721ce6c37fb55b741ada20a1e61b5
MD5 5c7fc07c60603f52fb3b99c6c53ff65e
BLAKE2b-256 4caa2b2e2f9f75c9ca035a382c106962011ce6c169c6fda965afc5618d3ab3f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 5.7 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.145-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 94d6c27ab0aacebb6113b4712781dc570fec019b3325542759dca3bfde8d0eda
MD5 d53e51119b680084d4b45afb7dd0e9bd
BLAKE2b-256 5fac1cfdb7b1f5979b13d01b695b24791f29e7f3590ee2594856801b4e44b680

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 33c0894fbb4c15d5ba844d66140eebdc9f480a37e885aa37acd35dedc8796f16
MD5 e515e642bcbc6fc5712ca327ea9d9842
BLAKE2b-256 ef16cb3dd5d085c979d4998d8da8374ca7657fe6e9032a2dae2fecdae2f3dde9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-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.145-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 1ea342245208dd842001d39ad8a93701223bd6ac08703888d06eb2846bb5f5dd
MD5 e6a657b1dff6301a1bdf59211c17c2ca
BLAKE2b-256 88b5635f140120ce32d60fe98055e57aceebde3284f503f12aa98a095da875df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gm-3.0.145-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 5.7 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.145-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f0df4b57de573de9522a330c491606bf676746cde67a75caf7e68762fa68e6e5
MD5 90ce8bbdc7e922cf4ee9523100b0d49e
BLAKE2b-256 a76b0e892f8bbcb2fc447b6bf0843557865bdafdd8de1df560492cc0fffbcf28

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