mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-25 13:10:33 +08:00
MAINT: Removes lookup_symbol_resolve_multiple method
lookup_symbol_resolve_multiple was identical to lookup_symbol, except that lookup_symbol performed upper-casing of the input string and lookup_symbol would return Nones. Now, lookup_symbol has a kwarg 'default_None=True' and all symbols are upper-cased on insertion and request.
This commit is contained in:
@@ -503,7 +503,7 @@ class TestMiscellaneousAPI(TestCase):
|
||||
self.assertEqual(result.symbol, 'DUP')
|
||||
|
||||
# By first calling set_symbol_lookup_date, the relevant asset
|
||||
# should be returned by lookup_symbol_resolve_multiple
|
||||
# should be returned by lookup_symbol
|
||||
for i, date in enumerate(dates):
|
||||
algo.set_symbol_lookup_date(date)
|
||||
result = algo.symbol('DUP')
|
||||
|
||||
Reference in New Issue
Block a user