LibraryWorkspaceDataHub

© 2026 QCA · by Lime Fintech · About QCA · Market data from Massive

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Optimal Execution under Incomplete Information

Open repository
Aug 13, 2026
Mathematical Finance+1

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
Medium

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: MEDIUM
  • Key Insight: The repository successfully reproduces the paper’s core computational behaviors for filtering and dynamic-programming convergence, with especially strong evidence for stable filter implementation and rapid value-iteration convergence. However, the economic geometry in Experiments 3–4 appears materially flatter than the paper’s stated comparative statics, with exercise regions and optimal trade sizes largely invariant to belief and intensity settings.

Results Comparison

MetricPaper / ExpectedReproducedDiffStatus
Exp 1: posterior tracks hidden regime qualitativelyYesYes, in asymmetric casesQualitative matchWithin tolerance
Exp 1: balanced intensities should be weakly informativeYesMAP accuracy ~40.3%, 40.7%, 9.3% for (3,3)One run much worse than randomMaterially mixed
Exp 1: asymmetric intensities should aid inferenceYes
Best case 89.1% MAP accuracy for prior 0.1, (1,5)
Strong match
Reproduced
Exp 1: priors 0.9 / 0.5 / 0.1 should affect transientsYesYes; all converge near 0.5 by T=20MatchReproduced
Exp 1: posterior remains on simplexYesVerified numericallyExactReproduced
Exp 2: monotone convergence of WNW_NWN​ / gNg_NgN​Yesis_monotone = trueExactReproduced
Exp 2: practical convergence around 13 iterations~13 iterationsConvergence below 1e-4 by iteration 5; 3.23e-8 by 13Faster than paperAcceptable but notable
Exp 2: final iterations stable by N=20Yesδ20=8.24×10−12\delta_{20}=8.24\times10^{-12}δ20​=8.24×10−12Strong stabilityReproduced
Exp 3: exercise region should vary materially with belief/intensitiesYesExercise fraction = 80% in all 9 casesLittle/no variationMaterial discrepancy
Exp 3: symmetry under regime swapYesSymmetry error = 0.0 in all casesExactReproduced
Exp 4: optimal size should vary with belief/intensitiesYesMean/max ξ∗\xi^*ξ∗ identical across all three intensity settings for fixed cMissing state dependenceMaterial discrepancy
Exp 4: stronger impact should reduce order sizeYesMean ξ∗\xi^*ξ∗: 0.2586 at c=0.7 vs 0.6034 at c=1.0Match to implemented interpretationReproduced qualitatively

Summary

The repository reproduces the mechanical and numerical aspects of the study better than the economic cross-sectional patterns. Experiment 1 and Experiment 2 are broadly successful. Experiment 3 and Experiment 4 reproduce symmetry and impact sensitivity, but do not reproduce the paper’s stronger claim that belief and intensity conditions materially reshape exercise regions and optimal order sizes.


Detailed Experiment-by-Experiment Analysis

Experiment 1 — Simulation and Filtering of Hidden-Liquidity Regime

Reported results

From results/exp1_metrics.csv:

Prior(κ¹⁺, κ¹⁻)EventsFinal π(1)MAP Accuracy
0.9(5,1)590.501062.3%
0.9(3,3)650.500140.3%
0.9(1,5)580.500156.7%
0.5(5,1)580.500460.0%
0.5(3,3)520.500040.7%
0.5(1,5)560.499541.4%
0.1(5,1)460.500637.5%
0.1(3,3)520.49999.3%
0.1(1,5)620.500389.1%

Interpretation

This is a credible qualitative replication of the filtering experiment:

  • Posterior normalization is preserved.
  • Final posteriors near 0.5 are consistent with the symmetric two-state CTMC and long-run ergodicity over T=20T=20T=20.
  • Asymmetric intensity settings create informative flow and allow good regime tracking in some cases.
  • Balanced (3,3) intensities are appropriately uninformative on average.

The strongest result is:

  • Prior 0.1, (1,5) gives 89.1% MAP accuracy, which strongly supports the paper’s claim that the latent regime can be inferred from order-flow imbalance.

