public abstract class CustomConditionValue
extends java.lang.Object
implements com.strategyquant.core.settings.XMLSettings
Modifier and Type | Field and Description |
---|---|
java.lang.String |
category
The category.
|
java.lang.String |
dataType
The data type.
|
java.lang.String |
direction
The direction.
|
java.lang.String |
name
The name.
|
double |
number
The number.
|
java.lang.String |
plType
The pl type.
|
java.lang.String |
sampleType
The sample type.
|
java.lang.String |
statsName
The stats name.
|
Constructor and Description |
---|
CustomConditionValue() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAllowedDataTypes()
Gets the allowed data types.
|
java.lang.String[] |
getAllowedDirectionTypes()
Gets the allowed direction types.
|
java.lang.String[] |
getAllowedPLTypes()
Gets the allowed pl types.
|
java.lang.String[] |
getAllowedSampleTypes()
Gets the allowed sample types.
|
java.lang.String |
getFormatedStringValue(double value)
Gets the formated string value.
|
double |
getValue(SQResultsGroup strategyResults)
Gets the value.
|
java.lang.String |
toString() |
org.jdom2.Element |
toXml() |
public java.lang.String name
public java.lang.String statsName
public java.lang.String category
public java.lang.String dataType
public java.lang.String direction
public java.lang.String plType
public java.lang.String sampleType
public double number
public double getValue(SQResultsGroup strategyResults)
strategyResults
- the strategy resultspublic java.lang.String[] getAllowedDataTypes()
public java.lang.String[] getAllowedDirectionTypes()
public java.lang.String[] getAllowedPLTypes()
public java.lang.String[] getAllowedSampleTypes()
public java.lang.String getFormatedStringValue(double value)
value
- the valuepublic java.lang.String toString()
toString
in class java.lang.Object
public org.jdom2.Element toXml()
toXml
in interface com.strategyquant.core.settings.XMLSettings