Skip to content

Commit

Permalink
Fixed BBG override
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedamen committed Oct 12, 2023
1 parent 9f6c361 commit ccc28d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -115,6 +115,7 @@ individual data providers)

# Release Notes

* 0.1.30 - findatapy (12 Oct 2023)
* 0.1.29 - findatapy (14 May 2023)
* 0.1.28 - findatapy (19 Jul 2022)
* 0.1.27 - findatapy (20 May 2022)
Expand All @@ -136,6 +137,8 @@ individual data providers)

# Coding log

* 26 Jul 2023
* Fixed overrides for BBG
* 12 May 2023
* Fixed Dukascopy downloader
* 29 Aug 2022
Expand Down
6 changes: 3 additions & 3 deletions findatapy/market/datavendorbbg.py
Expand Up @@ -848,13 +848,13 @@ def fill_options(self, md_request):

keyword_dict = bbg_keyword_dict_override[bbg_override]

for bbg_keyword in keyword_dict.keys():
for keyword_list, bbg_keyword in keyword_dict.items():

# eg. ['gdp', 'advance']
keyword = keyword_dict[bbg_keyword]
# keyword = keyword_dict[bbg_keyword]

# if this matches a case, we have override
if all(k.lower() in t for k in keyword):
if all(k.lower() in t for k in keyword_list):

# In case we have multiple overrides for
# this ticker
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -5,7 +5,7 @@
tickers, using configuration files. There is also functionality which is particularly useful for those downloading FX market data."""

setup(name='findatapy',
version='0.1.29',
version='0.1.30',
description='Market data library',
author='Saeed Amen',
author_email='saeed@cuemacro.com',
Expand Down

0 comments on commit ccc28d2

Please sign in to comment.