alpha-xone / xbbg

An intuitive Bloomberg API
https://xbbg.readthedocs.io/
Apache License 2.0
244 stars 51 forks source link

I cannot request 10s intraday bar data using blp.bdib #92

Open IMG-5 opened 1 year ago

IMG-5 commented 1 year ago

Thank you for this amazing xbbg library in Python. I am trying to get the 10 second bar data using the blp.bdib function. However, interval is measured in minutes. Please let me know if it is possible to get the 10 second bar data. Otherwise, I will need to aggregate it from the tick data, which is very slow to request.

blp.bdib('AAPL US Equity', dt='2022-10-17', session='day',interval=1)