getting the below error when i try to retrieve a single security accessor from the manager
retrieve a single security accessor from the manager
msft = mgr['MSFT US EQUITY']
ERROR:
NameError Traceback (most recent call last)
in ()
1 # retrieve a single security accessor from the manager
----> 2 msft = mgr['MSFT US EQUITY']
C:\Users\Local\Continuum\Anaconda3\lib\site-packages\tia\bbg\datamgr.py in __getitem__(self, sid)
121
122 def __getitem__(self, sid):
--> 123 return self.get_sid_accessor(sid)
124
125 @property
C:\Users\Local\Continuum\Anaconda3\lib\site-packages\tia\bbg\datamgr.py in get_sid_accessor(self, sid, **overrides)
115
116 def get_sid_accessor(self, sid, **overrides):
--> 117 if isinstance(sid, str):
118 return SidAccessor(sid, self, **overrides)
119 else:
NameError: name 'basestring' is not defined
getting the below error when i try to retrieve a single security accessor from the manager
retrieve a single security accessor from the manager
msft = mgr['MSFT US EQUITY']
ERROR:
NameError Traceback (most recent call last)