-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat.trade_sys: 添加 SG_Add 等函数避免 alternate 问题
由于 SG 的 alternate 默认为 True, 在使用如 "sg1 + sg2 + sg3" 的形式时,容易忽略 sg1 + sg2 的 alternate 属性,故添加 SG_Add 等函数 建议使用: SG_Add(sg1, sg2, False) + sg3 来避免 alternate 的问题 - 新增 SG_Add、SG_Sub、SG_Mul、SG_Div 函数 - 在 Python 接口中导出新增的函数 - 更新文档说明新函数的使用方法和注意事项
- Loading branch information
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters