Skip to Content
Pythonからはじめるアルゴリズムトレード ―自動売買の基礎と機械学習の本格導入に向けたPythonプログラミング
book

Pythonからはじめるアルゴリズムトレード ―自動売買の基礎と機械学習の本格導入に向けたPythonプログラミング

by Yves Hilpisch, 村上 振一郎
April 2022
Intermediate to advanced
368 pages
6h 20m
Japanese
O'Reilly Japan, Inc.
Content preview from Pythonからはじめるアルゴリズムトレード ―自動売買の基礎と機械学習の本格導入に向けたPythonプログラミング

3章金融データの処理

データがアルゴリズムに勝ることは明らかです。包括的なデータがなければ、包括的ではない予測をしがちです。

—ロブ・トーマス(2016)

アルゴリズムトレードでは、表3-1に示すように、一般に4種類のデータを扱う必要があります。これは金融データの世界を単純化したものですが、データをヒストリカルなもの、リアルタイムなもの構造化されたもの、構造化されていないものに分けて考えることは、技術設定においても有用です。

表3-1 金融データの種類(例)

 構造化データ非構造化データ
ヒストリカルデータEOD(End Of Day)終値金融のニュース記事
リアルタイムデータFXのbid/ask価格Twitterへの投稿

本書では、ヒストリカルとリアルタイムの構造化データ(数値、表形式のデータ)を主に扱っています。本章では特に、フランクフルト証券取引所で取引されているSAP社の株式のEOD終値のような、ヒストリカルの構造化データに焦点を当てています。しかし、このカテゴリーには、NASDAQで取引されているApple社の株式の1分足データのような日中のデータも含まれます。リアルタイムの構造化データの処理については、「7章 リアルタイムデータとソケットを扱う」で説明しています。

アルゴリズムトレードのプロジェクトは、通常、金融のヒストリカルデータに基づいて(バック)テストする必要のあるトレードのアイディアや仮説を考えることから始まります。これが本章の背景であり、その計画は以下の通りです。「3.1 異なるデータソースから金融データを読み取る」では、pandasを使って、さまざまなファイルやウェブベースのソースからデータを読み込みます。「3.2 オープンデータソースの使用」 ...

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

Pythonではじめる機械学習 ―scikit-learnで学ぶ特徴量エンジニアリングと機械学習の基礎

Pythonではじめる機械学習 ―scikit-learnで学ぶ特徴量エンジニアリングと機械学習の基礎

Andreas C. Muller, Sarah Guido, 中田 秀基
スクラム実践者が知るべき97のこと

スクラム実践者が知るべき97のこと

Gunther Verheyen, 吉羽 龍太郎, 原田 騎郎, 永瀬 美穂
初めてのGraphQL ―Webサービスを作って学ぶ新世代API

初めてのGraphQL ―Webサービスを作って学ぶ新世代API

Eve Porcello, Alex Banks, 尾崎 沙耶, あんどうやすし

Publisher Resources

ISBN: 9784873119793Other