IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2411.06484.html

ajdmom: A Python Package for Deriving Moment Formulas of Affine Jump Diffusion Processes

Author

Listed:
  • Yan-Feng Wu
  • Jian-Qiang Hu

Abstract

We introduce ajdmom, a Python package designed for automatically deriving moment formulae for the well-established affine jump diffusion processes with state-independent jump intensities. ajdmom can produce explicit closed-form expressions for conditional and unconditional moments of any order, significantly enhancing the usability of these models. Additionally, ajdmom can compute partial derivatives of these moments with respect to the model parameters, offering a valuable tool for sensitivity analysis. The package's modular architecture makes it easy for adaptation and extension by researchers. ajdmom is open-source and readily available for installation from GitHub or the Python package index (PyPI).

Suggested Citation

  • Yan-Feng Wu & Jian-Qiang Hu, 2024. "ajdmom: A Python Package for Deriving Moment Formulas of Affine Jump Diffusion Processes," Papers 2411.06484, arXiv.org, revised Apr 2025.
  • Handle: RePEc:arx:papers:2411.06484
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2411.06484
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Canyakmaz, Caner & Özekici, Süleyman & Karaesmen, Fikri, 2019. "An inventory model where customer demand is dependent on a stochastic price process," International Journal of Production Economics, Elsevier, vol. 212(C), pages 139-152.
    2. Jiang, George J & Knight, John L, 2002. "Estimation of Continuous-Time Processes via the Empirical Characteristic Function," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(2), pages 198-212, April.
    3. Bates, David S, 1996. "Jumps and Stochastic Volatility: Exchange Rate Processes Implicit in Deutsche Mark Options," The Review of Financial Studies, Society for Financial Studies, vol. 9(1), pages 69-107.
    4. Heston, Steven L, 1993. "A Closed-Form Solution for Options with Stochastic Volatility with Applications to Bond and Currency Options," The Review of Financial Studies, Society for Financial Studies, vol. 6(2), pages 327-343.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Yan-Feng Wu & Jian-Qiang Hu, 2025. "Density Approximation of Affine Jump Diffusions via Closed-Form Moment Matching," Papers 2504.06942, arXiv.org.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Yan-Feng Wu & Xiangyu Yang & Jian-Qiang Hu, 2024. "Method of Moments Estimation for Affine Stochastic Volatility Models," Papers 2408.09185, arXiv.org.
    2. George J. Jiang, 2002. "Testing Option Pricing Models with Stochastic Volatility, Random Jumps and Stochastic Interest Rates," International Review of Finance, International Review of Finance Ltd., vol. 3(3‐4), pages 233-272, September.
    3. Michael Rockinger & Maria Semenova, 2005. "Estimation of Jump-Diffusion Process vis Empirical Characteristic Function," FAME Research Paper Series rp150, International Center for Financial Asset Management and Engineering.
    4. Chen, Bin & Hong, Yongmiao, 2011. "Generalized spectral testing for multivariate continuous-time models," Journal of Econometrics, Elsevier, vol. 164(2), pages 268-293, October.
    5. In Kim & In-Seok Baek & Jaesun Noh & Sol Kim, 2007. "The role of stochastic volatility and return jumps: reproducing volatility and higher moments in the KOSPI 200 returns dynamics," Review of Quantitative Finance and Accounting, Springer, vol. 29(1), pages 69-110, July.
    6. Pakorn Aschakulporn & Jin E. Zhang, 2022. "Bakshi, Kapadia, and Madan (2003) risk‐neutral moment estimators: An affine jump‐diffusion approach," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 42(3), pages 365-388, March.
    7. Yan-Feng Wu & Jian-Qiang Hu, 2025. "Density Approximation of Affine Jump Diffusions via Closed-Form Moment Matching," Papers 2504.06942, arXiv.org.
    8. Li, Junye & Favero, Carlo & Ortu, Fulvio, 2012. "A spectral estimation of tempered stable stochastic volatility models and option pricing," Computational Statistics & Data Analysis, Elsevier, vol. 56(11), pages 3645-3658.
    9. Da Fonseca José & Grasselli Martino & Ielpo Florian, 2014. "Estimating the Wishart Affine Stochastic Correlation Model using the empirical characteristic function," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 18(3), pages 253-289, May.
    10. Peter Carr & Liuren Wu, 2014. "Static Hedging of Standard Options," Journal of Financial Econometrics, Oxford University Press, vol. 12(1), pages 3-46.
    11. Detlefsen, Kai & Härdle, Wolfgang Karl, 2006. "Forecasting the term structure of variance swaps," SFB 649 Discussion Papers 2006-052, Humboldt University Berlin, Collaborative Research Center 649: Economic Risk.
    12. Carvalho, Augusto & Guimaraes, Bernardo, 2018. "State-controlled companies and political risk: Evidence from the 2014 Brazilian election," Journal of Public Economics, Elsevier, vol. 159(C), pages 66-78.
    13. Jurczenko, Emmanuel & Maillet, Bertrand & Negrea, Bogdan, 2002. "Revisited multi-moment approximate option pricing models a general comparison (Part 1)," LSE Research Online Documents on Economics 24950, London School of Economics and Political Science, LSE Library.
    14. Christoffersen, Peter & Heston, Steven & Jacobs, Kris, 2010. "Option Anomalies and the Pricing Kernel," Working Papers 11-17, University of Pennsylvania, Wharton School, Weiss Center.
    15. Peng He, 2012. "Option Portfolio Value At Risk Using Monte Carlo Simulation Under A Risk Neutral Stochastic Implied Volatility Model," Global Journal of Business Research, The Institute for Business and Finance Research, vol. 6(5), pages 65-72.
    16. Bollerslev, Tim & Gibson, Michael & Zhou, Hao, 2011. "Dynamic estimation of volatility risk premia and investor risk aversion from option-implied and realized volatilities," Journal of Econometrics, Elsevier, vol. 160(1), pages 235-245, January.
    17. Yeap, Claudia & Kwok, Simon S. & Choy, S. T. Boris, 2016. "A Flexible Generalised Hyperbolic Option Pricing Model and its Special Cases," Working Papers 2016-14, University of Sydney, School of Economics.
    18. Chang, Eric C. & Ren, Jinjuan & Shi, Qi, 2009. "Effects of the volatility smile on exchange settlement practices: The Hong Kong case," Journal of Banking & Finance, Elsevier, vol. 33(1), pages 98-112, January.
    19. Leonidas S. Rompolis & Elias Tzavalis, 2017. "Pricing and hedging contingent claims using variance and higher order moment swaps," Quantitative Finance, Taylor & Francis Journals, vol. 17(4), pages 531-550, April.
    20. Satadru Hore & Hedibert Lopes & Robert McCulloch, 2016. "General Equilibrium Option Pricing under Counter-Cyclical Growth and Long-Run Risk," Business and Economics Working Papers 230, Unidade de Negocios e Economia, Insper.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2411.06484. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.