UNPKG

@finbourne/lusid-sdk-angular8

Version:

An angular (8+) SDK for secure access to the LUSID® by FINBOURNE web API

85 lines (84 loc) 4.62 kB
import { LusidInstrument } from './lusidInstrument'; /** * LUSID representation of a Contract for Difference. */ export interface ContractForDifference { /** * The start date of the CFD. */ startDate: Date; /** * The maturity date for the CFD. If CFDType is Futures, this should be set to be the maturity date of the underlying future. If CFDType is Cash, this should not be set. */ maturityDate?: Date; /** * The code of the underlying. */ code: string; /** * The size of the CFD contract, this should represent the total number of stocks that the CFD represents. */ contractSize: number; /** * The currency that this CFD pays out, this can be different to the UnderlyingCcy. */ payCcy: string; /** * The reference rate of the CFD, this can be set to 0 but not negative values. This field is optional, if not set it will default to 0. */ referenceRate?: number; /** * The type of CFD. Supported string (enumeration) values are: [Cash, Futures]. */ type: string; /** * The currency of the underlying */ underlyingCcy: string; /** * external market codes and identifiers for the CFD, e.g. RIC. Supported string (enumeration) values are: [LusidInstrumentId, Isin, Sedol, Cusip, ClientInternal, Figi, RIC, QuotePermId, REDCode, BBGId, ICECode]. */ underlyingIdentifier: string; /** * 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 */ instrumentType: ContractForDifference.InstrumentTypeEnum; } export declare namespace ContractForDifference { 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'; const InstrumentTypeEnum: { QuotedSecurity: LusidInstrument.InstrumentTypeEnum; InterestRateSwap: LusidInstrument.InstrumentTypeEnum; FxForward: LusidInstrument.InstrumentTypeEnum; Future: LusidInstrument.InstrumentTypeEnum; ExoticInstrument: LusidInstrument.InstrumentTypeEnum; FxOption: LusidInstrument.InstrumentTypeEnum; CreditDefaultSwap: LusidInstrument.InstrumentTypeEnum; InterestRateSwaption: LusidInstrument.InstrumentTypeEnum; Bond: LusidInstrument.InstrumentTypeEnum; EquityOption: LusidInstrument.InstrumentTypeEnum; FixedLeg: LusidInstrument.InstrumentTypeEnum; FloatingLeg: LusidInstrument.InstrumentTypeEnum; BespokeCashFlowsLeg: LusidInstrument.InstrumentTypeEnum; Unknown: LusidInstrument.InstrumentTypeEnum; TermDeposit: LusidInstrument.InstrumentTypeEnum; ContractForDifference: LusidInstrument.InstrumentTypeEnum; EquitySwap: LusidInstrument.InstrumentTypeEnum; CashPerpetual: LusidInstrument.InstrumentTypeEnum; CapFloor: LusidInstrument.InstrumentTypeEnum; CashSettled: LusidInstrument.InstrumentTypeEnum; CdsIndex: LusidInstrument.InstrumentTypeEnum; Basket: LusidInstrument.InstrumentTypeEnum; FundingLeg: LusidInstrument.InstrumentTypeEnum; FxSwap: LusidInstrument.InstrumentTypeEnum; ForwardRateAgreement: LusidInstrument.InstrumentTypeEnum; SimpleInstrument: LusidInstrument.InstrumentTypeEnum; Repo: LusidInstrument.InstrumentTypeEnum; Equity: LusidInstrument.InstrumentTypeEnum; ExchangeTradedOption: LusidInstrument.InstrumentTypeEnum; ReferenceInstrument: LusidInstrument.InstrumentTypeEnum; ComplexBond: LusidInstrument.InstrumentTypeEnum; InflationLinkedBond: LusidInstrument.InstrumentTypeEnum; InflationSwap: LusidInstrument.InstrumentTypeEnum; }; }