LUSID C# SDK
|
Definition of a trigger event. This is an event that occurs on transformation of an option instrument being triggered by a barrier/touch price level being hit by the underlying asset. More...
Public Member Functions | |
TriggerEvent (decimal level=default(decimal), string triggerType=default(string), string triggerDirection=default(string), DateTimeOffset triggerDate=default(DateTimeOffset), DateTimeOffset maturityDate=default(DateTimeOffset), InstrumentEventTypeEnum instrumentEventType=default(InstrumentEventTypeEnum)) | |
Initializes a new instance of the TriggerEvent 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 (TriggerEvent input) |
Returns true if TriggerEvent instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Public Member Functions inherited from Lusid.Sdk.Model.InstrumentEvent | |
InstrumentEvent (InstrumentEventTypeEnum instrumentEventType=default(InstrumentEventTypeEnum)) | |
Initializes a new instance of the InstrumentEvent 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 (InstrumentEvent input) |
Returns true if InstrumentEvent instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
TriggerEvent () | |
Initializes a new instance of the TriggerEvent 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.InstrumentEvent | |
InstrumentEvent () | |
Initializes a new instance of the InstrumentEvent class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
Definition of a trigger event. This is an event that occurs on transformation of an option instrument being triggered by a barrier/touch price level being hit by the underlying asset.
|
inlineprotected |
Initializes a new instance of the TriggerEvent class.
|
inline |
Initializes a new instance of the TriggerEvent class.
level | The underlying price level that triggers the event (required). |
triggerType | The type of the trigger; valid options are Knock-In, Knock-Out, Touch or No-Touch (required). |
triggerDirection | The direction of the trigger; valid options are Up and Down (required). |
triggerDate | The date the trigger happens at. (required). |
maturityDate | The date the trigger takes effect. (required). |
instrumentEventType | The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent (required) (default to "TriggerEvent"). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Returns true if TriggerEvent instances are equal
input | Instance of TriggerEvent to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented from Lusid.Sdk.Model.InstrumentEvent.
|
inline |
Returns the string presentation of the object
|
getset |
The underlying price level that triggers the event
The underlying price level that triggers the event
|
getset |
The date the trigger takes effect.
The date the trigger takes effect.
|
getset |
The date the trigger happens at.
The date the trigger happens at.
|
getset |
The direction of the trigger; valid options are Up and Down
The direction of the trigger; valid options are Up and Down
|
getset |