From 53b4876a1948391618ae1db3c8b9b8f2b100bc7e Mon Sep 17 00:00:00 2001 From: fawce Date: Sun, 4 Mar 2012 11:59:15 -0500 Subject: [PATCH] removed the commented out line that was setting the source id. parent class ensures id is set. --- zipline/sources.py | 1 - 1 file changed, 1 deletion(-) diff --git a/zipline/sources.py b/zipline/sources.py index f7b3eada..28d356b9 100644 --- a/zipline/sources.py +++ b/zipline/sources.py @@ -49,7 +49,6 @@ class RandomEquityTrades(TradeDataSource): volume = random.randrange(100,10000,100) event = zp.namedict({ - #'source_id' : self.get_id, "type" : zp.DATASOURCE_TYPE.TRADE, "sid" : self.sid, "price" : self.price,