Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0核心框架升级 #3609

Open
15 tasks done
vnpy opened this issue Mar 16, 2025 · 2 comments
Open
15 tasks done

4.0核心框架升级 #3609

vnpy opened this issue Mar 16, 2025 · 2 comments

Comments

@vnpy
Copy link
Owner

vnpy commented Mar 16, 2025

  • 核心支持版本升级到Python 3.13
  • 使用pyproject.toml作为安装配置
    • 替换移除老版本文件:setup.py/setup.cfg/MANIFEST.in/.flake8
    • i18n国际化相关功能测试
  • 使用ruff作为语法检查和格式化工具
  • 引入mypy静态类型检查优化
  • 使用uv作为环境安装和构建打包工具
  • 使用loguru作为日志库
    • 替换logging库
    • 实现全局异常捕捉日志输出
    • 调整App层的日志输出机制
  • 升级交易接口封装使用的pybind11到最新版本
  • 选择项目打包构建后端
    • 纯Python项目:hatchling
    • C++封装项目:mesonpy
@vnpy
Copy link
Owner Author

vnpy commented Mar 24, 2025

升级交易接口,提供Python 3.13封装编译包:

  • vnpy_ctp
  • vnpy_mini
  • vnpy_sopt
  • vnpy_femas
  • vnpy_uft
  • vnpy_sec
  • vnpy_xtp
  • vnpy_tora
  • vnpy_ksgold
  • vnpy_lstar
  • vnpy_rohon
  • vnpy_jees
  • vnpy_comstar
  • vnpy_tts

Sorry, something went wrong.

@chan1919
Copy link

是否考虑用web前端实现前后端分离,这样在一台服务上部署交易系统,可以在多个地方进行控制。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants