Implementing QuantLib の和訳
Implementing QuantLib の和訳
本書について
この本は、QuantLibライブラリーの全体デザインや実装方法のレポートであり、またMel Brooksの“Young Frankenstein”で極めて特徴的な、“私はこれをどうやって作ったのか”的な本にも、心情的にはよく似ています(その映画の驚くような成功には及びませんが)。もし読者の方が、既にQuantLibライブラリーのユーザーであるか、あるいはこれからユーザーになろうとしているのであれば、プログラムコードを読むだけでは解らないような、ライブラリーのデザインについての有用な情報が、この本から得られるでしょう。もし読者がユーザーではないものの、金融工学の世界で働いているのであれば、金融モデルライブラリーのデザインに関する現場報告書として読んで頂いてもかまいません。おそらく、あなたが今直面している問題に対して、その解決策と、その理屈も含めて、この本がカバーしている部分がある事に気づくでしょう。読者の方の制約条件によっては、別の解決策を選択するかもしれませんし、あるいはその可能性の方が高いかもしれませんが、この本の中での論点整理から、そういった場合でも得るものがあるかも知れません。
この本の読者として、QuantLibライブラリーを使って自ら金融商品や価格モデルを開発しようとしているユーザーを想定しています。もしあなたが、それに該当するなら、ライブラリーが提供するクラス階層やフレームワークに関する説明を読めば、ご自身のプログラムコードをQuantLibライブラリーのそれと統合する為に必要な鈎について、何等かの情報を得られるでしょうし、提供されている機能を活用する助けになるでしょう。もし、そういった類の読者でないとしても、本を閉じないで下さい。そうで無い方にとっても、何等かの役に立つ情報を得られると思います。しかし乍ら、より実用的な解説書をお望みなら、本書ではなく、 QuantLib Python Cookbookの方を見てみたいと思われるかも知れません。
目次
- はじめに
- 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
Leanpubは無条件かつノーリスクで100%の満足を保証します
Leanpubでお買い上げいただいた書籍は、ご購入後60日以内であれば全額返金いたします。払い戻しはわずか2クリックで完了します。払い戻し処理は手作業で行うため、完了まで数日かかる場合があります。詳しくは利用規約をご覧ください。
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned$12,307,240writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
無料更新。無料アップデート。 DRMフリー。
Leanpubの本を購入すると、著者が本を更新している限り、無料で更新されます!多くの著者は、Leanpubを使用して、執筆中の書籍を出版しています。いつ本を購入したか、いくら支払ったかに関係なく、すべての読者は無料のアップデートを入手できます(無料も含む)。
Leanpubの本はPDF(コンピューター用)、EPUB(iPad用)、MOBI(Kindle用)のフォーマットに対応してます。本に含まれるフォーマットは、このページの右上隅に表示されます。
Leanpubの本には、DRMコピー防止のナンセンスがないため、サポートされているデバイスで簡単に読むことができます
Top Books
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.
Personal Finance
Jason AndersonThis textbook provides an in-depth analysis on personal finance that is both practical and straightforward in its approach. It has been written in such a way that the readers can gain knowledge without getting overwhelmed by the technical terms. Suitable for both beginners and advanced learners.
Getting to Know IntelliJ IDEA
Trisha Gee and Helen ScottIf we treat our IDE as a text editor, we are doing ourselves a disservice. Using a combination of tutorials and a questions-and-answers approach, Getting to Know IntelliJ IDEA will help you find ways to use IntelliJ IDEA that enable you to work comfortably and productively as a professional developer.
C++20 - The Complete Guide
Nicolai M. JosuttisAll new language and library features of C++20 (for those who know previous C++ versions).
The book presents all new language and library features of C++20. Learn how this impacts day-to-day programming, to benefit in practice, to combine new features, and to avoid all new traps.
Buy early, pay less, free updates.
Other books:
Mastering STM32 - Second Edition
Carmine NovielloWith more than 1200 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the most complete guide around introducing the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL and STM32CubeIDE development environment.
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.
Machine Learning Q and AI
Sebastian Raschka, PhDHave you recently completed a machine learning or deep learning course and wondered what to learn next? With 30 questions and answers on key concepts in machine learning and AI, this book provides bite-sized bits of knowledge for your journey to becoming a machine learning expert.
Stats One
William FooteThe Rails 7 Way
Obie Fernandez, Lucas Dohmen, and Tom Henrik AadlandThe Rails™ 7 Way is the comprehensive, authoritative reference guide for professionals delivering production-quality code using modern Ruby on Rails. It illuminates the entire Rails 7 API, its most powerful idioms, design approaches, and libraries. Building on the previous editions, this edition has been heavily refactored and updated.
Gradual Modularization for Ruby and Rails
Stephan HagemannGet yourself a new tool to manage your Rails application and your growing engineering organization! Prevent the ball-of-mud (and fix it!). Go for microservices or SOA if it makes sense not just because you don't have any other tool. Do all this through a low-overhead tool: packages. Enable better conversations to make practical changes today.
Top Bundles
- #1
Software Architecture
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
1500 QUIZ COMMENTATI (3 libri)
3 Books
Tre libri dei QUIZ MMG Commentati al prezzo di DUE! I QUIZ dei concorsi ufficiali di Medicina Generale relativi agli anni: 2000-2001-2003-2012-2013-2014-2015-2016-2017-2018-2019-2020-2021 +100 inediti Raccolti in unico bundle per aiutarvi nello studio e nella preparazione al concorso. All'interno di ogni libro i quiz sono stati suddivisi per... - #4
Pattern-Oriented Memory Forensics and Malware Detection
2 Books
This training bundle for security engineers and researchers, malware and memory forensics analysts includes two accelerated training courses for Windows memory dump analysis using WinDbg. It is also useful for technical support and escalation engineers who analyze memory dumps from complex software environments and need to check for possible... - #5
Practical FP in Scala + Functional event-driven architecture
2 Books
Practical FP in Scala (A hands-on approach) & Functional event-driven architecture, aka FEDA, (Powered by Scala 3), together as a bundle! The content of PFP in Scala is a requirement to understand FEDA so why not take advantage of this bundle!? - #6
Modern C++ Collection
3 Books
Get All about Modern C++C++ Standard Library, including C++20Concurrency with Modern C++, including C++20C++20Each book has about 200 complete code examples. Updates are included. When I update one of the books, you immediately get the updated bundle. You can expect significant updates to each new C++ standard (C++23, C++26, .. ) and also... - #7
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
Development and Deployment of Multiplayer Online Games, Part ARCH. Architecture (Vol. I-III)
3 Books
What's the Big Idea? The idea behind this book is to summarize the body of knowledge that already exists on multiplayer games but is not available in one single place.And quite a fewof the issues discussed within this series (planned as three nine volumes ~300 pages each), while known in the industry, have not been published at all (except for... - #10
Growing Agile: The Complete Coach's Guide
7 Books
Growing Agile: Coach's Guide Series This bundle provides a collection of training and workshop plans for a variety of agile topics. The series is aimed at agile coaches, trainers and ScrumMasters who often find themselves needing to help teams understand agile concepts. Each book in the series provides the plans, slides, handouts and activity...