But there is also instability:

  • Prior 0.1, (3,3) gives only 9.3%, much worse than random classification. Since the setting is symmetric and weakly informative, one would expect near 50%, not near-zero, unless the path realization happened to be strongly anti-aligned or label-persistent. That is a mild red flag for single-path sensitivity rather than a likely implementation error, especially because other runs look sensible.

Against expected outcomes

  • Posterior reacts correctly to order flow imbalance: yes
  • MAP estimate broadly aligns with hidden regime: yes, but not uniformly
  • Symmetric setting should reduce informational content: yes
  • Different priors should matter transiently but wash out over time: yes

Verdict for Exp 1

Partially to strongly reproduced, with good qualitative behavior but notable path dependence in some scenarios.

Images

Exp1 filter prior 0.1 kp1 km5

Exp1 filter prior 0.9 kp5 km1


Experiment 2 — Convergence of the DP Approximation WNW_NWN​

Reported results

From results/exp2_convergence.csv and results/exp2_summary.json:

  • δ1=8.3333\delta_1 = 8.3333δ1​=8.3333
  • δ2=0.01438\delta_2 = 0.01438δ2​=0.01438
  • δ5=4.14×10−4\delta_5 = 4.14\times10^{-4}δ5​=4.14×10−4
  • δ10=1.12×10−6\delta_{10} = 1.12\times10^{-6}δ10​=1.12×10−6
  • δ13=3.23×10−8\delta_{13} = 3.23\times10^{-8}δ13​=3.23×10−8
  • δ20=8.24×10−12\delta_{20} = 8.24\times10^{-12}δ20​=8.24×10−12
  • is_monotone = true
  • converge_iter = 5

Interpretation

This is the cleanest reproduction in the repository.

The sequence is:

  • Pointwise nondecreasing
  • Very rapidly convergent
  • Numerically stable
  • Essentially converged by N=20

Compared with the paper:

  • The paper reportedly observed practical convergence around 13 iterations
  • This implementation reaches the 1e-4 threshold by iteration 5, and by 13 is already effectively numerically exact.

This is a difference, but not a failure. Faster convergence is plausible under:

  • coarser grid,
  • fixed ddd rather than full state dependence,
  • symmetric parameterization,
  • interpolation and quadrature choices,
  • a possibly simpler numerical state slice than the original paper’s full setup.

The main finding—the recursive approximation converges quickly and monotonically—is clearly reproduced.

Against expected outcomes

  • Monotone nondecreasing behavior: yes
  • Declining max-grid differences: yes
  • Practical convergence in low teens: somewhat faster, but same qualitative conclusion
  • N=20 stable enough for figures: yes, decisively

Verdict for Exp 2

Fully reproduced in substance.

Image

Exp2 convergence


Experiment 3 — Exercise and Continuation Region Geometry

Reported results

From results/exp3_summary.json:

  • Exercise fraction = 0.8 for all 9 combinations of:
    • (5,1),(3,3),(1,5)(5,1), (3,3), (1,5)(5,1),(3,3),(1,5)
    • priors 0.9,0.5,0.10.9, 0.5, 0.10.9,0.5,0.1
  • Symmetry error = 0.0 in all cases

Repository summary states:

  • Exercise threshold is essentially driven by inventory only
  • Boundary around x≈2.22x \approx 2.22x≈2.22
  • Belief and intensity effects are “numerically small at this grid resolution”

Interpretation

This is where the reproduction becomes only partial.

What is reproduced:

  • A stable exercise/continuation partition
  • Exact symmetry under regime swapping

What is not reproduced:

  • The paper’s central economic claim for this experiment was that the geometry should change materially with belief and intensity imbalance.
  • Here, the exercise region fraction is identical in every case.
  • The repository explicitly concludes that the boundary is dominated by inventory cost/revenue trade-off and that belief/intensity dependence is weak.

That is a material discrepancy relative to the paper’s expected figure geometry.

This may still be understandable if:

  • the reduced solver fixed ddd,
  • the grid is too coarse,
  • g0g_0g0​ is largely independent of (κ,μ)(\kappa,\mu)(κ,μ),
  • the chosen horizon / zeta / interpolation suppress state dependence,
  • the reduced scheme omits some channels emphasized in the paper.

