mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 23:23:34 +08:00
Use string_types
This commit is contained in:
@@ -652,7 +652,7 @@ class TradingAlgorithm(object):
|
||||
new_assets.add(identifier)
|
||||
elif isinstance(identifier, Integral) and is_unknown(identifier):
|
||||
new_sids.add(identifier)
|
||||
elif isinstance(identifier, (bytes, unicode)):
|
||||
elif isinstance(identifier, (string_types)):
|
||||
new_symbols.add(identifier)
|
||||
else:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user