diff --git a/src/blp/blp.py b/src/blp/blp.py index 7ace55a..0ac26f9 100644 --- a/src/blp/blp.py +++ b/src/blp/blp.py @@ -886,9 +886,10 @@ def collect_many_to_bds(self, responses) -> Dict: sec_dict = res.get(security, {}) for field in response["data"]: data = response["data"][field] - rows = sec_dict.get(field, []) - rows.extend(data) - sec_dict[field] = rows + if data: + rows = sec_dict.get(field, []) + rows.extend(data) + sec_dict[field] = rows res[security] = sec_dict for s in res: for f in res[s]: