@accounter/server
Version:
Accounter GraphQL server
13 lines (12 loc) • 519 B
TypeScript
/**
* The name a security business is listed under, everywhere businesses are listed.
*
* `ENGNAME (SYMBOL)` mirrors how a security is already labelled on a charge, so the same
* instrument reads the same in both places. Falls back through the descriptors the feed
* actually provides, ending at the ISIN — unreadable, but never empty and never ambiguous.
*/
export declare function buildSecurityBusinessName(descriptors: {
isin: string;
engName?: string | null;
symbol?: string | null;
}): string;