Quantitative Finance with Python

Quantitative Finance with Python
Author: Chris Kelliher
Publisher: CRC Press
Total Pages: 801
Release: 2022-05-19
Genre: Mathematics
ISBN: 100058237X

Quantitative Finance with Python: A Practical Guide to Investment Management, Trading and Financial Engineering bridges the gap between the theory of mathematical finance and the practical applications of these concepts for derivative pricing and portfolio management. The book provides students with a very hands-on, rigorous introduction to foundational topics in quant finance, such as options pricing, portfolio optimization and machine learning. Simultaneously, the reader benefits from a strong emphasis on the practical applications of these concepts for institutional investors. Features Useful as both a teaching resource and as a practical tool for professional investors. Ideal textbook for first year graduate students in quantitative finance programs, such as those in master’s programs in Mathematical Finance, Quant Finance or Financial Engineering. Includes a perspective on the future of quant finance techniques, and in particular covers some introductory concepts of Machine Learning. Free-to-access repository with Python codes available at www.routledge.com/ 9781032014432 and on https://github.com/lingyixu/Quant-Finance-With-Python-Code.

Python for Algorithmic Trading

Python for Algorithmic Trading
Author: Yves Hilpisch
Publisher: O'Reilly Media
Total Pages: 380
Release: 2020-11-12
Genre: Computers
ISBN: 1492053325

Algorithmic trading, once the exclusive domain of institutional players, is now open to small organizations and individual traders using online platforms. The tool of choice for many traders today is Python and its ecosystem of powerful packages. In this practical book, author Yves Hilpisch shows students, academics, and practitioners how to use Python in the fascinating field of algorithmic trading. You'll learn several ways to apply Python to different aspects of algorithmic trading, such as backtesting trading strategies and interacting with online trading platforms. Some of the biggest buy- and sell-side institutions make heavy use of Python. By exploring options for systematically building and deploying automated algorithmic trading strategies, this book will help you level the playing field. Set up a proper Python environment for algorithmic trading Learn how to retrieve financial data from public and proprietary data sources Explore vectorization for financial analytics with NumPy and pandas Master vectorized backtesting of different algorithmic trading strategies Generate market predictions by using machine learning and deep learning Tackle real-time processing of streaming data with socket programming tools Implement automated algorithmic trading strategies with the OANDA and FXCM trading platforms

Mathematical Modeling And Computation In Finance: With Exercises And Python And Matlab Computer Codes

Mathematical Modeling And Computation In Finance: With Exercises And Python And Matlab Computer Codes
Author: Cornelis W Oosterlee
Publisher: World Scientific
Total Pages: 1310
Release: 2019-10-29
Genre: Business & Economics
ISBN: 1786347962

This book discusses the interplay of stochastics (applied probability theory) and numerical analysis in the field of quantitative finance. The stochastic models, numerical valuation techniques, computational aspects, financial products, and risk management applications presented will enable readers to progress in the challenging field of computational finance.When the behavior of financial market participants changes, the corresponding stochastic mathematical models describing the prices may also change. Financial regulation may play a role in such changes too. The book thus presents several models for stock prices, interest rates as well as foreign-exchange rates, with increasing complexity across the chapters. As is said in the industry, 'do not fall in love with your favorite model.' The book covers equity models before moving to short-rate and other interest rate models. We cast these models for interest rate into the Heath-Jarrow-Morton framework, show relations between the different models, and explain a few interest rate products and their pricing.The chapters are accompanied by exercises. Students can access solutions to selected exercises, while complete solutions are made available to instructors. The MATLAB and Python computer codes used for most tables and figures in the book are made available for both print and e-book users. This book will be useful for people working in the financial industry, for those aiming to work there one day, and for anyone interested in quantitative finance. The topics that are discussed are relevant for MSc and PhD students, academic researchers, and for quants in the financial industry.

Python for Finance

Python for Finance
Author: Yves Hilpisch
Publisher: "O'Reilly Media, Inc."
Total Pages: 720
Release: 2018-12-05
Genre: Computers
ISBN: 1492024295

The financial industry has recently adopted Python at a tremendous rate, with some of the largest investment banks and hedge funds using it to build core trading and risk management systems. Updated for Python 3, the second edition of this hands-on book helps you get started with the language, guiding developers and quantitative analysts through Python libraries and tools for building financial applications and interactive financial analytics. Using practical examples throughout the book, author Yves Hilpisch also shows you how to develop a full-fledged framework for Monte Carlo simulation-based derivatives and risk analytics, based on a large, realistic case study. Much of the book uses interactive IPython Notebooks.

Python for Finance

