|
Lean
$LEAN_TAG$
|
Defines a group of positions allowing for more efficient use of portfolio margin More...
Public Member Functions | |
| bool | TryGetPosition (Symbol symbol, out IPosition position) |
| Attempts to retrieve the position with the specified symbol More... | |
Properties | |
| PositionGroupKey | Key [get] |
| Gets the key identifying this group More... | |
| decimal | Quantity [get] |
| Gets the whole number of units in this position group More... | |
| IEnumerable< IPosition > | Positions [get] |
| Gets the positions in this group More... | |
| IPositionGroupBuyingPowerModel | BuyingPowerModel [get] |
| Gets the buying power model defining how margin works in this group More... | |
Defines a group of positions allowing for more efficient use of portfolio margin
Definition at line 23 of file IPositionGroup.cs.
| bool QuantConnect.Securities.Positions.IPositionGroup.TryGetPosition | ( | Symbol | symbol, |
| out IPosition | position | ||
| ) |
Attempts to retrieve the position with the specified symbol
| symbol | The symbol |
| position | The position, if found |
Implemented in QuantConnect.Securities.Positions.PositionGroup.
|
get |
Gets the key identifying this group
Definition at line 28 of file IPositionGroup.cs.
|
get |
Gets the whole number of units in this position group
Definition at line 33 of file IPositionGroup.cs.
|
get |
Gets the positions in this group
Definition at line 38 of file IPositionGroup.cs.
|
get |
Gets the buying power model defining how margin works in this group
Definition at line 43 of file IPositionGroup.cs.