You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is it possible to ignore a SecurityError?
i am passing a long list of securities to a dm.BbgDataManager()."some field"
some of the securities are not valid securities and a get an error such as:
Exception: SecurityError: ("string i passed as security", BAD_SEC, Unknown/Invalid security [nid:960] )
is there a way populate to return a NaN instead of breaking the code?
here is an example:
if i have:
sids = mgr[valid_security_name, not_valid_security_name]
then sids.PX_LAST will return the above error message
while i wish to have
PX_LAST
valid_security_name price
not_valid_security_name NaN
The text was updated successfully, but these errors were encountered:
is it possible to ignore a SecurityError?
i am passing a long list of securities to a dm.BbgDataManager()."some field"
some of the securities are not valid securities and a get an error such as:
Exception: SecurityError: ("string i passed as security", BAD_SEC, Unknown/Invalid security [nid:960] )
is there a way populate to return a NaN instead of breaking the code?
here is an example:
if i have:
sids = mgr[valid_security_name, not_valid_security_name]
then sids.PX_LAST will return the above error message
while i wish to have
PX_LAST
valid_security_name price
not_valid_security_name NaN
The text was updated successfully, but these errors were encountered: