Lean  $LEAN_TAG$
QuantConnect.Securities.ReservedBuyingPowerForPositionParameters Class Reference

Defines the parameters for IBuyingPowerModel.GetReservedBuyingPowerForPosition More...

Public Member Functions

 ReservedBuyingPowerForPositionParameters (Security security)
 Initializes a new instance of the ReservedBuyingPowerForPositionParameters class More...
 
ReservedBuyingPowerForPosition ResultInAccountCurrency (decimal reservedBuyingPower)
 Creates the result using the specified reserved buying power in units of the account currency More...
 

Properties

Security Security [get]
 Gets the security More...
 

Detailed Description

Constructor & Destructor Documentation

◆ ReservedBuyingPowerForPositionParameters()

QuantConnect.Securities.ReservedBuyingPowerForPositionParameters.ReservedBuyingPowerForPositionParameters ( Security  security)

Initializes a new instance of the ReservedBuyingPowerForPositionParameters class

Parameters
securityThe security

Definition at line 32 of file ReservedBuyingPowerForPositionParameters.cs.

Member Function Documentation

◆ ResultInAccountCurrency()

ReservedBuyingPowerForPosition QuantConnect.Securities.ReservedBuyingPowerForPositionParameters.ResultInAccountCurrency ( decimal  reservedBuyingPower)

Creates the result using the specified reserved buying power in units of the account currency

Parameters
reservedBuyingPowerThe reserved buying power in units of the account currency
Returns
The reserved buying power

Definition at line 42 of file ReservedBuyingPowerForPositionParameters.cs.

Here is the caller graph for this function:

Property Documentation

◆ Security

Security QuantConnect.Securities.ReservedBuyingPowerForPositionParameters.Security
get

Gets the security

Definition at line 26 of file ReservedBuyingPowerForPositionParameters.cs.


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