IDEAS home Printed from https://ideas.repec.org/p/iim/iimawp/13324.html
   My bibliography  Save this paper

Derivatives Pricing using QuantLib: An Introduction

Author

Listed:
  • Varma, Jayanth R.
  • Virmani, Vineet

Abstract

Given the complexity of over-the-counter derivatives and structured products, al- most all of derivatives pricing today is based on numerical methods. While large fi- nancial institutions typically have their own team of developers who maintain state- of-the-art financial libraries, till a few years ago none of that sophistication was avail- able for use in teaching and research. For the last decade„ there is now a reliable C++ open-source library available called QuantLib. This note introduces QuantLib for pricing derivatives and documents our experience using QuantLib in our course on Computational Finance at the Indian Institute of Management Ahmedabad. The fact that it is also available (and extendable) in Python has allowed us to harness the power of C++ with the ease of iPython notebooks in the classroom as well as for stu- dent’s projects.

Suggested Citation

  • Varma, Jayanth R. & Virmani, Vineet, 2015. "Derivatives Pricing using QuantLib: An Introduction," IIMA Working Papers WP2015-03-16, Indian Institute of Management Ahmedabad, Research and Publication Department.
  • Handle: RePEc:iim:iimawp:13324
    as

    Download full text from publisher

    File URL: https://www.iima.ac.in/sites/default/files/rnpfiles/10947720332015-03-16.pdf
    File Function: English Version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Robert C. Merton, 2005. "Theory of rational option pricing," World Scientific Book Chapters, in: Sudipto Bhattacharya & George M Constantinides (ed.), Theory Of Valuation, chapter 8, pages 229-288, World Scientific Publishing Co. Pte. Ltd..
    2. 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.
    3. Black, Fischer & Scholes, Myron S, 1973. "The Pricing of Options and Corporate Liabilities," Journal of Political Economy, University of Chicago Press, vol. 81(3), pages 637-654, May-June.
    Full references (including those not matched with items on IDEAS)

    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. Carol Alexandra & Leonardo M. Nogueira, 2005. "Optimal Hedging and Scale Inavriance: A Taxonomy of Option Pricing Models," ICMA Centre Discussion Papers in Finance icma-dp2005-10, Henley Business School, University of Reading, revised Nov 2005.
    2. Thomas Kokholm & Martin Stisen, 2015. "Joint pricing of VIX and SPX options with stochastic volatility and jump models," Journal of Risk Finance, Emerald Group Publishing Limited, vol. 16(1), pages 27-48, January.
    3. Antoine Jacquier & Patrick Roome, 2015. "Black-Scholes in a CEV random environment," Papers 1503.08082, arXiv.org, revised Nov 2017.
    4. René Garcia & Richard Luger & Eric Renault, 2000. "Asymmetric Smiles, Leverage Effects and Structural Parameters," Working Papers 2000-57, Center for Research in Economics and Statistics.
    5. 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.
    6. Viktor Stojkoski & Trifce Sandev & Lasko Basnarkov & Ljupco Kocarev & Ralf Metzler, 2020. "Generalised geometric Brownian motion: Theory and applications to option pricing," Papers 2011.00312, arXiv.org.
    7. 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.
    8. Chenxu Li, 2014. "Closed-Form Expansion, Conditional Expectation, and Option Valuation," Mathematics of Operations Research, INFORMS, vol. 39(2), pages 487-516, May.
    9. Rui Vilela Mendes & M. J. Oliveira, 2006. "A data-reconstructed fractional volatility model," Papers math/0602013, arXiv.org, revised Jun 2007.
    10. Jobst, Andreas A., 2014. "Measuring systemic risk-adjusted liquidity (SRL)—A model approach," Journal of Banking & Finance, Elsevier, vol. 45(C), pages 270-287.
    11. Jacquier, Antoine & Roome, Patrick, 2016. "Large-maturity regimes of the Heston forward smile," Stochastic Processes and their Applications, Elsevier, vol. 126(4), pages 1087-1123.
    12. Ciprian Necula & Gabriel Drimus & Walter Farkas, 2019. "A general closed form option pricing formula," Review of Derivatives Research, Springer, vol. 22(1), pages 1-40, April.
    13. Lars Stentoft, 2008. "American Option Pricing Using GARCH Models and the Normal Inverse Gaussian Distribution," Journal of Financial Econometrics, Oxford University Press, vol. 6(4), pages 540-582, Fall.
    14. Guégan, Dominique & Ielpo, Florian & Lalaharison, Hanjarivo, 2013. "Option pricing with discrete time jump processes," Journal of Economic Dynamics and Control, Elsevier, vol. 37(12), pages 2417-2445.
    15. Zura Kakushadze, 2016. "Volatility Smile as Relativistic Effect," Papers 1610.02456, arXiv.org, revised Feb 2017.
    16. Ibáñez, Alfredo, 2008. "Factorization of European and American option prices under complete and incomplete markets," Journal of Banking & Finance, Elsevier, vol. 32(2), pages 311-325, February.
    17. Björn Lutz, 2010. "Pricing of Derivatives on Mean-Reverting Assets," Lecture Notes in Economics and Mathematical Systems, Springer, number 978-3-642-02909-7, October.
    18. Christian Gouriéroux & Joann Jasiak & Peng Xu, 2013. "Non-tradable S&P 500 Index and the Pricing of Its Traded Derivatives," Working Papers 2013-05, Center for Research in Economics and Statistics.
    19. Boris Ter-Avanesov & Homayoon Beigi, 2024. "MLP, XGBoost, KAN, TDNN, and LSTM-GRU Hybrid RNN with Attention for SPX and NDX European Call Option Pricing," Papers 2409.06724, arXiv.org, revised Oct 2024.
    20. Dong-Mei Zhu & Jiejun Lu & Wai-Ki Ching & Tak-Kuen Siu, 2019. "Option Pricing Under a Stochastic Interest Rate and Volatility Model with Hidden Markovian Regime-Switching," Computational Economics, Springer;Society for Computational Economics, vol. 53(2), pages 555-586, February.

    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:iim:iimawp:13324. 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: the person in charge (email available below). General contact details of provider: https://edirc.repec.org/data/eciimin.html .

    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.