-
Fix bug in VolumeWeightedAveragePriceIndicator (#7336)
发布于
2023-06-30 16:36:44 +00:00 | 1343 次提交 在此版本后已推送到 master- Fix bug
- Add
ResetHandler()andIsResetfield inCompositeIndicator.cs - Modify
CompositeIndicator.Reset()to invoke the IsReset event - Modify
VolumeWeightedAveragePriceIndicator.Reset()method to reset
its composite indicator - Modify
IndicatorExtensions.WeightedBy()to register an event to the
returned composite indicatorIsResetfield
-
Enhance implementation
-
Address Requested changes
-
Nit changes
-
Nit change
-
Nit change
-
Address chages
- Make ResetCompositeIndicator inherit from CompositeIndicator and
overrideReset()method - Add ResetCompositeIndicator unit tests
- Modifiy IndicatorExtensions to keep returning the same type in
WeightedBy()method
-
Avoid modify other IndicatorExtensions methods
-
Nit changes
-
Reset inner indicators and add more unit tests
下载附件