BUG: TransactionVolumeExceedsOrder was referenced but not defined

This commit is contained in:
Richard Frank
2013-08-07 16:09:55 -04:00
parent eae5803910
commit c64a585e54
+9
View File
@@ -104,6 +104,15 @@ Transaction {txn} not in same direction as corresponding order {order}.
class TransactionWithNoAmount(ZiplineError):
"""
Raised if a transact call returns a transaction with zero amount.
"""
msg = """
Transaction {txn} has an amount of zero.
""".strip()
class TransactionVolumeExceedsOrder(ZiplineError):
"""
Raised if a transact call returns a transaction with a volume greater than
the corresponding order.