Lean  $LEAN_TAG$
QuantConnect.Securities.HasSufficientBuyingPowerForOrderResult Class Reference

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...
 

Detailed Description

Contains the information returned by IBuyingPowerModel.HasSufficientBuyingPowerForOrder

Definition at line 21 of file HasSufficientBuyingPowerForOrderResult.cs.

Constructor & Destructor Documentation

◆ HasSufficientBuyingPowerForOrderResult()

QuantConnect.Securities.HasSufficientBuyingPowerForOrderResult.HasSufficientBuyingPowerForOrderResult ( bool  isSufficient,
string  reason = null 
)

Initializes a new instance of the HasSufficientBuyingPowerForOrderResult class

Parameters
isSufficientTrue if the order can be executed
reasonThe reason for insufficient buying power

Definition at line 38 of file HasSufficientBuyingPowerForOrderResult.cs.

Property Documentation

◆ IsSufficient

bool QuantConnect.Securities.HasSufficientBuyingPowerForOrderResult.IsSufficient
get

Gets true if there is sufficient buying power to execute an order

Definition at line 26 of file HasSufficientBuyingPowerForOrderResult.cs.

◆ Reason

string QuantConnect.Securities.HasSufficientBuyingPowerForOrderResult.Reason
get

Gets the reason for insufficient buying power to execute an order

Definition at line 31 of file HasSufficientBuyingPowerForOrderResult.cs.


The documentation for this class was generated from the following file: