Package com.strategyquant.tradinglib
Class ReportGenerator
java.lang.Object
com.strategyquant.tradinglib.debug.Debugger
com.strategyquant.tradinglib.OverviewTemplate
com.strategyquant.tradinglib.ReportGenerator
-
Field Summary
Fields inherited from class com.strategyquant.tradinglib.OverviewTemplate
Log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomputeMonthlyPerformance(OrdersList orderList, byte plType)
drawValues(ResultsGroup strategyResult, String resultKey, StatsTypeCombination combination)
Draw values.void
replaceValues(ResultsGroup strategyResult, String resultKey, StatsTypeCombination combination)
Methods inherited from class com.strategyquant.tradinglib.OverviewTemplate
d2, d2WithPlType, getHtmlTemplateName, getName, getScreenshotName, loadTemplate, print, reset, setHtmlTemplateName, setName, setScreenshotName, toString
Methods inherited from class com.strategyquant.tradinglib.debug.Debugger
debug, fdebug
-
Constructor Details
-
ReportGenerator
-
-
Method Details
-
drawValues
public String drawValues(ResultsGroup strategyResult, String resultKey, StatsTypeCombination combination) throws ExceptionDescription copied from class:OverviewTemplate
Draw values.- Specified by:
drawValues
in classOverviewTemplate
- Parameters:
strategyResult
- the strategy resultresultKey
- the resultKeycombination
- the combination- Returns:
- the string
- Throws:
Exception
- the exception
-
replaceValues
public void replaceValues(ResultsGroup strategyResult, String resultKey, StatsTypeCombination combination) throws Exception- Throws:
Exception
-
computeMonthlyPerformance
public static TreeMap<Integer,Double[]> computeMonthlyPerformance(OrdersList orderList, byte plType)
-