Add python to regression test languages. Remove code with no effects from CustomModelsAlgorithm.py

This commit is contained in:
Gerardo Salazar
2019-01-16 17:56:09 -08:00
parent ad06996a7e
commit 40def51d93
2 changed files with 1 additions and 2 deletions
@@ -78,7 +78,6 @@ class CustomFillModel(ImmediateFillModel):
if order.Id in self.absoluteRemainingByOrderId.keys():
absoluteRemaining = self.absoluteRemainingByOrderId[order.Id]
self.absoluteRemainingByOrderId[order.Id] = order.AbsoluteQuantity
fill = super().MarketFill(asset, order)
absoluteFillQuantity = int(min(absoluteRemaining, self.random.Next(0, 2*int(order.AbsoluteQuantity))))