Skip to content

Fix cash deduction logic in paper.py#668

Open
lzcndm wants to merge 1 commit into
hsliuping:mainfrom
lzcndm:main
Open

Fix cash deduction logic in paper.py#668
lzcndm wants to merge 1 commit into
hsliuping:mainfrom
lzcndm:main

Conversation

@lzcndm

@lzcndm lzcndm commented Mar 29, 2026

Copy link
Copy Markdown

Pull Request 模板

📋 PR 类型

请标记此 PR 的类型:

  • 🌟 新功能 (feature)
  • 🐛 Bug 修复 (bugfix)
  • 🧹 代码重构 (refactor)
  • 📝 文档更新 (documentation)
  • 🎨 样式优化 (style)
  • ⚡ 性能优化 (performance)
  • 🔧 配置/构建 (config/build)
  • 🧪 测试相关 (test)
  • 🤖 LLM 适配器集成 (llm-adapter)

📖 PR 描述

变更摘要

修改模拟交易资金扣减逻辑

变更详情

模拟交易买入时资金扣减使用$inc进行原子扣减

相关 Issue

Fixes: #667

🏷️ 标签建议

请为此 PR 建议适当的标签:

  • enhancement - 新功能或改进
  • bug - Bug 修复
  • documentation - 文档相关
  • refactor - 代码重构
  • performance - 性能优化
  • security - 安全相关
  • llm-adapter - LLM 适配器
  • ui/ux - 用户界面/体验
  • config - 配置相关
  • testing - 测试相关

👥 审查者

建议的审查者:

📝 额外说明


感谢您的贡献! 🎉

请确保您已经阅读并遵循了我们的 贡献指南。如果您有任何问题,请随时在 PR 中提问或联系维护者。

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 模拟交易并发买入导致可用资金扣减异常

1 participant