Skip to main content

A wrapper library for QMT_XTQUANT trading interface.

Project description

pyqmt 库函数使用示例

本文档提供了 pyqmt 库中各个函数的详细使用示例,包括功能、参数、返回值和调用示例。

导入库

调用示例

# 假设 qmt 实例已创建
from pyqmt import pyqmt 

__init__

调用示例

# 假设 qmt 实例已创建
qmt = pyqmt(path="D:\\国金QMT交易端模拟\\userdata_mini", acc='39972702')
qmt._connect()

主要功能

  • 股票账户资产查询
  • 股票买卖交易
  • 委托订单管理
  • 持仓信息查询
  • 交易时间判断
  • 涨跌停状态检查

安装

pip install pyqmt

使用说明

详细的使用说明请参考各个函数的文档字符串和示例代码。

版本更新

1.0.4

  • 更新版本号
  • 优化代码结构

1.0.3

  • 初始发布版本

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

pyqmt-1.0.4.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

pyqmt-1.0.4-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file pyqmt-1.0.4.tar.gz.

File metadata

  • Download URL: pyqmt-1.0.4.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for pyqmt-1.0.4.tar.gz
Algorithm Hash digest
SHA256 84cce128bbf2e42c8fa81b9634e651848917cd98fcce440a9c59bf35151fe69a
MD5 b605c2ef02ae60ea87becf5579cff56a
BLAKE2b-256 fe31a9ae64bc68c4175ed09fc4c4ccab6366782e7f1d39a15445b70649c5c362

See more details on using hashes here.

File details

Details for the file pyqmt-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: pyqmt-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for pyqmt-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 336540bdc2e7931db25c17c5c56c764aa89fa5f692c59b31c941767e72e9a8d1
MD5 4c80fea86ecaa6239680261ee3b53695
BLAKE2b-256 1738d079ef4d8ba8774f528cd4d7bd3d627fee9b2f31358dee1c8bb7bc5b7b60

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