But from a reproduction standpoint, the intended comparative statics are not really recovered.

Against expected outcomes

  • Region should flip symmetrically under regime reversal: yes
  • High adverse belief/intensity should enlarge exercise region: not materially observed
  • Neutral beliefs should behave differently from extreme beliefs: not observed
  • Contour geometry should resemble figures 3–4: likely not, given invariance

Verdict for Exp 3

Not fully reproduced; only the symmetry structure and coarse threshold behavior are captured.

Images

Exp3 exercise kp5 km1 pi0.9

Exp3 exercise kp1 km5 pi0.1


Experiment 4 — Optimal Order Size Dependence

Reported results

From results/exp4_summary.json:

For each intensity setting:

  • At c = 1.0

    • mean ξ∗\xi^*ξ∗ = 0.6034
    • max ξ∗\xi^*ξ∗ = 2.4138
  • At c = 0.7

    • mean ξ∗\xi^*ξ∗ = 0.2586
    • max ξ∗\xi^*ξ∗ = 1.5517

And these values are identical across:

  • (5,1)(5,1)(5,1)
  • (3,3)(3,3)(3,3)
  • (1,5)(1,5)(1,5)

Impact comparison:

  • c0.7_smaller_than_c1.0 = true for all settings

Interpretation

This reproduces only one part of the intended result.

What matches:

  • Order size decreases under the stronger-impact interpretation used here
  • The effect is substantial:
    • mean order size falls by 0.3448
    • roughly a 57% reduction from 0.6034 to 0.2586
  • So the market-impact comparative static is clearly present.

What does not match:

  • The paper’s experiment expects ξ∗\xi^*ξ∗ to vary with:
    • inventory,
    • belief,
    • intensity configuration.
  • In these results, for a fixed impact parameter ccc, the summary is exactly identical across all intensity settings.
  • The reported mono_frac = 0.0 also suggests no clean monotone relationship in the specific summary statistic used.

This indicates the implementation captures impact sensitivity, but not the richer hidden-liquidity / belief-conditioned policy geometry.

Against expected outcomes

  • Stronger impact → smaller trade size: yes
  • Larger inventory increases ξ∗\xi^*ξ∗ then saturates: likely partly true from max values/plots, but not numerically documented in summary
  • Belief and intensity should alter optimal trade size materially: not evidenced
  • Figure-6 style state dependence: not convincingly reproduced from the summary

Verdict for Exp 4

Partially reproduced.

Images

Exp4 xi star kp5 km1 c1.0

Exp4 xi star kp5 km1 c0.7


Statistical & Economic Significance

Statistical significance

This repository mostly reports:

  • deterministic DP convergence metrics,
  • single-path filtering diagnostics,
  • region fractions and policy summaries.

It does not report:

  • t-stats,
  • p-values,
  • confidence intervals,
  • repeated Monte Carlo averages.

So formal statistical significance cannot be established in the paper-style sense.

For Experiment 1 especially, this matters:

  • MAP accuracy varies from 9.3% to 89.1% across runs.
  • Without replication over many simulated seeds, it is hard to know whether the poor runs are noise, prior sensitivity, label mismatch, or genuine instability.

Economic significance

  • Experiment 1: economically meaningful insofar as the filter can infer regime from order flow in informative cases.
  • Experiment 2: economically indirect but computationally important; strong result.
  • Experiment 3: weak economic reproduction because the expected policy dependence on belief/intensity is mostly absent.
  • Experiment 4: impact sensitivity is economically meaningful, but policy surfaces seem too flat in hidden-state dimensions.

Overall, the economically most distinctive paper claims—belief/intensity-driven changes in liquidation policy—are only weakly supported here.


Discrepancies

  • Exercise and policy surfaces are too invariant across (κ,μ)(\kappa,\mu)(κ,μ):
    The paper expects meaningful geometry changes; reproduced results show nearly pure inventory-threshold behavior. This likely reflects dimensional reduction, coarse grids, fixed ddd, or insufficient sensitivity in the numerical setup.

  • Convergence is much faster than the paper’s ~13-iteration benchmark:
    Not necessarily a problem. Likely due to smaller/coarser state space, symmetric assumptions, and simplified reduced-form implementation.

  • Filtering quality is uneven across scenarios:
    Strong in some informative asymmetric runs, weak or even anti-aligned in one symmetric run. This suggests high single-path sensitivity and the need for Monte Carlo replication.

  • No formal statistical inference:
    Since there are no repeated trials with error bars, conclusions are qualitative and numerical rather than inferential.


