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... | |
![]() | |
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... | |
![]() | |
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... | |
Properties | |
decimal | Level [get, set] |
The underlying price level that triggers the event More... | |
string | TriggerType [get, set] |
The type of the trigger; valid options are Knock-In, Knock-Out, Touch or No-Touch More... | |
string | TriggerDirection [get, set] |
The direction of the trigger; valid options are Up and Down More... | |
DateTimeOffset | TriggerDate [get, set] |
The date the trigger happens at. More... | |
DateTimeOffset | MaturityDate [get, set] |
The date the trigger takes effect. More... | |
![]() | |
InstrumentEventTypeEnum | InstrumentEventType [get, set] |
The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent More... | |
Additional Inherited Members | |
![]() | |
enum class | InstrumentEventTypeEnum { TransitionEvent = 1 , InformationalEvent = 2 , OpenEvent = 3 , CloseEvent = 4 , StockSplitEvent = 5 , BondDefaultEvent = 6 , CashDividendEvent = 7 , AmortisationEvent = 8 , CashFlowEvent = 9 , ExerciseEvent = 10 , ResetEvent = 11 , TriggerEvent = 12 , RawVendorEvent = 13 , InformationalErrorEvent = 14 , BondCouponEvent = 15 , DividendReinvestmentEvent = 16 } |
The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent 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 (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 |