Implementing QuantLib の和訳
Implementing QuantLib の和訳
本書について
この本は、QuantLibライブラリーの全体デザインや実装方法のレポートであり、またMel Brooksの“Young Frankenstein”で極めて特徴的な、“私はこれをどうやって作ったのか”的な本にも、心情的にはよく似ています(その映画の驚くような成功には及びませんが)。もし読者の方が、既にQuantLibライブラリーのユーザーであるか、あるいはこれからユーザーになろうとしているのであれば、プログラムコードを読むだけでは解らないような、ライブラリーのデザインについての有用な情報が、この本から得られるでしょう。もし読者がユーザーではないものの、金融工学の世界で働いているのであれば、金融モデルライブラリーのデザインに関する現場報告書として読んで頂いてもかまいません。おそらく、あなたが今直面している問題に対して、その解決策と、その理屈も含めて、この本がカバーしている部分がある事に気づくでしょう。読者の方の制約条件によっては、別の解決策を選択するかもしれませんし、あるいはその可能性の方が高いかもしれませんが、この本の中での論点整理から、そういった場合でも得るものがあるかも知れません。
この本の読者として、QuantLibライブラリーを使って自ら金融商品や価格モデルを開発しようとしているユーザーを想定しています。もしあなたが、それに該当するなら、ライブラリーが提供するクラス階層やフレームワークに関する説明を読めば、ご自身のプログラムコードをQuantLibライブラリーのそれと統合する為に必要な鈎について、何等かの情報を得られるでしょうし、提供されている機能を活用する助けになるでしょう。もし、そういった類の読者でないとしても、本を閉じないで下さい。そうで無い方にとっても、何等かの役に立つ情報を得られると思います。しかし乍ら、より実用的な解説書をお望みなら、本書ではなく、 QuantLib Python Cookbookの方を見てみたいと思われるかも知れません。
Table of Contents
- はじめに
- 1 Introduction
-
2 Financial instruments and pricing engines
-
2.1 The Instrument class
- 2.1.1 インターフェースと要件
- 2.1.2 実装
- 2.1.3 例:金利スワップ
- 2.1.4 今後の開発予定
-
2.2 価格計算エンジン
- 2.2.1 例: シンプルなオプション
-
2.1 The Instrument class
-
3 Term Structures
-
3.1 The
TermStructure
Class- 3.1.1 インターフェースと要件
- 3.1.2 実装
-
3.2 金利の期間構造
- 3.2.1 インターフェースと実装
- 3.2.2 ディスカウントカーブ、フォワード金利カーブ、ゼロ金利カーブ
- 3.2.3 例:InterpolationされたカーブのBootstrapping
- 3.2.4 例:イールドカーブにz-スプレッドを追加:
-
3.3 その他の期間構造クラス
- 3.3.1 デフォールト確率の期間構造
- 3.3.2 インフレ率の期間構造
- 3.3.3 ボラティリティの期間構造
- 3.3.4 株式ボラティリティの期間構造
- 3.3.5 金利ボラティリティの期間構造
-
3.1 The
-
4 Cash Flows and Coupons
-
4.1 The
CashFlow
Class -
4.2 Interest-Rate Coupons
- 4.2.1 固定金利クーポン
- 4.2.2 変動金利クーポン
- 4.2.3 例:LIBORクーポン
- 4.2.4 例: Cap・Floor付きのクーポン
- 4.2.5 キャッシュフロー配列の生成
- 4.2.6 他の種類のCouponと今後の開発
-
4.3 キャッシュフローの分析
- 4.3.1 例:固定金利債券
-
4.1 The
-
5 Parameterized Models and Calibration
-
5.1 CalibrationHelper クラス
- 5.1.1 例: Hestonモデル
- 5.2 モデルのパラメータ
-
5.3 CalibratedModel クラス
- 5.3.1 例:Hestonモデル(続き)
-
5.1 CalibrationHelper クラス
-
6 The Monte Carlo Framework
-
6.1 Pathの生成
- 6.1.1 乱数の生成
- 6.1.2 確率過程
- 6.1.3 Pathの生成装置
- 6.2 Path上での価格計算
-
6.3 すべての部品を使って組み立てる
- 6.3.1 Monte Carlo traits クラス
- 6.3.2 モンテカルロモデル
- 6.3.3 モンテカルロシミュレーション
- 6.3.4 例: バスケットオプション
-
6.1 Pathの生成
-
7 Tree を使った価格モデルのフレームワーク
-
7.1 格子クラス および 離散化資産クラス
- 7.1.1 例:Discretized Bond (離散モデルで表現された債券)
- 7.1.2 例:DiscretizedOptionクラス(離散モデルで表現されたオプションクラス)
-
7.2 Tree および Tree-Based Lattice
- 7.2.1 Treeクラスのテンプレート
- 7.2.2 2項Treeおよび3項Treeクラス
- 7.2.3 TreeLatticeクラステンプレート
-
7.3 Tree をベースにした価格エンジン
- 7.3.1 例: コールオプション付き固定金利債
-
7.1 格子クラス および 離散化資産クラス
-
8 有限差分法のフレームワーク
-
8.1 古いフレームワーク
- 8.1.1 微分演算子
- 8.1.2 時間軸方向の差分スキーム
- 8.1.3 境界条件
- 8.1.4 Step Condition: 時間ステップ遷移時の条件
- 8.1.5 有限差分モデルクラス
- 8.1.6 例:アメリカンオプション
- 8.1.7 時間に依存する差分演算子
-
8.2 新しいフレームワーク
- 8.2.1 メッシャー(離散化した確率変数の格子)
- 8.2.2 差分演算子
- 8.2.3 例:Black-Scholesモデル用の差分演算子
- 8.2.4 初期条件、境界条件 および 時間ステップ条件
- 8.2.5 時間軸方向の差分スキームとソルバー
-
8.1 古いフレームワーク
- 9 おわりに
-
Appendix A: 周辺の話題
- 基本的なデータ型
-
Date Calculations: 日数計算方法
- 日数と期間を扱うクラス
- カレンダークラス
- Day Count Conventions: 日数計算方法
- Schedules: クーポンスケジュール
-
金融に関連する概念を対象とするクラス
- Market Quotes: 市場データ
- 金利
- Index: インデックスクラス
- ExerciseクラスとPayoffクラス
-
数値計算関連のクラス群
- Interpolation:補間関数
- One-dimensional Solvers: 1次元ソルバー
- Optimizers: 多次元関数の最小値問題
- Statistics: 統計値
- Linear Algebra: 線形代数(ベクトルと行列)
- Global Settings: ライブラリー全体の変数と定数の設定
-
Utilities: ユーティリティークラス
- Smart Pointers and Handles: スマートポインターとハンドル
- Error Reporting: 例外処理
- Disposable Objects (move semantics の代用)
-
Designe Patterns: デザインパターン
- The Observer Pattern: オブザーバーパターン
- The Singleton Pattern: シングルトンパターン
- The Visitor Pattern: ビジターパターン
- Appendix B: プログラムコードの表記方法の慣行
- QuantLib license
- Bibliography
Authors have earned$9,886,269writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Learn more about writing on Leanpub
Leanpubは無条件かつノーリスクで100%の満足を保証します
Leanpubでお買い上げいただいた書籍は、ご購入後45日以内であれば全額返金いたします。払い戻しはわずか2クリックで完了します。払い戻し処理は手作業で行うため、完了まで数日かかる場合があります。詳しくは利用規約をご覧ください。
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Top Books
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
Functional Design and Architecture
Alexander GraninSoftware Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
I am a Software Engineer and I am in Charge
Alexis Monville and Michael DoyleI am a Software Engineer and I am in Charge is a real-world, practical book that helps you increase your impact and satisfaction at work no matter who you work with.
In the book, we will follow Sandrine, a fictional character who learns to think in a new way enabling her to take a different course of action.
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Invest In Digital Health - The Medical Futurist's Guide
Dr. Bertalan MeskoArtificial Intelligence and Digital Health are booming. In this book, we explain why now it's a good time to invest in Digital Health and give recommendations on where to invest by looking at the top 24 technological trends we find the most promising.
The Hundred-Page Machine Learning Book
Andriy BurkovEverything you really need to know in Machine Learning in a hundred pages.
Mastering STM32
Carmine NovielloWith more than 600 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the first guide around that introduces the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #3
The Future of Digital Health
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer... - #4
Cisco CCNA 200-301 Complet
4 Books
Ce lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301. - #5
CCDE Practical Studies (All labs)
3 Books
CCDE lab - #6
"The C++ Standard Library" and "Concurrency with Modern C++"
2 Books
Get my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library... - #7
Modern Management Made Easy
3 Books
Read all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization. - #8
Linux Administration Complet
4 Books
Ce lot comprend les quatre volumes du Guide Linux Administration :Linux Administration, Volume 1, Administration fondamentale : Guide pratique de préparation aux examens de certification LPIC 1, Linux Essentials, RHCSA et LFCS. Administration fondamentale. Introduction à Linux. Le Shell. Traitement du texte. Arborescence de fichiers. Sécurité... - #9
Programming with Ease
3 Books
Alle drei Bände der Serie Programming with Ease in einem Paket. Darin findest du alles, was ich dir zu den wichtigsten Phasen der Softwareentwicklung im Hinblick auf Clean Code Development für langfristig hohe Produktivität sagen kann.Im Band Slicing findest du die Anforderungsanalyse im Rahmen eines iterativ-inkrementellen Vorgehensmodells aus... - #10
Vagrant Ansible
2 Books
Unveil the power of Ansible and Vagrant with this bundle at a special price. You'll have everything you need to get started with Vagrant - learn the basics and how to create your virtual development environments, using Ansible as provisioner! About Vagrant Cookbook Vagrant Cookbook is a complete guide to get started with Vagrant and create your...