public class OriginalMM extends MoneyManagementType
PREFIX
Constructor and Description |
---|
OriginalMM()
Instantiates a new original mm.
|
Modifier and Type | Method and Description |
---|---|
double |
computeTradeSize(SQOrder order,
double tickSize,
double pointValue)
Compute trade size.
|
void |
init(SQOrderList originalOrderList,
com.strategyquant.futurelib.backtester.SymbolsTable symbolsTable)
Inits the.
|
applySettings, initOrdersHistory, loadSettings, setEquity
getClassName, toString
applySettings, getFormatedName, getName, getNote, getReplacedFormatedName, isUsed, loadSettings, setEditable, setFormatedName, setName, setNote, setUsed
public void init(SQOrderList originalOrderList, com.strategyquant.futurelib.backtester.SymbolsTable symbolsTable)
MoneyManagementType
init
in class MoneyManagementType
originalOrderList
- the original order listsymbolsTable
- the symbols tablepublic double computeTradeSize(SQOrder order, double tickSize, double pointValue)
MoneyManagementType
computeTradeSize
in class MoneyManagementType
order
- the ordertickSize
- the tick sizepointValue
- the point value