ENH: batch_transform now supports sid-filtering. DOC: Added docs to batch_transform.

This commit is contained in:
Thomas Wiecki committed 2013-01-16 10:30:37 -05:00
1 parent ee02ff6445
commit b68c51afb4
3 files changed
+52 -4

No files matched your search

+4
View File
@@ -342,6 +342,10 @@ class TestBatchTransform(TestCase):
'arbitrary dataframe should contain only "test"'
)
for data in algo.history_return_sid_filter[wl:]:
self.assertIn(0, data.columns)
self.assertNotIn(1, data.columns)
# test overloaded class
for test_history in [algo.history_return_price_class,
algo.history_return_price_decorator]: