public class DrawdownComputerDefaultImpl extends java.lang.Object implements DrawdownComputerInterface
Constructor and Description |
---|
DrawdownComputerDefaultImpl() |
Modifier and Type | Method and Description |
---|---|
void |
computeDrawdown(double initialCapital,
SQOrderList ordersList)
computes and stores value equity, pct and pips drawdown for each order on ordersList
|
public void computeDrawdown(double initialCapital, SQOrderList ordersList)
computeDrawdown
in interface DrawdownComputerInterface
initialCapital
- the initial capitalordersList
- the orders list