Currencies:HKD

You have no items in your shopping cart.

Financial Modelling in Python

Financial Modelling in Python

  • Author:
  • Publisher: John Wiley & Sons
  • ISBN: 9780470987841
  • Published In: June 2009
  • Format: Hardback , 244 pages
  • Jurisdiction: International ? Disclaimer:
    Countri(es) stated herein are used as reference only
Out of stock
OR
  • Description 
  • Contents 
  • Author 

Details

"Fletcher and Gardner have created a comprehensive resource that will be of interest not only to those working in the field of finance, but also to those using numerical methods in other fields such as engineering, physics, and actuarial mathematics. By showing how to combine the high-level elegance, accessibility, and flexibility of Python, with the low-level computational efficiency of C++, in the context of interesting financial modeling problems, they have provided an implementation template which will be useful to others seeking to jointly optimize the use of computational and human resources. They document all the necessary technical details required in order to make external numerical libraries available from within Python, and they contribute a useful library of their own, which will significantly reduce the start-up costs involved in building financial models. This book is a must read for all those with a need to apply numerical methods in the valuation of financial claims."
David Louton, Professor of Finance, Bryant University

This book is directed at both industry practitioners and students interested in designing a pricing and risk management framework for financial derivatives using the Python programming language.

It is a practical book complete with working, tested code that guides the reader through the process of building a flexible, extensible pricing framework in Python. The pricing frameworks' loosely coupled fundamental components have been designed to facilitate the quick development of new models. Concrete applications to real-world pricing problems are also provided.

Topics are introduced gradually, each building on the last. They include basic mathematical algorithms, common algorithms from numerical analysis, trade, market and event data model representations, lattice and simulation based pricing, and model development. The mathematics presented is kept simple and to the point.

The book also provides a host of information on practical technical topics such as C++/Python hybrid development (embedding and extending) and techniques for integrating Python based programs with Microsoft Excel.

1 Welcome to Python.

1.1 Why Python?

1.2 Common misconceptions about Python.

1.3 Roadmap for this book.

2 The PPF Package.

2.1 PPF topology.

2.2 Unit testing.

2.3 Building and installing PPF.

3 Extending Python from C++.

3.1 Boost.Date Time types.

3.2 Boost.MultiArray and special functions.

3.3 NumPy arrays.

4 Basic Mathematical Tools.

4.1 Random number generation.

4.2 N(.)

4.3 Interpolation.

4.4 Root finding.

4.5 Linear algebra.

4.6 Generalised linear least squares.

4.7 Quadratic and cubic roots.

4.8 Integration.

5 Market: Curves and Surfaces.

5.1 Curves.

5.2 Surfaces.

5.3 Environment.

6 Data Model.

6.1 Observables.

6.2 Flows.

6.3 Adjuvants.

6.4 Legs.

6.5 Exercises.

6.6 Trades.

6.7 Trade utilities.

7 Timeline: Events and Controller.

7.1 Events.

7.2 Timeline.

7.3 Controller.

8 The Hull–White Model.

8.1 A component-based design.

8.2 The model and model factories.

8.3 Concluding remarks.

9 Pricing using Numerical Methods.

9.1 A lattice pricing framework.

9.2 A Monte-Carlo pricing framework.

9.3 Concluding remarks.

10 Pricing Financial Structures in Hull–White.

10.1 Pricing a Bermudan.

10.2 Pricing a TARN.

10.3 Concluding remarks.

11 Hybrid Python/C++ Pricing Systems.

11.1 nth imm of year revisited.

11.2 Exercising nth imm of year from C++.

12 Python Excel Integration.

12.1 Black–scholes COM server.

12.2 Numerical pricing with PPF in Excel.

Appendices.

A Python.

A.1 Python interpreter modes.

A.2 Basic Python.

A.3 Conclusion.

B Boost.Python.

B.1 Hello world.

B.2 Classes, constructors and methods.

B.3 Inheritance.

B.4 Python operators.

B.5 Functions.

B.6 Enums.

B.7 Embedding.

B.8 Conclusion.

C Hull–White Model Mathematics.

D Pickup Value Regression.

Bibliography.

Index.

