mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-05 11:23:50 +08:00
removed the commented out line that was setting the source id. parent class ensures id is set.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user