UNPKG

@evil-gauss/core

Version:
20 lines (19 loc) 515 B
export declare namespace Instruments { interface MandatoryFields { /** quote == CURRENCY */ quote: string; /** symbol == instrumentId */ symbol: string; } export interface Forex extends MandatoryFields { instrumentType: 'forex'; base: string; } /** base == symbol */ export interface Future extends MandatoryFields { instrumentType: 'future'; margin: string; } export type Instrument = Forex | Future; export {}; }