LUSID C# SDK
Public Member Functions | Protected Member Functions | Properties | List of all members
Lusid.Sdk.Model.EquityOption Class Reference

LUSID representation of a plain vanilla OTC Equity Option. More...

Inheritance diagram for Lusid.Sdk.Model.EquityOption:
Inheritance graph
[legend]

Public Member Functions

 EquityOption (DateTimeOffset startDate=default(DateTimeOffset), DateTimeOffset optionMaturityDate=default(DateTimeOffset), DateTimeOffset optionSettlementDate=default(DateTimeOffset), string deliveryType=default(string), string optionType=default(string), decimal strike=default(decimal), string domCcy=default(string), string underlyingIdentifier=default(string), string code=default(string), string equityOptionType=default(string), decimal? numberOfShares=default(decimal?), Premium premium=default(Premium), string exerciseType=default(string), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum))
 Initializes a new instance of the EquityOption 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 (EquityOption input)
 Returns true if EquityOption instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 
- Public Member Functions inherited from Lusid.Sdk.Model.LusidInstrument
 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...
 

Protected Member Functions

 EquityOption ()
 Initializes a new instance of the EquityOption class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 
- Protected Member Functions inherited from Lusid.Sdk.Model.LusidInstrument
 LusidInstrument ()
 Initializes a new instance of the LusidInstrument class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 

Properties

DateTimeOffset StartDate [get, set]
 The start date of the instrument. This is normally synonymous with the trade-date. More...
 
DateTimeOffset OptionMaturityDate [get, set]
 The maturity date of the option. More...
 
DateTimeOffset OptionSettlementDate [get, set]
 The settlement date of the option. More...
 
string DeliveryType [get, set]
 Is the option cash settled or physical delivery of option Supported string (enumeration) values are: [Cash, Physical]. More...
 
string OptionType [get, set]
 Type of optionality for the option Supported string (enumeration) values are: [Call, Put]. More...
 
decimal Strike [get, set]
 The strike of the option. More...
 
string DomCcy [get, set]
 The domestic currency of the instrument. More...
 
string UnderlyingIdentifier [get, set]
 The market identifier type of the underlying code, e.g RIC. Supported string (enumeration) values are: [LusidInstrumentId, Isin, Sedol, Cusip, ClientInternal, Figi, RIC, QuotePermId, REDCode, BBGId, ICECode]. More...
 
string Code [get, set]
 The identifying code for the equity underlying, e.g. &#39;IBM.N&#39;. More...
 
string EquityOptionType [get, set]
 Equity option types. E.g. Vanilla (default), RightsIssue, Warrant. Supported string (enumeration) values are: [Vanilla, RightsIssue, Warrant]. More...
 
decimal? NumberOfShares [get, set]
 The amount of shares to exchange if the option is exercised. More...
 
Premium Premium [get, set]
 Gets or Sets Premium More...
 
string ExerciseType [get, set]
 Type of optionality that is present; European, American. Supported string (enumeration) values are: [European, American]. More...
 
- Properties inherited from Lusid.Sdk.Model.LusidInstrument
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, FundShareClass, FlexibleLoan More...
 

Additional Inherited Members

- Public Types inherited from Lusid.Sdk.Model.LusidInstrument
enum class  InstrumentTypeEnum {
  QuotedSecurity = 1 , InterestRateSwap = 2 , FxForward = 3 , Future = 4 ,
  ExoticInstrument = 5 , FxOption = 6 , CreditDefaultSwap = 7 , InterestRateSwaption = 8 ,
  Bond = 9 , EquityOption = 10 , FixedLeg = 11 , FloatingLeg = 12 ,
  BespokeCashFlowsLeg = 13 , Unknown = 14 , TermDeposit = 15 , ContractForDifference = 16 ,
  EquitySwap = 17 , CashPerpetual = 18 , CapFloor = 19 , CashSettled = 20 ,
  CdsIndex = 21 , Basket = 22 , FundingLeg = 23 , FxSwap = 24 ,
  ForwardRateAgreement = 25 , SimpleInstrument = 26 , Repo = 27 , Equity = 28 ,
  ExchangeTradedOption = 29 , ReferenceInstrument = 30 , ComplexBond = 31 , InflationLinkedBond = 32 ,
  InflationSwap = 33 , SimpleCashFlowLoan = 34 , TotalReturnSwap = 35 , InflationLeg = 36 ,
  FundShareClass = 37 , FlexibleLoan = 38
}
 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, FundShareClass, FlexibleLoan More...
 

Detailed Description

LUSID representation of a plain vanilla OTC Equity Option.

Constructor & Destructor Documentation

◆ EquityOption() [1/2]

Lusid.Sdk.Model.EquityOption.EquityOption ( )
inlineprotected

Initializes a new instance of the EquityOption class.

◆ EquityOption() [2/2]

Lusid.Sdk.Model.EquityOption.EquityOption ( DateTimeOffset  startDate = default(DateTimeOffset),
DateTimeOffset  optionMaturityDate = default(DateTimeOffset),
DateTimeOffset  optionSettlementDate = default(DateTimeOffset),
string  deliveryType = default(string),
string  optionType = default(string),
decimal  strike = default(decimal),
string  domCcy = default(string),
string  underlyingIdentifier = default(string),
string  code = default(string),
string  equityOptionType = default(string),
decimal?  numberOfShares = default(decimal?),
Premium  premium = default(Premium),
string  exerciseType = default(string),
InstrumentTypeEnum  instrumentType = default(InstrumentTypeEnum) 
)
inline

