Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

fixed typo #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyalgotrade/broker/fillstrategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, \
Expand Down