EconPapers    
Economics at your fingertips  
 

PYEOCPS: Python Module for the Evaluation of Options and Calculation of the Price Sensitivities

Abdulnasser Hatemi-J and Alan Mustafa

Statistical Software Components from Boston College Department of Economics

Abstract: This Python module determines the fair value of the European call and put options via Black and Scholes (1973) seminal formula as well as the alternative formula suggested by El-Khatib and Hatemi-J (2017) that is useful for option pricing when the financial market is characterized by a crisis. The module calculates also the Greeks (i.e. the price sensitivities) via both approaches. For details see (a) Black F. and Scholes M. (1973), “The Pricing of Options and Corporate Liabilities”, Journal of Political Economy, 81(3), 637-654. (b) El-Khatib, Y. and Hatemi-J, A. (2017), “Option valuation and hedging in markets with a crunch”, Journal of Economic Studies, 44(5), 801-815.

Language: Python
Requires: Python
Keywords: option pricing; call; put; Greeks (search for similar items in EconPapers)
Date: 2021-05-02
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/p/PYEOCPS.txt program code (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:p00001

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:p00001