Skip to content

Commit

Permalink
fix bdtick kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha-xone committed Aug 10, 2020
1 parent eb3d6f3 commit 8831b1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xbbg/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Intuitive Bloomberg data API"""

__version__ = '0.7.0'
__version__ = '0.7.1b0'
4 changes: 3 additions & 1 deletion xbbg/blp.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ def bdtick(ticker, dt, session='allday', types=None, **kwargs) -> pd.DataFrame:
logger = logs.get_logger(bdtick, **kwargs)

exch = const.exch_info(ticker=ticker, **kwargs)
time_rng = process.time_range(dt=dt, ticker=ticker, session=session)
time_rng = process.time_range(
dt=dt, ticker=ticker, session=session, tz=exch.tz, **kwargs
)

service = conn.bbg_service(service='//blp/refdata', **kwargs)
request = service.createRequest('IntradayTickRequest')
Expand Down

0 comments on commit 8831b1d

Please sign in to comment.