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, rightHoldingsDerivativedifferential, differential, integrate, maxima, maxima, minima, minimapublic 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()
TransactionFunctionPowerconstant in class TransactionFunctionPowerpublic double exponent()
TransactionFunctionPowerexponent in class TransactionFunctionPowerpublic double regularize(double dblTradeInterval)
throws java.lang.Exception
TransactionFunctionregularize in class TransactionFunctiondblTradeInterval - The Trade Intervaljava.lang.Exception - Thrown if the Inputs are Invalidpublic double modulate(double dblTradeInterval)
throws java.lang.Exception
TransactionFunctionmodulate in class TransactionFunctiondblTradeInterval - The Trade Intervaljava.lang.Exception - Thrown if the Inputs are Invalidpublic double evaluate(double dblTradeRate)
throws java.lang.Exception
R1ToR1public double derivative(double dblTradeRate,
int iOrder)
throws java.lang.Exception
R1ToR1derivative in class R1ToR1dblTradeRate - Variate at which the derivative is to be calculatediOrder - Order of the derivative to be computedjava.lang.Exception - Thrown if Inputs are Invalid