shinnytech / tqsdk-python

天勤量化开发包, 期货量化, 实时行情/历史数据/实盘交易
https://doc.shinnytech.com/tqsdk/latest
Apache License 2.0
3.63k stars 650 forks source link

[Tqsdk-Ci] Update Version 3.7.2 #494

Closed shinny-hongyan closed 1 month ago

shinny-hongyan commented 1 month ago

Automated changes by create-pull-request GitHub action

Summary by CodeRabbit

coderabbitai[bot] commented 1 month ago
Walkthrough ## Walkthrough 此次变更主要涉及软件包 `tqsdk` 的版本更新,从 `3.7.1` 升级到 `3.7.2`。该更新包括新增的 `TqRohon` 账户类型,支持融航资管柜台,并移除了对 `tqsdk_zq_otg` 模块的安装依赖。文档和元数据也相应更新,以反映这些变化。 ## Changes | 文件 | 变更摘要 | |-------------------------|--------------------------------------------------------------------------------------------| | `PKG-INFO`, `setup.py` | 版本号从 `3.7.1` 更新为 `3.7.2`,移除 `tqsdk_zq_otg` 的版本限制。 | | `doc/conf.py` | 文档版本和发布版本均从 `3.7.1` 更新为 `3.7.2`。 | | `doc/reference/index.rst`, `doc/reference/tqsdk.tqrohon.rst` | 新增 `tqsdk.tqrohon.rst` 参考文件,记录 `TqRohon` 类的文档。 | | `tqsdk/__init__.py`, `tqsdk/tradeable/__init__.py` | 新增 `TqRohon` 的导入语句,扩展了可用功能。 | | `tqsdk/api.py` | 在 `UnionTradeable` 中新增 `TqRohon` 账户类型,并更新 `TqApi` 文档。 | | `tqsdk/multiaccount.py` | 在 `TqMultiAccount` 中添加 `TqRohon` 作为可接受的账户类型。 | | `tqsdk/tradeable/otg/tqrohon.py` | 新增 `TqRohon` 类,提供融航资管系统的交易账户接口。 | | `tqsdk/zq_otg.py` | 修改 `ZqOtgContext` 构造函数,增加参数并进行版本检查。 | | `tqsdk/connect.py` | 修改 `ZqOtgContext` 的实例化,增加 `self._api` 作为参数。 | | `tqsdk/tradeable/otg/tqctp.py` | 在 `TqCtp` 类的文档字符串中添加使用说明。 | ## Possibly related PRs - **#485**: 更新版本号从 `3.5.9` 到 `3.5.10`,与主PR的版本更新相似。 - **#486**: 更新版本号从 `3.5.10` 到 `3.6.0`,反映出类似的版本递增模式。 - **#488**: 更新版本号从 `3.6.0` 到 `3.6.1`,保持小版本更新的趋势。 - **#489**: 更新版本号从 `3.6.1` 到 `3.7.0`,继续版本递增的序列。 - **#492**: 更新版本号从 `3.7.0` 到 `3.7.1`,与主PR中的版本变化直接相关。 ## Poem > 🐰 在草地上跳跃,欢声笑语, > 新版本来临,带来新气象。 > TqRohon 账户,助力交易, > 让我们一起,迎接未来的辉煌! > 兔子们欢呼,跳跃不停, > 让代码飞舞,梦想成真! 🌟

Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (Invoked using PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. ### Other keywords and placeholders - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. - Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description. - Add `@coderabbitai` anywhere in the PR title to generate the title automatically. ### CodeRabbit Configuration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.