Leanpub Header

Skip to main content

QuantLib Python Cookbook

QuantLib Python Cookbook
هذا الكتاب هو 100% كاملةأخر تحديث لهذا الكتاب كان فى 2026-07-10

Quantitative finance in Python: a hands-on, interactive look at the QuantLib library through the use of Jupyter notebooks as working examples.

الحد الأدنى للسعر

مجاناً!

$29.99

أنت تدفع

مستحقات المؤلفان

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
WEB
APP
3,854
القراء
286
عدد الصفحات
حول

حول

نبذه عن الكتاب

The book collects updated posts from Goutham's blog and the transcripts of the screencasts that Luigi published on YouTube.

The posts and screencasts use Jupyter notebooks to demonstrate the QuantLib library. Together, they provide a sort of cookbook that showcases features of the library by means of working examples and provides guidance to its use.

Among other content, the book also includes notebooks that reproduce the results from the often-cited Ametrano and Bianchetti paper, Everything You Always Wanted to Know About Multiple Interest Rate Curve Bootstrapping but Were Afraid to Ask.

More updated content is available in the new book A QuantLib Guide.

If you're interested in the architecture of QuantLib and want to know how to extend it, you might want to look at Implementing QuantLib, too.

مشاركة هذا الكتاب

التصنيفات

المؤلف

عن المؤلفين

Luigi Ballabio

The co-founder and current maintainer of the open-source QuantLib project. Also husband, father of four, ex-physicist, and amateur musician.

Subscribe to Luigi's newsletter at https://implementingquantlib.substack.com for more QuantLib-related content.

Goutham Balaraman

Goutham Balaraman is the Chief Technology Officer at Crossroads Equipment Lease & Finance. Prior to that he held leadership positions at various financial services and FinTech organizations such as Cartiga, loanDepot, Numerix and ICE. He holds a Ph.D. in Theortical Physics from Georgia Institute of Technology, USA. He writes about technology topics at https://leadwithtech.com.

المحتويات

جدول المحتويات

A note on Python and C++

Code conventions used in this book

  1. IBasics

1.QuantLib basics

2.Instruments and pricing engines

3.Numerical Greeks calculation

4.Market quotes

5.Term structures and their reference dates

6.Pricing over a range of days

7.A note on random numbers and dimensionality

  1. IIInterest-rate curves

8.EONIA curve bootstrapping

9.Euribor curve bootstrapping

10.Constructing a yield curve

11.Dangerous day-count conventions

12.Implied term structures

13.Interest-rate sensitivities via zero spread

14.A glitch in forward-rate curves

  1. IIIInterest-rate models

15.Simulating interest rates using Hull White model

16.Thoughts on the convergence of Hull-White model Monte Carlo simulations

17.Short interest rate model calibration

18.Par versus indexed coupons

19.Modeling interest rate swaps using QuantLib

20.Caps and floors

  1. IVEquity models

21.Valuing European option using the Heston model

22.Volatility smile and Heston model calibration

23.Heston model parameter calibration in QuantLib Python & SciPy

24.Valuing European and American options

25.Valuing options on commodity futures using the Black formula

26.Defining rho for the Black process

27.Using curves with different day-count conventions

  1. VBonds

28.Modeling fixed rate bonds

29.Building irregular bonds

30.Valuation of bonds with credit spreads

31.Modeling callable bonds

32.Discount margin calculation

33.Duration of floating-rate bonds

34.Treasury futures contracts

35.Mischievous pricing conventions

36.More mischievous conventions

  1. Appendix

Translating QuantLib Python examples to C++

احصل على الفصول النموذجية المجانية

Click the buttons to the right to get the free sample in PDF or EPUB, or read the sample online here

أيضا بواسطة المؤلفين

أيضا بواسطة المؤلفين

Leanpub بدون شروط, بدون مجازفه, 100% ضمان لسعادتك معنا

فى خلال 60 يوم من الشراء تستطيع أن تسترد 100% من الذى دفعته فى أى مشتريات من Leanpub , بنقرتين من الماوس. ألقى نظره على كامل الشروط.

اكسب 8$ على كل عملية شراء بقيمة 10$، و16$ على كل عملية شراء بقيمة 20$

نحن ندفع عائدات بنسبة ٨٠٪ على المشتريات التي تبلغ قيمتها 7.99$ أو أكثر، وعائدات بنسبة ٨٠٪ مع خصم رسوم ثابتة قدرها 50 سنتاً على المشتريات التي تتراوح بين 0.99$ و7.98$. تكسب 8$ على كل بيع بقيمة 10$، و16$ على كل بيع بقيمة 20$. لذلك، إذا بعنا 5000 نسخة غير مستردة من كتابك بسعر 20$، ستكسب 80,000$.

(نعم، بعض المؤلفين قد كسبوا بالفعل أكثر من ذلك بكثير على Leanpub.)

في الواقع، كسب المؤلفون أكثر من 14 مليون دولار من خلال الكتابة والنشر والبيع على Leanpub.

تعرف على المزيد حول الكتابة على Leanpub

تحديثات مجانية. خالي من حماية DRM.

إذا اشتريت كتابًا من Leanpub، فستحصل على تحديثات مجانية طالما يقوم المؤلف بتحديث الكتاب! يستخدم العديد من المؤلفين Leanpub لنشر كتبهم أثناء الكتابة. جميع القراء يحصلون على تحديثات مجانية، بغض النظر عن متى اشتروا الكتاب أو كم دفعوا (بما في ذلك مجانًا).

معظم كتب Leanpub متوفرة بتنسيق PDF (للكمبيوتر)، EPUB (للهواتف والأجهزة اللوحية و Kindle). يتم عرض التنسيقات التي يتضمنها الكتاب في الزاوية العلوية اليمنى من هذه الصفحة.

وأخيرًا، الكتب من Leanpub لا تحتوي على أي هراء حماية حقوق النسخ DRM، لذا يمكنك قراءتها بسهولة على أي جهاز مدعوم.

تعرف على المزيد حول تنسيقات الكتب الإلكترونية من Leanpub وأماكن قراءتها

اكتب وانشر على Leanpub

يستخدم المؤلفون والناشرون Leanpub لنشر كتب إلكترونية رائعة قيد التقدم والمكتملة، تمامًا مثل هذه. يمكنك استخدام Leanpub للكتابة، والنشر وبيع كتابك أيضًا! Leanpub هو منصة قوية للمؤلفين الجادين، يجمع بين تدفق الكتابة والنشر البسيط والأنيق مع متجر يركز على بيع الكتب الإلكترونية قيد التقدم. Leanpub هو آلة كتابة سحرية للمؤلفين: فقط اكتب بنص عادي، ولنشر كتابك الإلكتروني، فقط اضغط على زر. إنه حقًا بهذه السهولة.

تعرف على المزيد حول الكتابة على Leanpub