import { LusidInstrument } from './lusidInstrument'; import { WeightedInstruments } from './weightedInstruments'; import { BasketIdentifier } from './basketIdentifier'; /** * LUSID representation of a basket of instruments. */ export interface Basket extends LusidInstrument { basketName: BasketIdentifier; /** * What contents does the basket have. The validation will check that the instrument types contained match those expected. Supported string (enumeration) values are: [Bonds, Credits, Equities, EquitySwap]. */ basketType: string; weightedInstruments: WeightedInstruments; /** * The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan, TotalReturnSwap, InflationLeg */ instrumentType: Basket.InstrumentTypeEnum; } export declare namespace Basket { type InstrumentTypeEnum = 'QuotedSecurity' | 'InterestRateSwap' | 'FxForward' | 'Future' | 'ExoticInstrument' | 'FxOption' | 'CreditDefaultSwap' | 'InterestRateSwaption' | 'Bond' | 'EquityOption' | 'FixedLeg' | 'FloatingLeg' | 'BespokeCashFlowsLeg' | 'Unknown' | 'TermDeposit' | 'ContractForDifference' | 'EquitySwap' | 'CashPerpetual' | 'CapFloor' | 'CashSettled' | 'CdsIndex' | 'Basket' | 'FundingLeg' | 'FxSwap' | 'ForwardRateAgreement' | 'SimpleInstrument' | 'Repo' | 'Equity' | 'ExchangeTradedOption' | 'ReferenceInstrument' | 'ComplexBond' | 'InflationLinkedBond' | 'InflationSwap' | 'SimpleCashFlowLoan' | 'TotalReturnSwap' | 'InflationLeg'; const InstrumentTypeEnum: { QuotedSecurity: InstrumentTypeEnum; InterestRateSwap: InstrumentTypeEnum; FxForward: InstrumentTypeEnum; Future: InstrumentTypeEnum; ExoticInstrument: InstrumentTypeEnum; FxOption: InstrumentTypeEnum; CreditDefaultSwap: InstrumentTypeEnum; InterestRateSwaption: InstrumentTypeEnum; Bond: InstrumentTypeEnum; EquityOption: InstrumentTypeEnum; FixedLeg: InstrumentTypeEnum; FloatingLeg: InstrumentTypeEnum; BespokeCashFlowsLeg: InstrumentTypeEnum; Unknown: InstrumentTypeEnum; TermDeposit: InstrumentTypeEnum; ContractForDifference: InstrumentTypeEnum; EquitySwap: InstrumentTypeEnum; CashPerpetual: InstrumentTypeEnum; CapFloor: InstrumentTypeEnum; CashSettled: InstrumentTypeEnum; CdsIndex: InstrumentTypeEnum; Basket: InstrumentTypeEnum; FundingLeg: InstrumentTypeEnum; FxSwap: InstrumentTypeEnum; ForwardRateAgreement: InstrumentTypeEnum; SimpleInstrument: InstrumentTypeEnum; Repo: InstrumentTypeEnum; Equity: InstrumentTypeEnum; ExchangeTradedOption: InstrumentTypeEnum; ReferenceInstrument: InstrumentTypeEnum; ComplexBond: InstrumentTypeEnum; InflationLinkedBond: InstrumentTypeEnum; InflationSwap: InstrumentTypeEnum; SimpleCashFlowLoan: InstrumentTypeEnum; TotalReturnSwap: InstrumentTypeEnum; InflationLeg: InstrumentTypeEnum; }; }