Package org.drip.oms.indifference
Class ReservationPricer
java.lang.Object
org.drip.oms.indifference.ReservationPricer
public class ReservationPricer
extends java.lang.Object
ReservationPricer implements the Expectation of the Utility Function using the Endowment and at
Payoff on the Underlying Asset. The References are:
- Birge, J. R. (2008): Financial Engineering Elsevier Amsterdam Netherlands
- Carmona, R. (2009): Indifference Pricing: Theory and Applications Princeton University Press Princeton NJ
- Vassilis, P. (2005): Slow and Fast Markets Journal of Economics and Business 57 (6) 576-593
- Weiss, D. (2006): After the Trade is Made: Processing Securities Transactions Portfolio Publishing London UK
- Wikipedia (2021): Indifference Price https://en.wikipedia.org/wiki/Indifference_price
- Module = Product Core Module
- Library = Transaction Cost Analytics
- Project = Rd Order Specification, Handling, and Management
- Package = Reservation Price Good-deal Bounds
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ReservationPricer()
-
Method Summary
Modifier and Type Method Description ClaimsPositionPricer
askClaimsPositionPricer()
Retrieve the Ask Claims Position Pricerdouble
askClaimsPositionValueAdjustment(R1Univariate underlierPriceDistribution, double moneyMarketPrice, double noClaimsInventoryUtilityExpectation)
Compute the Ask Claims Inventory-based Position Value Adjustmentdouble
askClaimsPositionValueAdjustment(R1Distribution underlierPriceDistribution, double[] underlierPriceArray, double moneyMarketPrice, double noClaimsInventoryUtilityExpectation)
Compute the Ask Claims Inventory-based Position Value AdjustmentClaimsPositionPricer
bidClaimsPositionPricer()
Retrieve the Bid Claims Position Pricerdouble
bidClaimsPositionValueAdjustment(R1Univariate underlierPriceDistribution, double moneyMarketPrice, double noClaimsInventoryUtilityExpectation)
Compute the Bid Claims Inventory-based Position Value Adjustmentdouble
bidClaimsPositionValueAdjustment(R1Distribution underlierPriceDistribution, double[] underlierPriceArray, double moneyMarketPrice, double noClaimsInventoryUtilityExpectation)
Compute the Bid Claims Inventory-based Position Value AdjustmentInventoryVertex
inventoryVertex()
Retrieve the Inventory Vertexdouble
noClaimsInventoryUtilityExpectation(R1Univariate underlierPriceDistribution, double moneyMarketPrice)
Compute the No-Claims Inventory-based Optimal Utility Valuedouble
noClaimsInventoryUtilityExpectation(R1Distribution underlierPriceDistribution, double[] underlierPriceArray, double moneyMarketPrice)
Compute the No-Claims Inventory-based Optimal Utility ValueInventoryVertex
optimalAskClaimsInventoryVertex()
Retrieve the Optimal Ask Claims Based Inventory VertexInventoryVertex
optimalBidClaimsInventoryVertex()
Retrieve the Optimal Bid Claims Based Inventory VertexInventoryVertex
optimalNoClaimsInventoryVertex()
Retrieve the Optimal No-claims Inventory VertexReservationPricingRun
reservationPricingRun(R1Univariate underlierPriceDistribution, double moneyMarketPrice)
Run a Reservation Pricing FlowReservationPricingRun
reservationPricingRun(R1Distribution underlierPriceDistribution, double[] underlierPriceArray, double moneyMarketPrice)
Run a Reservation Pricing FlowUtilityFunction
utilityFunction()
Retrieve the Utility FunctionMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ReservationPricer
public ReservationPricer()
-
-
Method Details
-
inventoryVertex
Retrieve the Inventory Vertex- Returns:
- The Inventory Vertex
-
utilityFunction
Retrieve the Utility Function- Returns:
- The Utility Function
-
bidClaimsPositionPricer
Retrieve the Bid Claims Position Pricer- Returns:
- The Bid Claims Position Pricer
-
askClaimsPositionPricer
Retrieve the Ask Claims Position Pricer- Returns:
- The Ask Claims Position Pricer
-
optimalNoClaimsInventoryVertex
Retrieve the Optimal No-claims Inventory Vertex- Returns:
- Optimal No-claims Inventory Vertex
-
optimalBidClaimsInventoryVertex
Retrieve the Optimal Bid Claims Based Inventory Vertex- Returns:
- Optimal Bid Claims Based Inventory Vertex
-
optimalAskClaimsInventoryVertex
Retrieve the Optimal Ask Claims Based Inventory Vertex- Returns:
- Optimal Ask Claims Based Inventory Vertex
-
noClaimsInventoryUtilityExpectation
public double noClaimsInventoryUtilityExpectation(R1Univariate underlierPriceDistribution, double moneyMarketPrice) throws java.lang.ExceptionCompute the No-Claims Inventory-based Optimal Utility Value- Parameters:
underlierPriceDistribution
- Discrete Underlier Price DistributionmoneyMarketPrice
- Price of Money Market Entity- Returns:
- The No-Claims Inventory-based Optimal Utility Value
- Throws:
java.lang.Exception
- Thrown if the No-Claims Inventory-based Optimal Utility Value cannot be calculated
-
noClaimsInventoryUtilityExpectation
public double noClaimsInventoryUtilityExpectation(R1Distribution underlierPriceDistribution, double[] underlierPriceArray, double moneyMarketPrice) throws java.lang.ExceptionCompute the No-Claims Inventory-based Optimal Utility Value- Parameters:
underlierPriceDistribution
- Discrete Underlier Price DistributionunderlierPriceArray
- Underlier Price ArraymoneyMarketPrice
- Price of Money Market Entity- Returns:
- The No-Claims Inventory-based Optimal Utility Value
- Throws:
java.lang.Exception
- Thrown if the No-Claims Inventory-based Optimal Utility Value cannot be calculated
-
bidClaimsPositionValueAdjustment
public double bidClaimsPositionValueAdjustment(R1Univariate underlierPriceDistribution, double moneyMarketPrice, double noClaimsInventoryUtilityExpectation) throws java.lang.ExceptionCompute the Bid Claims Inventory-based Position Value Adjustment- Parameters:
underlierPriceDistribution
- Discrete Underlier Price DistributionmoneyMarketPrice
- Price of Money Market EntitynoClaimsInventoryUtilityExpectation
- No-Claims Inventory Utility Expectation- Returns:
- The Bid Claims Inventory-based Position Value Adjustment
- Throws:
java.lang.Exception
- Thrown if the Bid Claims Inventory-based Position Value Adjustment cannot be calculated
-
bidClaimsPositionValueAdjustment
public double bidClaimsPositionValueAdjustment(R1Distribution underlierPriceDistribution, double[] underlierPriceArray, double moneyMarketPrice, double noClaimsInventoryUtilityExpectation) throws java.lang.ExceptionCompute the Bid Claims Inventory-based Position Value Adjustment- Parameters:
underlierPriceDistribution
- Discrete Underlier Price DistributionunderlierPriceArray
- Underlier Price ArraymoneyMarketPrice
- Price of Money Market EntitynoClaimsInventoryUtilityExpectation
- No-Claims Inventory Utility Expectation- Returns:
- The Bid Claims Inventory-based Position Value Adjustment
- Throws:
java.lang.Exception
- Thrown if the Bid Claims Inventory-based Position Value Adjustment cannot be calculated
-
askClaimsPositionValueAdjustment
public double askClaimsPositionValueAdjustment(R1Univariate underlierPriceDistribution, double moneyMarketPrice, double noClaimsInventoryUtilityExpectation) throws java.lang.ExceptionCompute the Ask Claims Inventory-based Position Value Adjustment- Parameters:
underlierPriceDistribution
- Discrete Underlier Price DistributionmoneyMarketPrice
- Price of Money Market EntitynoClaimsInventoryUtilityExpectation
- No-Claims Inventory Utility Expectation- Returns:
- The Ask Claims Inventory-based Position Value Adjustment
- Throws:
java.lang.Exception
- Thrown if the Ask Claims Inventory-based Position Value Adjustment cannot be calculated
-
askClaimsPositionValueAdjustment
public double askClaimsPositionValueAdjustment(R1Distribution underlierPriceDistribution, double[] underlierPriceArray, double moneyMarketPrice, double noClaimsInventoryUtilityExpectation) throws java.lang.ExceptionCompute the Ask Claims Inventory-based Position Value Adjustment- Parameters:
underlierPriceDistribution
- Discrete Underlier Price DistributionunderlierPriceArray
- Underlier Price ArraymoneyMarketPrice
- Price of Money Market EntitynoClaimsInventoryUtilityExpectation
- No-Claims Inventory Utility Expectation- Returns:
- The Ask Claims Inventory-based Position Value Adjustment
- Throws:
java.lang.Exception
- Thrown if the Bid Claims Inventory-based Position Value Adjustment cannot be calculated
-
reservationPricingRun
public ReservationPricingRun reservationPricingRun(R1Univariate underlierPriceDistribution, double moneyMarketPrice)Run a Reservation Pricing Flow- Parameters:
underlierPriceDistribution
- Discrete Underlier Price DistributionmoneyMarketPrice
- Price of Money Market Entity- Returns:
- Reservation Pricing Flow
-
reservationPricingRun
public ReservationPricingRun reservationPricingRun(R1Distribution underlierPriceDistribution, double[] underlierPriceArray, double moneyMarketPrice)Run a Reservation Pricing Flow- Parameters:
underlierPriceDistribution
- Discrete Underlier Price DistributionunderlierPriceArray
- Underlier Price ArraymoneyMarketPrice
- Price of Money Market Entity- Returns:
- Reservation Pricing Flow
-