0
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【シストレ入門】株価予測;月曜日は軟調ですm(__)m

Last updated at Posted at 2020-06-14

YahooFinance USから株価も取得できるということで、月曜日の予測をやってみた。
結果を簡単に紹介します。

日本株(銘柄は適当)は以下のとおり、

銘柄適当に選んでいるのにほとんどすべての銘柄が下げそう??
zm_T24.gif

米国株(銘柄はほぼハイテク)は以下のとおり

予測は上げ予測が多く、下げの予測でも12日金曜日は上げているものがある。
zm_US6.gif

株価個別銘柄取得は以下のコードで取得できました。

以下以外のコードは為替と同一です。
YahooFinanceの方がstooqより、データ反映が1日早いようです。

import pandas_datareader.data as DataReader
stock = '6758.T'
start = dt.date(2020,1,1)
end = dt.date(2020,6,11)
df=DataReader.get_data_yahoo("{}".format(stock),start,end)

まとめ

・YahooFinanceから日本株の株価個別銘柄も取得できた

全体を眺めた印象として、Mu-Methodの予測とは異なる動きもしているので、今後は長期での予測精度を見ていく必要がある。

0
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?