@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.
44 lines (43 loc) • 992 B
TypeScript
import { ErrorInfo } from '../../core';
/**
* Provides information about the requested field.
*/
export interface FieldInfo {
/**
* Mnemonic of the field - e.g., "LAST_PRICE".
*/
mnemonic: string;
datatype: string;
categoryName: Array<string>;
/**
* The short description of the field, for example, for the mnemonic LAST_PRICE, the description is “Last Trade/Last Price.
*/
description: string;
/**
* Corresponds to the field definition in `FLDS <GO>`.
*/
documentation?: string;
property: Array<{
id: string;
value: string;
}>;
overrides: Array<any>;
ftype: string;
}
/**
* The returned field data.
*/
export interface FieldData {
/**
* Unique ID of the field.
*/
id: string;
/**
* Information about the field.
*/
fieldInfo?: FieldInfo;
/**
* Field error (if any).
*/
fieldError?: ErrorInfo;
}