mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-13 03:17:15 +08:00
MAINT: Removes unused mock data function from gens.utils
This function is unused, and on the general path of moving testing functions out of gens.utils # Please enter the commit message for your changes. Lines starting
This commit is contained in:
@@ -26,16 +26,6 @@ from zipline.protocol import (
|
||||
)
|
||||
|
||||
|
||||
def mock_raw_event(sid, dt):
|
||||
event = {
|
||||
'sid': sid,
|
||||
'dt': dt,
|
||||
'price': 1.0,
|
||||
'volume': 1
|
||||
}
|
||||
return event
|
||||
|
||||
|
||||
def alternate(g1, g2):
|
||||
"""Specialized version of roundrobin for just 2 generators."""
|
||||
for e1, e2 in izip_longest(g1, g2):
|
||||
|
||||
Reference in New Issue
Block a user