Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha-xone committed Nov 28, 2018
1 parent de12a0c commit fcaee4b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ Bloomberg data toolkit for humans
pip install --index-url=https://bloomberg.bintray.com/pip/simple blpapi
```

- Bloomberg C++ SDK version 3.12.1 or higher - [download](https://bloomberg.bintray.com/BLPAPI-Experimental-Generic/blpapi_cpp_3.12.2.1-linux.tar.gz)
- Copy **blpapi3_32.dll** and **blpapi3_64.dll** under **bin** folder to **blp/DAPI**
- Bloomberg C++ SDK version 3.12.1 or higher
- https://www.bloomberg.com/professional/support/api-library/
- Downlaod C++ Experimental Release
- Copy `blpapi3_32.dll` and `blpapi3_64.dll` under `bin`
folder to Bloomberg installation folder `blp/DAPI`
- [pdbdp](https://github.com/matthewgilbert/pdblp) - pandas wrapper for Bloomberg Open API
- numpy, pandas and pyarrow

Expand Down
6 changes: 4 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ Requirements
pip install --index-url=https://bloomberg.bintray.com/pip/simple blpapi
- Bloomberg C++ SDK version 3.12.1 or higher - download_
- Copy **blpapi3_32.dll** and **blpapi3_64.dll** under **bin** folder to **blp/DAPI**
- Bloomberg C++ SDK version 3.12.1 or higher
- https://www.bloomberg.com/professional/support/api-library/
- Downlaod C++ Experimental Release
- Copy ``blpapi3_32.dll`` and ``blpapi3_64.dll`` under ``bin`` folder to Bloomberg installation folder ``blp/DAPI``
- pdblp_ - pandas wrapper for Bloomberg Open API
- numpy, pandas and pyarrow

Expand Down
2 changes: 1 addition & 1 deletion xbbg/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Bloomberg data toolkit for humans"""

__version__ = '0.1.9'
__version__ = '0.1.10a'
2 changes: 1 addition & 1 deletion xbbg/blp.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from xbbg.core.timezone import DEFAULT_TZ
from xbbg.exchange import TradingHours, SessNA

DEBUG = True
DEBUG = False

if DEBUG or (not hasattr(blpapi, '__version__')): pytest.skip('no Bloomberg')
print(f'blpapi version: {blpapi.__version__}')
Expand Down
3 changes: 1 addition & 2 deletions xbbg/core/assist.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from xbbg.core import utils, const
from xbbg.io import files, logs
from xbbg.core.timezone import DEFAULT_TZ

# Set os.environ['BBG_ROOT'] = '/your/bbg/data/path'
# to enable xbbg saving data locally
Expand Down Expand Up @@ -159,7 +158,7 @@ def ref_file(ticker: str, fld: str, has_date=False, from_cache=False, ext='parq'
>>> os.environ['BBG_ROOT'] = '/data/bbg'
>>> ref_file('BLT LN Equity', fld='Crncy')
'/data/bbg/Equity/BLT LN Equity/Crncy/ovrd=None.parq'
>>> cur_dt = utils.cur_time(tz=DEFAULT_TZ)
>>> cur_dt = utils.cur_time(tz=utils.DEFAULT_TZ)
>>> ref_file(
... 'BLT LN Equity', fld='DVD_Hist_All', has_date=True
... ).replace(cur_dt, '[cur_date]')
Expand Down

0 comments on commit fcaee4b

Please sign in to comment.