Reputation: 31
How to identify whether to make ReferenceData request or Subscription(MarketData) request using Bloomberg API based on input fields. I.e.. Based on Security and fields
Upvotes: 3
Views: 4767
Reputation: 7268
ReferenceData ("//blp/refdata"
) is for static/historical/snapshot data. For example:
MarketData ("//blp/mktdata"
) is for real-time subscriptions. For example:
Different fields are supported for reference data requests or market data subscriptions. In the Bloomberg Terminal, FLDS
will show the different fields for a given ticker, and will indicate whether the field is for reference data or market data. For example, the reference data field for the last price is PX_LAST
, whereas the market data field for the last price is LAST_PRICE
.
If in doubt, you can always ask the live helpdesk to clarify whether a field is for reference data or market data. They have previously sent me a spreadsheet detailing the available API fields. However, I'm afraid I'm not able to share this - I only mention it as something you can ask for. But, be aware that this would only be a snapshot and the canonical reference is FLDS
.
If you want to further understand the difference between reference data requests and market data subscriptions, I would suggest that you have a look at the examples that are included in the download from WAPI.
Upvotes: 1