LUSID C# SDK
|
Public Member Functions | |
FxOptionAllOf (DateTimeOffset startDate=default(DateTimeOffset), string domCcy=default(string), decimal? domAmount=default(decimal?), string fgnCcy=default(string), decimal? fgnAmount=default(decimal?), decimal? strike=default(decimal?), List< Barrier > barriers=default(List< Barrier >), string exerciseType=default(string), bool isCallNotPut=default(bool), bool isDeliveryNotCash=default(bool), bool isPayoffDigital=default(bool), DateTimeOffset optionMaturityDate=default(DateTimeOffset), DateTimeOffset optionSettlementDate=default(DateTimeOffset), string payoutStyle=default(string), Premium premium=default(Premium), List< Touch > touches=default(List< Touch >), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) | |
Initializes a new instance of the FxOptionAllOf 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 (FxOptionAllOf input) |
Returns true if FxOptionAllOf instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
FxOptionAllOf () | |
Initializes a new instance of the FxOptionAllOf 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 instrument. This is normally synonymous with the trade-date. More... | |
string | DomCcy [get, set] |
The domestic currency of the instrument. More... | |
decimal? | DomAmount [get, set] |
The Amount of DomCcy that will be exchanged if the option is exercised. This amount should be a positive number, with the Call/Put flag used to indicate direction. The corresponding amount of FgnCcy that will be exchanged is this amount times the strike. Note there is no rounding performed on this computed value. This is an optional field, if not set the option ContractSize will default to 1. More... | |
string | FgnCcy [get, set] |
The foreign currency of the FX. More... | |
decimal? | FgnAmount [get, set] |
For a vanilla FxOption contract, FgnAmount cannot be set. In case of a digital FxOption (IsPayoffDigital==true) a payoff (if the option is in the money) can be either in domestic or in foreign currency - for the latter FgnAmount must be set. Note: It is invalid to have FgnAmount and DomAmount at the same time. More... | |
decimal? | Strike [get, set] |
The strike of the option. More... | |
List< Barrier > | Barriers [get, set] |
For a barrier option the list should not be empty. Up to two barriers are supported. An option cannot be at the same time barrier- and touch-option. One (or both) of the lists must be empty. More... | |
string | ExerciseType [get, set] |
Type of optionality that is present; European, American. Supported string (enumeration) values are: [European, American]. More... | |
bool | IsCallNotPut [get, set] |
True if the option is a call, false if the option is a put. More... | |
bool | IsDeliveryNotCash [get, set] |
True if the option delivers the FX underlying, False if the option is settled in cash. More... | |
bool | IsPayoffDigital [get, set] |
By default IsPayoffDigital is false. If IsPayoffDigital=true, the option is 'digital', and the option payoff is 0 or 1 unit of currency, instead of a vanilla CallPayoff=max(spot-strike,0) or PutPayoff=max(strike-spot,0). More... | |
DateTimeOffset | OptionMaturityDate [get, set] |
The maturity date of the option. More... | |
DateTimeOffset | OptionSettlementDate [get, set] |
The settlement date of the option. More... | |
string | PayoutStyle [get, set] |
PayoutStyle for touch options. For options without touch optionality, payoutStyle should not be set. For options with touch optionality (where the touches data has been set), payoutStyle must be defined and cannot be None. Supported string (enumeration) values are: [Deferred, Immediate]. More... | |
Premium | Premium [get, set] |
Gets or Sets Premium More... | |
List< Touch > | Touches [get, set] |
For a touch option the list should not be empty. Up to two touches are supported. An option cannot be at the same time barrier- and touch-option. One (or both) of the lists must be empty. More... | |
|
strong |
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 FxOptionAllOf class.
|
inline |
Initializes a new instance of the FxOptionAllOf class.
startDate | The start date of the instrument. This is normally synonymous with the trade-date. (required). |
domCcy | The domestic currency of the instrument. (required). |
domAmount | The Amount of DomCcy that will be exchanged if the option is exercised. This amount should be a positive number, with the Call/Put flag used to indicate direction. The corresponding amount of FgnCcy that will be exchanged is this amount times the strike. Note there is no rounding performed on this computed value. This is an optional field, if not set the option ContractSize will default to 1.. |
fgnCcy | The foreign currency of the FX. (required). |
fgnAmount | For a vanilla FxOption contract, FgnAmount cannot be set. In case of a digital FxOption (IsPayoffDigital==true) a payoff (if the option is in the money) can be either in domestic or in foreign currency - for the latter FgnAmount must be set. Note: It is invalid to have FgnAmount and DomAmount at the same time.. |
strike | The strike of the option.. |
barriers | For a barrier option the list should not be empty. Up to two barriers are supported. An option cannot be at the same time barrier- and touch-option. One (or both) of the lists must be empty.. |
exerciseType | Type of optionality that is present; European, American. Supported string (enumeration) values are: [European, American].. |
isCallNotPut | True if the option is a call, false if the option is a put. (required). |
isDeliveryNotCash | True if the option delivers the FX underlying, False if the option is settled in cash. (required). |
isPayoffDigital | By default IsPayoffDigital is false. If IsPayoffDigital=true, the option is 'digital', and the option payoff is 0 or 1 unit of currency, instead of a vanilla CallPayoff=max(spot-strike,0) or PutPayoff=max(strike-spot,0).. |
optionMaturityDate | The maturity date of the option. (required). |
optionSettlementDate | The settlement date of the option. (required). |
payoutStyle | PayoutStyle for touch options. For options without touch optionality, payoutStyle should not be set. For options with touch optionality (where the touches data has been set), payoutStyle must be defined and cannot be None. Supported string (enumeration) values are: [Deferred, Immediate].. |
premium | premium. |
touches | For a touch option the list should not be empty. Up to two touches are supported. An option cannot be at the same time barrier- and touch-option. One (or both) of the lists must be empty.. |
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 FxOptionAllOf instances are equal
input | Instance of FxOptionAllOf 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 |
For a barrier option the list should not be empty. Up to two barriers are supported. An option cannot be at the same time barrier- and touch-option. One (or both) of the lists must be empty.
For a barrier option the list should not be empty. Up to two barriers are supported. An option cannot be at the same time barrier- and touch-option. One (or both) of the lists must be empty.
|
getset |
The Amount of DomCcy that will be exchanged if the option is exercised. This amount should be a positive number, with the Call/Put flag used to indicate direction. The corresponding amount of FgnCcy that will be exchanged is this amount times the strike. Note there is no rounding performed on this computed value. This is an optional field, if not set the option ContractSize will default to 1.
The Amount of DomCcy that will be exchanged if the option is exercised. This amount should be a positive number, with the Call/Put flag used to indicate direction. The corresponding amount of FgnCcy that will be exchanged is this amount times the strike. Note there is no rounding performed on this computed value. This is an optional field, if not set the option ContractSize will default to 1.
|
getset |
The domestic currency of the instrument.
The domestic currency of the instrument.
|
getset |
Type of optionality that is present; European, American. Supported string (enumeration) values are: [European, American].
Type of optionality that is present; European, American. Supported string (enumeration) values are: [European, American].
|
getset |
For a vanilla FxOption contract, FgnAmount cannot be set. In case of a digital FxOption (IsPayoffDigital==true) a payoff (if the option is in the money) can be either in domestic or in foreign currency - for the latter FgnAmount must be set. Note: It is invalid to have FgnAmount and DomAmount at the same time.
For a vanilla FxOption contract, FgnAmount cannot be set. In case of a digital FxOption (IsPayoffDigital==true) a payoff (if the option is in the money) can be either in domestic or in foreign currency - for the latter FgnAmount must be set. Note: It is invalid to have FgnAmount and DomAmount at the same time.
|
getset |
The foreign currency of the FX.
The foreign currency of the FX.
|
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 |
True if the option is a call, false if the option is a put.
True if the option is a call, false if the option is a put.
|
getset |
True if the option delivers the FX underlying, False if the option is settled in cash.
True if the option delivers the FX underlying, False if the option is settled in cash.
|
getset |
By default IsPayoffDigital is false. If IsPayoffDigital=true, the option is 'digital', and the option payoff is 0 or 1 unit of currency, instead of a vanilla CallPayoff=max(spot-strike,0) or PutPayoff=max(strike-spot,0).
By default IsPayoffDigital is false. If IsPayoffDigital=true, the option is 'digital', and the option payoff is 0 or 1 unit of currency, instead of a vanilla CallPayoff=max(spot-strike,0) or PutPayoff=max(strike-spot,0).
|
getset |
The maturity date of the option.
The maturity date of the option.
|
getset |
The settlement date of the option.
The settlement date of the option.
|
getset |
PayoutStyle for touch options. For options without touch optionality, payoutStyle should not be set. For options with touch optionality (where the touches data has been set), payoutStyle must be defined and cannot be None. Supported string (enumeration) values are: [Deferred, Immediate].
PayoutStyle for touch options. For options without touch optionality, payoutStyle should not be set. For options with touch optionality (where the touches data has been set), payoutStyle must be defined and cannot be None. Supported string (enumeration) values are: [Deferred, Immediate].
|
getset |
The start date of the instrument. This is normally synonymous with the trade-date.
The start date of the instrument. This is normally synonymous with the trade-date.
|
getset |
The strike of the option.
The strike of the option.
|
getset |
For a touch option the list should not be empty. Up to two touches are supported. An option cannot be at the same time barrier- and touch-option. One (or both) of the lists must be empty.
For a touch option the list should not be empty. Up to two touches are supported. An option cannot be at the same time barrier- and touch-option. One (or both) of the lists must be empty.