Python for Finance
Author: Yuxing Yan
Publisher: Packt Publishing Ltd
Total Pages: 586
Release: 2017-06-30
Genre: Computers
ISBN: 1787125025

Learn and implement various Quantitative Finance concepts using the popular Python libraries About This Book Understand the fundamentals of Python data structures and work with time-series data Implement key concepts in quantitative finance using popular Python libraries such as NumPy, SciPy, and matplotlib A step-by-step tutorial packed with many Python programs that will help you learn how to apply Python to finance Who This Book Is For This book assumes that the readers have some basic knowledge related to Python. However, he/she has no knowledge of quantitative finance. In addition, he/she has no knowledge about financial data. What You Will Learn Become acquainted with Python in the first two chapters Run CAPM, Fama-French 3-factor, and Fama-French-Carhart 4-factor models Learn how to price a call, put, and several exotic options Understand Monte Carlo simulation, how to write a Python program to replicate the Black-Scholes-Merton options model, and how to price a few exotic options Understand the concept of volatility and how to test the hypothesis that volatility changes over the years Understand the ARCH and GARCH processes and how to write related Python programs In Detail This book uses Python as its computational tool. Since Python is free, any school or organization can download and use it. This book is organized according to various finance subjects. In other words, the first edition focuses more on Python, while the second edition is truly trying to apply Python to finance. The book starts by explaining topics exclusively related to Python. Then we deal with critical parts of Python, explaining concepts such as time value of money stock and bond evaluations, capital asset pricing model, multi-factor models, time series analysis, portfolio theory, options and futures. This book will help us to learn or review the basics of quantitative finance and apply Python to solve various problems, such as estimating IBM's market risk, running a Fama-French 3-factor, 5-factor, or Fama-French-Carhart 4 factor model, estimating the VaR of a 5-stock portfolio, estimating the optimal portfolio, and constructing the efficient frontier for a 20-stock portfolio with real-world stock, and with Monte Carlo Simulation. Later, we will also learn how to replicate the famous Black-Scholes-Merton option model and how to price exotic options such as the average price call option. Style and approach This book takes a step-by-step approach in explaining the libraries and modules in Python, and how they can be used to implement various aspects of quantitative finance. Each concept is explained in depth and supplemented with code examples for better understanding.

Python for Finance

Python for Finance
Author: Yves Hilpisch
Publisher: "O'Reilly Media, Inc."
Total Pages: 750
Release: 2014-12-11
Genre: Computers
ISBN: 1491945389

The financial industry has adopted Python at a tremendous rate recently, with some of the largest investment banks and hedge funds using it to build core trading and risk management systems. This hands-on guide helps both developers and quantitative analysts get started with Python, and guides you through the most important aspects of using Python for quantitative finance. Using practical examples through the book, author Yves Hilpisch also shows you how to develop a full-fledged framework for Monte Carlo simulation-based derivatives and risk analytics, based on a large, realistic case study. Much of the book uses interactive IPython Notebooks, with topics that include: Fundamentals: Python data structures, NumPy array handling, time series analysis with pandas, visualization with matplotlib, high performance I/O operations with PyTables, date/time information handling, and selected best practices Financial topics: mathematical techniques with NumPy, SciPy and SymPy such as regression and optimization; stochastics for Monte Carlo simulation, Value-at-Risk, and Credit-Value-at-Risk calculations; statistics for normality tests, mean-variance portfolio optimization, principal component analysis (PCA), and Bayesian regression Special topics: performance Python for financial algorithms, such as vectorization and parallelization, integrating Python with Excel, and building financial applications based on Web technologies

Quantitative Finance

Quantitative Finance
Author: Matt Davison
Publisher: CRC Press
Total Pages: 523
Release: 2014-05-08
Genre: Business & Economics
ISBN: 1439871698

Teach Your Students How to Become Successful Working Quants Quantitative Finance: A Simulation-Based Introduction Using Excel provides an introduction to financial mathematics for students in applied mathematics, financial engineering, actuarial science, and business administration. The text not only enables students to practice with the basic techniques of financial mathematics, but it also helps them gain significant intuition about what the techniques mean, how they work, and what happens when they stop working. After introducing risk, return, decision making under uncertainty, and traditional discounted cash flow project analysis, the book covers mortgages, bonds, and annuities using a blend of Excel simulation and difference equation or algebraic formalism. It then looks at how interest rate markets work and how to model bond prices before addressing mean variance portfolio optimization, the capital asset pricing model, options, and value at risk (VaR). The author next focuses on binomial model tools for pricing options and the analysis of discrete random walks. He also introduces stochastic calculus in a nonrigorous way and explains how to simulate geometric Brownian motion. The text proceeds to thoroughly discuss options pricing, mostly in continuous time. It concludes with chapters on stochastic models of the yield curve and incomplete markets using simple discrete models. Accessible to students with a relatively modest level of mathematical background, this book will guide your students in becoming successful quants. It uses both hand calculations and Excel spreadsheets to analyze plenty of examples from simple bond portfolios. The spreadsheets are available on the book’s CRC Press web page.

