-
Adds CustomBuyingPowerModelAlgorithm (#4824)
发布于
2020-10-22 00:27:30 +00:00 | 2744 次提交 在此版本后已推送到 master- Adds CustomBuyingPowerModelAlgorithm
This algorithms is an example on how to implement a custom buying power model.
In this particular case, it shows how to override
HasSufficientBuyingPowerForOrderin order to place orders without sufficient buying power according to the default model.- Upgrades CustomModelsAlgorithm to Include CustomBuyingPowerModel
The custom buying power model overrides
HasSufficientBuyingPowerForOrderResultbut it doesn't change the trades and, consequently, the regression statistics.下载附件