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, SlopeOnlycrossHoldingsDerivative, evaluate, leftHoldingsDerivative, rightHoldingsDerivativedifferential, differential, integrate, maxima, maxima, minima, minimapublic 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
TransactionFunctionregularize in class ParticipationRateLineardblTradeInterval - The Trade Intervaljava.lang.Exception - Thrown if the Inputs are Invalidpublic double modulate(double dblTradeInterval)
throws java.lang.Exception
TransactionFunctionmodulate in class ParticipationRateLineardblTradeInterval - The Trade Intervaljava.lang.Exception - Thrown if the Inputs are Invalidpublic double slope()
ParticipationRateLinearslope in class ParticipationRateLinearpublic double offset()
ParticipationRateLinearoffset in class ParticipationRateLinearpublic double evaluate(double dblNormalizedX)
throws java.lang.Exception
R1ToR1evaluate in class ParticipationRateLineardblNormalizedX - Variatejava.lang.Exception - Thrown if evaluation cannot be donepublic double derivative(double dblNormalizedX,
int iOrder)
throws java.lang.Exception
R1ToR1derivative in class ParticipationRateLineardblNormalizedX - Variate at which the derivative is to be calculatediOrder - Order of the derivative to be computedjava.lang.Exception - Thrown if Inputs are Invalid