📝 Walkthrough
## Walkthrough
本次更改主要涉及对`tqsdk`包的版本更新,从`3.7.3`更新至`3.7.4`。同时,Python的最低要求版本也从`>=3.6.4`修改为`>=3.7`。文档中的相关徽章和安装说明已相应更新。此外,社区参与部分的QQ群号被更换为新号码,并新增了AI助手链接,提供功能说明、策略编写和错误分析等服务。
## Changes
| 文件 | 更改摘要 |
|----------------------------|------------------------------------------------------------------------------------------|
| PKG-INFO | 版本从`3.7.3`更新为`3.7.4`;最低Python版本从`>=3.6.4`更新为`>=3.7`;更新徽章和安装说明;QQ群号更换为`611806823`;新增AI助手链接。 |
| README.md | 更新Python版本徽章为`3.7+`;删除在线Q&A社区链接;新增AI助手链接;QQ群号更换为`611806823`。 |
| doc/advanced/tqsdk2ctptest.rst | 更新企业版TqSdk2的链接。 |
| doc/advanced/unanttended.rst | 更新Python最低要求为`3.7+`;完善无干预环境下策略运行的说明;更新日志建议和策略程序检查指南。 |
| doc/conf.py | 更新文档版本信息,从`3.7.3`改为`3.7.4`。 |
| doc/profession.rst | 更新监控功能的频率;删除策略回测功能部分;更新专业版支持的交易账户信息。 |
| doc/quickstart.rst | 扩展安装说明;更新真实交易和模拟交易部分;新增AI助手章节;进行文本调整。 |
| doc/tqsdk_llm.rst | 标题从"天勤量化机器人助手"更改为"天勤量化 AI 助手"。 |
| doc/usage/backtest.rst | 更新专业版购买链接;简化免费版用户限制说明;保留回测策略执行部分。 |
| doc/usage/mddatas.rst | 更新专业版链接。 |
| doc/usage/option_trade.rst | 更新专业版链接。 |
| doc/usage/shinny_account.rst | 更新专业版链接。 |
| doc/usage/trade.rst | 更新专业版链接。 |
| doc/version.rst | 更新`Quote`类的新属性和方法;添加Python版本支持说明。 |
| setup.py | 版本从`3.7.3`更新为`3.7.4`;Python要求更新为`>=3.7`;`psutil`依赖更新为`>=5.9.6`。 |
| tqsdk/__version__.py | 版本从`3.7.3`更新为`3.7.4`。 |
| tqsdk/api.py | 新增`query_symbol_settlement`方法;更新`query_symbol_ranking`方法的链接;修改`TqApi`构造函数。 |
| tqsdk/auth.py | 新增`expire_datetime`属性;更新错误消息链接。 |
| tqsdk/connect.py | 更新WebSocket连接管理的错误处理;新增`_query_max_length`属性。 |
| tqsdk/ins_schema.py | 新增多个类和字段;增强文档说明。 |
| tqsdk/objs.py | 新增`position_limit`属性;添加弃用警告。 |
| tqsdk/objs_not_entity.py | 新增`TqMdSettlementDataFrame`类,增强数据处理能力。 |
| tqsdk/risk_rule.py | 更新文档字符串中的链接。 |
| tqsdk/tafunc.py | 更新文档中的版本引用。 |
| tqsdk/tools/downloader.py | 更新历史数据下载错误消息中的链接。 |
| tqsdk/tradeable/otg/tqkq.py | 更新文档中的专业版链接。 |
## Possibly related PRs
- **#489**: 此PR涉及将`tqsdk`包的版本从`3.6.1`更新至`3.7.0`,与主PR的版本更新直接相关。
- **#492**: 此PR将版本从`3.7.0`更新至`3.7.1`,继续与主PR的版本更新相关。
## Poem
> 在兔子洞里跳跃欢,
> 新版本来真是妙,
> Python三七齐欢笑,
> AI助手助你高。
> QQ群号换新颜,
> 让我们一起共欢颜! 🐇✨
🪧 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 , please review it.`
- `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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
- `@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](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
Automated changes by create-pull-request GitHub action
Summary by CodeRabbit
发布说明
新特性
文档更新
版本更新