Lean  $LEAN_TAG$
QuantConnect.Securities.Option.OptionPortfolioModel Class Reference

Provides an implementation of ISecurityPortfolioModel for options that supports default fills as well as option exercising. More...

Inheritance diagram for QuantConnect.Securities.Option.OptionPortfolioModel:
[legend]

Public Member Functions

override void ProcessFill (SecurityPortfolioManager portfolio, Security security, OrderEvent fill)
 Performs application of an OrderEvent to the portfolio More...
 
void ProcessExerciseFill (SecurityPortfolioManager portfolio, Security security, Order order, OrderEvent fill)
 Processes exercise/assignment event to the portfolio More...
 

Detailed Description

Provides an implementation of ISecurityPortfolioModel for options that supports default fills as well as option exercising.

Definition at line 26 of file OptionPortfolioModel.cs.

Member Function Documentation

◆ ProcessFill()

override void QuantConnect.Securities.Option.OptionPortfolioModel.ProcessFill ( SecurityPortfolioManager  portfolio,
Security  security,
OrderEvent  fill 
)
virtual

Performs application of an OrderEvent to the portfolio

Parameters
portfolioThe algorithm's portfolio
securityOption security
fillThe order event fill object to be applied

Reimplemented from QuantConnect.Securities.SecurityPortfolioModel.

Definition at line 34 of file OptionPortfolioModel.cs.

Here is the call graph for this function:

◆ ProcessExerciseFill()

void QuantConnect.Securities.Option.OptionPortfolioModel.ProcessExerciseFill ( SecurityPortfolioManager  portfolio,
Security  security,
Order  order,
OrderEvent  fill 
)

Processes exercise/assignment event to the portfolio

Parameters
portfolioThe algorithm's portfolio
securityOption security
orderThe order object to be applied
fillThe order event fill object to be applied

Definition at line 61 of file OptionPortfolioModel.cs.

Here is the caller graph for this function:

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