Python for Algorithmic Trading Cookbook: Recipes for designing, building, and deploying algorithmic trading strategies with Python

Python for Algorithmic Trading Cookbook: Recipes for designing, building, and deploying algorithmic trading strategies with Python

Python for Algorithmic Trading Cookbook: Recipes for designing, building, and deploying algorithmic trading strategies with Python

Author: Jason Strimpel (Author)

Publisher finelybook 出版社:‏ ‎Packt Publishing

Edition 版本:‏ ‎ N/A

Publication Date 出版日期:‏ ‎ 2024-08-16

Language 语言: ‎ English

Print Length 页数: ‎ 412 pages

ISBN-10: ‎ 1835084702

ISBN-13: ‎ 9781835084700

Book Description

Harness the power of Python libraries to transform freely available financial market data into algorithmic trading strategies and deploy them into a live trading environment

Key Features

  • Follow practical Python recipes to acquire, visualize, and store market data for market research
  • Design, backtest, and evaluate the performance of trading strategies using professional techniques
  • Deploy trading strategies built in Python to a live trading environment with API connectivity
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

Discover how Python has made algorithmic trading accessible to non-professionals with unparalleled expertise and practical insights from Jason Strimpel, founder of PyQuant News and a seasoned professional with global experience in trading and risk management. This book guides you through from the basics of quantitative finance and data acquisition to advanced stages of backtesting and live trading.

Detailed recipes will help you leverage the cutting-edge OpenBB SDK to gather freely available data for stocks, options, and futures, and build your own research environment using lightning-fast storage techniques like SQLite, HDF5, and ArcticDB. This book shows you how to use SciPy and statsmodels to identify alpha factors and hedge risk, and construct momentum and mean-reversion factors. You’ll optimize strategy parameters with walk-forward optimization using vectorbt and construct a production-ready backtest using Zipline Reloaded. Implementing all that you’ve learned, you’ll set up and deploy your algorithmic trading strategies in a live trading environment using the Interactive Brokers API, allowing you to stream tick-level data, submit orders, and retrieve portfolio details.

By the end of this algorithmic trading book, you’ll not only have grasped the essential concepts but also the practical skills needed to implement and execute sophisticated trading strategies using Python.

What you will learn

  • Acquire and process freely available market data with the OpenBB Platform
  • Build a research environment and populate it with financial market data
  • Use machine learning to identify alpha factors and engineer them into signals
  • Use VectorBT to find strategy parameters using walk-forward optimization
  • Build production-ready backtests with Zipline Reloaded and evaluate factor performance
  • Set up the code framework to connect and send an order to Interactive Brokers

Who this book is for

Python for Algorithmic Trading Cookbook equips traders, investors, and Python developers with code to design, backtest, and deploy algorithmic trading strategies. You should have experience investing in the stock market, knowledge of Python data structures, and a basic understanding of using Python libraries like pandas. This book is also ideal for individuals with Python experience who are already active in the market or are aspiring to be.

Table of Contents

  1. Acquire Free Financial Market Data with Cutting-edge Python Libraries
  2. Analyze and Transform Financial Market Data with pandas
  3. Visualize Financial Market Data with Matplotlib, Seaborn, and Plotly Dash
  4. Store Financial Market Data on Your Computer
  5. Build Alpha Factors for Stock Portfolios
  6. Vector-Based Backtesting with VectorBT
  7. Event-Based Backtesting Factor Portfolios with Zipline Reloaded
  8. Evaluate Factor Risk and Performance with Alphalens Reloaded
  9. Assess Backtest Risk and Performance Metrics with Pyfolio
  10. Set Up the Interactive Brokers Python API
  11. Manage Orders, Positions, and Portfolios with the IB API

(N.B. Please use the Read Sample option to see further chapters)

Review

“Jason Strimpel’s Python for Algorithmic Trading is an exceptional guide for anyone venturing into the world of algorithmic trading. The book’s practicality and hands-on examples, as well as emphasis on open-source tools and packages, stand out with clear, functional code samples that readers can immediately apply to real-world scenarios. The book spends needed time making sure readers are set-up to master skills like the open-source pandas library data manipulation. As the book progresses, Strimpel dives into deeper, denser topics, such as using linear regression to hedge “beta” (volatility), and then from there the books gets into truly advanced material. Overall, Python for Algorithmic Trading strikes a perfect balance between accessibility and technical depth, making it an invaluable resource for aspiring algorithmic traders.”

Rob Underwood, Chief Open Source Officer and Head of Open Source Governance, JPMorgan Chase

About the Author

Jason Strimpel is the founder of PyQuant News and co-founder of Trade Blotter, with a career spanning over 20 years in trading, risk management, and data science. He previously traded for a Chicago-based hedge fund, served as a risk manager at JPMorgan, and managed production risk technology for an energy derivatives trading firm in London. In Singapore, Jason served as the APAC CIO for an agricultural trading firm and built the data science team for a global metals trading firm. He holds degrees in finance and economics and a Master’s in quantitative finance from the Illinois Institute of Technology. His career has taken him across America, Europe, and Asia. Jason shares his expertise through the PyQuant Newsletter, social media, and teaches the course “Getting Started With Python for Quant Finance.”

Amazon Page

相关文件下载地址

PDF, EPUB | 21 MB | 2024-08-22

打赏
未经允许不得转载:finelybook » Python for Algorithmic Trading Cookbook: Recipes for designing, building, and deploying algorithmic trading strategies with Python

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