public class PermanentImpactNoArbitrage extends ParticipationRateLinear
Constructor and Description |
---|
PermanentImpactNoArbitrage(AssetFlowSettings afp)
PermanentImpactNoArbitrage Constructor
|
Modifier and Type | Method and Description |
---|---|
AssetFlowSettings |
assetFlowParameters()
Retrieve the Asset Flow Parameters
|
double |
derivative(double dblNormalizedX,
int iOrder)
Calculate the derivative as a double
|
double |
evaluate(double dblNormalizedX)
Evaluate for the given variate
|
double |
liquidityFactor()
Retrieve the Liquidity Factor
|
double |
modulate(double dblTradeInterval)
Modulate/Scale the Impact Output
|
double |
offset()
Retrieve the Offset Market Impact Parameter
|
double |
regularize(double dblTradeInterval)
Regularize the Input Function using the specified Trade Inputs
|
double |
slope()
Retrieve the Linear Market Impact Slope Parameter
|
NoImpact, SlopeOnly
crossHoldingsDerivative, evaluate, leftHoldingsDerivative, rightHoldingsDerivative
differential, differential, integrate, maxima, maxima, minima, minima
public PermanentImpactNoArbitrage(AssetFlowSettings afp) throws java.lang.Exception
afp
- The Asset Flow Parametersjava.lang.Exception
- Thrown if the Inputs are Invalidpublic double liquidityFactor()
public AssetFlowSettings assetFlowParameters()
public double regularize(double dblTradeInterval) throws java.lang.Exception
TransactionFunction
regularize
in class ParticipationRateLinear
dblTradeInterval
- The Trade Intervaljava.lang.Exception
- Thrown if the Inputs are Invalidpublic double modulate(double dblTradeInterval) throws java.lang.Exception
TransactionFunction
modulate
in class ParticipationRateLinear
dblTradeInterval
- The Trade Intervaljava.lang.Exception
- Thrown if the Inputs are Invalidpublic double slope()
ParticipationRateLinear
slope
in class ParticipationRateLinear
public double offset()
ParticipationRateLinear
offset
in class ParticipationRateLinear
public double evaluate(double dblNormalizedX) throws java.lang.Exception
R1ToR1
evaluate
in class ParticipationRateLinear
dblNormalizedX
- Variatejava.lang.Exception
- Thrown if evaluation cannot be donepublic double derivative(double dblNormalizedX, int iOrder) throws java.lang.Exception
R1ToR1
derivative
in class ParticipationRateLinear
dblNormalizedX
- Variate at which the derivative is to be calculatediOrder
- Order of the derivative to be computedjava.lang.Exception
- Thrown if Inputs are Invalid