LUSID representation of an FX Option. Including Vanilla, American, European, and Digital (Binary) options.
More...
|
| FxOption (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 FxOption class. More...
|
|
override string | ToString () |
| Returns the string presentation of the object More...
|
|
override 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 (FxOption input) |
| Returns true if FxOption instances are equal More...
|
|
override int | GetHashCode () |
| Gets the hash code More...
|
|
| LusidInstrument (InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) |
| Initializes a new instance of the LusidInstrument class. More...
|
|
override string | ToString () |
| Returns the string presentation of the object More...
|
|
override bool | Equals (object input) |
| Returns true if objects are equal More...
|
|
bool | Equals (LusidInstrument input) |
| Returns true if LusidInstrument instances are equal More...
|
|
override int | GetHashCode () |
| Gets the hash code 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...
|
|
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 More...
|
|
LUSID representation of an FX Option. Including Vanilla, American, European, and Digital (Binary) options.
decimal Lusid.Sdk.Model.FxOption.DomAmount |
|
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.
string Lusid.Sdk.Model.FxOption.ExerciseType |
|
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].
decimal Lusid.Sdk.Model.FxOption.FgnAmount |
|
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.
bool Lusid.Sdk.Model.FxOption.IsPayoffDigital |
|
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).
string Lusid.Sdk.Model.FxOption.PayoutStyle |
|
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].