SHAYNE FLETCHER has a BSc. from the University of Sydney, Australia. He has had more than 10 years experience working for major investment banks in London, The Netherlands and Japan. In 2009 he founded QuantSoft (http://www.quantsoft.co.jp) providing technical consulting services to meet the financial engineering programming needs of its clients.

 

CHRISTOPHER GARDNER has a PhD in Applied Mathematics from King's College, London. He began his career working for UKAEA Fusion at Culham Laboratory before moving to the City of London. He has 10 years experience working as a Quantitative analyst. He is currently working on the pricing of Life derivatives for the Asset Management Pricing Desk at Swiss Re.

 

You may also be interested in these books:

The Hong Kong Company Secretary's Handbook: Practice and Procedure (11th Edition)
The Hong Kong Company Secretary's Handbook: Practice and Procedure (11th Edition)

List Price: HKD 551.00

HKD 534.47 Save HKD 16.53 (3%)

Hong Kong Tax & Accounting Practical Toolkit (Basic Package)
Hong Kong Tax & Accounting Practical Toolkit (Basic Package)
HKD 3,639.00
Hong Kong Listed Companies: Law and Practice, 2nd Edition
Hong Kong Listed Companies: Law and Practice, 2nd Edition

List Price: HKD 1,980.00

HKD 1,920.60 Save HKD 59.40 (3%)

KPMG's Insights into IFRS 2025/2026 (22nd Edition) (e-Book only)
KPMG's Insights into IFRS 2025/2026 (22nd Edition) (e-Book only)

List Price: HKD 2,172.00

HKD 2,106.84 Save HKD 65.16 (3%)

Hong Kong GAAP: A Master Guide to Financial Reporting Standards 2025 (18th Edition)
Hong Kong GAAP: A Master Guide to Financial Reporting Standards 2025 (18th Edition)

List Price: HKD 1,380.00

HKD 1,338.60 Save HKD 41.40 (3%)

Hong Kong Master Tax Guide 2025/26 (33rd Edition)
Hong Kong Master Tax Guide 2025/26 (33rd Edition)

List Price: HKD 1,450.00

HKD 1,406.50 Save HKD 43.50 (3%)

Singapore Master Tax Guide 2025-26, 44th Edition
Singapore Master Tax Guide 2025-26, 44th Edition

List Price: HKD 1,620.00

HKD 1,571.40 Save HKD 48.60 (3%)

Japan Master Tax Guide 2025-26, 23rd Edition
Japan Master Tax Guide 2025-26, 23rd Edition

List Price: HKD 2,590.00

HKD 2,512.30 Save HKD 77.70 (3%)

Singapore Master Guide to BEPS 2.0 – Multinational Enterprise (Minimum Tax)
Singapore Master Guide to BEPS 2.0 – Multinational Enterprise (Minimum Tax)

List Price: HKD 1,050.00

HKD 1,018.50 Save HKD 31.50 (3%)

Malaysia Master Tax Guide 42nd Edition 2025
Malaysia Master Tax Guide 42nd Edition 2025

List Price: HKD 950.00

HKD 921.50 Save HKD 28.50 (3%)

Taxation in Hong Kong: A Practical Guide 2023-2024 (9th Edition)
Taxation in Hong Kong: A Practical Guide 2023-2024 (9th Edition)

List Price: HKD 1,380.00

HKD 1,338.60 Save HKD 41.40 (3%)

Hong Kong Company Secretary Checklist, 2nd Edition
Hong Kong Company Secretary Checklist, 2nd Edition

List Price: HKD 1,380.00

HKD 1,338.60 Save HKD 41.40 (3%)

Wiley IFRS 2023: Interpretation and Application of IFRS Standards
Wiley IFRS 2023: Interpretation and Application of IFRS Standards
HKD 1,250.00
A Concise Guide to Corporate Compliance Management (2nd Edition)
A Concise Guide to Corporate Compliance Management (2nd Edition)

List Price: HKD 680.00

HKD 476.00 Save HKD 204.00 (30%)

China Master GAAP Guide (12th Edition)
China Master GAAP Guide (12th Edition)

List Price: HKD 1,500.00

HKD 1,455.00 Save HKD 45.00 (3%)

Introduction to International Taxation
Introduction to International Taxation

List Price: HKD 920.00

HKD 892.40 Save HKD 27.60 (3%)

A Practical Guide to Company Secretarial Obligations in Singapore, 2nd Edition
A Practical Guide to Company Secretarial Obligations in Singapore, 2nd Edition

List Price: HKD 1,210.00

HKD 1,173.70 Save HKD 36.30 (3%)

Consolidated Financial Statements, 11th Edition
Consolidated Financial Statements, 11th Edition

List Price: HKD 740.00

HKD 717.80 Save HKD 22.20 (3%)

Hong Kong Financial Reporting Standards for SMEs (2nd Edition)
Hong Kong Financial Reporting Standards for SMEs (2nd Edition)

List Price: HKD 1,500.00

HKD 1,050.00 Save HKD 450.00 (30%)

Hong Kong Directors' Manual, 5th Edition
Hong Kong Directors' Manual, 5th Edition

List Price: HKD 1,380.00

HKD 966.00 Save HKD 414.00 (30%)