Python for Finance

Analyze Big Financial Data

Author: Yves Hilpisch

Publisher: "O'Reilly Media, Inc."

ISBN: 1491945389

Category: Computers

Page: 606

View: 4097

DOWNLOAD NOW »
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

Python for Finance

Author: Yuxing Yan

Publisher: Packt Publishing Ltd

ISBN: 1783284382

Category: Computers

Page: 408

View: 1407

DOWNLOAD NOW »
A hands-on guide with easy-to-follow examples to help you learn about option theory, quantitative finance, financial modeling, and time series using Python. Python for Finance is perfect for graduate students, practitioners, and application developers who wish to learn how to utilize Python to handle their financial needs. Basic knowledge of Python will be helpful but knowledge of programming is necessary.

Mastering Python for Finance

Author: James Ma Weiming

Publisher: Packt Publishing Ltd

ISBN: 1784397873

Category: Computers

Page: 340

View: 9831

DOWNLOAD NOW »
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.

Financial Modelling in Python

Author: Shayne Fletcher,Christopher Gardner

Publisher: John Wiley & Sons

ISBN: 0470747897

Category: Business & Economics

Page: 244

View: 3975

DOWNLOAD NOW »
"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.

Derivatives Analytics with Python - Data Analytics, Models, Simulation, Calibration and Hedging + WS

Author: Yves Hilpisch

Publisher: John Wiley & Sons

ISBN: 1119037999

Category: Business & Economics

Page: 352

View: 1579

DOWNLOAD NOW »
Derivatives Analytics with Python: Data Analysis, Models, Simulation, Calibration and Hedging provides the necessary background information, theoretical foundations and numerical tools to implement a market-based valuation of stock index options. Topics are, amongst others, stylized facts of equity and options markets, risk-neutral valuation, Fourier transform methods, Monte Carlo simulation, model calibration, valuation and dynamic hedging. The financial models introduced in this book exhibit features like stochastic volatility, jump components and stochastic short rates. The approach is a practical one in that all important aspects are illustrated by a set of self-contained Python scripts. Benefits of Reading the Book: Data Analysis: Learn how to use Python for data and financial analysis. Reproduce major stylized facts of equity and options markets by yourself. Models: Learn risk-neutral pricing techniques from ground up, apply Fourier transform techniques to European options and advanced Monte Carlo pricing to American options. Simulation: Monte Carlo simulation is the most powerful and flexible numerical method for derivatives analytics. Simulate models with jumps, stochastic volatility and stochastic short rates. Calibration: Use global and local optimization techniques (incl. penalties) to calibrate advanced option pricing models to market quotes for options with different strikes and maturities. Hedging: Learn how to use advanced option pricing models in combination with advanced numerical methods to dynamically hedge American options. Python: All results, graphics, etc. presented are in general reproducible with the Python scripts accompanying the book. Benefit from more than 5,500 lines of code.

Python for Finance

Mastering Data-Driven Finance

Author: Yves Hilpisch

Publisher: N.A

ISBN: 9781492024330

Category: Business & Economics

Page: 600

View: 2067

DOWNLOAD NOW »
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 Data Analysis

Data Wrangling with Pandas, NumPy, and IPython

Author: Wes McKinney

Publisher: "O'Reilly Media, Inc."

ISBN: 1491957638

Category: Computers

Page: 544

View: 6778

DOWNLOAD NOW »
Get complete instructions for manipulating, processing, cleaning, and crunching datasets in Python. Updated for Python 3.6, the second edition of this hands-on guide is packed with practical case studies that show you how to solve a broad set of data analysis problems effectively. You’ll learn the latest versions of pandas, NumPy, IPython, and Jupyter in the process. Written by Wes McKinney, the creator of the Python pandas project, this book is a practical, modern introduction to data science tools in Python. It’s ideal for analysts new to Python and for Python programmers new to data science and scientific computing. Data files and related material are available on GitHub. Use the IPython shell and Jupyter notebook for exploratory computing Learn basic and advanced features in NumPy (Numerical Python) Get started with data analysis tools in the pandas library Use flexible tools to load, clean, transform, merge, and reshape data Create informative visualizations with matplotlib Apply the pandas groupby facility to slice, dice, and summarize datasets Analyze and manipulate regular and irregular time series data Learn how to solve real-world data analysis problems with thorough, detailed examples

Python for Finance

Author: Yuxing Yan

Publisher: Packt Publishing Ltd

ISBN: 1787125025

