|
Lean
$LEAN_TAG$
|
Snapshot of an algorithms portfolio state More...
Static Public Member Functions | |
| static PortfolioState | Create (SecurityPortfolioManager portfolioManager, DateTime utcNow, decimal currentPortfolioValue) |
| Helper method to create the portfolio state snapshot More... | |
Properties | |
| DateTime | Time [get, set] |
| Utc time this portfolio snapshot was taken More... | |
| decimal | TotalPortfolioValue [get, set] |
| The current total portfolio value More... | |
| decimal | TotalMarginUsed [get, set] |
| The margin used More... | |
| List< PositionGroupState > | PositionGroups [get, set] |
| The different positions groups More... | |
| Dictionary< string, Cash > | CashBook [get, set] |
| Gets the cash book that keeps track of all currency holdings (only settled cash) More... | |
| Dictionary< string, Cash > | UnsettledCashBook [get, set] |
| Gets the cash book that keeps track of all currency holdings (only unsettled cash) More... | |
Snapshot of an algorithms portfolio state
Definition at line 29 of file PortfolioState.cs.
|
static |
Helper method to create the portfolio state snapshot
Definition at line 67 of file PortfolioState.cs.
|
getset |
Utc time this portfolio snapshot was taken
Definition at line 34 of file PortfolioState.cs.
|
getset |
The current total portfolio value
Definition at line 39 of file PortfolioState.cs.
|
getset |
The margin used
Definition at line 44 of file PortfolioState.cs.
|
getset |
The different positions groups
Definition at line 50 of file PortfolioState.cs.
|
getset |
Gets the cash book that keeps track of all currency holdings (only settled cash)
Definition at line 56 of file PortfolioState.cs.
|
getset |
Gets the cash book that keeps track of all currency holdings (only unsettled cash)
Definition at line 62 of file PortfolioState.cs.