LUSID C# SDK
|
ContractForDifferenceAllOf More...
Public Member Functions | |
ContractForDifferenceAllOf (DateTimeOffset startDate=default(DateTimeOffset), DateTimeOffset maturityDate=default(DateTimeOffset), string code=default(string), decimal contractSize=default(decimal), string payCcy=default(string), decimal referenceRate=default(decimal), string type=default(string), string underlyingCcy=default(string), string underlyingIdentifier=default(string), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) | |
Initializes a new instance of the ContractForDifferenceAllOf class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
virtual string | ToJson () |
Returns the JSON string presentation of the object More... | |
override bool | Equals (object input) |
Returns true if objects are equal More... | |
bool | Equals (ContractForDifferenceAllOf input) |
Returns true if ContractForDifferenceAllOf instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
ContractForDifferenceAllOf () | |
Initializes a new instance of the ContractForDifferenceAllOf class. More... | |
Properties | |
InstrumentTypeEnum | InstrumentType [get, set] |
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 More... | |
DateTimeOffset | StartDate [get, set] |
The start date of the CFD. More... | |
DateTimeOffset | MaturityDate [get, set] |
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. More... | |
string | Code [get, set] |
The code of the underlying. More... | |
decimal | ContractSize [get, set] |
The size of the CFD contract, this should represent the total number of stocks that the CFD represents. More... | |
string | PayCcy [get, set] |
The currency that this CFD pays out, this can be different to the UnderlyingCcy. More... | |
decimal | ReferenceRate [get, set] |
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. More... | |
string | Type [get, set] |
The type of CFD. Supported string (enumeration) values are: [Cash, Futures]. More... | |
string | UnderlyingCcy [get, set] |
The currency of the underlying More... | |
string | UnderlyingIdentifier [get, set] |
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]. More... | |
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
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
Enumerator | |
---|---|
QuotedSecurity | Enum QuotedSecurity for value: QuotedSecurity |
InterestRateSwap | Enum InterestRateSwap for value: InterestRateSwap |
FxForward | |
Future | |
ExoticInstrument | Enum ExoticInstrument for value: ExoticInstrument |
FxOption | |
CreditDefaultSwap | Enum CreditDefaultSwap for value: CreditDefaultSwap |
InterestRateSwaption | Enum InterestRateSwaption for value: InterestRateSwaption |
Bond | |
EquityOption | Enum EquityOption for value: EquityOption |
FixedLeg | |
FloatingLeg | Enum FloatingLeg for value: FloatingLeg |
BespokeCashFlowsLeg | Enum BespokeCashFlowsLeg for value: BespokeCashFlowsLeg |
Unknown | Enum Unknown for value: Unknown |
TermDeposit | Enum TermDeposit for value: TermDeposit |
ContractForDifference | Enum ContractForDifference for value: ContractForDifference |
EquitySwap | Enum EquitySwap for value: EquitySwap |
CashPerpetual | Enum CashPerpetual for value: CashPerpetual |
CapFloor | |
CashSettled | Enum CashSettled for value: CashSettled |
CdsIndex | |
Basket | |
FundingLeg | Enum FundingLeg for value: FundingLeg |
FxSwap | |
ForwardRateAgreement | Enum ForwardRateAgreement for value: ForwardRateAgreement |
SimpleInstrument | Enum SimpleInstrument for value: SimpleInstrument |
Repo | |
Equity | |
ExchangeTradedOption | Enum ExchangeTradedOption for value: ExchangeTradedOption |
ReferenceInstrument | Enum ReferenceInstrument for value: ReferenceInstrument |
ComplexBond | Enum ComplexBond for value: ComplexBond |
InflationLinkedBond | Enum InflationLinkedBond for value: InflationLinkedBond |
InflationSwap | Enum InflationSwap for value: InflationSwap |
SimpleCashFlowLoan | Enum SimpleCashFlowLoan for value: SimpleCashFlowLoan |
TotalReturnSwap | Enum TotalReturnSwap for value: TotalReturnSwap |
InflationLeg | Enum InflationLeg for value: InflationLeg |
|
inlineprotected |
Initializes a new instance of the ContractForDifferenceAllOf class.
|
inline |
Initializes a new instance of the ContractForDifferenceAllOf class.
startDate | The start date of the CFD. (required). |
maturityDate | 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.. |
code | The code of the underlying. (required). |
contractSize | The size of the CFD contract, this should represent the total number of stocks that the CFD represents. (required). |
payCcy | The currency that this CFD pays out, this can be different to the UnderlyingCcy. (required). |
referenceRate | 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.. |
type | The type of CFD. Supported string (enumeration) values are: [Cash, Futures]. (required). |
underlyingCcy | The currency of the underlying (required). |
underlyingIdentifier | 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]. (required). |
instrumentType | 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 (required). |
|
inline |
Returns true if ContractForDifferenceAllOf instances are equal
input | Instance of ContractForDifferenceAllOf to be compared |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
getset |
The code of the underlying.
The code of the underlying.
|
getset |
The size of the CFD contract, this should represent the total number of stocks that the CFD represents.
The size of the CFD contract, this should represent the total number of stocks that the CFD represents.
|
getset |
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
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
|
getset |
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.
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.
|
getset |
The currency that this CFD pays out, this can be different to the UnderlyingCcy.
The currency that this CFD pays out, this can be different to the UnderlyingCcy.
|
getset |
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.
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.
|
getset |
The start date of the CFD.
The start date of the CFD.
|
getset |
The type of CFD. Supported string (enumeration) values are: [Cash, Futures].
The type of CFD. Supported string (enumeration) values are: [Cash, Futures].
|
getset |
The currency of the underlying
The currency of the underlying
|
getset |
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].
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].