Lean
$LEAN_TAG$
|
Provides an implementation of ISecurityPortfolioModel for options that supports default fills as well as option exercising. More...
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... | |
Provides an implementation of ISecurityPortfolioModel for options that supports default fills as well as option exercising.
Definition at line 26 of file OptionPortfolioModel.cs.
|
virtual |
Performs application of an OrderEvent to the portfolio
portfolio | The algorithm's portfolio |
security | Option security |
fill | The order event fill object to be applied |
Reimplemented from QuantConnect.Securities.SecurityPortfolioModel.
Definition at line 34 of file OptionPortfolioModel.cs.
void QuantConnect.Securities.Option.OptionPortfolioModel.ProcessExerciseFill | ( | SecurityPortfolioManager | portfolio, |
Security | security, | ||
Order | order, | ||
OrderEvent | fill | ||
) |
Processes exercise/assignment event to the portfolio
portfolio | The algorithm's portfolio |
security | Option security |
order | The order object to be applied |
fill | The order event fill object to be applied |
Definition at line 61 of file OptionPortfolioModel.cs.