Category: Computers

Page: 586

View: 1637

DOWNLOAD NOW »
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.

Mastering Pandas for Finance

Author: Michael Heydt

Publisher: N.A

ISBN: 9781783985104

Category: Computers

Page: 298

View: 4184

DOWNLOAD NOW »
If you are interested in quantitative finance, financial modeling, and trading, or simply want to learn how Python and pandas can be applied to finance, then this book is ideal for you. Some knowledge of Python and pandas is assumed. Interest in financial concepts is helpful, but no prior knowledge is expected.

Machine Learning for Financial Engineering

Author: László Györfi,György Ottucsák,Harro Walk

Publisher: World Scientific

ISBN: 1848168136

Category: Business & Economics

Page: 250

View: 3273

DOWNLOAD NOW »
Preface v 1 On the History of the Growth-Optimal Portfolio M. M. Christensen 1 2 Empirical Log-Optimal Portfolio Selections: A Survey L. Györfi Gy. Ottucsáak A. Urbán 81 3 Log-Optimal Portfolio-Selection Strategies with Proportional Transaction Costs L. Györfi H. Walk 119 4 Growth-Optimal Portfoho Selection with Short Selling and Leverage M. Horváth A. Urbán 153 5 Nonparametric Sequential Prediction of Stationary Time Series L. Györfi Gy. Ottucsák 179 6 Empirical Pricing American Put Options L. Györfi A. Telcs 227 Index 249

What Hedge Funds Really Do

An Introduction to Portfolio Management

Author: Philip J. Romero,Tucker Balch

Publisher: Business Expert Press

ISBN: 1631570900

Category: Business & Economics

Page: 146

View: 3972

DOWNLOAD NOW »
When I managed a hedge fund in the late 1990s, computer-based trading was a mysterious technique only available to the largest hedge funds and institutional trading desks. We’ve come a long way since then. With this book, Drs. Romero and Balch lift the veil from many of these once-opaque concepts in high-tech finance. We can all benefit from learning how the cooperation between wetware and software creates fitter models. This book does a fantastic job describing how the latest advances in financial modeling and data science help today’s portfolio managers solve these greater riddles. —Michael Himmel, Managing Partner, Essex Asset Management I applaud Phil Romero’s willingness to write about the hedge fund world, an industry that is very private, often flamboyant, and easily misunderstood. As with every sector of the investment landscape, the hedge fund industry varies dramatically from quantitative “black box” technology, to fundamental research and old-fashioned stock picking. This book helps investors distinguish between these diverse opposites and understand their place in the new evolving world of finance. —Mick Elfers, Founder and Chief Investment Strategist, Irvington Capital

Listed Volatility and Variance Derivatives

A Python-based Guide

Author: Yves Hilpisch

Publisher: John Wiley & Sons

ISBN: 1119167930

Category: Business & Economics

Page: 368

View: 5916

DOWNLOAD NOW »
Leverage Python for expert-level volatility and variance derivative trading Listed Volatility and Variance Derivatives is a comprehensive treatment of all aspects of these increasingly popular derivatives products, and has the distinction of being both the first to cover European volatility and variance products provided by Eurex and the first to offer Python code for implementing comprehensive quantitative analyses of these financial products. For those who want to get started right away, the book is accompanied by a dedicated Web page and a Github repository that includes all the code from the book for easy replication and use, as well as a hosted version of all the code for immediate execution. Python is fast making inroads into financial modelling and derivatives analytics, and recent developments allow Python to be as fast as pure C++ or C while consisting generally of only 10% of the code lines associated with the compiled languages. This complete guide offers rare insight into the use of Python to undertake complex quantitative analyses of listed volatility and variance derivatives. Learn how to use Python for data and financial analysis, and reproduce stylised facts on volatility and variance markets Gain an understanding of the fundamental techniques of modelling volatility and variance and the model-free replication of variance Familiarise yourself with micro structure elements of the markets for listed volatility and variance derivatives Reproduce all results and graphics with IPython/Jupyter Notebooks and Python codes that accompany the book Listed Volatility and Variance Derivatives is the complete guide to Python-based quantitative analysis of these Eurex derivatives products.

An Introduction to Quantitative Finance

Author: Stephen Blyth

Publisher: Oxford University Press

ISBN: 0199666598

Category: Business & Economics

Page: 175

View: 4003

DOWNLOAD NOW »
The quantitative nature of complex financial transactions makes them a fascinating subject area for mathematicians of all types. This book gives an insight into financial engineering while building on introductory probability courses by detailing one of the most fascinating applications of the subject.

