The Relative Entropy of Expectation and Price Paul McCloud Abstract As operators acting on the undetermined final settlement of a derivative security, expectation is linear but price is non-linear. When the market of underlying securities is incomplete, non-linearity emerges from the bid-offer around the mid price that accounts for the residual risks of the optimal funding and hedging strategy. At the extremes, non-linearity also arises from the embedded options on capital that are exercised upon default. In this essay, these convexities are quantified in an entropic risk metric that evaluates the strategic risks, which is realised as a cost with the introduction of bilateral margin. Price is then adjusted for market incompleteness and the risk of default caused by the exhaustion of capital. In the complete market theory, price is derived from a martingale condition. In the incomplete market theory presented here, price is instead derived from a log-martingale condition: p = − 1 α ​ log ⁡ 𝔼 ​ exp ​ [ − α ​ P ] p=-\frac{1}{\alpha}\log\mathbb{E}\exp[-\alpha P] for the price p p and payoff P P of a funded and hedged derivative security, where the price measure 𝔼 \mathbb{E} has minimum entropy relative to economic expectations, and the parameter α \alpha matches the risk aversion of the investor. This price principle is easily applied to standard models for market evolution, with applications considered here in model risk analysis, data-driven hedging and quantum information. I Introduction A derivative transaction exchanges the execution price p at initial time t for a commitment to return the contractual price p+dp at final time t+dt . In determining its economic viability, the counterparties assess whether the trade enhances or degrades the overall performance of their investment portfolios, balancing expected return against net risk. Asymmetry between the expectations and investment objectives of participants then drives market evolution, following the dynamic that trades execute when parties agree on price but disagree on value. Capital is deployed to finance the transaction, entailing economic consequences for the investor beyond the contractual terms of the derivative. In addition to the expected final settlements, valuation depends on the funding of initial and variation margin and the level of default protection they confer. The impact of margin is typically developed as a valuation adjustment to a price model derived from the hedging of contractual settlements. In this essay, an entropic margin model is instead placed at the centre of the pricing methodology, providing the risk counterbalance to expected return in the investment strategy. There are numerous benefits to this approach. Investment strategy Traditional strategies balance expected return against risk. Here, the risk metric is encoded in the entropic margin model as an additional settlement. Maximising the return on capital net of all settlements naturally embeds risk management. Incomplete markets Market equilibrium identifies a unique price model with minimum entropy relative to economic expectations, calibrated to available funding and hedging. In the process, this resolves the ambiguity of pricing in incomplete markets. Information model Entropic risk optimisation is applicable wherever the concept of entropy is defined. This includes theoretical or data-driven models with classical or quantum information. Entropic pricing unlocks the novel algorithmic potential of these frameworks. Market and model risk Uniquely determining price from expectation, market and model risks are distinguished respectively as sensitivities to observed prices and subjective economic assumptions. This enables a hierarchical approach that recognises market tiering. Decentralised finance The level of margin is controlled by a single parameter, and the link with funding settlements is transparent and programmatic. Implemented in the scripting of smart contracts for derivatives, this supports the transition to decentralisation. Advocates of deep hedging replace risk neutralisation with risk optimisation as the guiding principle for pricing, as data-driven models see the complex correlations among economic variables as opportunity rather than hindrance. Risk optimisation is similarly used here to derive the price measure from the expectation measure, though the objectives differ. Model risk is quantified as the residual risk after funding and hedging, which requires for its definition a precise understanding of the relationship between expectation and price. Taking this idea to its logical conclusion, the convex risk metric is implemented as margin held against model risk. Optimisation of the strategic return net of funding and hedging then adjusts price to account for the risk management benefits of margin. Figure 1: The contractual settlements of the trade. Figure 2: The contractual and funding settlements of the trade. Figure 3: The contractual, funding and default settlements of the trade. Suppose that two counterparties deploy initial capital c_{1}>0 and c_{2}>0 to the transaction and deposit the proceeds in a liquid margin account with positive unit price b>0 . The first counterparty buys the derivative from the second counterparty, and the capital must be sufficient to enter the transaction: -c_{2}\leq p\leq c_{1} (1) The capital c_{1} deployed by the first counterparty is partitioned into the variation margin p and the initial margin m_{1}:=c_{1}-p , and the capital c_{2} deployed by the second counterparty is partitioned into the variation margin -p and the initial margin m_{2}:=c_{2}+p . With the initial margin deposited in the margin account, the final margin available to settle the derivative is m_{1}(1+db/b) for the first counterparty and m_{2}(1+db/b) for the second counterparty. This is sufficient to settle the contractual commitments of the derivative when: -m_{1}(1+db/b)\leq p+dp\leq m_{2}(1+db/b) (2) Define the default trigger levels: \displaystyle x_{1}:={} \displaystyle m_{1}(1+db/b)+(p+dp) (3) \displaystyle={} \displaystyle c_{1}(1+db/b)+\left(dp-\frac{p}{b}db\right) \displaystyle x_{2}:={} \displaystyle m_{2}(1+db/b)-(p+dp) \displaystyle={} \displaystyle c_{2}(1+db/b)-\left(dp-\frac{p}{b}db\right) The first counterparty defaults when x_{1}<0 and the second counterparty defaults when x_{2}<0 , and these two conditions are mutually exclusive. The actual final settlement of the derivative, net of default, is then: p+dp+(-x_{1})^{+}-(-x_{2})^{+} (4) and the final capital of the counterparties is: \displaystyle c_{1}+dc_{1} \displaystyle=(x_{1})^{+}-(-x_{2})^{+} (5) \displaystyle c_{2}+dc_{2} \displaystyle=(x_{2})^{+}-(-x_{1})^{+} respectively. These expressions for the change in capital are rearranged to: \displaystyle d\frac{c_{1}}{b} \displaystyle=\left(-\frac{c_{1}}{b}-d\frac{p}{b}\right)^{\!+}-\left(d\frac{p}{b}-\frac{c_{2}}{b}\right)^{\!+}+d\frac{p}{b} (6) \displaystyle d\frac{c_{2}}{b} \displaystyle=\left(d\frac{p}{b}-\frac{c_{2}}{b}\right)^{\!+}-\left(-\frac{c_{1}}{b}-d\frac{p}{b}\right)^{\!+}-d\frac{p}{b} demonstrating that the discounted return on capital matches the discounted return on the derivative adjusted by a put option on d(p/b) with strike -c_{1}/b , exercised when the first counterparty defaults, and a call option on d(p/b) with strike c_{2}/b , exercised when the second counterparty defaults. When assessing the viability of the trade, it is these net returns that must be considered, accounting for funding costs and the possibility that the settling counterparty defaults on its commitments. Fixing a target for the investment strategy, the expected performance is quantified by the entropy-adjusted mean return net of funding and default: \mathbb{E}[\alpha][dc]:=-\frac{1}{\alpha}\log\mathbb{E}\exp[-\alpha\,dc] (7) where the measure \mathbb{E} encapsulates the expectations of the investor and the parameter \alpha>0 controls their risk aversion. In this strategy, the trade is considered to be viable when the entropy-adjusted mean is positive. Accounting for the expectations and risk appetites of both counterparties, the trade is viable when: \mathbb{E}_{2}[-\alpha_{2}][-dc_{2}]\leq 0\leq\mathbb{E}_{1}[\alpha_{1}][dc_{1}] (8) Setting both sides of this window of viability to zero imposes two fair pricing conditions on the initial and variation margins. The remaining degree of freedom controls the level of default protection embedded in the trade. This simple framework for bilateral margin is used in the following to derive equilibrium pricing expressions that account for funding and default. It is an idealisation of real trading activity, and does not account for the default protections provided by additional capital covering the net risks of the institution. Extensions to multilateral margin, which can be incorporated into the framework, are not considered here. In this essay, entropic foundations for pricing are investigated that do not rely on unrealistic assumptions regarding market completeness or the effectiveness of the trading strategy, properly account for residual model risk, and establish consistency across diverse applications including algorithmic trading, derivative pricing and hedging, and the modelling of margin and capital. In developing these foundations, the entropic risk metric has dual application: as the measure of performance used to optimise the investment strategy; and as the determinant of margin used to protect against default. These results leverage the remarkable versatility and tractability of relative entropy as a universal metric of uncertainty, applicable across a wide range of models and algorithms. II Entropic investment strategies Figure 4: Entropy-adjusted mean as a function of risk aversion for three random variables. In each case, the variable is standardised by linear transformation to have zero mean and unit standard deviation. The entropy-adjusted mean is monotonic decreasing; it is unbounded for the normal variable, bounded below for the Poisson variable with ten expected jumps, and bounded above and below for the uniform variable. The objective of the investor is to optimise the return dc on the investment strategy, a task that depends on an initial assessment of the final economy that is both subjective and indeterminate. This assessment is encapsulated in the expectation measure \mathbb{E} of the investor, which maps the final variable X to its initial expectation \mathbb{E}[X] . Use the following notation for the associated operators of variance, covariance and probability: \displaystyle\mathbb{V}[X] \displaystyle:=\mathbb{E}[XX^{t}]-\mathbb{E}[X]\mathbb{E}[X]^{t} (9) \displaystyle\mathbb{V}[X,Y] \displaystyle:=\mathbb{E}[XY^{t}]-\mathbb{E}[X]\mathbb{E}[Y]^{t} \displaystyle\mathbb{P}[\mathcal{A}] \displaystyle:=\mathbb{E}[1_{\mathcal{A}}] for the random vectors X and Y and the event \mathcal{A} , where 1_{\mathcal{A}} is the indicator of the event. Investment performance is estimated using these operators, and the strategy is optimised accordingly. II.1 Entropic risk metric Maximising the mean \mathbb{E}[dc] is an obvious strategic objective, though taken on its own this incentivises reckless investment and fails to reward effective risk management. Mean-variance optimisation extends the strategy by maximising the variance-adjusted mean: \mathbb{E}[dc]-\frac{1}{2}\alpha\mathbb{V}[dc] (10) In this expression, the parameter \alpha controls the risk aversion, and is interpreted as the Lagrange multiplier for the variance constraint in a strategy that maximises the mean for a fixed variance. Incorporating higher moments, entropic-risk optimisation further extends the strategy by maximising the entropy-adjusted mean: \displaystyle\mathbb{E}[\alpha][dc]:={} \displaystyle\!-\frac{1}{\alpha}\log\mathbb{E}\exp[-\alpha\,dc] (11) \displaystyle={} \displaystyle\mathbb{E}[dc]-\frac{1}{2}\alpha\mathbb{V}[dc]+\sum_{n=3}^{\infty}\frac{(-\alpha)^{n-1}}{n!}\mathbb{M}_{n}[dc] where \mathbb{M}_{n} is the n th cumulant operator of the investor, with \mathbb{M}_{0}=0 , \mathbb{M}_{1}=\mathbb{E} and \mathbb{M}_{2}=\mathbb{V} . The change of measure implicit in this definition reweights according to the sign and magnitude of the return, with properties that make it a useful metric of value-at-risk. Theorem II.1 (Entropic risk metric) . Let dc be a random variable whose cumulant generating function in the probability measure \mathbb{E} is defined. The entropy-adjusted mean: \mathbb{E}[\alpha][dc]:=-\frac{1}{\alpha}\log\mathbb{E}\exp[-\alpha\,dc] (12) satisfies the linearity property: \mathbb{E}[\alpha][\lambda\,dc+\mu]=\lambda\mathbb{E}[\lambda\alpha][dc]+\mu (13) for the scalars \lambda and \mu and is monotonic decreasing as a function of the adjustment parameter \alpha with limits: \displaystyle\mathbb{E}[-\infty][dc] \displaystyle=\esssup[dc] (14) \displaystyle\mathbb{E}[0][dc] \displaystyle=\mathbb{E}[dc] \displaystyle\mathbb{E}[\infty][dc] \displaystyle=\essinf[dc] Let \bar{\mathbb{E}} be an equivalent probability measure with strictly positive Radon-Nikodym weight d\bar{\mathbb{E}}/d\mathbb{E} . Define the entropy of \bar{\mathbb{E}} relative to \mathbb{E} by: S[\bar{\mathbb{E}}|\mathbb{E}]:=\mathbb{E}\!\left[\frac{d\bar{\mathbb{E}}}{d\mathbb{E}}\log\!\left[\frac{d\bar{\mathbb{E}}}{d\mathbb{E}}\right]\right] (15) Relative entropy is a metric of distance between equivalent probability measures: it is positive, S[\bar{\mathbb{E}}|\mathbb{E}]\geq 0 , and is zero when \bar{\mathbb{E}}=\mathbb{E} . Let \mathbb{E}^{\alpha} be the equivalent probability measure with Radon-Nikodym weight d\mathbb{E}^{\alpha}/d\mathbb{E} given by: \frac{\displaystyle d\mathbb{E}^{\alpha}}{\displaystyle d\mathbb{E}\hfill}:=\frac{\exp[-\alpha\,dc]}{\mathbb{E}[\exp[-\alpha\,dc]]} (16) The entropy-adjusted mean \mathbb{E}[\alpha][dc] equals the mean \bar{\mathbb{E}}[dc] adjusted by relative entropy: \mathbb{E}[\alpha][dc]=\bar{\mathbb{E}}[dc]+\frac{1}{\alpha}(S[\bar{\mathbb{E}}|\mathbb{E}]-S[\bar{\mathbb{E}}|\mathbb{E}^{\alpha}]) (17) Proof. Linearity follows directly from the definition of the entropy-adjusted mean. Without loss of generality, assume the adjustment parameter is positive and use linearity to derive the corresponding results for the case of negative adjustment parameter. These are standard results from information theory, and only the main elements of their proofs are presented here. Monotonicity is a consequence of Hölder’s inequality in the form: \mathbb{E}[\exp[-\alpha_{1}dc]]^{1/\alpha_{1}}\leq\mathbb{E}[\exp[-\alpha_{2}dc]]^{1/\alpha_{2}} (18) for 0<\alpha_{1}<\alpha_{2} , so that \mathbb{E}[\alpha_{1}][dc]\geq\mathbb{E}[\alpha_{2}][dc] . The limit for \alpha\to 0 follows from the expansion of the cumulant generating function. For the limit \alpha\to\infty , Markov’s inequality: \mathbb{P}[dc\leq\gamma]\leq\frac{\mathbb{E}[\exp[-\alpha\,dc]]}{\exp[-\alpha\gamma]} (19) for the parameters \alpha>0 and \gamma>\essinf[dc] (so that \mathbb{P}[dc\leq\gamma]>0 ) is rearranged to: \mathbb{E}[\alpha][dc]\leq\gamma-\frac{1}{\alpha}\log[\mathbb{P}[dc\leq\gamma]] (20) From this, taking the limit \alpha\to\infty followed by taking the limit \gamma\to\essinf[dc] derives \mathbb{E}[\infty][dc]\leq\essinf[dc] . The other side of the target inequality follows from the almost certainty of \exp[-\alpha\,dc]\leq\exp[-\alpha\essinf[dc]] , so that \mathbb{E}[\alpha][dc]\geq\essinf[dc] . Gibb’s theorem states that S[\bar{\mathbb{E}}|\mathbb{E}]\geq 0 , which follows from the observation that x\log[x]\geq x-1 for x>0 . The remaining result is a presentation of Donsker and Varadhan’s variational formula. Let \bar{m}:=d\bar{\mathbb{E}}/d\mathbb{E} and m_{\alpha}:=d\mathbb{E}^{\alpha}/d\mathbb{E} be the Radon-Nikodym weights. Then: \displaystyle S[\bar{\mathbb{E}} \displaystyle|\mathbb{E}]-S[\bar{\mathbb{E}}|\mathbb{E}^{\alpha}] (21) \displaystyle=\mathbb{E}[\bar{m}\log[\bar{m}]]-\mathbb{E}^{\alpha}[(\bar{m}/m_{\alpha})\log[\bar{m}/m_{\alpha}]] \displaystyle=\bar{\mathbb{E}}[\log[\bar{m}]]-(\bar{\mathbb{E}}[\log[\bar{m}]]-\bar{\mathbb{E}}[\log[m_{\alpha}]]) \displaystyle=\bar{\mathbb{E}}[-\alpha\,dc-\log\mathbb{E}\exp[-\alpha\,dc]] \displaystyle=-\alpha(\bar{\mathbb{E}}[dc]-\mathbb{E}[\alpha][dc]) relating the entropy-adjusted mean to the relative entropies of the measures. ∎ Instances of the final equality for \bar{\mathbb{E}}=\mathbb{E} and \bar{\mathbb{E}}=\mathbb{E}^{\alpha} generate bounds for the entropy-adjusted mean: \begin{multlined}\mathbb{E}^{\alpha}[dc]\leq\\ \makebox[0.0pt]{$\displaystyle\frac{1}{\alpha}S[\mathbb{E}^{\alpha}|\mathbb{E}]+\mathbb{E}^{\alpha}[dc]=\mathbb{E}[\alpha][dc]=\mathbb{E}[dc]-\frac{1}{\alpha}S[\mathbb{E}|\mathbb{E}^{\alpha}]$}\hskip-17.07182pt\\ \leq\mathbb{E}[dc]\hskip-17.07182pt\end{multlined} (22) in the case \alpha>0 , with the inequalities reversed in the case \alpha<0 . The lever \alpha dials the entropy-adjusted mean \mathbb{E}[\alpha][dc] across the span of possible values for dc between \essinf[dc] and \esssup[dc] and no further. Entropic risk is, in this sense, more targeted than variance adjustment as a moments-based metric of value-at-risk. The equivalent measure \mathbb{E}^{\alpha} plays a central role in this result, and the gap between the mean \mathbb{E}[dc] and the entropy-adjusted mean \mathbb{E}[\alpha][dc] is proportional to the distance between the measure \mathbb{E} and the measure \mathbb{E}^{\alpha} , as defined by their relative entropy. II.2 Optimising entropic risk The investor has a choice of self-funded market strategies whose returns over the investment period are the components of the return vector dq . The return on the investment portfolio whose weights are the components of the weight vector \omega is then dc:=\omega\cdot dq , the weighted sum of the returns on the market strategies. Mean-variance and entropic-risk optimisation are the basis for investment strategies, leading in each case to equilibrium models of pricing and hedging. There are many similarities between these strategies, but also some critical differences. Mean-variance optimisation does not account for non-Gaussian features in the return, and the strategy may need to be moderated to avoid arbitrage. In contrast, entropic-risk optimisation incorporates all the cumulants of the return, and naturally leads to arbitrage-free equilibrium pricing. Introduce the equivalent measure \mathbb{E}^{\phi} parametrised by the vector \phi with Radon-Nikodym weight: \frac{\displaystyle d\mathbb{E}^{\phi}}{\displaystyle d\mathbb{E}\hfill}:=\frac{\exp[-\phi\cdot dq]}{\mathbb{E}[\exp[-\phi\cdot dq]} (23) Price measures that are equivalent to the expectation measure are identified within this family from the equilibrium of the entropic-risk optimisation strategy. The parameter \phi arises from the change of measure in the definition of the entropic risk metric, which depends on the existence of the cumulant generating function. If this does not exist, the quadratic-regularised measure is used instead, with Radon-Nikodym weight: \frac{\displaystyle d\mathbb{E}^{\phi}}{\displaystyle d\mathbb{E}\hfill}:=\frac{\exp[-\phi\cdot dq-\frac{1}{2}dq\cdot\zeta\,dq]}{\mathbb{E}[\exp[-\phi\cdot dq-\frac{1}{2}dq\cdot\zeta\,dq]]} (24) regularised by the positive-definite matrix \zeta . Regularisation is removed in the limit \zeta\to 0 ; if the strategy does not survive this limit, then regularisation, which moderates the impact of large events, is retained as a parameter of the model. In the following, the cumulant generating function is assumed to exist, implying the use of quadratic regularisation wherever necessary. In the entropic-risk optimisation strategy, the investor seeks the optimal portfolio \omega of market strategies that maximises the entropy-adjusted mean: \mathbb{E}[\alpha][\omega\cdot dq]:=-\frac{1}{\alpha}\log\mathbb{E}\exp[-\alpha\omega\cdot dq] (25) Risk aversion is controlled by the parameter \alpha>0 , and entropic risk is monotonic in this range: \begin{multlined}\essinf[\omega\cdot dq]=\\ \mathbb{E}[\infty][\omega\cdot dq]\leq\mathbb{E}[\alpha][\omega\cdot dq]\leq\mathbb{E}[0][\omega\cdot dq]\\ =\omega\cdot\mathbb{E}[dq]\end{multlined} (26) Large values of \alpha thus imply that the investor takes more account of negative outcomes in the strategic objective, corresponding to a lower risk appetite. The optimal strategy is the stationary point of entropic risk \omega=(1/\alpha)\phi where the unit optimal portfolio \phi satisfies the calibration condition: 0=\mathbb{E}^{\phi}[dq] (27) As a practical observation, the Newton-Raphson scheme: \partial\phi=\mathbb{V}^{\phi}[dq]^{-1}\mathbb{E}^{\phi}[dq] (28) initialised with \phi=0 calibrates the unit optimal portfolio to the calibration condition when the variance is invertible. This portfolio is a property of the market return, generating the price measure \mathbb{E}^{\phi} equivalent to the expectation measure \mathbb{E} . Applying the entropic risk metric theorem for the case dc=\phi\cdot dq and \alpha=1 leads to the result: \displaystyle S[\bar{\mathbb{E}}|\mathbb{E}] \displaystyle=S[\bar{\mathbb{E}}|\mathbb{E}^{\phi}]+S[\mathbb{E}^{\phi}|\mathbb{E}]-\phi\cdot(\bar{\mathbb{E}}[dq]-\mathbb{E}^{\phi}[dq]) (29) \displaystyle\geq S[\mathbb{E}^{\phi}|\mathbb{E}]-\phi\cdot(\bar{\mathbb{E}}[dq]-\mathbb{E}^{\phi}[dq]) Among the equivalent measures \bar{\mathbb{E}} satisfying the calibration condition \bar{\mathbb{E}}[dq]=0 , the price measure \mathbb{E}^{\phi} thus has the lowest entropy relative to the expectation measure \mathbb{E} . The optimal strategy is constructed on the assumption that the investor has expertise in all the available markets. In practice, markets are tiered and investors specialise in specific market sectors, and the optimal strategy across all sectors emerges as the net strategy of multiple specialist investors. This arrangement is conveniently captured in the entropic risk metric. Suppose that the market return vector decomposes as a direct sum dq=dq_{1}\oplus\cdots\oplus dq_{n} where dq_{i} is the return vector for the i th market tier. The optimal portfolio is similarly decomposed as a direct sum \phi=\phi_{1}\oplus\cdots\oplus\phi_{n} where \phi_{i} is the portfolio in the i th market tier, and is solved from the calibration conditions: 0=\mathbb{E}^{\phi_{1}\oplus\cdots\oplus\phi_{n}}[dq_{1}]=\cdots=\mathbb{E}^{\phi_{1}\oplus\cdots\oplus\phi_{n}}[dq_{n}] (30) This provides n conditions for the n components of the optimal portfolio. While these calibration conditions need to be solved simultaneously, market tiering is exploited to incrementally build the optimal portfolio from the independent contributions of sector investors, localising at each tier the risk management activity for the corresponding market expert. In this perspective, there are n(n+1)/2 calibration conditions for n sub-markets: \displaystyle 0 \displaystyle=\mathbb{E}^{\phi_{1}^{1}}[dq_{1}] (31) \displaystyle 0 \displaystyle=\mathbb{E}^{\phi_{1}^{2}\oplus\phi_{2}^{2}}[dq_{1}]=\mathbb{E}^{\phi_{1}^{2}\oplus\phi_{2}^{2}}[dq_{2}] \vdots \displaystyle 0 \displaystyle=\mathbb{E}^{\phi_{1}^{n}\oplus\cdots\oplus\phi_{n}^{n}}[dq_{1}]=\cdots=\mathbb{E}^{\phi_{1}^{n}\oplus\cdots\oplus\phi_{n}^{n}}[dq_{n}] where the calibration conditions in the i th row maximise the entropy-adjusted mean of the i th optimal portfolio \phi^{i}=\phi_{1}^{i}\oplus\cdots\oplus\phi_{i}^{i} constituted in the lowest i market tiers only. The i th investor then takes responsibility for determining the primary component \psi_{i} of the i th optimal portfolio and its delta \delta^{i}=\delta_{1}^{i}\oplus\cdots\oplus\delta_{i-1}^{i} to the (i-1) th optimal portfolio in the underlying sub-market, using the invertible linear change of variables: \begin{array}[]{lr}\begin{array}[]{rl}\psi_{i}&=\phi_{i}^{i}\\ \delta_{j}^{i}&=\phi_{j}^{i-1}-\phi_{j}^{i}\end{array}&\qquad\phi_{j}^{i}=\psi_{j}-(\delta_{j}^{j+1}+\cdots+\delta_{j}^{i})\end{array} (32) Stacking these deltas for i=1,\ldots,n generates the optimal portfolio of the full market. For each i=0,\ldots,n , define the equivalent price measure \mathbb{E}^{i} with Radon-Nikodym weight: \frac{\displaystyle d\mathbb{E}^{i}}{\displaystyle d\mathbb{E}\hfill}:=\frac{\exp[-(\phi_{1}^{i}\cdot dq_{1}+\cdots+\phi_{i}^{i}\cdot dq_{i})]}{\mathbb{E}[\exp[-(\phi_{1}^{i}\cdot dq_{1}+\cdots+\phi_{i}^{i}\cdot dq_{i})]]} (33) and define the i th entropy-adjusted mean: \mu^{i}:=-\log\mathbb{E}\exp[-(\phi_{1}^{i}\cdot dq_{1}+\cdots+\phi_{i}^{i}\cdot dq_{i})] (34) At the i th tier, the portfolio \phi^{i} maximises the entropy-adjusted mean \mu^{i} when the primary portfolio \psi_{i} and the hedge portfolio \delta_{1}^{i}\oplus\cdots\oplus\delta_{i-1}^{i} are calibrated to the hedge conditions: \displaystyle 0= (35) \displaystyle\mathbb{E}^{i-1}[dq_{j}\exp[-(\psi_{i}\cdot dq_{i}-(\delta_{1}^{i}\cdot dq_{1}+\cdots+\delta_{i-1}^{i}\cdot dq_{i-1}))]] for j=1,\ldots,i . Starting with the expectation measure \mathbb{E}^{0}=\mathbb{E} , these calibrations are iterated to obtain the unit optimal portfolio \phi^{n} in the full market, with its associated price measure \mathbb{E}^{n} calibrated to the calibration conditions for the market strategies. Since expanding the market can only increase the opportunities for the investor, the maximum entropy-adjusted mean increases, \mu^{i}\geq\mu^{i-1} , as new tiers are introduced. Furthermore, the i th tier introduces no additional advantage for the strategy if the optimal portfolios \phi^{i} and \phi^{i-1} satisfy the indifference condition \mu^{i}=\mu^{i-1} . This is adopted as the equilibrium condition for pricing derivative strategies that have no intrinsic value beyond their contractual link with underlying strategies. III Entropic pricing and hedging Entropic Pricing and Hedging Fix a finite investment horizon and let \mathbb{E} be the expectation measure mapping variables at the final time T=t+dt to their expectations at the initial time t . Assume the market is tiered into a set of underlying securities with initial price vector q and final price vector Q=q+dq and a derivative security with initial price p and final price P=p+dp . Consider two self-funded strategies: one comprising underlying securities only; and one that also includes the derivative security. Underlying only: In this strategy, the investment comprises an underlying portfolio \omega satisfying the initial condition: \omega\cdot q=0 (36) so that the investment is self-funded. The return on the investment has entropy-adjusted mean: \displaystyle\mathbb{E}[\alpha] \displaystyle[\omega\cdot dq]= (37) \displaystyle-\frac{1}{\alpha}\log\mathbb{E}\exp[-\alpha\omega\cdot dq] at the risk aversion \alpha>0 . The optimal portfolio \omega that maximises this satisfies the calibration condition : \mathbb{E}[(dq-qr\,dt)\exp[-\alpha\omega\cdot dq]]=0 (38) where r\,dt is the Lagrange multiplier used to implement the self-funding condition. Underlying and derivative: In this strategy, the investment comprises the derivative security and an underlying portfolio (\omega-\delta) satisfying the initial condition: p+(\omega-\delta)\cdot q=0 (39) so that the investment is self-funded. The return on the investment has entropy-adjusted mean: \displaystyle\mathbb{E}[\alpha] \displaystyle[dp+(\omega-\delta)\cdot dq]= (40) \displaystyle-\frac{1}{\alpha}\log\mathbb{E}\exp[-\alpha(dp+(\omega-\delta)\cdot dq)] at the risk aversion \alpha>0 . The hedge portfolio \delta that maximises this satisfies the hedge condition : \mathbb{E}[(dq-q(r+\alpha s)\,dt)\exp[-\alpha(dp+(\omega-\delta)\cdot dq)]]=0 (41) where (r+\alpha s)\,dt is the Lagrange multiplier used to implement the self-funding condition. These two strategies offer different entropy-adjusted mean returns to the investor. When the derivative security has no intrinsic value beyond its contractual link with the underlying securities, the efficient market equilibrates to the indifferent state with matching entropy-adjusted means, leading to the price condition : \mathbb{E}[\alpha][\omega\cdot dq]=\mathbb{E}[\alpha][dp+(\omega-\delta)\cdot dq] (42) The calibration condition is solved to derive the optimal portfolio \omega of underlying securities, and the hedge condition is then solved to derive the hedge portfolio \delta of underlying securities that re-establishes optimality for the combined portfolio. With these portfolios, the fair initial price p of the derivative security is derived from the price condition. Define the price measure \mathbb{E}^{\phi} equivalent to the expectation measure \mathbb{E} with Radon-Nikodym weight: \frac{\displaystyle d\mathbb{E}^{\phi}}{\displaystyle d\mathbb{E}^{\vphantom{\phi}}\hfill}:=\frac{\displaystyle\exp[-\phi\cdot dq]}{\displaystyle\mathbb{E}^{\vphantom{\phi}}[\exp[-\phi\cdot dq]]} (43) While there is no explicit expression for the unit optimal portfolio \phi:=\alpha\omega that solves the calibration condition, it is efficiently discovered by the Newton-Raphson scheme initialised with \phi=0 and repeating the step: \displaystyle r\,dt:={} (44) \displaystyle\hskip-28.45274pt\frac{\displaystyle(\phi+\mathbb{V}^{\phi}[dq]^{-1}\mathbb{E}^{\phi}[dq])\cdot q}{\displaystyle\mathbb{V}^{\phi}[dq]^{-1}q\cdot q} \displaystyle\partial\phi={} \displaystyle\mathbb{V}^{\phi}[dq]^{-1}(\mathbb{E}^{\phi}[dq]-qr\,dt) until the required accuracy is achieved. Define the price measure \mathbb{E}^{\phi\delta}:=\mathbb{E}^{(\phi-\alpha\delta)\oplus\alpha} equivalent to the price measure \mathbb{E}^{\phi} with Radon-Nikodym weight: \frac{\displaystyle d\mathbb{E}^{\phi\delta}}{\displaystyle d\mathbb{E}^{\phi}\hfill}:=\frac{\displaystyle\exp[-\alpha(P-\delta\cdot dq)]}{\displaystyle\mathbb{E}^{\phi}[\exp[-\alpha(P-\delta\cdot dq)]]} (45) While there is no explicit expression for the hedge portfolio \delta that solves the hedge and price conditions, it is efficiently discovered by the Newton-Raphson scheme initialised with \delta=0 and repeating the step: \displaystyle(r+\alpha s)\,dt:={} (46) \displaystyle\hskip-28.45274pt\frac{\displaystyle\alpha\mathbb{E}^{\phi}[\alpha][P-\delta\cdot Q]+\mathbb{V}^{\phi\delta}[dq]^{-1}\mathbb{E}^{\phi\delta}[dq]\cdot\mathbb{E}^{\phi\delta}[Q]}{\displaystyle\mathbb{V}^{\phi\delta}[dq]^{-1}q\cdot\mathbb{E}^{\phi\delta}[Q]} \displaystyle\partial\delta={} \displaystyle-\mathbb{V}^{\phi\delta}[dq]^{-1}(\mathbb{E}^{\phi\delta}[dq]-q(r+\alpha s)\,dt)/\alpha until the required accuracy is achieved. Figure 5: In entropic pricing, economic principles are established that determine the optimal portfolio of underlying securities and the hedge portfolio and price of the derivative security, based on the maximisation of the entropy-adjusted mean return. Entropic Pricing and Hedging: Normally Distributed Returns Fix a finite investment horizon and let \mathbb{E} be the expectation measure mapping variables at the final time T=t+dt to their expectations at the initial time t . Assume the market is tiered into a set of underlying securities with initial price vector q and final price vector Q=q+dq and a derivative security with initial price p and final price P=p+dp . Also assume that the underlying and derivative returns have joint normal distribution in the expectation measure. Consider two self-funded strategies: one comprising underlying securities only; and one that also includes the derivative security. Underlying only: In this strategy, the investment comprises an underlying portfolio \omega satisfying the initial condition: \omega\cdot q=0 (47) so that the investment is self-funded. The return on the investment has entropy-adjusted mean: \displaystyle\mathbb{E}[\alpha] \displaystyle[\omega\cdot dq]= (48) \displaystyle\mathbb{E}[\omega\cdot dq]-\frac{1}{2}\alpha\mathbb{V}[\omega\cdot dq] at the risk aversion \alpha>0 . The optimal portfolio \omega that maximises this is given by the calibration solution : \displaystyle r\,dt \displaystyle=\frac{\displaystyle\mathbb{V}[dq]^{-1}q\cdot\mathbb{E}[dq]}{\displaystyle\mathbb{V}[dq]^{-1}q\cdot q} (49) \displaystyle\alpha\omega \displaystyle=\mathbb{V}[dq]^{-1}(\mathbb{E}[dq]-qr\,dt) where r\,dt is the Lagrange multiplier used to implement the self-funding condition. Underlying and derivative: In this strategy, the investment comprises the derivative security and an underlying portfolio (\omega-\delta) satisfying the initial condition: p+(\omega-\delta)\cdot q=0 (50) so that the investment is self-funded. The return on the investment has entropy-adjusted mean: \displaystyle\mathbb{E}[\alpha] \displaystyle[dp+(\omega-\delta)\cdot dq]= (51) \displaystyle\mathbb{E}[dp+(\omega-\delta)\cdot dq]-\frac{1}{2}\alpha\mathbb{V}[dp+(\omega-\delta)\cdot dq] at the risk aversion \alpha>0 . The hedge portfolio \delta that maximises this is given by the hedge solution : \displaystyle s\,dt \displaystyle=\frac{\displaystyle p-\mathbb{V}[dq]^{-1}\mathbb{V}[dq,dp]\cdot q}{\displaystyle\mathbb{V}[dq]^{-1}q\cdot q} (52) \displaystyle\delta \displaystyle=\mathbb{V}[dq]^{-1}(\mathbb{V}[dq,dp]+qs\,dt) where (r+\alpha s)\,dt is the Lagrange multiplier used to implement the self-funding condition. These two strategies offer different entropy-adjusted mean returns to the investor. When the derivative security has no intrinsic value beyond its contractual link with the underlying securities, the efficient market equilibrates to the indifferent state with matching entropy-adjusted means, leading to the price solution p=\delta\cdot q with hedge portfolio: \delta=\mathbb{V}[dq]^{-1}\left(\mathbb{V}[dq,P]+\frac{1}{\alpha}\left(\sqrt{1+2\alpha\frac{\displaystyle\mathbb{E}[\alpha][P-\mathbb{V}[dq]^{-1}\mathbb{V}[dq,P]\cdot Q]}{\displaystyle\mathbb{V}[dq]^{-1}\bar{q}\cdot\bar{q}}}-1\right)\bar{q}\right) (53) where \bar{q}:=q(1+r\,dt) inflates the initial underlying price q by the implied funding rate r . The hedge portfolio of underlying securities simultaneously funds and hedges the derivative security, and the price solution decomposes the initial derivative price as the weighted sum of its component initial underlying prices. Figure 6: When the underlying and derivative returns have joint normal distribution in the expectation measure, the calibration, hedge and price conditions are solved explicitly in terms of their means and covariances. Entropic Pricing and Hedging: Continuous Price Diffusion Fix a finite investment horizon and let \mathbb{E} be the expectation measure mapping variables at the final time T=t+dt to their expectations at the initial time t . Assume the market is tiered into a set of underlying securities with initial price vector q and final price vector Q=q+dq and a derivative security with initial price p and final price P=p+dp . Also assume that the prices diffuse continuously, so that their covariances are O[dt] and their higher cumulants are O[dt^{2}] . Consider two self-funded strategies: one comprising underlying securities only; and one that also includes the derivative security. Underlying only: In this strategy, the investment comprises an underlying portfolio \omega satisfying the initial condition: \omega\cdot q=0 (54) so that the investment is self-funded. The return on the investment has entropy-adjusted mean: \displaystyle\mathbb{E}[\alpha] \displaystyle[\omega\cdot dq]= (55) \displaystyle\mathbb{E}[\omega\cdot dq]-\frac{1}{2}\alpha\mathbb{V}[\omega\cdot dq]+O[dt^{2}] at the risk aversion \alpha>0 . The optimal portfolio \omega that maximises this is given by the calibration solution : \displaystyle r\,dt \displaystyle=\frac{\displaystyle\mathbb{V}[dq]^{-1}q\cdot\mathbb{E}[dq]}{\displaystyle\mathbb{V}[dq]^{-1}q\cdot q}+O[dt^{2}] (56) \displaystyle\alpha\omega \displaystyle=\mathbb{V}[dq]^{-1}(\mathbb{E}[dq]-qr\,dt)+O[dt] where r\,dt is the Lagrange multiplier used to implement the self-funding condition. Underlying and derivative: In this strategy, the investment comprises the derivative security and an underlying portfolio (\omega-\delta) satisfying the initial condition: p+(\omega-\delta)\cdot q=0 (57) so that the investment is self-funded. The return on the investment has entropy-adjusted mean: \displaystyle\mathbb{E} \displaystyle[\alpha][dp+(\omega-\delta)\cdot dq]= (58) \displaystyle\mathbb{E}[dp+(\omega-\delta)\cdot dq]-\frac{1}{2}\alpha\mathbb{V}[dp+(\omega-\delta)\cdot dq]+O[dt^{2}] at the risk aversion \alpha>0 . The hedge portfolio \delta that maximises this is given by the hedge solution : \displaystyle s\,dt \displaystyle=\frac{\displaystyle p-\mathbb{V}[dq]^{-1}\mathbb{V}[dq,dp]\cdot q}{\displaystyle\mathbb{V}[dq]^{-1}q\cdot q}+O[dt^{2}] (59) \displaystyle\delta \displaystyle=\mathbb{V}[dq]^{-1}(\mathbb{V}[dq,dp]+qs\,dt)+O[dt] where (r+\alpha s)\,dt is the Lagrange multiplier used to implement the self-funding condition. These two strategies offer different entropy-adjusted mean returns to the investor. When the derivative security has no intrinsic value beyond its contractual link with the underlying securities, the efficient market equilibrates to the indifferent state with matching entropy-adjusted means, leading to the price solution : p=\frac{1}{1+r\,dt}\mathbb{E}^{\phi}[P]-\frac{1}{2}\alpha\mathbb{V}[P-\mathbb{V}[dq]^{-1}\mathbb{V}[dq,P]\cdot dq]+O[dt^{2}] (60) The first term expresses the discounted derivative price as a martingale in the price measure. The second term then adjusts the price to account for the residual risk after hedging. Figure 7: When the underlying and derivative prices diffuse continuously in the expectation measure, the calibration, hedge and price conditions are solved explicitly to O[dt] in terms of their means and covariances. These solutions can be used when the portfolio is rebalanced continuously. The market of underlying securities accessible to the investor performs the two key functions of funding and hedging for the derivative security. Fix a finite investment horizon with initial time t and final time T=t+dt , and assume the market is tiered into a set of underlying securities with initial price vector q and final price vector Q=q+dq and a derivative security with initial price p and final price P=p+dp . The investor quantifies the performance of the investment strategy using an initial assessment of the final economic state, encapsulated in the expectation measure \mathbb{E} that maps final variables to their initial expectations. Following the strategy developed in the previous section, the optimal portfolio then maximises the entropy-adjusted mean return at a specified risk aversion \alpha for the investor. There are two self-funded investment strategies to consider: one that includes only underlying securities; and one that also includes the derivative security. In the first strategy, the portfolio \omega of underlying securities is optimal when it maximises the entropy-adjusted mean return \mathbb{E}[\alpha][\omega\cdot dq] . The optimal portfolio thus satisfies the calibration condition : \mathbb{E}[(dq-qr\,dt)\exp[-\alpha\omega\cdot dq]]=0 (61) where r\,dt is the Lagrange multiplier used to implement the self-funding condition \omega\cdot q=0 . Adjusting for the opportunity and risk that adding the derivative security presents, in the second strategy the optimal portfolio \omega is modified by the hedge portfolio \delta , and optimality is restored in the combined portfolio when it maximises the entropy-adjusted mean return \mathbb{E}[\alpha][dp+(\omega-\delta)\cdot dq] . The hedge portfolio thus satisfies the hedge condition : \mathbb{E}[(dq-q(r+\alpha s)\,dt)\exp[-\alpha(dp+(\omega-\delta)\cdot dq)]]=0 (62) where (r+\alpha s)\,dt is the Lagrange multiplier used to implement the self-funding condition p+(\omega-\delta)\cdot q=0 . Returns from correlated changes in the derivative and underlying prices are cancelled by hedging, with the residual return on the combined portfolio maximising the entropy-adjusted mean. When its price additionally satisfies the price condition : \mathbb{E}[\alpha][\omega\cdot dq]=\mathbb{E}[\alpha][dp+(\omega-\delta)\cdot dq] (63) the derivative security neither advantages nor disadvantages the investment strategy. Since it has no value beyond its contractual links, this indifference relationship is assumed as the equilibrium condition for the derivative price. The market mechanism that achieves equilibrium is considered in more detail later in the essay. The calibration, hedge and price conditions, together with the two self-funding conditions, are the foundations of entropic pricing. By avoiding the unrealistic assumptions that enable risk-neutral theory, entropic pricing can be consistently applied to pricing and hedging across a range spanning everything from algorithmic trading to XVA and capital modelling. III.1 Calibration Investments are self-funded within the underlying market, and the entropic model does not assume the existence of a risk-free funding rate for investments that are not self-funded. Calibration identifies the price measure \mathbb{E}^{\phi} equivalent to the expectation measure \mathbb{E} with Radon-Nikodym weight: \frac{\displaystyle d\mathbb{E}^{\phi}}{\displaystyle d\mathbb{E}\hfill}:=\frac{\displaystyle\exp[-\phi\cdot dq]}{\displaystyle\mathbb{E}[\exp[-\phi\cdot dq]]} (64) where the unit optimal portfolio \phi and implied funding rate r are solved from the calibration and self-funding conditions: \displaystyle qr\,dt \displaystyle=\mathbb{E}^{\phi}[dq] (65) \displaystyle\phi\cdot q \displaystyle=0 The implied funding rate defined here originates in the optimisation as the Lagrange multiplier for the self-funding condition. When the portfolio is rebalanced on the discrete schedule t_{0}k} at strike k on an underlying security with final price Q modelled as a normal variable, a Poisson variable with ten expected jumps, and a uniform variable, all standardised by linear transformation to have zero mean and unit standard deviation. Risk aversion is fixed at one, \alpha=1 , and the implied funding rate is set to zero, r=0 . The graphs plot the delta and price per unit notional as a function of the strike for a range of notionals \lambda , highlighting the central plot for the mid-pricing case \lambda=0 . Residual risk after hedging creates a bid-offer around the mid price and skews the optimal hedge ratio for positions with large notional. III.3 Limit order book Using the price measure, the hedge and price conditions are rewritten as: \displaystyle q(r+\alpha s)\,dt \displaystyle=\frac{\displaystyle\mathbb{E}^{\phi}[dq\,\exp[-\alpha(P-\delta\cdot dq)]]}{\displaystyle\mathbb{E}^{\phi}[\exp[-\alpha(P-\delta\cdot dq)]]} (105) \displaystyle p \displaystyle=\mathbb{E}^{\phi}[\alpha][P-\delta\cdot dq] These conditions express a non-linear relationship between the initial and final derivative prices. If the derivative security with notional \lambda has final price \lambda P , then the corresponding initial price p , hedge portfolio \delta and implied funding spread s , quoted per unit notional of the derivative security, are determined from the hedge and price conditions: \displaystyle q(r+\lambda\alpha s)\,dt \displaystyle=\frac{\displaystyle\mathbb{E}^{\phi}[dq\,\exp[-\lambda\alpha(P-\delta\cdot dq)]]}{\displaystyle\mathbb{E}^{\phi}[\exp[-\lambda\alpha(P-\delta\cdot dq)]]} (106) \displaystyle p \displaystyle=\mathbb{E}^{\phi}[\lambda\alpha][P-\delta\cdot dq] and the self-funding condition. Scaling the derivative notional is thus equivalent to scaling the risk aversion. This is the scale invariance property of entropic pricing. When \lambda\alpha is small, the hedge and price conditions are expanded to discover the solutions: \displaystyle s \displaystyle=\frac{\displaystyle\mathbb{E}^{\phi}[P]/(1+r\,dt)-\mathbb{V}^{\phi}[dq]^{-1}\mathbb{V}^{\phi}[dq,P]\cdot q}{\displaystyle\mathbb{V}^{\phi}[dq]^{-1}q\cdot q\,dt}+O[\lambda\alpha] \displaystyle\delta \displaystyle=\mathbb{V}^{\phi}[dq]^{-1}(\mathbb{V}^{\phi}[dq,P]+qs\,dt)+O[\lambda\alpha] (107) \displaystyle p \displaystyle=\frac{1}{1+r\,dt}\left(\mathbb{E}^{\phi}[P]-\frac{1}{2}\alpha\mathbb{V}^{\phi}[P-\delta\cdot dq]\right)+O[(\lambda\alpha)^{2}] This expansion in terms of \lambda\alpha approximates the price when the risk appetite of the investor is large or when the derivative security has small notional. In the marginal market, the model thus implies a limit order book for the derivative security with mid price and bid-offer: \displaystyle p_{0} \displaystyle=\frac{1}{1+r\,dt}\mathbb{E}^{\phi}[P] (108) \displaystyle p_{\pm} \displaystyle=\frac{\alpha}{1+r\,dt}\mathbb{V}^{\phi}[P-\delta\cdot dq] The discounted mid price of the derivative security is a martingale in the price measure and the bid-offer prices incompleteness of the underlying market. Higher-order adjustments then accommodate the extended features of the price distributions. This model is extensive in scope, consistently encompassing arbitrary economic assumptions, predictable and unpredictable funding, complete and incomplete hedge markets, continuous and discontinuous evolution, continuous and discrete hedging, and accounting for the risk appetite of the investor. The studies in figure 9 demonstrate entropic hedging and pricing for call and digital options over a single investment horizon, and show the bid-offer around the mid model that prices the residual risk after hedging. IV Market and model risk Derivative price models support trading activity, and their risks manifest as poor decision making in the trade lifecycle. The model must provide entry and exit prices that have a reasonable chance of transacting, and a funding and hedging strategy that has a reasonable chance of retaining the initial premium for the trade. The market and model risks in these objectives are distinguished. Market risk An optimal funding and hedging strategy is derived on the assumption of the expectation measure. Residual profit and loss is generated if this strategy is not faithfully executed. Model risk If the expectation measure does not accurately capture realised market dynamics over the trade lifecycle, then the strategy is suboptimal and will also generate residual profit and loss. Analysis of these risks considers two expectation measures: the before measure \mathbb{E} assumed initially as the basis for decision making and used to quantify the predicted performance of the strategy; and the after measure \bar{\mathbb{E}} fitted to realised market dynamics and used to quantify the actual performance of the strategy. Starting with the before expectation measure \mathbb{E} , the calibration conditions: \displaystyle 0 \displaystyle=\phi\cdot q (109) \displaystyle 0 \displaystyle=\mathbb{E}^{\phi}[dq]-qr\,dt are solved to generate the implied funding rate r and the unit optimal portfolio \phi for the underlying securities, and the hedge and price conditions: \displaystyle p \displaystyle=\delta\cdot q (110) \displaystyle 0 \displaystyle=\mathbb{E}^{\phi}[(dq-q(r+\alpha s)\,dt)\exp[-\alpha(P-\delta\cdot dq)]] \displaystyle p \displaystyle=\mathbb{E}^{\phi}[\alpha][P-\delta\cdot dq] are solved to generate the implied funding spread s , the hedge portfolio \delta and the initial price p for the derivative security. While the hedge neutralises the underlying component of the derivative risk, when the market is incomplete there are unhedged risks that are sensitive to the choice of expectation measure. This is the origin of model risk. Suppose that the after expectation measure \bar{\mathbb{E}} is equivalent to the before expectation measure \mathbb{E} with Radon-Nikodym weight: \frac{\displaystyle d\bar{\mathbb{E}}}{\displaystyle d\mathbb{E}}=\frac{\displaystyle\exp[\epsilon W]}{\displaystyle\mathbb{E}[\exp[\epsilon W]]}=1+\epsilon(W-\mathbb{E}[W])+O[\epsilon^{2}] (111) for a bounded weight W and a scale parameter \epsilon . With the benefit of hindsight, the implied funding rate and unit optimal portfolio are adjusted, \bar{r}=r+\epsilon\,\partial r and \bar{\phi}=\phi+\epsilon\,\partial\phi , with: \displaystyle\partial r \displaystyle=\frac{\displaystyle\mathbb{V}^{\phi}[dq]^{-1}\mathbb{V}^{\phi}[dq,W]\cdot q}{\displaystyle\mathbb{V}^{\phi}[dq]^{-1}q\cdot q\,dt}+O[\epsilon] (112) \displaystyle\partial\phi \displaystyle=\mathbb{V}^{\phi}[dq]^{-1}(\mathbb{V}^{\phi}[dq,W]-q\,\partial r\,dt)+O[\epsilon] Applying these adjustments, the before and after price measures are related by: \displaystyle\bar{\mathbb{E}}^{\bar{\phi}}[X]-\mathbb{E}^{\phi}[X]= (113) \displaystyle\qquad\epsilon\mathbb{V}^{\phi}[W-\partial\phi\cdot dq,X]+O[\epsilon^{2}] \displaystyle\bar{\mathbb{E}}^{\bar{\phi}}[\alpha][X]-\mathbb{E}^{\phi}[\alpha][X]= \displaystyle\qquad\epsilon\mathbb{V}^{\phi}\!\left[W-\partial\phi\cdot dq,-\frac{1}{\alpha}\frac{\displaystyle\exp[-\alpha X]}{\displaystyle\mathbb{E}^{\phi}[\exp[-\alpha X]]}\right]+O[\epsilon^{2}] for the indeterminate variable X . Similar adjustments apply to the implied funding spread, hedge portfolio and initial price, derived from the hedge and price conditions in the after expectation measure: \displaystyle\bar{p} \displaystyle=\bar{\delta}\cdot q (114) \displaystyle 0 \displaystyle=\bar{\mathbb{E}}^{\bar{\phi}}[(dq-q(\bar{r}+\alpha\bar{s})\,dt)\exp[-\alpha(P-\bar{\delta}\cdot dq)]] \displaystyle\bar{p} \displaystyle=\bar{\mathbb{E}}^{\bar{\phi}}[\alpha][P-\bar{\delta}\cdot dq] Focusing on the price condition, the adjustment to the initial price is \bar{p}=p+\epsilon\,\partial p with: \displaystyle\partial p=\frac{1}{1+(r+\alpha s)\,dt}\times (115) \displaystyle\quad\mathbb{V}^{\phi}\!\left[W-\partial\phi\cdot dq,-\frac{1}{\alpha}\frac{\displaystyle\exp[-\alpha(P-\delta\cdot dq)]}{\displaystyle\mathbb{E}^{\phi}[\exp[-\alpha(P-\delta\cdot dq)]]}\right]+O[\epsilon] The hedge portfolio is the metric of market risk in the entropic framework, and this adjustment is the metric of model risk as it measures the sensitivity of the initial price to the choice of expectation measure. If the underlying market is complete, the variance of the hedged return is zero and the sensitivity to the expectation measure is eliminated. More generally, model risk increases in proportion with the degree of market incompleteness. V The Black-Scholes model As an illustration of the entropic method, consider an underlying market comprising a funding security with price b>0 and an underlying security with price q satisfying the stochastic differential equations: \displaystyle db \displaystyle=br\,dt (116) \displaystyle dq \displaystyle=q(\mu\,dt+\sqrt{\nu}\,dy) where the increment dy is Brownian in the expectation measure. The model is parametrised by the funding rate r of the funding security and the mean rate \mu and variance rate \nu>0 of the underlying security. The self-funded portfolio in the underlying market comprises \omega units of the underlying security funded by -\omega(q/b) units of the funding security. The portfolio return has entropy-adjusted mean: \displaystyle\frac{1}{dt}\mathbb{E}[ \displaystyle\alpha][\omega(dq-(q/b)db)]= (117) \displaystyle\frac{1}{2}\frac{(\mu-r)^{2}}{\alpha\nu}-\frac{1}{2}\alpha q^{2}\nu\left(\omega-\frac{\mu-r}{\alpha q\nu}\right)^{\!2}+O[dt] This is maximised by the optimal portfolio: \omega=\frac{\mu-r}{\alpha q\nu} (118) When the derivative security is added, the self-funded portfolio comprises one unit of the derivative security and (\omega-\delta) units of the underlying security funded by -(p/b)-(\omega-\delta)(q/b) units of the funding security. The underlying market is complete when the model parameters are fixed but incomplete when the model parameters are volatile. In the first scenario, risk can be neutralised by hedging and the derivative price is determined from the no-arbitrage condition. In the second scenario, risk cannot be neutralised by hedging and the no-arbitrage condition does not determine the derivative price. By replacing risk neutralisation with risk optimisation as the objective of hedging, the entropic method extends to this case. The derivative price is then resolved by replacing no-arbitrage with indifference as the equilibrium condition for pricing. Complete market Assume the funding rate r , mean rate \mu and variance rate \nu are fixed. The portfolio return has entropy-adjusted mean: \displaystyle\frac{1}{dt}\mathbb{E}[ \displaystyle\alpha][(dp-(p/b)db)+(\omega-\delta)(dq-(q/b)db)]= (119) \displaystyle\frac{\partial p}{\partial t}-pr+\frac{\partial p}{\partial q}qr+\frac{1}{2}\frac{\partial^{2}p}{\partial q^{2}}q^{2}\nu+\frac{1}{2}\frac{(\mu-r)^{2}}{\alpha\nu} \displaystyle-\frac{1}{2}\alpha q^{2}\nu\left(\left(\omega-\frac{\mu-r}{\alpha q\nu}\right)-\left(\delta-\frac{\partial p}{\partial q}\right)\right)^{\!2}+O[dt] when the derivative security with price p[t,q] is added. This is maximised by the hedge portfolio: \delta=\frac{\partial p}{\partial q} (120) The indifference condition dictates that the addition of the derivative security neither increases nor decreases the maximum entropy-adjusted mean of the portfolio, leading to the equation: 0=\frac{\partial p}{\partial t}-(p-\delta q)r+\frac{1}{2}\frac{\partial^{2}p}{\partial q^{2}}q^{2}\nu (121) for the derivative price. The expression on the right is the sum of time decay, funding and gamma contributions to the profit and loss of the hedged derivative. Setting this to zero eliminates the possibility of arbitrage. Incomplete market Assume the funding rate r and mean rate \mu are fixed and the variance rate \nu satisfies the stochastic differential equation: d\nu=\gamma[t,q,\nu]\,dt+\epsilon[t,q,\nu]\sqrt{\nu}\,dz (122) where the increments dy and dz are joint Brownian with correlation \rho[t,q,\nu] in the expectation measure. The portfolio return has entropy-adjusted mean: \displaystyle\frac{1}{dt}\mathbb{E}[ \displaystyle\alpha][(dp-(p/b)db)+(\omega-\delta)(dq-(q/b)db)]= (123) \displaystyle\frac{\partial p}{\partial t}-pr+\frac{\partial p}{\partial q}qr+\frac{\partial p}{\partial\nu}(\gamma-(\mu-r)\rho\epsilon) \displaystyle+\frac{1}{2}\frac{\partial^{2}p}{\partial q^{2}}q^{2}\nu+\frac{\partial^{2}p}{\partial q\partial\nu}q\nu\rho\epsilon+\frac{1}{2}\frac{\partial^{2}p}{\partial\nu^{2}}\nu\epsilon^{2} \displaystyle-\frac{1}{2}\alpha\left(\frac{\partial p}{\partial\nu}\right)^{\!2}\!\nu(1-\rho^{2})\epsilon^{2}+\frac{1}{2}\frac{(\mu-r)^{2}}{\alpha\nu} \displaystyle-\frac{1}{2}\alpha q^{2}\nu\left(\left(\omega-\frac{\mu-r}{\alpha q\nu}\right)-\left(\delta-\frac{\partial p}{\partial q}-\frac{\partial p}{\partial\nu}\frac{\rho\epsilon}{q}\right)\right)^{\!2} \displaystyle+O[dt] when the derivative security with price p[t,q,\nu] is added. This is maximised by the hedge portfolio: \delta=\frac{\partial p}{\partial q}+\frac{\partial p}{\partial\nu}\frac{\rho\epsilon}{q} (124) The indifference condition dictates that the addition of the derivative security neither increases nor decreases the maximum entropy-adjusted mean of the portfolio, leading to the equation: \displaystyle 0={} \displaystyle\frac{\partial p}{\partial t}-(p-\delta q)r+\frac{\partial p}{\partial\nu}(\gamma-\mu\rho\epsilon) (125) \displaystyle+\frac{1}{2}\frac{\partial^{2}p}{\partial q^{2}}q^{2}\nu+\frac{\partial^{2}p}{\partial q\partial\nu}q\nu\rho\epsilon+\frac{1}{2}\frac{\partial^{2}p}{\partial\nu^{2}}\nu\epsilon^{2} \displaystyle-\frac{1}{2}\alpha\left(\frac{\partial p}{\partial\nu}\right)^{\!2}\!\nu(1-\rho^{2})\epsilon^{2} for the derivative price. The expression on the right is the sum of time decay, funding, vega, gamma and value-at-risk contributions in a conservative estimate of the profit and loss of the hedged derivative. Setting this to zero generates the fair price of the derivative security, including a reserve for the residual risk that remains after hedging. VI Markovian diffusion Generalising the example of the Black-Scholes model, in this section assume that there is a vector x of state variables whose cumulant generating function in the expectation measure \mathbb{E} satisfies: \displaystyle\frac{1}{dt}\log{} \displaystyle\mathbb{E}\exp[\eta\cdot dx]= (126) \displaystyle\eta\cdot\mu+\frac{1}{2}\eta\cdot\nu\eta+\int_{j}(\exp[\eta\cdot j]-1)\,\theta[dj]+O[dt] where the vector \mu\equiv\mu[t,x] and positive-definite matrix \nu\equiv\nu[t,x] are the mean and covariance rate for the continuous component of the diffusion, and the positive measure \theta[dj]\equiv\theta[t,x][dj] is the frequency of jumps in the discontinuous component of the diffusion. The underlying price q\equiv q[t,x] and derivative price p\equiv p[t,x] are then assumed to be functions of time t and state x . This Lévy-Khintchine form for the cumulant generating function of the state implies its distribution is divisible, which enables the transition to the limit dt\to 0 of continuous hedging. Repeated differentiation with respect to \eta derives Itô’s lemma for the function f\equiv f[t,x] of time t and state x in the expectation measure \mathbb{E} : \displaystyle\frac{1}{dt}\mathbb{E}[df]={} \displaystyle\frac{\partial f}{\partial t}+\frac{\partial f}{\partial x}\cdot\mu+\frac{1}{2}\frac{\partial^{2}f}{\partial x^{2}}\cdot{}\!\cdot\nu (127) \displaystyle+\int_{j}\partial_{j}f\,\theta[dj]+O[dt] where \partial_{j}f[t,x]:=f[t,x+j]-f[t,x] . In the price measure \mathbb{E}^{\phi} , Itô’s lemma is modified by the drift adjustments of Girsanov’s theorem: \displaystyle\frac{1}{dt}\mathbb{E}^{\phi}[df]={} \displaystyle\frac{\partial f}{\partial t}+\frac{\partial f}{\partial x}\cdot\mu^{\phi}+\frac{1}{2}\frac{\partial^{2}f}{\partial x^{2}}\cdot{}\!\cdot\nu (128) \displaystyle+\int_{j}\partial_{j}f\,\theta^{\phi}[dj]+O[dt] where the mean rate and frequency of jumps are adjusted: \displaystyle\mu^{\phi} \displaystyle:=\mu-\nu\left(\phi\cdot\frac{\partial q}{\partial x}\right) (129) \displaystyle\theta^{\phi}[dj] \displaystyle:=\exp[-\phi\cdot\partial_{j}q]\,\theta[dj] With this assumption, the price model is established on the divisible process for the state vector x and the underlying price vector q[t,x] given as a function of time and state. Using the expression for Itô’s lemma in the price measure, the calibration, hedge and price conditions are transformed into partial differential-integral form. The calibration condition becomes: \displaystyle 0={} \displaystyle\frac{\partial q}{\partial t}-qr+\frac{\partial q}{\partial x}\cdot\mu^{\phi}+\frac{1}{2}\frac{\partial^{2}q}{\partial x^{2}}\cdot{}\!\cdot\nu (130) \displaystyle+\int_{j}\partial_{j}q\,\theta^{\phi}[dj]+O[dt] which is solved simultaneously with the self-funding condition \phi\cdot q=0 for the implied funding rate r and the unit optimal portfolio \phi . The hedge and price conditions become: \displaystyle 0={} \displaystyle\frac{\partial p}{\partial x}\cdot\nu\frac{\partial q}{\partial x}+qs-\left(\frac{\partial q}{\partial x}\cdot\nu\frac{\partial q}{\partial x}\right)\delta \displaystyle\!\!\!\!+\int_{j}\frac{1}{\alpha}(1-\exp[-\alpha(\partial_{j}p-\delta\cdot\partial_{j}q)])\,\partial_{j}q\,\theta^{\phi}[dj]+O[dt] \displaystyle 0={} \displaystyle\frac{\partial p}{\partial t}-pr+\frac{\partial p}{\partial x}\cdot\mu^{\phi}+\frac{1}{2}\frac{\partial^{2}p}{\partial x^{2}}\cdot{}\!\cdot\nu (131) \displaystyle-\frac{1}{2}\alpha\left(\frac{\partial p}{\partial x}-\delta\cdot\frac{\partial q}{\partial x}\right)\cdot\nu\left(\frac{\partial p}{\partial x}-\delta\cdot\frac{\partial q}{\partial x}\right) \displaystyle+\int_{j}\frac{1}{\alpha}(1-\exp[-\alpha(\partial_{j}p-\delta\cdot\partial_{j}q)])\,\theta^{\phi}[dj]+O[dt] which are solved simultaneously with the self-funding condition \delta\cdot q=p for the implied funding spread s , hedge portfolio \delta and derivative price p . Incompleteness means that the hedge portfolio does not exactly offset the risks of the derivative security for all possible market movements over the hedging interval, and this residual risk is accounted for with a compensating adjustment to the derivative price. Starting with its terminal contractual settlement, the numerical solution of these conditions for the derivative price repeats a Newton-Raphson scheme that determines the initial price p from the final price p+dp over each interval in a discretised schedule. The high dimensional complexity of this procedure is a consequence of the non-linearity of the hedge portfolio in the hedge condition. There are two useful scenarios where this condition is linear: the mid-pricing case \alpha=0 ; and the continuous diffusion case \theta[dj]=0 . Pricing simplifies in these cases. Mid-pricing When \alpha=0 , the hedge and price conditions simplify: \displaystyle s={} \displaystyle\frac{\displaystyle p-V^{-1}\left(\frac{\partial p}{\partial x}\cdot\nu\frac{\partial q}{\partial x}+\int_{j}\partial_{j}p\,\partial_{j}q\,\theta^{\phi}[dj]\right)\cdot q}{\displaystyle V^{-1}q\cdot q}+O[dt] \displaystyle\delta={} \displaystyle V^{-1}\left(\frac{\partial p}{\partial x}\cdot\nu\frac{\partial q}{\partial x}+\int_{j}\partial_{j}p\,\partial_{j}q\,\theta^{\phi}[dj]+qs\right)+O[dt] \displaystyle 0={} \displaystyle\frac{\partial p}{\partial t}-pr+\frac{\partial p}{\partial x}\cdot\mu^{\phi}+\frac{1}{2}\frac{\partial^{2}p}{\partial x^{2}}\cdot{}\!\cdot\nu (132) \displaystyle+\int_{j}(\partial_{j}p-\delta\cdot\partial_{j}q)\,\theta^{\phi}[dj]+O[dt] where: \displaystyle V \displaystyle:=\frac{\partial q}{\partial x}\cdot\nu\frac{\partial q}{\partial x}+\int_{j}\partial_{j}q\,\partial_{j}q\,\theta^{\phi}[dj] (133) Embedding the expressions for the implied funding spread and hedge portfolio, the price condition becomes a linear parabolic differential-integral equation for the derivative price. This equation balances the contributions to the return from the continuous and discontinuous components of the diffusion. Continuous diffusion When \theta[dj]=0 , the hedge and price conditions simplify: \displaystyle s={} \displaystyle\frac{\displaystyle p-V^{-1}\left(\frac{\partial p}{\partial x}\cdot\nu\frac{\partial q}{\partial x}\right)\cdot q}{\displaystyle V^{-1}q\cdot q}+O[dt] \displaystyle\delta={} \displaystyle V^{-1}\left(\frac{\partial p}{\partial x}\cdot\nu\frac{\partial q}{\partial x}+qs\right)+O[dt] \displaystyle 0={} \displaystyle\frac{\partial p}{\partial t}-pr+\frac{\partial p}{\partial x}\cdot\mu^{\phi}+\frac{1}{2}\frac{\partial^{2}p}{\partial x^{2}}\cdot{}\!\cdot\nu (134) \displaystyle-\frac{1}{2}\alpha\left(\frac{\partial p}{\partial x}-\delta\cdot\frac{\partial q}{\partial x}\right)\cdot\nu\left(\frac{\partial p}{\partial x}-\delta\cdot\frac{\partial q}{\partial x}\right)+O[dt] where: \displaystyle V \displaystyle:=\frac{\partial q}{\partial x}\cdot\nu\frac{\partial q}{\partial x} (135) Embedding the expressions for the implied funding spread and hedge portfolio, the price condition becomes a non-linear parabolic differential equation for the derivative price. This equation modifies the expression for the price to adjust for residual risk. As a concrete example of a continuous Markovian diffusion, the Heston model illustrates the key features of the more general framework. In this model, the state variables are the funding price b , the underlying price q and the variance rate \nu satisfying the stochastic differential equations: \displaystyle db \displaystyle=br\,dt (136) \displaystyle dq \displaystyle=q(\mu\,dt+\sqrt{\nu}\,dy) \displaystyle d\nu \displaystyle=\kappa(\bar{\nu}-\nu)\,dt+\epsilon\sqrt{\nu}\,dz where dy and dz are joint-Brownian increments in the expectation measure with correlation \rho . This is equivalent to the cumulant generating function: \displaystyle\frac{1}{dt}\log{} \displaystyle\mathbb{E}\exp[\beta\,db+\psi\,dq+\eta\,d\nu]= (137) \displaystyle\beta\,br+\psi\,q\mu+\eta\,\kappa(\bar{\nu}-\nu) \displaystyle+\frac{1}{2}\psi^{2}\,q^{2}\nu+\psi\eta\,q\nu\rho\epsilon+\frac{1}{2}\eta^{2}\,\nu\epsilon^{2}+O[dt] The funding price has predictable increment with mean br\,dt where r is the funding rate. The underlying price has increment with mean q\mu\,dt and variance q^{2}\nu\,dt where \mu is the mean rate. The variance rate has increment with mean \kappa(\bar{\nu}-\nu)\,dt and variance \nu\epsilon^{2}\,dt where \kappa is the mean reversion rate, \bar{\nu} is the mean reversion level and \epsilon is the volatility of variance. The final parameter \rho is the correlation between the increments of the underlying price and the variance rate. Since the funding security has predictable return, the implied funding rate is r and the implied funding spread is s=0 . The self-funded portfolio with underlying weight \phi and funding weight -\phi(q/b) creates the price measure \mathbb{E}^{\phi} with cumulant generating function: \displaystyle\frac{1}{dt}\log{} \displaystyle\mathbb{E}^{\phi}\exp[\beta\,db+\psi\,dq+\eta\,d\nu]= (138) \displaystyle\beta\,br+\psi\,q\mu^{\phi}+\eta\,\kappa(\bar{\nu}^{\phi}-\nu) \displaystyle+\frac{1}{2}\psi^{2}\,q^{2}\nu+\psi\eta\,q\nu\rho\epsilon+\frac{1}{2}\eta^{2}\,\nu\epsilon^{2}+O[dt] where the mean rate of the underlying price and the mean reversion level of the variance rate are adjusted: \displaystyle\mu^{\phi} \displaystyle:=\mu-\phi q\nu (139) \displaystyle\bar{\nu}^{\phi} \displaystyle:=\bar{\nu}-\phi q\nu\frac{\rho\epsilon}{\kappa} The calibration condition then implies that the unit optimal portfolio has \phi=(\mu-r)/(q\nu) , so that: \displaystyle\mu^{\phi} \displaystyle=r (140) \displaystyle\bar{\nu}^{\phi} \displaystyle=\bar{\nu}-(\mu-r)\frac{\rho\epsilon}{\kappa} The state is also a Heston model in the price measure, albeit with these two drift parameters adjusted to account for the change of measure. In this approach, the Heston parameters in the price measure can be estimated from statistical analysis of the state in the expectation measure, applying the measure adjustment post-estimation to calibrate to the underlying price. The hedge and price conditions in the Heston model generate the expressions: \displaystyle\delta={} \displaystyle\frac{\partial p}{\partial q}+\frac{\partial p}{\partial\nu}\frac{\rho\epsilon}{q}+O[dt] (141) \displaystyle 0={} \displaystyle\frac{\partial p}{\partial t}-pr+\frac{\partial p}{\partial q}qr+\frac{\partial p}{\partial\nu}(\kappa(\bar{\nu}-\nu)-(\mu-r)\rho\epsilon) \displaystyle+\frac{1}{2}\frac{\partial^{2}p}{\partial q^{2}}\,q^{2}\nu+\frac{\partial^{2}p}{\partial q\,\partial\nu}\,q\nu\rho\epsilon+\frac{1}{2}\frac{\partial^{2}p}{\partial\nu^{2}}\,\nu\epsilon^{2} \displaystyle-\frac{1}{2}\alpha\left(\frac{\partial p}{\partial\nu}\right)^{\!2}\!\nu(1-\rho^{2})\epsilon^{2}+O[dt] for the hedge portfolio \delta[t,q,\nu] and the derivative price p[t,q,\nu] . In the first expression, the hedge ratio is adjusted when the increment of the variance rate is correlated with the increment of the underlying price. The derivative price then satisfies a linear parabolic differential equation with a non-linear correction term that prices the unhedgeable risks when the increments are not perfectly correlated. VII Discrete models As the example of the Heston model demonstrates, entropic risk optimisation can be consistently applied in theoretical models that include unhedgeable factors, naturally adjusting for market incompleteness in pricing and hedging. Data-driven models take a different approach, eschewing theoretical foundations for a statistical method that extracts information directly and exclusively from the data. In practice, this means that the model is supported on a finite set of eigenstates generated from a statistical model trained on historical data. The expectation measure is then assumed to be uniformly distributed on the eigenstates. With no theory to support development beyond the information expressed in the data, a more general foundation is needed that does not depend on unrealistic assumptions such as complete markets, continuous hedging or risk-free funding. Advocates of deep hedging address this by replacing risk neutralisation with risk optimisation, using convex risk metrics to assess strategic performance. While they suffer from lack of explainability, data-driven models can uncover complex relationships between economic variables that may be hard to capture theoretically. Entropy is a universal concept in information theory that is ideally suited to a wide range of applications. In this section, the entropic risk metric is applied to risk optimisation in discrete models of classical and quantum information. The core premise of the discrete model is that the indeterminate variable has a spectrum of possible eigenvalues, which may include duplicates, that are uniformly distributed in the expectation measure. Classical or quantum models are then characterised by the existence or absence of a common basis of eigenstates supporting the eigenvalues of all the variables. The indeterminate variable X is associated with its spectrum (X_{1},\ldots,X_{n}) and the expectation measure assumes these outcomes are equally likely. Represent the variable as a diagonal matrix with its eigenvalues arrayed on the diagonal. The mean of X is the average eigenvalue, expressed as the normalised trace of its matrix: \mathbb{E}[X]:=\frac{1}{n}\tr[X] (142) Significantly, this definition extends to arbitrary self-adjoint matrices, where the mean, defined to be the average eigenvalue, is equivalently evaluated as the normalised trace. Classical information is characterised by the commutativity of its indeterminate variables; without loss of generality, the variables are simultaneously diagonalised and the expectation measure is uniformly distributed on the common set of diagonalising eigenstates. This restriction is lifted for quantum information, where non-commutativity is embraced as an additional source of uncertainty with remarkable consequences for the quality of model fitting. Functional calculus extends to self-adjoint matrices by applying the transformation directly to the eigenvalues in the diagonalised representation. The entropy-adjusted mean of X is then defined: \mathbb{E}[\alpha][X]=-\frac{1}{\alpha}\log\!\left[\frac{1}{n}\tr[\exp[-\alpha X]]\right] (143) When optimising the strategy with this target function, care must be taken to manage the potential complications of non-commutativity. For example, the perturbation \partial(X^{2})=(\partial X)X+X(\partial X) cannot be simplified further when X and \partial X do not commute. Fortunately, the trace of this expression can be simplified, thanks to cyclicity, and in general the perturbation has the handy simplification: \partial\tr[f[X]]=\tr[f^{\prime}[X]\,\partial X] (144) Using this result, the portfolios are optimised at the stationary points of the entropy-adjusted mean: \displaystyle 0 \displaystyle=\frac{\partial}{\partial\omega}(\mathbb{E}[\alpha][\omega\cdot dq]-\omega\cdot qr\,dt) (145) \displaystyle=\frac{\displaystyle\tr[dq\,\exp[-\alpha\omega\cdot dq]]}{\displaystyle\tr[\exp[-\alpha\omega\cdot dq]]}-qr\,dt \displaystyle 0 \displaystyle=\frac{\partial}{\partial\delta}(\mathbb{E}[\alpha][dp+(\omega-\delta)\cdot dq]-(p-\delta\cdot q)(r+\alpha s)\,dt) \displaystyle=-\frac{\displaystyle\tr[dq\,\exp[-\alpha(P+(\omega-\delta)\cdot dq)]]}{\displaystyle\tr[\exp[-\alpha(P+(\omega-\delta)\cdot dq)]]}+q(r+\alpha s)\,dt which generates the calibration and hedge conditions. The price condition for the initial derivative price is then obtained by equating the entropy-adjusted means. With the unit optimal portfolio defined by \phi:=\alpha\omega , these three conditions are expressed as: \displaystyle 0 \displaystyle=\tr[(dq-qr\,dt)\exp[-\phi\cdot dq]] (146) \displaystyle 0 \displaystyle=\tr[(dq-q(r+\alpha s)\,dt)\exp[-\phi\cdot dq-\alpha(P-\delta\cdot dq)]] \displaystyle p \displaystyle=-\frac{1}{\alpha}\log\!\left[\frac{\tr[\exp[-\phi\cdot dq-\alpha(P-\delta\cdot dq)]]}{\tr[\exp[-\phi\cdot dq]]}\right] The calibration condition is solved together with the self-funding condition \phi\cdot q=0 for the implied funding rate r and the unit optimal portfolio \phi , and the hedge and price conditions are solved together with the self-funding condition \delta\cdot q=p for the implied funding spread s , the hedge portfolio \delta and the initial derivative price p . VII.1 Mid pricing There are, in general, no explicit solutions to the hedge and price conditions, though they are efficiently solved by the Newton-Raphson scheme. Mid pricing is derived in the limit \alpha=0 , and for this special case the conditions are explicitly solved to derive the hedge portfolio and the initial derivative price. The solution depends on the small- \alpha expansion of the conditions, which is complicated by the non-commutativity of the underlying returns. Fortunately, the expansion can be generated with the aid of Poincaré’s formula for the differential of the matrix exponential. Define the adjoint action \ad_{X}[Y]:=XY-YX of the matrix X on the matrix Y . Poincaré’s formula is derived in the form: \displaystyle 1-{} \displaystyle\exp[-(X+\alpha Y)]\exp[X] (147) \displaystyle=\int_{s=0}^{1}\frac{\partial}{\partial s}(1-\exp[-s(X+\alpha Y)]\exp[sX])\,ds \displaystyle=\alpha\int_{s=0}^{1}\exp[-s(X+\alpha Y)]Y\exp[sX]\,ds \displaystyle=\alpha\int_{s=0}^{1}\exp[-sX]Y\exp[sX]\,ds+O[\alpha^{2}] \displaystyle=\alpha\left(\int_{s=0}^{1}\exp[-s\ad_{X}]\,ds\right)\![Y]+O[\alpha^{2}] \displaystyle=\alpha\frac{\displaystyle 1-\exp[-\ad_{X}]}{\displaystyle\ad_{X}}[Y]+O[\alpha^{2}] where the foundational relationship between Lie algebras and Lie groups: \exp[\ad_{X}][Y]=\exp[X]Y\exp[-X] (148) is applied at the fourth step. Combining this result with the elementary property \tr[\ad_{X}[Y]Z]=-\tr[Y\ad_{X}[Z]] of the adjoint action derives the expansion: \displaystyle\tr[Z\exp \displaystyle[-(X+\alpha Y)]]=\tr[Z\exp[-X]] (149) \displaystyle-\alpha\tr\!\left[\frac{\displaystyle\exp[\ad_{X}]-1}{\displaystyle\ad_{X}}[Z]Y\exp[-X]\right]+O[\alpha^{2}] This result is used to solve the hedge and price conditions in the mid-pricing case. Define the price measure: \mathbb{E}^{\phi}[X]:=\frac{\displaystyle\tr[X\exp[-\phi\cdot dq]]}{\displaystyle\tr[\exp[-\phi\cdot dq]]} (150) Poincaré’s formula derives the small- \alpha expansions: \displaystyle\frac{\tr[\exp[-\phi\cdot dq-\alpha(P-\delta\cdot dq)]]}{\tr[\exp[-\phi\cdot dq]]}= (151) \displaystyle\qquad\qquad 1-\alpha\mathbb{E}^{\phi}[P-\delta\cdot dq]+O[\alpha^{2}] \displaystyle\frac{\tr[dq\,\exp[-\phi\cdot dq-\alpha(P-\delta\cdot dq)]]}{\tr[\exp[-\phi\cdot dq]]}= \displaystyle\qquad\qquad qr\,dt-\alpha\mathbb{E}^{\phi}[d\hat{q}\,(P-\delta\cdot dq)]+O[\alpha^{2}] adjusting to account for non-commutativity in the underlying returns with the definition: d\hat{q}:=\frac{\displaystyle\exp[\ad_{\phi\cdot dq}]-1}{\displaystyle\ad_{\phi\cdot dq}}[dq] (152) The expansions generate the following solutions for the hedge and price conditions: \displaystyle p \displaystyle=\frac{1}{1+r\,dt}\mathbb{E}^{\phi}[P]+O[\alpha] (153) \displaystyle s\,dt \displaystyle=\frac{\displaystyle p-\mathbb{V}^{\phi}[d\hat{q},dq]^{-1}\mathbb{V}^{\phi}[d\hat{q},P]\cdot q}{\displaystyle\mathbb{V}^{\phi}[d\hat{q},dq]^{-1}q\cdot q}+O[\alpha] \displaystyle\delta \displaystyle=\mathbb{V}^{\phi}[d\hat{q},dq]^{-1}(\mathbb{V}^{\phi}[d\hat{q},P]+qs\,dt)+O[\alpha] Quantum solutions are similar to the corresponding classical solutions, but include a correction to the hedge portfolio when there is non-commutativity among the components of the underlying return vector. VII.2 Option pricing Consider a market that contains a funding security whose final price is represented by the positive-definite matrix B and an underlying security whose final price is represented by the self-adjoint matrix Q . For the spread portfolio with strike k whose final price is represented by the self-adjoint matrix Q-kB , let u be an eigenstate and let \zeta be the corresponding eigenvalue satisfying: (Q-kB)u=\zeta u (154) The sensitivity of the eigenvalue to the strike is negative: \frac{d\zeta}{dk}=-\frac{\displaystyle u^{\dagger}Bu}{\displaystyle u^{\dagger}u} (155) The eigenstate may also be sensitive to the strike, and this creates higher-order convexity in the relationship between strike and eigenvalue. If the matrices Q and B commute then the eigenstates of the matrix Q-kB are fixed as the strike varies and the corresponding eigenvalues are linear in the strike. If the matrices Q and B do not commute then the eigenstates of the matrix Q-kB are not fixed as the strike varies and the corresponding eigenvalues are non-linear in the strike. Convexity between strike and eigenvalue can be utilised in option pricing. Assume for convenience that, for each i=1,\ldots,n , the i th eigenvalue \zeta_{i} is strictly decreasing as a function of the strike and is zero at the unique strike x_{i} . If the calibration condition is solved with unit optimal portfolio \phi=0 and implied funding rate r=0 , so that funding adjustments can be ignored, then the mid price for the option is: \displaystyle\frac{1}{n}\tr[(Q-kB)^{+}]=\frac{1}{n}\sum_{i=1}^{n}\zeta_{i}[k]^{+} (156) \displaystyle\qquad=\sum_{i=1}^{n}(x_{i}-k)^{+}w_{i}+\int_{x=-\infty}^{\infty}(x-k)^{+}w[x]\,dx where the second expression is derived from the first expression using integration by parts with: \displaystyle w_{i} \displaystyle:=-\frac{1}{n}\zeta_{i}^{\prime}[x_{i}] (157) \displaystyle w[x] \displaystyle:=\frac{1}{n}\sum_{i=1}^{n}\zeta_{i}^{\prime\prime}[x](1_{x0} . VII.3 Classical study The classical studies of figures 10 , 11 , 12 and 13 assume b=1 and B=1 , and Q is a diagonal matrix with eigenvalues Q_{i} sampled from a standard normal variable, centralised to have zero sample mean. The matrix P=f[Q-kB] is then diagonal with eigenvalues P_{i}:=f[Q_{i}-k] . The calibration condition: 0=\sum_{i=1}^{n}(Q_{i}-q)\exp[-\phi Q_{i}] (164) is solved for the unit optimal portfolio \phi , which generates the eigenstate probabilities: \gamma_{i}:=\frac{\displaystyle\exp[-\phi Q_{i}]}{\displaystyle\sum\nolimits_{j=1}^{n}\exp[-\phi Q_{j}]} (165) in the price measure. The hedge condition: 0=\sum_{i=1}^{n}\gamma_{i}(Q_{i}-q)\exp[-\alpha(P_{i}-\delta Q_{i})] (166) is then solved for the hedge portfolio \delta . Using these solutions, the price condition: p=\delta q-\frac{1}{\alpha}\log\!\left[\sum_{i=1}^{n}\gamma_{i}\exp[-\alpha(P_{i}-\delta Q_{i})]\right] (167) generates the initial derivative price p . Three cases are considered in the studies with n=$100$ (left column), 1true000 (middle column) and 10true000 (right column), for the call option f[x]=x^{+} (top two rows) and the digital option f[x]=1_{x>0} (bottom two rows). The derivative security cannot be exactly replicated by the funding and hedging securities, and entropic risk optimisation compensates for this model risk with a bid-offer around the mid price and a skew to the hedge ratio. In the study with n=$100$ samples, the support is contained within the interval (-2.5,2.5), and there can be no option value outside this range of strikes. Increasing the number of samples widens the support and brings the solution closer to the limit of the standard normal variable. The support of the expectation measure thus plays a crucial role in determining hedge and price and also the extent to which unhedged risks impact the bid-offer. Entropic pricing does not allocate probability beyond the support of the expectation measure, and unrealistic assumptions on the support can mask model risks. VII.4 Quantum study The quantum studies of figure 14 assume b=1 and q=0 , and B and Q are matrices with n=2 eigenvalues: \displaystyle B \displaystyle=1+\epsilon\begin{bmatrix}1&0\\ 0&-1\end{bmatrix} (168) \displaystyle Q \displaystyle=\begin{bmatrix}\cos[\theta]&-\sin[\theta]\\ \sin[\theta]&\cos[\theta]\end{bmatrix}\begin{bmatrix}1&0\\ 0&-1\end{bmatrix}\begin{bmatrix}\cos[\theta]&\sin[\theta]\\ -\sin[\theta]&\cos[\theta]\end{bmatrix} The gap \epsilon separates the eigenvalues of the funding security and the angle \theta rotates the eigenbasis of the hedging security. The matrix P=f[Q-kB] is obtained by first diagonalising the matrix Q-kB and then applying the function f to its eigenvalues: \displaystyle P \displaystyle= (169) \displaystyle\begin{bmatrix}\cos[\psi]&-\sin[\psi]\\ \sin[\psi]&\cos[\psi]\end{bmatrix}\begin{bmatrix}P_{+}&0\\ 0&P_{-}\end{bmatrix}\begin{bmatrix}\cos[\psi]&\sin[\psi]\\ -\sin[\psi]&\cos[\psi]\end{bmatrix} with: \displaystyle\psi \displaystyle:=\frac{1}{2}\arctan\!\left[\frac{\sin[2\theta]}{\cos[2\theta]-\epsilon k}\right] (170) \displaystyle Q_{\pm} \displaystyle:=\pm\frac{\sin[2\theta]}{\sin[2\psi]} \displaystyle P_{\pm} \displaystyle:=f[Q_{\pm}-k] The non-linear relationship between a matrix and its eigenvalues is exploited to create a complex dependence of the option payoff on the strike. Fine tuning the rotation of the eigenbases can then be used to fit the implied volatility smile. The calibration condition is trivially solved with \phi=0 , and the hedge and price conditions become: \displaystyle\delta \displaystyle=\hat{P}\cos[2(\psi-\theta)]-\epsilon p\cos[2\theta] (171) \displaystyle p \displaystyle=\bar{P}-\frac{1}{\alpha}\log\cosh[\alpha(\hat{P}\sin[2(\psi-\theta)]+\epsilon p\sin[2\theta])] where \bar{P}:=(P_{+}+P_{-})/2 and \hat{P}:=(P_{+}-P_{-})/2 . The price condition is first solved for the initial derivative price p . Using this solution, the hedge condition generates the hedge portfolio \delta . Three cases are considered in the studies with \theta=0 (left column), \pi/5 (middle column) and \pi/4 (right column), with \epsilon=1-\cos[2\theta] in each case, for the call option f[x]=x^{+} . Contrasting with the classical studies where thousands of eigenstates are needed for acceptable convergence, the inclusion of non-commutativity between the final funding and hedging prices generates a credible model for the initial derivative price with as few as two eigenstates. With two securities available for funding and hedging, the derivative security is exactly replicated in the classical binomial model with zero rotation. Heisenberg uncertainty breaks market completeness, and entropic risk optimisation creates a compensating bid-offer around the mid price in the quantum binomial model when the rotation is non-zero. At the maximum rotation \theta=\pi/4 , the implied volatility smile has continuous support on the full line, a remarkable property for a model whose final underlying prices are binomial. VIII Entropic XVA An unconstrained strategy that maximises the mean does not incentivise risk management and results in a portfolio with potentially disastrous downside risks. For this reason, a strategy that instead aims to maximise the risk-adjusted mean creates a more balanced portfolio that can be fine-tuned to the risk appetite of the investor. It would appear from this statement that risk management is an investment choice, with the risk appetite a free parameter under the control of the investor. This is not the case. Without risk management there is a material risk that the investor will not meet their contractual commitments. At the very least, this potentially tarnishes the reputation of the investor as a reliable counterparty, with consequent impact on the prices they will be offered. In regulated markets, risk management is also a legal requirement with detailed and specific obligations for margin and capital. Figure 15: In this example, the trader receives the initial derivative price p and deploys additional capital c to guarantee settlement, with margin m:=c+p\geq 0 . These proceeds are deposited in a margin account with unit price b>0 . The final derivative price p+dp is settled up to the value (c+p)(1+db/b) of the margin account, with any remainder returned to the trader. Default occurs when the margin account is insufficient to meet the contractual obligation. In the expression for the final settlement, the cap is denoted by the superscript. Figure 16: Two counterparties deploy capital c_{1} and c_{2} respectively as their guarantee of derivative settlement, with margin m_{1}:=c_{1}-p\geq 0 and m_{2}:=c_{2}+p\geq 0 , and they default on their contractual obligation if this is insufficient. Net of all considerations, the counterparties share the combined proceeds from the margin accounts, and the final return on capital is floored and capped by the respective default events. In the expressions for the final settlement and capital, the floor is denoted by the subscript and the cap is denoted by the superscript. Figure 17: Compressing internal settlements, the trade is simplified as a funding pool with contributions from both counterparties shared according to the contractual settlement of the derivative security adjusted for default. Using the entropic margin model, these settlements can be encoded in a smart contract for decentralised distribution. VIII.1 Margined derivatives If the true costs of risk management are fully accounted in the return, reckless investments are naturally penalised by their associated margin costs. Returning to the bilateral model outlined in the introduction, suppose that two counterparties deploy capital c_{1} and c_{2} to a derivative trade with initial price p . Excess capital is deposited in the margin account with unit price b>0 . The derivative is settled from the margin account with no additional funds injected, creating the risk that insufficient capital results in default by one of the counterparties. As shown in figures 17 , 17 and 17 , net of all considerations the capital returned from the derivative is: \displaystyle c_{1}+dc_{1} \displaystyle=c_{1}(1+db/b)+\left(dp-\frac{p}{b}db\right)_{-c_{1}(1+db/b)}^{c_{2}(1+db/b)} (172) \displaystyle c_{2}+dc_{2} \displaystyle=c_{2}(1+db/b)-\left(dp-\frac{p}{b}db\right)_{-c_{1}(1+db/b)}^{c_{2}(1+db/b)} where the subscript denotes the floor and the superscript denotes the cap. With all the internal settlements compressed, the structure reduces to a funding pool with initial capital (c_{1}+c_{2}) deposited in the margin account and final capital (c_{1}+c_{2})(1+db/b) redistributed to the counterparties. Without the derivative settlement, the final capital is distributed according to the return on the initial contribution, with c_{1}(1+db/b) returned to the first counterparty and c_{2}(1+db/b) returned to the second counterparty. Introducing the derivative settlement, this distribution of capital is zero-sum adjusted by the funded derivative return up to the amount in the margin account. Default then occurs when the margin account has insufficient funds to meet the contractual settlement. With the return on capital thus defined, entropic pricing can be applied. Each counterparty assesses the performance of the derivative security relative to their respective underlying markets with prices q_{1} and q_{2} , using their expectation measures \mathbb{E}_{1} and \mathbb{E}_{2} and risk aversions \alpha_{1} and \alpha_{2} . The hedge conditions: \displaystyle 0 \displaystyle=\mathbb{E}_{1}^{\phi_{1}}[(dq_{1}-q_{1}r_{1}\,dt)\exp[-\alpha_{1}(dc_{1}-\delta_{1}\cdot dq_{1})]] (173) \displaystyle 0 \displaystyle=\mathbb{E}_{2}^{\phi_{2}}[(dq_{2}-q_{2}r_{2}\,dt)\exp[-\alpha_{2}(dc_{2}-\delta_{2}\cdot dq_{2})]] are solved with the self-funding conditions \delta_{1}\cdot q_{1}=c_{1} and \delta_{2}\cdot q_{2}=c_{2} to generate the hedge portfolios \delta_{1} and \delta_{2} , where \phi_{1} and \phi_{2} are the unit optimal portfolios in the underlying markets. The price conditions derive the expressions: \displaystyle 0={} \displaystyle\mathbb{E}_{1}^{\phi_{1}}[\alpha_{1}]\!\left[-\left(\delta_{1}\cdot dq_{1}-\frac{c_{1}}{b}db\right)\vphantom{\left(dp-\frac{p}{b}db\right)_{-c_{1}(1+db/b)}^{c_{2}(1+db/b)}}\right. (174) \displaystyle\qquad\qquad+\left.\left(dp-\frac{p}{b}db\right)_{-c_{1}(1+db/b)}^{c_{2}(1+db/b)}\right] \displaystyle 0={} \displaystyle\mathbb{E}_{2}^{\phi_{2}}[\alpha_{2}]\!\left[-\left(\delta_{2}\cdot dq_{2}-\frac{c_{2}}{b}db\right)\vphantom{\left(dp-\frac{p}{b}db\right)_{-c_{1}(1+db/b)}^{c_{2}(1+db/b)}}\right. \displaystyle\qquad\qquad-\left.\left(dp-\frac{p}{b}db\right)_{-c_{1}(1+db/b)}^{c_{2}(1+db/b)}\right] which are solved for the threshold prices p_{1} and p_{2} of the two counterparties. The trade is viable when the initial price p is in the range p_{2}\leq p\leq p_{1} , and is therefore not viable when p_{1}