Python for Finance - Second Edition

Python for Finance - Second Edition

RM 83.00

ISBN:

9781787125025

Categories:

Engineering & IT

File Size

22.35 MB

Format

epub

Language

English

Release Year

2017
Favorite (0)

Synopsis

Key FeaturesUnderstand the fundamentals of Python data structures and work with time-series dataImplement key concepts in quantitative finance using popular Python libraries such as NumPy, SciPy, and matplotlibA step-by-step tutorial packed with many Python programs that will help you learn how to apply Python to financeBook DescriptionThis 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 IBMs 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.What you will learnBecome acquainted with Python in the first two chaptersRun CAPM, Fama-French 3-factor, and Fama-French-Carhart 4-factor modelsLearn how to price a call, put, and several exotic optionsUnderstand Monte Carlo simulation, how to write a Python program to replicate the Black-Scholes-Merton options model, and how to price a few exotic optionsUnderstand the concept of volatility and how to test the hypothesis that volatility changes over the yearsUnderstand the ARCH and GARCH processes and how to write related Python programsAbout the AuthorDr. Yuxing Yan graduated from McGill University with a PhD in finance. Over the years, he has been teaching various finance courses at eight universities: McGill University and Wilfrid Laurier University (in Canada), Nanyang Technological University (in Singapore), Loyola University of Maryland, UMUC, Hofstra University, University at Buffalo, and Canisius College (in the US).His research and teaching areas include: market microstructure, open-source finance and financial data analytics. He has 22 publications including papers published in the Journal of Accounting and Finance, Journal of Banking and Finance, Journal of Empirical Finance, Real Estate Review, Pacific Basin Finance Journal, Applied Financial Economics, and Annals of Operations Research.He is good at several computer languages, such as SAS, R, Python, Matlab, and C.His four books are related to applying two pieces of open-source software to finance: Python for Finance (2014), Python for Finance (2nd ed., expected 2017), Python for Finance (Chinese version, expected 2017), and Financial Modeling Using R (2016).In addition, he is an expert on data, especially on financial databases. From 2003 to 2010, he worked at Wharton School as a consultant, helping researchers with their programs and data issues. In 2007, he published a book titled Financial Databases (with S.W. Zhu). This book is written in Chinese.Currently, he is writing a new book called Financial Modeling Using Excel — in an R-Assisted Learning Environment. The phrase R-Assisted distinguishes it from other similar books related to Excel and financial modeling. New features include using a huge amount of public data related to economics, finance, and accounting; an efficient way to retrieve data: 3 seconds for each time series; a free financial calculator, showing 50 financial formulas instantly, 300 websites, 100 YouTube videos, 80 references, paperless for homework, midterms, and final exams; easy to extend for instructors; and especially, no need to learn R.Table of ContentsPython basicsIntroduction to Python ModulesTime value of moneySources of Economics/finance/accounting dataBond and stock evaluationsCapital Asset Pricing ModelMultifactor models and performance measuresTime Series AnalysisPortfolio TheoryOptions and FuturesVaR (Value at Risk)Monte Carlo SimulationCredit Risk AnalysisExotic OptionsVolatility, implied volatility, ARCH and GARCH