Quantitative Investment: Using Python as a Tool cover

Quantitative Investment: Using Python as a Tool

Rating 3.4
Word count
938 words
Chapters
39
Series
FinTech Series
ISBN
9787121305146

Tags

Summary

Quantitative Investment: Using Python as a Tool is a fintech monograph by Cai Li Duan, published by Publishing House of Electronics Industry. It comprises 5 parts and 34 chapters in a 620-page 16-mo format, arranged from programming fundamentals to strategy implementation. Part 1 introduces Python, starting with interpreter installation, Anaconda environment setup, and the use of IPython and Spyder, then progressively covering object types such as numbers, strings, lists, tuples, dictionaries, and sets; operators, conditionals, and loops; functions and object-oriented programming; and on to NumPy multidimensional arrays, Pandas data processing, and Matplotlib visualization—equipping readers with the basic ability to handle financial data in Python. Part 2 covers statistics fundamentals: descriptive statistics, random variables, inferential statistics, analysis of variance, and regression analysis, providing the quantitative tools needed to read and implement later models. Part 3 moves into financial theory, portfolio construction, and quantitative stock selection, discussing measurement of asset returns and risk, portfolio theory and its extensions, the Capital Asset Pricing Model (CAPM), and the Fama-French three-factor model, with the corresponding calculations carried out in Python. Part 4 centers on time series and pairs trading, explaining basic time-series concepts, properties and forecasting methods, GARCH models, and approaches to constructing and testing pairs-trading strategies. Part 5 turns to technical indicators and quantitative investment, covering candlestick charts, momentum trading strategies, the RSI relative strength index, moving-average system strategies, channel breakout strategies, stochastic indicator trading strategies, volume-price relationship analysis, and OBV indicator trading strategies. The book's basic approach is to explain the method and reasoning first, then provide the corresponding Python code, so that readers can complete data processing, model computation, and strategy backtesting in the same environment. It is well suited as a transitional text on the path from programming basics to quantitative strategy implementation.

Editor's review

本书是为数不多的、把Python编程、统计学基础和经典金融模型放在同一条主线上的中文量化入门读物,覆盖面较完整:从解释器安装、Anaconda环境配置,到NumPy、Pandas、Matplotlib处理行情数据,再到CAPM、Fama-French三因子、GARCH、配对交易和各类技术指标,读者不必在多本书之间来回切换,就能把理论与代码对应起来。整本书长达620页,结构按照从语言到统计、再到金融与策略的递进顺序展开,每一部分都可单独当作先修知识来补:编程薄弱的人可以从第1部分逐章练手,有金融背景的读者则可以先跳到第3部分之后。书中采用“先讲思路、再给代码”的写法,对理解为什么这样算、而不是只会调用函数,会更有帮助。需要提醒的是,本书成书于2017年,示例所用库版本和数据接口与今天的环境已有差距,读者需要具备调试和迁移代码的能力;另外,本书以经典理论和技术指标为主,不涉及机器学习、高频等更前沿的方向。整体而言,它更适合作为搭建知识框架的第一本中文量化书,而不宜当作可直接投入实盘的策略手册。

Who it's for

A good fit for

  • 已经会一点Python、想系统补齐金融与量化知识框架的学习者
  • 金融、经济、统计专业的学生,需要把课堂模型用代码实现一遍
  • 有股票或期货投资经验、希望了解回测与技术指标逻辑的人
  • 量化团队的新人,用作统一术语与基础方法的内部参考资料

Not a good fit for

  • 完全没有编程经验、需要手把手视频教学的人
  • 希望直接拿到可实盘运行策略和交易接口的人
  • 追求最新机器学习、高频交易等前沿方法的研究者
  • 只想看投资故事和结论、不愿阅读公式与代码的人

Reading tips

  1. 建议按5个部分顺序阅读,但第1部分可按自身基础略读,只补薄弱章节。
  2. 每章代码务必自己敲一遍,并在新版Python与Pandas下改通,别只复制示例。
  3. 读完第3、4部分后,用一个指数或个股数据独立复现CAPM、三因子与配对交易。
  4. 技术指标部分注意回测假设,如交易成本、滑点与未来函数,不要照搬结论投入实盘。

About the publisher

Publishing House of Electronics Industry China · Founded in 1982

The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.

Contents

  1. Part 1 Python Basics
  2. Chapter 1 Introduction to Python and Installation and Use
  3. Chapter 2 Writing and Executing Python Code
  4. Chapter 3 A First Look at Python Object Types
  5. Chapter 4 Python Integrated Development Environment: Introduction to Spyder
  6. Chapter 5 Python Operators and Their Use
  7. Chapter 6 Common Python Statements
  8. Chapter 7 Functions
  9. Chapter 8 Object-Oriented Programming
  10. Chapter 9 The Python Standard Library and Data Operations
  11. Chapter 10 Common Third-Party Libraries: NumPy and Multidimensional Arrays
  12. Chapter 11 Common Third-Party Libraries: Pandas and Data Processing
  13. Chapter 12 Common Third-Party Libraries: Matplotlib and Data Visualization
  14. Part 2 Statistics Fundamentals
  15. Chapter 13 Descriptive Statistics
  16. Chapter 14 Introduction to Random Variables
  17. Chapter 15 Inferential Statistics
  18. Chapter 16 Analysis of Variance
  19. Chapter 17 Regression Analysis
  20. Part 3 Financial Theory, Portfolio Construction, and Quantitative Stock Selection
  21. Chapter 18 Asset Returns and Risk
  22. Chapter 19 Portfolio Theory and Its Extensions
  23. Chapter 20 The Capital Asset Pricing Model (CAPM)
  24. Chapter 21 The Fama-French Three-Factor Model
  25. Part 4 Introduction to Time Series and Pairs Trading
  26. Chapter 22 Basic Concepts of Time Series
  27. Chapter 23 Basic Properties of Time Series
  28. Chapter 24 Time Series Forecasting
  29. Chapter 25 GARCH Models
  30. Chapter 26 Pairs Trading Strategies
  31. Part 5 Technical Indicators and Quantitative Investment
  32. Chapter 27 Candlestick Charts
  33. Chapter 28 Momentum Trading Strategies
  34. Chapter 29 The RSI Relative Strength Index
  35. Chapter 30 Moving-Average System Strategies
  36. Chapter 31 Channel Breakout Strategies
  37. Chapter 32 Stochastic Indicator Trading Strategies
  38. Chapter 33 Volume-Price Relationship Analysis
  39. Chapter 34 OBV Indicator Trading Strategies

FAQ

这本书适合零基础直接读吗?
如果完全没写过代码,会有些吃力:书中第1部分虽然从安装讲起,但节奏较快。建议先补一轮Python基础语法和Pandas入门,再回头按顺序读,效率会明显提高。
需要什么数学基础才能读懂?
正文用到较多的概率统计与线性代数内容,第2部分专门讲描述性统计、推断统计、方差分析和回归。有大学本科统计与高等数学基础即可,遇到公式可结合代码对照理解。
书里的代码现在还能运行吗?
书中示例基于2017年前后的Python生态,如今库版本变化较大,部分代码需要调整才能运行。建议使用Anaconda建立独立环境,对照官方文档修改API与数据接口。
这本书和《Python金融大数据分析》有什么区别?
本书重心在量化投资流程本身,从统计学与资产定价模型讲到配对交易与技术指标策略;后者更偏Python金融数据分析的通用工具与案例,覆盖面广但对策略体系着墨较少,可按需互补。
这本书能直接用来实盘交易吗?
不建议。书中主要讲方法、模型与回测思路,未系统涉及实盘接口、资金管理细节和交易成本建模,回测结果也容易受到参数与样本区间影响,实盘前需另做充分验证。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

Top rated in the same category