a309322ae5
Python Virtual Environments / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
* Fix bug The algorithm `CustomPartialFillModelAlgorithm.cs` was not working as expected with short orders because in its Fill model, the variable `absoluteRemaining` instead of decrease was being increased since the `FillQuantity` in each call to this method was negative. Therefore when this amount was substracted to `absoluteRemaining`, instead of substract, it was added. Hence the method created more partial orders than expected, specifically: 580 short orders for SPY with Quantity -10. * Fix `CustomPartialFillModelAlgorithm.py` * Address required changes * Nit change * Address required changes