Skip to Content
Python算法交易
book

Python算法交易

by Yves Hilpisch
November 2022
Intermediate to advanced
392 pages
10h 8m
Chinese
China Electric Power Press Ltd.
Content preview from Python算法交易
Python
和算法交易
|
15
可以肯定地说,
NumPy
为
Python
在科学和金融领域的成功做出了巨大贡献。许多来
自所谓的科学
Python
技术栈中的其他流行
Python
软件包都基于
NumPy
构建,用它
来作为一种高效的数据结构来存储和处理数字数据。实际上,
NumPy
是
SciPy
软件
包项目的产物,它提供了科学场景中经常需要的大量功能。
SciPy
项目认识到需要
更强大的数值数据结构,并将该领域中较老的项目如
Numeric
和
NumArray
整合为了
一个新的,以
NumPy
形式统一的项目。
在算法交易中,蒙特卡洛模拟可能不是编程语言最重要的例子。但是,在算法交易
的世界里,对更大甚至巨大的金融时序数据集进行管理就是一个非常重要的例子。
比如(盘中)交易策略的回测或交易时段内的报价数据流的处理。这正是
pandas
数
据分析包(
http://pandas.pydata.org
)发挥作用的地方。
1.1.3 pandas
和
DataFrame
类
pandas
由韦斯
·
麦金尼(
Wes McKinney
)于
2008
年开发,当时他在
AQR
资本管
理公司(
AQR Capital Management
)工作,这是一家位于康涅狄格州格林威治的大
型对冲基金。就像他任职的其他任何一家对冲基金一样,处理时序数据对于
AQR
Capital Management
来说至关重要,但是那个时代的
Python
并没有为此类数据提供
任何吸引人的支持。韦斯的想法是创建一个模仿该领域
R
统计语言(
http://r-project.
org
)功能的软件包。主要类 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar
图解大模型 : 生成式AI 原理与实战

图解大模型 : 生成式AI 原理与实战

Jay Alammar, Maarten Grootendorst

Publisher Resources

ISBN: 9787519869694