Initializes a new instance of the EquityOption class.

Parameters
startDateThe start date of the instrument. This is normally synonymous with the trade-date. (required).
optionMaturityDateThe maturity date of the option. (required).
optionSettlementDateThe settlement date of the option. (required).
deliveryTypeIs the option cash settled or physical delivery of option Supported string (enumeration) values are: [Cash, Physical]. (required).
optionTypeType of optionality for the option Supported string (enumeration) values are: [Call, Put]. (required).
strikeThe strike of the option. (required).
domCcyThe domestic currency of the instrument. (required).
underlyingIdentifierThe market identifier type of the underlying code, e.g RIC. Supported string (enumeration) values are: [LusidInstrumentId, Isin, Sedol, Cusip, ClientInternal, Figi, RIC, QuotePermId, REDCode, BBGId, ICECode]. (required).
codeThe identifying code for the equity underlying, e.g. &#39;IBM.N&#39;. (required).
equityOptionTypeEquity option types. E.g. Vanilla (default), RightsIssue, Warrant. Supported string (enumeration) values are: [Vanilla, RightsIssue, Warrant]..
numberOfSharesThe amount of shares to exchange if the option is exercised..
premiumpremium.
exerciseTypeType of optionality that is present; European, American. Supported string (enumeration) values are: [European, American]..
instrumentTypeThe 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, FundShareClass, FlexibleLoan (required) (default to "EquityOption").

Member Function Documentation

◆ BaseValidate()

IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Lusid.Sdk.Model.EquityOption.BaseValidate ( ValidationContext  validationContext)
inlineprotected

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

bool Lusid.Sdk.Model.EquityOption.Equals ( EquityOption  input)
inline

Returns true if EquityOption instances are equal

Parameters
inputInstance of EquityOption to be compared
Returns
Boolean

◆ Equals() [2/2]

override bool Lusid.Sdk.Model.EquityOption.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.EquityOption.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

override string Lusid.Sdk.Model.EquityOption.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented from Lusid.Sdk.Model.LusidInstrument.

◆ ToString()

override string Lusid.Sdk.Model.EquityOption.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Code

string Lusid.Sdk.Model.EquityOption.Code
getset

The identifying code for the equity underlying, e.g. &#39;IBM.N&#39;.

The identifying code for the equity underlying, e.g. &#39;IBM.N&#39;.

◆ DeliveryType

string Lusid.Sdk.Model.EquityOption.DeliveryType
getset

Is the option cash settled or physical delivery of option Supported string (enumeration) values are: [Cash, Physical].

Is the option cash settled or physical delivery of option Supported string (enumeration) values are: [Cash, Physical].

◆ DomCcy

string Lusid.Sdk.Model.EquityOption.DomCcy
getset

The domestic currency of the instrument.

The domestic currency of the instrument.

◆ EquityOptionType

string Lusid.Sdk.Model.EquityOption.EquityOptionType
getset

Equity option types. E.g. Vanilla (default), RightsIssue, Warrant. Supported string (enumeration) values are: [Vanilla, RightsIssue, Warrant].

Equity option types. E.g. Vanilla (default), RightsIssue, Warrant. Supported string (enumeration) values are: [Vanilla, RightsIssue, Warrant].

◆ ExerciseType

string Lusid.Sdk.Model.EquityOption.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].

◆ NumberOfShares

decimal? Lusid.Sdk.Model.EquityOption.NumberOfShares
getset

The amount of shares to exchange if the option is exercised.

The amount of shares to exchange if the option is exercised.

◆ OptionMaturityDate

DateTimeOffset Lusid.Sdk.Model.EquityOption.OptionMaturityDate
getset

The maturity date of the option.

The maturity date of the option.

◆ OptionSettlementDate

DateTimeOffset Lusid.Sdk.Model.EquityOption.OptionSettlementDate
getset

The settlement date of the option.

The settlement date of the option.

◆ OptionType

string Lusid.Sdk.Model.EquityOption.OptionType
getset

Type of optionality for the option Supported string (enumeration) values are: [Call, Put].

Type of optionality for the option Supported string (enumeration) values are: [Call, Put].

◆ Premium

Premium Lusid.Sdk.Model.EquityOption.Premium
getset

Gets or Sets Premium

◆ StartDate

DateTimeOffset Lusid.Sdk.Model.EquityOption.StartDate
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.

◆ Strike

decimal Lusid.Sdk.Model.EquityOption.Strike
getset

The strike of the option.

The strike of the option.

◆ UnderlyingIdentifier

string Lusid.Sdk.Model.EquityOption.UnderlyingIdentifier
getset

The market identifier type of the underlying code, e.g RIC. Supported string (enumeration) values are: [LusidInstrumentId, Isin, Sedol, Cusip, ClientInternal, Figi, RIC, QuotePermId, REDCode, BBGId, ICECode].

The market identifier type of the underlying code, e.g RIC. Supported string (enumeration) values are: [LusidInstrumentId, Isin, Sedol, Cusip, ClientInternal, Figi, RIC, QuotePermId, REDCode, BBGId, ICECode].


The documentation for this class was generated from the following file: