Runs LEAN to calculate the portfolio at a given time from Order objects. Generates and returns PointInTimePortfolio objects that represents the holdings and other miscellaneous metrics at a point in time by reprocessing the orders as they were filled.
More...
|
void | Dispose () |
| Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
|
|
|
PortfolioLooperAlgorithm | Algorithm [get, protected set] |
| QCAlgorithm derived class that sets up internal data feeds for use with crypto and forex data, as well as managing the SecurityPortfolioManager More...
|
|
Runs LEAN to calculate the portfolio at a given time from Order objects. Generates and returns PointInTimePortfolio objects that represents the holdings and other miscellaneous metrics at a point in time by reprocessing the orders as they were filled.
Definition at line 43 of file PortfolioLooper.cs.
◆ Dispose()
void QuantConnect.Report.PortfolioLooper.Dispose |
( |
| ) |
|
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Definition at line 158 of file PortfolioLooper.cs.
◆ GetHistory()
static IEnumerable<Slice> QuantConnect.Report.PortfolioLooper.GetHistory |
( |
List< Symbol > |
symbols, |
|
|
DateTime |
start, |
|
|
DateTime |
end, |
|
|
Resolution |
resolution |
|
) |
| |
|
static |
Gets the history for the given symbols from the start to the end
- Parameters
-
symbols | Symbols to request history for |
start | Start date of history request |
end | End date of history request |
resolution | Resolution of history request |
- Returns
- Enumerable of slices
Definition at line 218 of file PortfolioLooper.cs.
◆ FromOrders()
Gets the point in time portfolio over multiple deployments
- Parameters
-
equityCurve | Equity curve series |
orders | Orders |
algorithmConfiguration | Optional parameter to override default algorithm configuration |
liveSeries | Equity curve series originates from LiveResult |
- Returns
- Enumerable of PointInTimePortfolio
Definition at line 244 of file PortfolioLooper.cs.
◆ Algorithm
QCAlgorithm derived class that sets up internal data feeds for use with crypto and forex data, as well as managing the SecurityPortfolioManager
Definition at line 60 of file PortfolioLooper.cs.
The documentation for this class was generated from the following file: