Package com.strategyquant.tradinglib
Class OverviewTemplate
java.lang.Object
com.strategyquant.tradinglib.debug.Debugger
com.strategyquant.tradinglib.OverviewTemplate
- Direct Known Subclasses:
ReportGenerator
public abstract class OverviewTemplate
extends com.strategyquant.tradinglib.debug.Debugger
The Class OverviewTemplate.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionD2.d2WithPlType(Double value, byte plType)
D2 with pl type.abstract String
drawValues(ResultsGroup strategyResult, String resultKey, StatsTypeCombination combination)
Draw values.Gets the html template name.getName()
Gets the name.Gets the screenshot name.void
Load template.print()
Print template.void
reset()
Reset template.void
setHtmlTemplateName(String htmlTemplateName)
Sets the html template name.void
Sets the name.void
setScreenshotName(String screenshotName)
Sets the screenshot name.toString()
To string.Methods inherited from class com.strategyquant.tradinglib.debug.Debugger
debug, fdebug
-
Field Details
-
Log
public static final org.slf4j.Logger LogThe Constant Log.
-
-
Constructor Details
-
OverviewTemplate
public OverviewTemplate()
-
-
Method Details
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name
- the new name
-
getScreenshotName
Gets the screenshot name.- Returns:
- the screenshot name
-
setScreenshotName
Sets the screenshot name.- Parameters:
screenshotName
- the new screenshot name
-
getHtmlTemplateName
Gets the html template name.- Returns:
- the html template name
-
setHtmlTemplateName
Sets the html template name.- Parameters:
htmlTemplateName
- the new html template name
-
toString
To string. -
drawValues
public abstract String drawValues(ResultsGroup strategyResult, String resultKey, StatsTypeCombination combination) throws ExceptionDraw values.- Parameters:
strategyResult
- the strategy resultresultKey
- the resultKeycombination
- the combination- Returns:
- the string
- Throws:
Exception
- the exception
-
loadTemplate
Load template.- Throws:
Exception
- the exception
-
reset
public void reset()Reset template. -
print
Print template.- Returns:
- the string
-
d2WithPlType
D2 with pl type.- Parameters:
value
- the valueplType
- the pl type- Returns:
- the string
-
d2
D2.- Parameters:
value
- the value- Returns:
- the string
-