|
Lean
$LEAN_TAG$
|
Contains the information returned by IBuyingPowerModel.GetMaximumOrderQuantityForTargetBuyingPower and IBuyingPowerModel.GetMaximumOrderQuantityForDeltaBuyingPower More...
Public Member Functions | |
| GetMaximumOrderQuantityResult (decimal quantity, string reason=null) | |
| Initializes a new instance of the GetMaximumOrderQuantityResult class More... | |
| GetMaximumOrderQuantityResult (decimal quantity, string reason, bool isError=true) | |
| Initializes a new instance of the GetMaximumOrderQuantityResult class More... | |
Properties | |
| decimal | Quantity [get] |
| Returns the maximum quantity for the order More... | |
| string | Reason [get] |
| Returns the reason for which the maximum order quantity is zero More... | |
| bool | IsError [get] |
| Returns true if the zero order quantity is an error condition and will be shown to the user. More... | |
Contains the information returned by IBuyingPowerModel.GetMaximumOrderQuantityForTargetBuyingPower and IBuyingPowerModel.GetMaximumOrderQuantityForDeltaBuyingPower
Definition at line 22 of file GetMaximumOrderQuantityResult.cs.
| QuantConnect.Securities.GetMaximumOrderQuantityResult.GetMaximumOrderQuantityResult | ( | decimal | quantity, |
| string | reason = null |
||
| ) |
Initializes a new instance of the GetMaximumOrderQuantityResult class
| quantity | Returns the maximum quantity for the order |
| reason | The reason for which the maximum order quantity is zero |
Definition at line 44 of file GetMaximumOrderQuantityResult.cs.
| QuantConnect.Securities.GetMaximumOrderQuantityResult.GetMaximumOrderQuantityResult | ( | decimal | quantity, |
| string | reason, | ||
| bool | isError = true |
||
| ) |
Initializes a new instance of the GetMaximumOrderQuantityResult class
| quantity | Returns the maximum quantity for the order |
| reason | The reason for which the maximum order quantity is zero |
| isError | True if the zero order quantity is an error condition |
Definition at line 57 of file GetMaximumOrderQuantityResult.cs.
|
get |
Returns the maximum quantity for the order
Definition at line 27 of file GetMaximumOrderQuantityResult.cs.
|
get |
Returns the reason for which the maximum order quantity is zero
Definition at line 32 of file GetMaximumOrderQuantityResult.cs.
|
get |
Returns true if the zero order quantity is an error condition and will be shown to the user.
Definition at line 37 of file GetMaximumOrderQuantityResult.cs.