Lean  $LEAN_TAG$
QuantConnect.Brokerages.OptionNotificationEventArgs Class Reference

Event arguments class for the IBrokerage.OptionNotification event More...

Inheritance diagram for QuantConnect.Brokerages.OptionNotificationEventArgs:
[legend]

Public Member Functions

 OptionNotificationEventArgs (Symbol symbol, decimal position)
 Initializes a new instance of the OptionNotificationEventArgs class More...
 
 OptionNotificationEventArgs (Symbol symbol, decimal position, string tag)
 Initializes a new instance of the OptionNotificationEventArgs class More...
 
override string ToString ()
 Returns the string representation of this event More...
 

Properties

Symbol Symbol [get]
 Gets the option symbol which has received a notification More...
 
decimal Position [get]
 Gets the new option position (positive for long, zero for flat, negative for short) More...
 
string Tag [get]
 The tag that will be used in the order More...
 

Detailed Description

Event arguments class for the IBrokerage.OptionNotification event

Definition at line 24 of file OptionNotificationEventArgs.cs.

Constructor & Destructor Documentation

◆ OptionNotificationEventArgs() [1/2]

QuantConnect.Brokerages.OptionNotificationEventArgs.OptionNotificationEventArgs ( Symbol  symbol,
decimal  position 
)

Initializes a new instance of the OptionNotificationEventArgs class

Parameters
symbolThe symbol
positionThe new option position

Definition at line 46 of file OptionNotificationEventArgs.cs.

◆ OptionNotificationEventArgs() [2/2]

QuantConnect.Brokerages.OptionNotificationEventArgs.OptionNotificationEventArgs ( Symbol  symbol,
decimal  position,
string  tag 
)

Initializes a new instance of the OptionNotificationEventArgs class

Parameters
symbolThe symbol
positionThe new option position
tagThe tag to be used for the order

Definition at line 58 of file OptionNotificationEventArgs.cs.

Member Function Documentation

◆ ToString()

override string QuantConnect.Brokerages.OptionNotificationEventArgs.ToString ( )

Returns the string representation of this event

Definition at line 67 of file OptionNotificationEventArgs.cs.

Property Documentation

◆ Symbol

Symbol QuantConnect.Brokerages.OptionNotificationEventArgs.Symbol
get

Gets the option symbol which has received a notification

Definition at line 29 of file OptionNotificationEventArgs.cs.

◆ Position

decimal QuantConnect.Brokerages.OptionNotificationEventArgs.Position
get

Gets the new option position (positive for long, zero for flat, negative for short)

Definition at line 34 of file OptionNotificationEventArgs.cs.

◆ Tag

string QuantConnect.Brokerages.OptionNotificationEventArgs.Tag
get

The tag that will be used in the order

Definition at line 39 of file OptionNotificationEventArgs.cs.


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