Python for Finance Cookbook

Python for Finance Cookbook
Author: Eryk Lewinson
Publisher: Packt Publishing Ltd
Total Pages: 426
Release: 2020-01-31
Genre: Computers
ISBN: 1789617324

Solve common and not-so-common financial problems using Python libraries such as NumPy, SciPy, and pandas Key FeaturesUse powerful Python libraries such as pandas, NumPy, and SciPy to analyze your financial dataExplore unique recipes for financial data analysis and processing with PythonEstimate popular financial models such as CAPM and GARCH using a problem-solution approachBook Description Python is one of the most popular programming languages used in the financial industry, with a huge set of accompanying libraries. In this book, you'll cover different ways of downloading financial data and preparing it for modeling. You'll calculate popular indicators used in technical analysis, such as Bollinger Bands, MACD, RSI, and backtest automatic trading strategies. Next, you'll cover time series analysis and models, such as exponential smoothing, ARIMA, and GARCH (including multivariate specifications), before exploring the popular CAPM and the Fama-French three-factor model. You'll then discover how to optimize asset allocation and use Monte Carlo simulations for tasks such as calculating the price of American options and estimating the Value at Risk (VaR). In later chapters, you'll work through an entire data science project in the financial domain. You'll also learn how to solve the credit card fraud and default problems using advanced classifiers such as random forest, XGBoost, LightGBM, and stacked models. You'll then be able to tune the hyperparameters of the models and handle class imbalance. Finally, you'll focus on learning how to use deep learning (PyTorch) for approaching financial tasks. By the end of this book, you’ll have learned how to effectively analyze financial data using a recipe-based approach. What you will learnDownload and preprocess financial data from different sourcesBacktest the performance of automatic trading strategies in a real-world settingEstimate financial econometrics models in Python and interpret their resultsUse Monte Carlo simulations for a variety of tasks such as derivatives valuation and risk assessmentImprove the performance of financial models with the latest Python librariesApply machine learning and deep learning techniques to solve different financial problemsUnderstand the different approaches used to model financial time series dataWho this book is for This book is for financial analysts, data analysts, and Python developers who want to learn how to implement a broad range of tasks in the finance domain. Data scientists looking to devise intelligent financial strategies to perform efficient financial analysis will also find this book useful. Working knowledge of the Python programming language is mandatory to grasp the concepts covered in the book effectively.

Derivatives Analytics with Python

Derivatives Analytics with Python
Author: Yves Hilpisch
Publisher: John Wiley & Sons
Total Pages: 390
Release: 2015-08-03
Genre: Business & Economics
ISBN: 1119037999

Supercharge options analytics and hedging using the power of Python Derivatives Analytics with Python shows you how to implement market-consistent valuation and hedging approaches using advanced financial models, efficient numerical techniques, and the powerful capabilities of the Python programming language. This unique guide offers detailed explanations of all theory, methods, and processes, giving you the background and tools necessary to value stock index options from a sound foundation. You'll find and use self-contained Python scripts and modules and learn how to apply Python to advanced data and derivatives analytics as you benefit from the 5,000+ lines of code that are provided to help you reproduce the results and graphics presented. Coverage includes market data analysis, risk-neutral valuation, Monte Carlo simulation, model calibration, valuation, and dynamic hedging, with models that exhibit stochastic volatility, jump components, stochastic short rates, and more. The companion website features all code and IPython Notebooks for immediate execution and automation. Python is gaining ground in the derivatives analytics space, allowing institutions to quickly and efficiently deliver portfolio, trading, and risk management results. This book is the finance professional's guide to exploiting Python's capabilities for efficient and performing derivatives analytics. Reproduce major stylized facts of equity and options markets yourself Apply Fourier transform techniques and advanced Monte Carlo pricing Calibrate advanced option pricing models to market data Integrate advanced models and numeric methods to dynamically hedge options Recent developments in the Python ecosystem enable analysts to implement analytics tasks as performing as with C or C++, but using only about one-tenth of the code or even less. Derivatives Analytics with Python — Data Analysis, Models, Simulation, Calibration and Hedging shows you what you need to know to supercharge your derivatives and risk analytics efforts.