How do you get intraday 1 minute data from Bloomberg please? I want bid & ask for 5 futures saved as a data frame please.
Thanks.
How do you get intraday 1 minute data from Bloomberg please? I want bid & ask for 5 futures saved as a data frame please.
Thanks.
You can use
xbbg
:Dan, if you are looking to work with Pandas I would suggest using TIA: https://github.com/bpsmith/tia
You mentioned you are working with Python 3. At the moment, TIA is only compatible with Python 2, but here https://github.com/bpsmith/tia/issues/11 has a Python 3 conversion. I've been using this recently and it's pretty good. An example:
The github link above has loads of examples, too.
I believe you are looking for the Intraday 1-minute bar data, Open, High, Low, Close, etc. You will need to use IntradayBarRequest to //blp/refdata service.
Revised answer:
Send two IntradayBarRequest's, one for BID and the other for ASK event type, with interval = 1 minute to //blp/refdata service. Extract the "Open" element from each data point in response message(s).
Sample data point:
See the IntradayBarExample code example in the SDK.