Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuizi7 committed Aug 28, 2018
1 parent c074500 commit 1c6593b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def _on_order_unsolicited_update(self, event):
return
order = event.order
if order.filled_quantity != 0:
self._frozen_cash -= order.unfilled_quantity / order.quantty * self._frozen_cash_of_order(order)
self._frozen_cash -= order.unfilled_quantity / order.quantity * self._frozen_cash_of_order(order)
else:
self._frozen_cash -= self._frozen_cash_of_order(event.order)

Expand Down

0 comments on commit 1c6593b

Please sign in to comment.