Mastering Python for Finance.

Saved in:
Bibliographic Details
Author / Creator:Weiming, James Ma.
Imprint:Birmingham, UK : Packt Publishing, 2015.
Description:1 online resource (340 pages).
Language:English
Series:Community Experience Distilled
Community experience distilled.
Subject:
Format: E-Resource Book
URL for this record:http://pi.lib.uchicago.edu/1001/cat/bib/11907537
Hidden Bibliographic Details
ISBN:1784397873
9781784397876
9781784394516
1784394513
Digital file characteristics:text file
Notes:Includes index.
English.
Print version record.
Summary:Annotation If you are an undergraduate or graduate student, a beginner to algorithmic development and research, or a software developer in the financial industry who is interested in using Python for quantitative methods in finance, this is the book for you. It would be helpful to have a bit of familiarity with basic Python usage, but no prior experience is required.
Other form:Print version: Weiming, James Ma. Mastering python for finance : understand, design, and implement state-of-the-art mathematical and statistical applications used in finance with Python. Birmingham, [England] : Packt Publishing, ©2015 xv, 312 pages Community experience distilled. 9781784394516
Table of Contents:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Python for Financial Applications; Is Python for me?; Free and open source; High-level, powerful, and flexible; A wealth of standard libraries; Objected-oriented versus functional programming; The object-oriented approach; The functional approach; Which approach should I use?; Which Python version should I use?; Introducing IPython; Getting IPython; Using pip; The IPython Notebook; Notebook documents; Running the IPython Notebook; Creating a new notebook; Notebook cells
  • Code cellMarkdown cell; Raw NBConvert cell; Heading cells; Simple exercises with IPython Notebook; Creating a notebook with heading and Markdown cells; Saving notebooks; Mathematical operations in cells; Displaying graphs; Inserting equations; Displaying images; Inserting YouTube videos; Working with HTML; The pandas DataFrame object as an HTML table; Notebook for finance; Summary; Chapter 2: The Importance of Linearity in Finance; The capital asset pricing model and the security market line; The Arbitrage Pricing Theory model; Multivariate linear regression of factor models
  • Linear optimizationGetting PuLP; A simple linear optimization problem; Outcomes of linear programs; Integer programming; An example of an integer programming model with binary conditions; A different approach with binary conditions; Solving linear equations using matrices; The LU decomposition; The Cholesky decomposition; The QR decomposition; Solving with other matrix algebra methods; The Jacobi method; The Gauss-Seidel method; Summary; Chapter 3: Nonlinearity in Finance; Nonlinearity modeling; Examples of nonlinear models; The implied volatility model; The Markov regime-switching model
  • The threshold autoregressive modelSmooth transition models; An introduction to root-finding; Incremental search; The bisection method; Newton's method; The secant method; Combining root-finding methods; SciPy implementations; Root-finding scalar functions; General nonlinear solvers; Summary; Chapter 4: Numerical Procedures; Introduction to options; Binomial trees in options pricing; Pricing European options; Are these formulas relevant to stocks? What about futures?; Writing the StockOption class; Writing the BinomialEuropeanOption class
  • Pricing American options with the BinomialTreeOption classThe Cox-Ross-Rubinstein model; Writing the BinomialCRROption class; Using a Leisen-Reimer tree; Writing the BinomialLROption class; The Greeks for free; Writing the BinomialLRWithGreeks class; Trinomial trees in options pricing; Writing the TrinomialTreeOption class; Lattices in options pricing; Using a binomial lattice; Writing the BinomialCRROption class; Using the trinomial lattice; Writing the TrinomialLattice class; Finite differences in options pricing; The explicit method; Writing the FiniteDifferences class