public class SQPortfolioComputer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
Log
The Constant Log.
|
Constructor and Description |
---|
SQPortfolioComputer() |
Modifier and Type | Method and Description |
---|---|
SQResultsGroup |
createPortfolio(java.util.List<SQResultsGroup> strategyResultsList,
java.lang.String portfolioName)
Creates the portfolio.
|
SQResultsGroup |
createSingleStrategyFromPortfolio(SQResultsGroup portfolio)
method takes a portfolio and creates a single strategy from it by combining trades from all results into one result
|
public SQResultsGroup createPortfolio(java.util.List<SQResultsGroup> strategyResultsList, java.lang.String portfolioName) throws java.lang.Exception
strategyResultsList
- the strategy results listportfolioName
- the portfolio namejava.lang.Exception
- the exceptionpublic SQResultsGroup createSingleStrategyFromPortfolio(SQResultsGroup portfolio) throws java.lang.Exception
portfolio
- the portfoliojava.lang.Exception
- the exception