removed logging of zero volume orders.

This commit is contained in:
fawce
2012-06-18 19:02:14 -04:00
parent 9c9cddb2e8
commit 7044040722
-14
View File
@@ -151,20 +151,6 @@ class TransactionSimulator(object):
dt.replace(tzinfo = pytz.utc),
direction
)
elif len(orders) > 0:
warning = """
Calculated a zero volume transaction on trade:
{event}
for orders:
{orders}
"""
warning = warning.format(
event=str(event),
orders=str(orders)
)
LOGGER.warn(warning)
return None
def create_transaction(self, sid, amount, price, dt, direction):
self.txn_count += 1