Package com.strategyquant.tradinglib
Class MonteCarloRetest
java.lang.Object
com.strategyquant.tradinglib.debug.Debugger
com.strategyquant.tradinglib.propertygrid.ParametersTableItemProperties
com.strategyquant.tradinglib.propertygrid.ParametersTableItem
com.strategyquant.tradinglib.MonteCarloRetest
- All Implemented Interfaces:
com.strategyquant.lib.settings.IXMLAble,com.strategyquant.lib.utils.ISQCloneable<MonteCarloRetest>,Serializable
public abstract class MonteCarloRetest
extends com.strategyquant.tradinglib.propertygrid.ParametersTableItem
implements com.strategyquant.lib.utils.ISQCloneable<MonteCarloRetest>
The Class MonteCarloRetest.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItem
_text, editable, nameFields inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItemProperties
df, Log, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_INT, TYPE_INT_LIST, TYPE_STR_LIST, TYPE_STRING, TYPE_TIME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract MonteCarloRetestgetClone()Gets the clone.intgetType()Gets the type.voidinitSettings(SettingsMap clonedSettings)Inits the settings.voidmodifyData(IRandomGenerator rng, TickEvent tickEvent, double globalATR)Modify data.voidmodifyOHLCData(IRandomGenerator rng, com.strategyquant.datalib.data.io.VersatileData data, double globalATR)Modify OHLC data.voidmodifySettings(IRandomGenerator rng, SettingsMap settings)Modify settings.Methods inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItem
equals, getDescription, getEngine, getFormatedName, getName, getNote, getXML, isEditable, isUsed, newInstance, printFormatedName, setEditable, setFromParameterEl, setFromXML, setUsedMethods inherited from class com.strategyquant.tradinglib.propertygrid.ParametersTableItemProperties
getParametersList, getParameterValue, getParams, getPGParameterValue, setDefaultValues, setParameterValue, setParamsMethods inherited from class com.strategyquant.tradinglib.debug.Debugger
debug, fdebug
-
Constructor Details
-
MonteCarloRetest
public MonteCarloRetest(int type)Instantiates a new monte carlo retest.- Parameters:
type- the type
-
-
Method Details
-
getType
public int getType()Gets the type.- Returns:
- the type
-
modifySettings
Modify settings.- Parameters:
rng- the rngsettings- the settings- Throws:
Exception- the exception
-
modifyData
Modify data.- Parameters:
rng- the rngtickEvent- the tick eventglobalATR- the global ATR
-
getClone
Gets the clone.- Specified by:
getClonein interfacecom.strategyquant.lib.utils.ISQCloneable<MonteCarloRetest>- Overrides:
getClonein classcom.strategyquant.tradinglib.propertygrid.ParametersTableItem- Returns:
- the clone
- Throws:
Exception- the exception
-
initSettings
Inits the settings.- Parameters:
clonedSettings- the cloned settings
-
modifyOHLCData
public void modifyOHLCData(IRandomGenerator rng, com.strategyquant.datalib.data.io.VersatileData data, double globalATR)Modify OHLC data.- Parameters:
rng- the rngdata- OHLC dataglobalATR- the global ATR
-