@glue42/bbg-market-data
Version:
A high-level API that wraps existing Glue42 Bloomberg Bridge Market Data interop methods. The API is based on the jBloomberg open source wrapper.
39 lines (38 loc) • 1.26 kB
TypeScript
/**
* Arguments object for a `ReferenceDataRequest`.
*/
export interface ReferenceDataRequestArguments {
/**
* Securities for which to fetch the corresponding fields.
*/
securities: string[];
/**
* Security fields for which to request data.
*/
fields: string[];
/**
* Whether to return the entitlement identifiers associated with the security.
*/
returnEids?: boolean;
/**
* Accepts a field mnemonic or alpha-numeric code, such as `PR092` or `PRICING_SOURCE`.
* See `FLDS <GO>` for list of possible overrides.
*/
overrides?: {
fieldId: string;
value: any;
}[];
/**
* Whether to return the data as a string.
*/
returnFormattedValue?: boolean;
/**
* Whether to return the values in UTC. Setting this to `false` causes the returned values to default to the `TZDF <GO>` settings of the requestor.
*/
useUTCTime?: boolean;
/**
* Whether to return the latest data up to the delay period specified by the Exchange for this security.
* For example, requesting `VOD LN Equity` and `PX_LAST` will return a snapshot of the last price from 15 mins ago.
*/
forcedDelay?: boolean;
}