|
Lean
$LEAN_TAG$
|
Event arguments for the SecurityHolding.QuantityChanged event. The event data contains the previous quantity/price. The current quantity/price can be accessed via the SecurityEventArgs.Security property More...
Public Member Functions | |
| SecurityHoldingQuantityChangedEventArgs (Security security, decimal previousAveragePrice, decimal previousQuantity) | |
| Initializes a new instance of the SecurityHoldingQuantityChangedEventArgs class More... | |
Properties | |
| decimal | PreviousQuantity [get] |
| Gets the holdings quantity before this change More... | |
| decimal | PreviousAveragePrice [get] |
| Gets the average holdings price before this change More... | |
Properties inherited from QuantConnect.Securities.SecurityEventArgs | |
| Security | Security [get] |
| Gets the security related to this event More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QuantConnect.Securities.SecurityEventArgs | |
| SecurityEventArgs (Security security) | |
| Initializes a new instance of the SecurityEventArgs class More... | |
Event arguments for the SecurityHolding.QuantityChanged event. The event data contains the previous quantity/price. The current quantity/price can be accessed via the SecurityEventArgs.Security property
Definition at line 23 of file SecurityHoldingQuantityChangedEventArgs.cs.
| QuantConnect.Securities.SecurityHoldingQuantityChangedEventArgs.SecurityHoldingQuantityChangedEventArgs | ( | Security | security, |
| decimal | previousAveragePrice, | ||
| decimal | previousQuantity | ||
| ) |
Initializes a new instance of the SecurityHoldingQuantityChangedEventArgs class
| security | The security |
| previousAveragePrice | The security's previous average holdings price |
| previousQuantity | The security's previous holdings quantity |
Definition at line 41 of file SecurityHoldingQuantityChangedEventArgs.cs.
|
get |
Gets the holdings quantity before this change
Definition at line 28 of file SecurityHoldingQuantityChangedEventArgs.cs.
|
get |
Gets the average holdings price before this change
Definition at line 33 of file SecurityHoldingQuantityChangedEventArgs.cs.