public class ParticipationRatePower extends TransactionFunctionPower
Constructor and Description |
---|
ParticipationRatePower(double dblConstant,
double dblExponent)
ParticipationRatePower Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
constant()
Retrieve the Constant Market Impact Parameter
|
double |
derivative(double dblTradeRate,
int iOrder)
Calculate the derivative as a double
|
double |
evaluate(double dblTradeRate)
Evaluate for the given variate
|
double |
exponent()
Retrieve the Power Law Exponent Market Impact Parameter
|
double |
modulate(double dblTradeInterval)
Modulate/Scale the Impact Output
|
double |
regularize(double dblTradeInterval)
Regularize the Input Function using the specified Trade Inputs
|
crossHoldingsDerivative, evaluate, leftHoldingsDerivative, rightHoldingsDerivative
differential, differential, integrate, maxima, maxima, minima, minima
public ParticipationRatePower(double dblConstant, double dblExponent) throws java.lang.Exception
dblConstant
- The Market Impact Constant ParameterdblExponent
- The Market Impact Power Law Exponentjava.lang.Exception
- Propagated up from R1ToR1public double constant()
TransactionFunctionPower
constant
in class TransactionFunctionPower
public double exponent()
TransactionFunctionPower
exponent
in class TransactionFunctionPower
public double regularize(double dblTradeInterval) throws java.lang.Exception
TransactionFunction
regularize
in class TransactionFunction
dblTradeInterval
- The Trade Intervaljava.lang.Exception
- Thrown if the Inputs are Invalidpublic double modulate(double dblTradeInterval) throws java.lang.Exception
TransactionFunction
modulate
in class TransactionFunction
dblTradeInterval
- The Trade Intervaljava.lang.Exception
- Thrown if the Inputs are Invalidpublic double evaluate(double dblTradeRate) throws java.lang.Exception
R1ToR1
public double derivative(double dblTradeRate, int iOrder) throws java.lang.Exception
R1ToR1
derivative
in class R1ToR1
dblTradeRate
- Variate at which the derivative is to be calculatediOrder
- Order of the derivative to be computedjava.lang.Exception
- Thrown if Inputs are Invalid