Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Hilpisch, Yves

Rating No ratings yet

Nowadays, finance, mathematics, and programming are intrinsically linked. This book provides the relevant foundations of each discipline to give you the major tools you need to get started in the world of computational finance. Using an approach where mathematical concepts provide the common background against which financial ideas and programming techniques are learned, this practical guide teaches you the basics of financial economics. Written by the best-selling author of Python for Finance, Yves Hilpisch, Financial Theory with Python explains financial, mathematical, and Python programming concepts in an integrative manner so that the interdisciplinary concepts reinforce each other. • Draw upon mathematics to learn the foundations of financial theory and Python programming • Learn about financial theory, financial data modeling, and the use of Python for computational finance

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A compact, math-first introduction to financial economics that teaches you to build and price simple models in Python, rather than just use a library. Best for readers with some Python and basic calculus who want to understand *why* arbitrage pricing and portfolio theory work, not just how to call a function. 【Book Arc】 - **Opening (~0%–10%)**: Sets the stage — a brief history of finance from informal practice through the classical and modern periods to today's computational and AI-first eras, plus a chapter-by-chapter roadmap and the book's integrative math-plus-code philosophy. - **Early (~10%–30%)**: Environment and fundamentals — getting a Python/JupyterLab setup running, then the core building blocks: cash flows, interest, net present value, and the notion of uncertain future states modeled as vectors. - **Middle (~30%–50%)**: The two-state economy — the book's central teaching model. You meet probability measures, risk vs. ambiguity, replication of contingent claims, arbitrage pricing, Arrow-Debreu securities, market completeness, and the risk-return trade-off, all worked through with NumPy. - **Late (~50% onward)**: Extends the model to a three-state economy to introduce market incompleteness, indeterminacy of martingale measures, super-replication and approximate replication, and the Capital Asset Pricing Model as an equilibrium approach. - **Ending**: Closes with AI in finance and pointers to further resources, framing the shift toward AI-first finance. (Excerpts do not cover the final chapters in detail.) 【Key Takeaways】 - **Finance, math, and code are taught as one integrated skill** (Opening): the book deliberately uses mathematics as the common background so financial ideas and Python techniques reinforce each other rather than sitting in separate silos. - **Even a static two-state model teaches the big ideas** (Middle): arbitrage pricing, replication, and the risk-return relationship can all be understood without continuous-time calculus, which lowers the entry barrier considerably. - **Replication is the engine of pricing** (Middle): once a contingent claim's payoff can be reproduced by a portfolio of a riskless bond and a risky stock, its price follows from no-arbitrage — and the linear algebra (solving a matrix system) makes this concrete in NumPy. - **Market completeness has a precise meaning** (Middle): a market is complete when asset payoff vectors span the state space, so every claim has a unique replicating portfolio and a unique arbitrage price; Arrow-Debreu securities are the clean special case. - **Risk and ambiguity are distinct** (Early/Middle): risk means a known probability distribution over states; ambiguity means the distribution itself is unknown — a distinction the book flags as important even though traditional finance leans almost entirely on risk. - **Adding a third state breaks completeness** (Late): moving from two to three states introduces market incompleteness, non-unique martingale measures, and the need for super-replication or approximate replication — a genuinely new conceptual regime. - **The CAPM arrives as an equilibrium argument** (Late): rather than only a no-arbitrage construction, the book presents CAPM as a way to price assets through equilibrium reasoning. - **The historical framing motivates the tools** (Opening): tracing finance from rules of thumb to formal models to computational and AI-first practice explains why Python now sits at the center of the discipline. 【Reading Tips】 - **Deep-read the two-state chapter** (the middle of the book): it is the conceptual heart. If you truly internalize replication and arbitrage pricing there, the later three-state material is far less intimidating. - **Skim the environment setup** (early) if you already have a working Python/JupyterLab install; the value is in the model chapters, not the installation walkthrough. - **Type and run the code yourself**: the book's pedagogy depends on seeing vectors, matrices, and dot products produce actual numbers — reading the listings passively will not build the intuition. - **Watch the linear algebra**: solving `M · φ = C₁` is where finance and math meet. If matrix solving feels shaky, review it before the middle chapters. - **Carry the intuition forward**: the author explicitly intends the two-state intuition to transfer to more advanced models, so treat each new state as a stress test of what you already understand. 【Coverage Limits】 This guide is based on stratified excerpts covering roughly the first half of the book (front matter through the two-state economy and the start of the three-state chapter). The later chapters on incompleteness, CAPM, AI in finance, and the closing resources are only partially represented, so details there are inferred from the table of contents and preface rather than fully verified.
Page 4
23: First Release See http://oreilly.com/catalog/errata.csp?isbn=9781098104351 for release details. The O’Reilly logo is a registered trademark of O’Reilly M...
View in text
Excerpt 2
a vector v that is itself an element of the vector space ℝ2. A vector space is a collection of objects—called vectors—for which addition and scalar multiplic...
View in text
Excerpt 3
repre‐ sented as a so-called column vector: cu c1 = 1 cd 1 Mathematically, there are certain operations defined on such vectors, like scalar mul‐ tiplication...
View in text
Excerpt 4
fit can only be expected on average and not with certainty. Assuming the numerical price processes from before, the calculation of q in Python means just an...
View in text
Excerpt 5
the market portfolio: In [41]: s = np.linspace(-2, 2, 25) In [42]: b = (1 - s) In [43]: i = 0.1 In [44]: mu = b * i + s * mu_S In [45]: sigma = np.abs(s * si...
View in text
Excerpt 6
tand and interpret. For more on the problems with this cen‐ tral paradigm in finance, see Hilpisch (2020, chapters 3 and 4). Optimal Investment Portfolio Wha...
View in text
Excerpt 7
ion of a random variable is defined by: P S = ∑ P ω · S ω ω ∈ Ω Otherwise, it holds: P S = ∑ P · S ∈ ℱ Uncertainty | 119 ℰ = Ω,ℱ , P , where it is usually as...
View in text
Excerpt 8
large class of interesting and important financial models. Black-Scholes-Merton Option Pricing The Black-Scholes-Merton (1973) model for option pricing is ba...
View in text
Tags
AI categories
PythonProgrammingData
ISBN: 1098104358
Publisher: O'Reilly Media
Publish Year: 2021
Language: English
Pages: 204
File Format: PDF
File Size: 8.4 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…