Python Data Science Handbook

Essential Tools for Working with Data

Author: Jake VanderPlas

Publisher: "O'Reilly Media, Inc."

ISBN: 1491912138

Category: Computers

Page: 548

View: 6559

DOWNLOAD NOW »
For many researchers, Python is a first-class tool mainly because of its libraries for storing, manipulating, and gaining insight from data. Several resources exist for individual pieces of this data science stack, but only with the Python Data Science Handbook do you get them all—IPython, NumPy, Pandas, Matplotlib, Scikit-Learn, and other related tools. Working scientists and data crunchers familiar with reading and writing Python code will find this comprehensive desk reference ideal for tackling day-to-day issues: manipulating, transforming, and cleaning data; visualizing different types of data; and using data to build statistical or machine learning models. Quite simply, this is the must-have reference for scientific computing in Python. With this handbook, you’ll learn how to use: IPython and Jupyter: provide computational environments for data scientists using Python NumPy: includes the ndarray for efficient storage and manipulation of dense data arrays in Python Pandas: features the DataFrame for efficient storage and manipulation of labeled/columnar data in Python Matplotlib: includes capabilities for a flexible range of data visualizations in Python Scikit-Learn: for efficient and clean Python implementations of the most important and established machine learning algorithms

Advances in Financial Machine Learning

Author: Marcos Lopez de Prado

Publisher: John Wiley & Sons

ISBN: 1119482119

Category: Business & Economics

Page: 400

View: 5604

DOWNLOAD NOW »
Machine learning (ML) is changing virtually every aspect of our lives. Today ML algorithms accomplish tasks that until recently only expert humans could perform. As it relates to finance, this is the most exciting time to adopt a disruptive technology that will transform how everyone invests for generations. Readers will learn how to structure Big data in a way that is amenable to ML algorithms; how to conduct research with ML algorithms on that data; how to use supercomputing methods; how to backtest your discoveries while avoiding false positives. The book addresses real-life problems faced by practitioners on a daily basis, and explains scientifically sound solutions using math, supported by code and examples. Readers become active users who can test the proposed solutions in their particular setting. Written by a recognized expert and portfolio manager, this book will equip investment professionals with the groundbreaking tools needed to succeed in modern finance.

Python for Experimental Psychologists

Author: Edwin S. Dalmaijer

Publisher: Routledge

ISBN: 1317206436

Category: Psychology

Page: 228

View: 7616

DOWNLOAD NOW »
Programming is an important part of experimental psychology and cognitive neuroscience, and Python is an ideal language for novices. It sports a very readable syntax, intuitive variable management, and a very large body of functionality that ranges from simple arithmetic to complex computing. Python for Experimental Psychologists provides researchers without prior programming experience with the knowledge they need to independently script experiments and analyses in Python. The skills it offers include: how to display stimuli on a computer screen; how to get input from peripherals (e.g. keyboard, mouse) and specialised equipment (e.g. eye trackers); how to log data; and how to control timing. In addition, it shows readers the basic principles of data analysis applied to behavioural data, and the more advanced techniques required to analyse trace data (e.g. pupil size) and gaze data. Written informally and accessibly, the book deliberately focuses on the parts of Python that are relevant to experimental psychologists and cognitive neuroscientists. It is also supported by a companion website where you will find colour versions of the figures, along with example stimuli, datasets and scripts, and a portable Windows installation of Python.

Mastering R for Quantitative Finance

Author: Edina Berlinger,Ferenc Illés,Milán Badics,Ádám Banai,Gergely Daróczi,Barbara Dömötör,Gergely Gabler,Dániel Havran,Péter Juhász,István Margitai,Balázs Márkus,Péter Medvegyev,Julia Molnár,Balázs Árpád Szűcs,Ágnes Tuza,Tamás Vadász,Kata Váradi,Ágnes Vidovics-Dancs

Publisher: Packt Publishing Ltd

ISBN: 1783552085

Category: Computers

Page: 362

View: 1726

DOWNLOAD NOW »
This book is intended for those who want to learn how to use R's capabilities to build models in quantitative finance at a more advanced level. If you wish to perfectly take up the rhythm of the chapters, you need to be at an intermediate level in quantitative finance and you also need to have a reasonable knowledge of R.

A Course on Statistics for Finance

Author: Stanley L. Sclove

Publisher: CRC Press

ISBN: 1498785670

