GithubHelp home page GithubHelp logo

xyz55555 / systemtrade Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haji-fuji/systemtrade

0.0 0.0 0.0 5.4 MB

Python3ではじめるシステムトレードのプログラムコードと学習ガイド

Jupyter Notebook 100.00%

systemtrade's Introduction

「Python3ではじめるシステムトレード:環境構築と売買戦略」パンローリング社、森谷博之著

プログラムコードを変更しました。

変更の理由(2017年12月30日現在)

2017年7月にA、Bに対する処置としての変更を行っています。

A.2017年5月、米国Yahoo Financeの一時APIによる株価のダウンロードサービスの停止に対する処置。

米国Yahoo Financeはその後、サービスを開始いたしますが、内容にその前との相違がございます。

  1. 以前はOpen High Low Closeは株価分割の調整を行っていませんでしたが、今は行っています。
    2.Adj Closeは依然と同様に株価分割と配当の調整がされています。

B.pandasのデータ選択処理のツールとしてのixの廃止に対する処置  

C.米国Google FinanceのAPIによる株価ダウンロードサービスのパフォーマンスの不安定性(2017年12月ごろより)に対する処置。

本プログラムコードはwindows10でのみ動作確認を行っています。   12章以降のプログラムコードを動かすためにはCQGとパンローリングまたは日本取引所グループから購入したティックデータの両方が必要です。ただし、パンローリングの購入者限定ダウンロードサービスを用いて、サンプルデータがダウンロード可能です。

easy_installについて

p.26からeasy_installの解説があり、monthdeltaのインストールを推薦していますが、現状ではpipを用いた方が簡単にインストールできます。

$ pip install monthdelta==1.0b

pandas-dataradeerのインストールについて

p.28ではpandas-datareaderのインストール方法の記述がありますが、こちらもpipを用いて簡単に行うことができます。

$ pip install pandas-datareader

第12章の先物トレード戦略のパフォーマンのバックテストを2016年、2017年に延長しました。

pan12-2015_2017.ipynbのファイルに2015年から2017年までのバックテストの結果を載せています。

学び方ガイドを追加しました。

reading_guide.md

systemtrade's People

Contributors

innovation1005 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.