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プログラミング

5章機械学習を用いたマーケットの動きの予測

スカイネットは幾何級数的な速さで学習を始め、東部時間8月29日午前2時14分に自己を認識します。

—The Terminator(Terminator 2)

近年、機械学習、深層学習、人工知能の分野は、目覚ましい進歩を遂げています。金融業界全般、特に世界中のアルゴリズムトレーダーも、こうした技術の進歩の恩恵を受けようとしています。

本章では、過去のリターンから将来の値動きを予測するために、線形回帰などの統計学の手法と、ロジスティック回帰などの機械学習の手法を紹介します。また、ニューラルネットワークを使って株式マーケットの動きを予測する方法も紹介します。もちろん、本章は機械学習の完全な入門書に取って代わるものではありませんが、実践的な観点から、価格予測問題に特定のテクニックを具体的に適用する方法を示します。詳しくは、[Hilpisch 2020]を参照してください†1

[†1] [Guido and Müller 2016][VanderPlas 2016]の書籍は、Pythonを使った機械学習の、実践的で一般的な入門書となっています。

本章では、以下のタイプのトレード戦略について説明します。

線形回帰を用いた戦略
線形回帰を利用して、トレンドを推定したり、金融商品の将来の値動きの方向性を導き出す戦略です。
機械学習を用いた戦略
アルゴリズムトレードでは、金融商品の動きの絶対的な大きさではなく、動きの方向を予測できれば十分です。このような理由から、実は予測問題は上向きか下向きかを判断する分類問題に帰着します。このような分類問題を解決するために、さまざまな機械学習アルゴリズムが開発されています。本章では、ベースラインとなる代表的なアルゴリズムとして、分類問題を解くためのロジスティック回帰を紹介します。 ...
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