Methodology Issues

The repository appears methodologically coherent, but a few deviations likely matter:

  1. Researcher-chosen parameters omitted by the paper

    • T=20T=20T=20, ζ=2.0\zeta=2.0ζ=2.0, dfixed=1.5d_{\text{fixed}}=1.5dfixed​=1.5
    • These can materially affect sensitivity and policy geometry.
  2. Reduced state representation in Exp 2–4

    • ddd is fixed rather than fully gridded.
    • This can suppress the richness of continuation/exercise behavior.
  3. Coarse grid

    • Grid is only 6×8×6×6×76 \times 8 \times 6 \times 6 \times 76×8×6×6×7 for the DP core.
    • Enough for convergence demonstration, but likely too coarse to recover subtle figure geometry.
  4. Single-seed filtering evaluation

    • Seed fixed at 42.
    • Good for reproducibility, not enough for robust performance assessment.

These are plausible explanations for why the repository reproduces broad mechanisms but not all detailed comparative statics.


Reliability

Strengths

  • 148/148 tests passing
  • Internal consistency across summaries
  • Monotone convergence verified
  • Exact symmetry checks passed
  • Output artifacts exist for all four experiments

Red flags

  • Exp 3 and Exp 4 results are almost too uniform across belief/intensity settings
  • Exp 1 filtering metrics show large path-to-path variability
  • Lack of Monte Carlo aggregation limits confidence in robustness

Overall confidence

  • High that the code implements a stable, coherent numerical version of the model.
  • Medium that it reproduces the paper’s main economic conclusions in full.

Verdict

Final Decision: PARTIALLY REPRODUCED

Why:

The repository clearly reproduces the simulation/filtering mechanism and the dynamic-programming convergence claim, which are major parts of the paper. However, the more distinctive economic policy-shape results—exercise-region geometry and belief/intensity-dependent optimal trade sizes—are only weakly reproduced, with results showing much less dependence on hidden-state information than the paper suggests.

Experiments

Simulation and filtering of a hidden-liquidity Markov-modulated marked Hawkes order-flow model

Implement and validate the synthetic path-generation and filtering components of the paper in a two-state hidden-liquidity setting. The experiment tests whether the latent liquidity regime can be tracked from observed marked buy/sell order flow using a finite-dimensional marked point-process filter, and whether the simulated sample paths qualitatively reproduce the paper’s filtering figure and stated regime-tracking behavior.

Convergence of the impulse-control dynamic-programming approximation W_N for optimal liquidation

Implement the paper’s recursive dynamic-programming approximation for the finite-horizon impulse-control liquidation problem under incomplete information, and verify the numerical convergence behavior of the approximation sequence W_N (or the reduced-dimensional counterpart g_N). This experiment focuses on the control approximation claim that the recursive sequence converges to the value function and that practical convergence is observed in roughly 13 iterations, with the paper displaying results at N=20.

Exercise and continuation region geometry under belief and intensity variation

Compute and visualize the liquidation exercise/continuation regions implied by the dynamic-programming solution, focusing on how optimal liquidation timing depends on filtered regime belief and candidate buy/sell intensities. This experiment reproduces the paper’s contour-style numerical figures showing the state dependence of the optimal liquidation region and validates the economic claim that selling becomes more aggressive under beliefs and intensities associated with adverse price dynamics.

Optimal order size dependence on inventory, belief, and nonlinear market impact

Study how the optimal sell impulse size varies across inventory levels, filtered regime beliefs, and the nonlinear market-impact parameter c. This experiment reproduces the paper’s numerical policy results for optimal block size and market-impact sensitivity, including the claim that stronger impact leads to smaller optimal trades and that optimal size initially scales with inventory and then saturates.

Original paperRun QCA on your paper