From 5a31b194420f91ff0d289b890dc348ac33d8e4da Mon Sep 17 00:00:00 2001 From: Luis Parravicini Date: Thu, 24 Dec 2020 15:41:28 -0300 Subject: [PATCH] fixed typo --- pyalgotrade/broker/fillstrategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyalgotrade/broker/fillstrategy.py b/pyalgotrade/broker/fillstrategy.py index 3f11756ce..81c8064e7 100644 --- a/pyalgotrade/broker/fillstrategy.py +++ b/pyalgotrade/broker/fillstrategy.py @@ -261,7 +261,7 @@ def getVolumeUsed(self): def onOrderFilled(self, broker_, order): # Update the volume left. if self.__volumeLimit is not None: - # We round the volume left here becuase it was not rounded when it was initialized. + # We round the volume left here because it was not rounded when it was initialized. volumeLeft = order.getInstrumentTraits().roundQuantity(self.__volumeLeft[order.getInstrument()]) fillQuantity = order.getExecutionInfo().getQuantity() assert volumeLeft >= fillQuantity, \