Execution model that submits orders while the current market price is more favorable that the current volume weighted average price.
More...
|
decimal | MaximumOrderQuantityPercentVolume = 0.01m [get, set] |
| Gets or sets the maximum order quantity as a percentage of the current bar's volume. This defaults to 0.01m = 1%. For example, if the current bar's volume is 100, then the maximum order size would equal 1 share. More...
|
|
Execution model that submits orders while the current market price is more favorable that the current volume weighted average price.
Definition at line 32 of file VolumeWeightedAveragePriceExecutionModel.cs.
◆ Execute()
override void QuantConnect.Algorithm.Framework.Execution.VolumeWeightedAveragePriceExecutionModel.Execute |
( |
QCAlgorithm |
algorithm, |
|
|
IPortfolioTarget[] |
targets |
|
) |
| |
|
virtual |
◆ OnSecuritiesChanged()
override void QuantConnect.Algorithm.Framework.Execution.VolumeWeightedAveragePriceExecutionModel.OnSecuritiesChanged |
( |
QCAlgorithm |
algorithm, |
|
|
SecurityChanges |
changes |
|
) |
| |
|
virtual |
◆ IsSafeToRemove()
virtual bool QuantConnect.Algorithm.Framework.Execution.VolumeWeightedAveragePriceExecutionModel.IsSafeToRemove |
( |
QCAlgorithm |
algorithm, |
|
|
Symbol |
symbol |
|
) |
| |
|
protectedvirtual |
◆ PriceIsFavorable()
virtual bool QuantConnect.Algorithm.Framework.Execution.VolumeWeightedAveragePriceExecutionModel.PriceIsFavorable |
( |
SymbolData |
data, |
|
|
decimal |
unorderedQuantity |
|
) |
| |
|
protectedvirtual |
◆ MaximumOrderQuantityPercentVolume
decimal QuantConnect.Algorithm.Framework.Execution.VolumeWeightedAveragePriceExecutionModel.MaximumOrderQuantityPercentVolume = 0.01m |
|
getset |
Gets or sets the maximum order quantity as a percentage of the current bar's volume. This defaults to 0.01m = 1%. For example, if the current bar's volume is 100, then the maximum order size would equal 1 share.
Definition at line 42 of file VolumeWeightedAveragePriceExecutionModel.cs.
The documentation for this class was generated from the following file: