Mastering pandas for Finance

Mastering pandas for Finance
Author: Michael Heydt
Publisher: Packt Publishing Ltd
Total Pages: 298
Release: 2015-05-25
Genre: Computers
ISBN: 1783985119

Download Mastering pandas for Finance Book in PDF, Epub and Kindle

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.

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

Download Python for Finance Book in PDF, Epub and Kindle

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.

Mastering Python for Finance

Mastering Python for Finance
Author: James Ma Weiming
Publisher: Packt Publishing Ltd
Total Pages: 340
Release: 2015-04-29
Genre: Computers
ISBN: 1784397873

Download Mastering Python for Finance Book in PDF, Epub and Kindle

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.

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

Download Python for Finance Book in PDF, Epub and Kindle

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

Mastering Python for Finance

Mastering Python for Finance
Author: James Ma Weiming
Publisher: Packt Publishing Ltd
Total Pages: 414
Release: 2019-04-30
Genre: Computers
ISBN: 1789345278

Download Mastering Python for Finance Book in PDF, Epub and Kindle

Take your financial skills to the next level by mastering cutting-edge mathematical and statistical financial applications Key FeaturesExplore advanced financial models used by the industry and ways of solving them using PythonBuild state-of-the-art infrastructure for modeling, visualization, trading, and moreEmpower your financial applications by applying machine learning and deep learningBook Description The second edition of Mastering Python for Finance will guide you through carrying out complex financial calculations practiced in the industry of finance by using next-generation methodologies. You will master the Python ecosystem by leveraging publicly available tools to successfully perform research studies and modeling, and learn to manage risks with the help of advanced examples. You will start by setting up your Jupyter notebook to implement the tasks throughout the book. You will learn to make efficient and powerful data-driven financial decisions using popular libraries such as TensorFlow, Keras, Numpy, SciPy, and sklearn. You will also learn how to build financial applications by mastering concepts such as stocks, options, interest rates and their derivatives, and risk analytics using computational methods. With these foundations, you will learn to apply statistical analysis to time series data, and understand how time series data is useful for implementing an event-driven backtesting system and for working with high-frequency data in building an algorithmic trading platform. Finally, you will explore machine learning and deep learning techniques that are applied in finance. By the end of this book, you will be able to apply Python to different paradigms in the financial industry and perform efficient data analysis. What you will learnSolve linear and nonlinear models representing various financial problemsPerform principal component analysis on the DOW index and its componentsAnalyze, predict, and forecast stationary and non-stationary time series processesCreate an event-driven backtesting tool and measure your strategiesBuild a high-frequency algorithmic trading platform with PythonReplicate the CBOT VIX index with SPX options for studying VIX-based strategiesPerform regression-based and classification-based machine learning tasks for predictionUse TensorFlow and Keras in deep learning neural network architectureWho this book is for If you are a financial or data analyst or a software developer in the financial industry who is interested in using advanced Python techniques for quantitative methods in finance, this is the book you need! You will also find this book useful if you want to extend the functionalities of your existing financial applications by using smart machine learning techniques. Prior experience in Python is required.

Learning pandas

Learning pandas
Author: Michael Heydt
Publisher: Packt Publishing Ltd
Total Pages: 435
Release: 2017-06-30
Genre: Computers
ISBN: 1787120317

Download Learning pandas Book in PDF, Epub and Kindle

Get to grips with pandas—a versatile and high-performance Python library for data manipulation, analysis, and discovery About This Book Get comfortable using pandas and Python as an effective data exploration and analysis tool Explore pandas through a framework of data analysis, with an explanation of how pandas is well suited for the various stages in a data analysis process A comprehensive guide to pandas with many of clear and practical examples to help you get up and using pandas Who This Book Is For This book is ideal for data scientists, data analysts, Python programmers who want to plunge into data analysis using pandas, and anyone with a curiosity about analyzing data. Some knowledge of statistics and programming will be helpful to get the most out of this book but not strictly required. Prior exposure to pandas is also not required. What You Will Learn Understand how data analysts and scientists think about of the processes of gathering and understanding data Learn how pandas can be used to support the end-to-end process of data analysis Use pandas Series and DataFrame objects to represent single and multivariate data Slicing and dicing data with pandas, as well as combining, grouping, and aggregating data from multiple sources How to access data from external sources such as files, databases, and web services Represent and manipulate time-series data and the many of the intricacies involved with this type of data How to visualize statistical information How to use pandas to solve several common data representation and analysis problems within finance In Detail You will learn how to use pandas to perform data analysis in Python. You will start with an overview of data analysis and iteratively progress from modeling data, to accessing data from remote sources, performing numeric and statistical analysis, through indexing and performing aggregate analysis, and finally to visualizing statistical data and applying pandas to finance. With the knowledge you gain from this book, you will quickly learn pandas and how it can empower you in the exciting world of data manipulation, analysis and science. Style and approach Step-by-step instruction on using pandas within an end-to-end framework of performing data analysis Practical demonstration of using Python and pandas using interactive and incremental examples

Mastering pandas

Mastering pandas
Author: Ashish Kumar
Publisher: Packt Publishing Ltd
Total Pages: 658
Release: 2019-10-25
Genre: Computers
ISBN: 1789343356

Download Mastering pandas Book in PDF, Epub and Kindle

Perform advanced data manipulation tasks using pandas and become an expert data analyst. Key FeaturesManipulate and analyze your data expertly using the power of pandasWork with missing data and time series data and become a true pandas expertIncludes expert tips and techniques on making your data analysis tasks easierBook Description pandas is a popular Python library used by data scientists and analysts worldwide to manipulate and analyze their data. This book presents useful data manipulation techniques in pandas to perform complex data analysis in various domains. An update to our highly successful previous edition with new features, examples, updated code, and more, this book is an in-depth guide to get the most out of pandas for data analysis. Designed for both intermediate users as well as seasoned practitioners, you will learn advanced data manipulation techniques, such as multi-indexing, modifying data structures, and sampling your data, which allow for powerful analysis and help you gain accurate insights from it. With the help of this book, you will apply pandas to different domains, such as Bayesian statistics, predictive analytics, and time series analysis using an example-based approach. And not just that; you will also learn how to prepare powerful, interactive business reports in pandas using the Jupyter notebook. By the end of this book, you will learn how to perform efficient data analysis using pandas on complex data, and become an expert data analyst or data scientist in the process. What you will learnSpeed up your data analysis by importing data into pandasKeep relevant data points by selecting subsets of your dataCreate a high-quality dataset by cleaning data and fixing missing valuesCompute actionable analytics with grouping and aggregation in pandasMaster time series data analysis in pandasMake powerful reports in pandas using Jupyter notebooksWho this book is for This book is for data scientists, analysts and Python developers who wish to explore advanced data analysis and scientific computing techniques using pandas. Some fundamental understanding of Python programming and familiarity with the basic data analysis concepts is all you need to get started with this book.

Python for Finance

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

Download Python for Finance Book in PDF, Epub and Kindle

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 Cookbook

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

Download Python for Finance Cookbook Book in PDF, Epub and Kindle

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.

Hands-On Python for Finance

Hands-On Python for Finance
Author: Krish Naik
Publisher:
Total Pages: 378
Release: 2019-03-29
Genre: Computers
ISBN: 9781789346374

Download Hands-On Python for Finance Book in PDF, Epub and Kindle

Learn and implement quantitative finance using popular Python libraries like NumPy, pandas, and Keras Key Features Understand Python data structure fundamentals and work with time series data Use popular Python libraries including TensorFlow, Keras, and SciPy to deploy key concepts in quantitative finance Explore various Python programs and learn finance paradigms Book Description Python is one of the most popular languages used for quantitative finance. With this book, you'll explore the key characteristics of Python for finance, solve problems in finance, and understand risk management. The book starts with major concepts and techniques related to quantitative finance, and an introduction to some key Python libraries. Next, you'll implement time series analysis using pandas and DataFrames. The following chapters will help you gain an understanding of how to measure the diversifiable and non-diversifiable security risk of a portfolio and optimize your portfolio by implementing Markowitz Portfolio Optimization. Sections on regression analysis methodology will help you to value assets and understand the relationship between commodity prices and business stocks. In addition to this, you'll be able to forecast stock prices using Monte Carlo simulation. The book will also highlight forecast models that will show you how to determine the price of a call option by analyzing price variation. You'll also use deep learning for financial data analysis and forecasting. In the concluding chapters, you will create neural networks with TensorFlow and Keras for forecasting and prediction. By the end of this book, you will be equipped with the skills you need to perform different financial analysis tasks using Python What you will learn Clean financial data with data preprocessing Visualize financial data using histograms, color plots, and graphs Perform time series analysis with pandas for forecasting Estimate covariance and the correlation between securities and stocks Optimize your portfolio to understand risks when there is a possibility of higher returns Calculate expected returns of a stock to measure the performance of a portfolio manager Create a prediction model using recurrent neural networks (RNN) with Keras and TensorFlow Who this book is for This book is ideal for aspiring data scientists, Python developers and anyone who wants to start performing quantitative finance using Python. You can also make this beginner-level guide your first choice if you're looking to pursue a career as a financial analyst or a data analyst. Working knowledge of Python programming language is necessary.