Lean
$LEAN_TAG$
|
Contains the information returned by IBuyingPowerModel.HasSufficientBuyingPowerForOrder More...
Public Member Functions | |
HasSufficientBuyingPowerForOrderResult (bool isSufficient, string reason=null) | |
Initializes a new instance of the HasSufficientBuyingPowerForOrderResult class More... | |
Properties | |
bool | IsSufficient [get] |
Gets true if there is sufficient buying power to execute an order More... | |
string | Reason [get] |
Gets the reason for insufficient buying power to execute an order More... | |
Contains the information returned by IBuyingPowerModel.HasSufficientBuyingPowerForOrder
Definition at line 21 of file HasSufficientBuyingPowerForOrderResult.cs.
QuantConnect.Securities.HasSufficientBuyingPowerForOrderResult.HasSufficientBuyingPowerForOrderResult | ( | bool | isSufficient, |
string | reason = null |
||
) |
Initializes a new instance of the HasSufficientBuyingPowerForOrderResult class
isSufficient | True if the order can be executed |
reason | The reason for insufficient buying power |
Definition at line 38 of file HasSufficientBuyingPowerForOrderResult.cs.
|
get |
Gets true if there is sufficient buying power to execute an order
Definition at line 26 of file HasSufficientBuyingPowerForOrderResult.cs.
|
get |
Gets the reason for insufficient buying power to execute an order
Definition at line 31 of file HasSufficientBuyingPowerForOrderResult.cs.