Category: Business & Economics

Page: 269

View: 9669

DOWNLOAD NOW »
Taking a data-driven approach, A Course on Statistics for Finance presents statistical methods for financial investment analysis. The author introduces regression analysis, time series analysis, and multivariate analysis step by step using models and methods from finance. The book begins with a review of basic statistics, including descriptive statistics, kinds of variables, and types of data sets. It then discusses regression analysis in general terms and in terms of financial investment models, such as the capital asset pricing model and the Fama/French model. It also describes mean-variance portfolio analysis and concludes with a focus on time series analysis. Providing the connection between elementary statistics courses and quantitative finance courses, this text helps both existing and future quants improve their data analysis skills and better understand the modeling process.

Following the Trend

Diversified Managed Futures Trading

Author: Andreas F. Clenow

Publisher: John Wiley & Sons

ISBN: 111841084X

Category: Business & Economics

Page: 304

View: 8557

DOWNLOAD NOW »
During bull and bear markets, there is a group of hedge funds and professional traders which have been consistently outperforming traditional investment strategies for the past 30 odd years. They have shown remarkable uncorrelated performance and in the great bear market of 2008 they had record gains. These traders are highly secretive about their proprietary trading algorithms and often employ top PhDs in their research teams. Yet, it is possible to replicate their trading performance with relatively simplistic models. These traders are trend following cross asset futures managers, also known as CTAs. Many books are written about them but none explain their strategies in such detail as to enable the reader to emulate their success and create their own trend following trading business, until now. Following the Trend explains why most hopefuls fail by focusing on the wrong things, such as buy and sell rules, and teaches the truly important parts of trend following. Trading everything from the Nasdaq index and T-bills to currency crosses, platinum and live hogs, there are large gains to be made regardless of the state of the economy or stock markets. By analysing year by year trend following performance and attribution the reader will be able to build a deep understanding of what it is like to trade futures in large scale and where the real problems and opportunities lay. Written by experienced hedge fund manager Andreas Clenow, this book provides a comprehensive insight into the strategies behind the booming trend following futures industry from the perspective of a market participant. The strategies behind the success of this industry are explained in great detail, including complete trading rules and instructions for how to replicate the performance of successful hedge funds. You are in for a potentially highly profitable roller coaster ride with this hard and honest look at the positive as well as the negative sides of trend following.

Artificial Intelligence with Python

Author: Prateek Joshi

Publisher: Packt Publishing Ltd

ISBN: 1786469677

Category: Computers

Page: 446

View: 7004

DOWNLOAD NOW »
Build real-world Artificial Intelligence applications with Python to intelligently interact with the world around you About This Book Step into the amazing world of intelligent apps using this comprehensive guide Enter the world of Artificial Intelligence, explore it, and create your own applications Work through simple yet insightful examples that will get you up and running with Artificial Intelligence in no time Who This Book Is For This book is for Python developers who want to build real-world Artificial Intelligence applications. This book is friendly to Python beginners, but being familiar with Python would be useful to play around with the code. It will also be useful for experienced Python programmers who are looking to use Artificial Intelligence techniques in their existing technology stacks. What You Will Learn Realize different classification and regression techniques Understand the concept of clustering and how to use it to automatically segment data See how to build an intelligent recommender system Understand logic programming and how to use it Build automatic speech recognition systems Understand the basics of heuristic search and genetic programming Develop games using Artificial Intelligence Learn how reinforcement learning works Discover how to build intelligent applications centered on images, text, and time series data See how to use deep learning algorithms and build applications based on it In Detail Artificial Intelligence is becoming increasingly relevant in the modern world where everything is driven by technology and data. It is used extensively across many fields such as search engines, image recognition, robotics, finance, and so on. We will explore various real-world scenarios in this book and you'll learn about various algorithms that can be used to build Artificial Intelligence applications. During the course of this book, you will find out how to make informed decisions about what algorithms to use in a given context. Starting from the basics of Artificial Intelligence, you will learn how to develop various building blocks using different data mining techniques. You will see how to implement different algorithms to get the best possible results, and will understand how to apply them to real-world scenarios. If you want to add an intelligence layer to any application that's based on images, text, stock market, or some other form of data, this exciting book on Artificial Intelligence will definitely be your guide! Style and approach This highly practical book will show you how to implement Artificial Intelligence. The book provides multiple examples enabling you to create smart applications to meet the needs of your organization. In every chapter, we explain an algorithm, implement it, and then build a smart application.