株のシステムトレードをしよう - 1から始める株自動取引システムの作り方

株式をコンピュータに売買させる仕組みを少しずつ作っていきます。できあがってから公開ではなく、書いたら途中でも記事として即掲載して、後から固定ページにして体裁を整える方式で進めていきます。

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その31

引き続き、クラスの分割を進めていく。 github.com

ニュース:SBIから外国株の取引アプリ

SBIから外国株の取引アプリがでるらしい。何かこれでおもろいことできんかな。 https://site1.sbisec.co.jp/ETGate/WPLETmgR001Control?OutSide=on&getFlg=on&burl=search_foreign&cat1=foreign&cat2=none&dir=info&file=foreign_info200514_02.html

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その30

今日の進捗は、ロガーを定義したPythonファイルを単体実行した時に、テスト表示させるようにした点です。 github.com

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その29

クラスでファイルを分割し始めた。ここに掲載すると煩雑なので、pushしたブランチでPRを作っている。(後でリベースする) github.com

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その28

そろそろ1ファイルが長くなってきたから分割した方が良いかもしれない。 #!/usr/bin/env python # coding: utf-8 # ## Utilities # In[1]: def is_in_jupyter() -> bool: ''' Determine wheather is the environment Jupyter Notebook https://blog.amedama.…

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その27

僅かながら進んでいる。ちなみに別にやることがあって、こんなことやってる場合ではない。 #!/usr/bin/env python # coding: utf-8 # ## Utilities # In[1]: def is_in_jupyter() -> bool: ''' Determine wheather is the environment Jupyter Notebook http…

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その26

今日はロガー周りをリファクタリング。 #!/usr/bin/env python # coding: utf-8 # ## Utilities # In[1]: def is_in_jupyter() -> bool: ''' Determine wheather is the environment Jupyter Notebook https://blog.amedama.jp/entry/detect-jupyter-env '''…

メモ:SBI証券公式だがあまり知られていない、シンプルな取引画面

k.sbisec.co.jp 本来の用途はメインのサイトがダウンした時に、サブの取引画面として使用する目的で用意されているようだ。しかし、スクレイピングしたりするのに便利かもしれない。

アイデア:AndroidアプリをPCから自動操作して、株を売買する

noitalog.tokyo こういった技術があるようだ。株取引アプリなら各者から提供されているので、これをサーバ上で行うようにして、その操作を行う命令を出す部分をAPIサーバとして待ち受ければ、理論上は取引用アプリを提供するあらゆる証券会社は、APIで操作可…

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その25

今日はログ周りを整えている。 #!/usr/bin/env python # coding: utf-8 # ## Utilities # In[1]: def is_in_jupyter() -> bool: ''' Determine wheather is the environment Jupyter Notebook https://blog.amedama.jp/entry/detect-jupyter-env ''' if 'get…

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その24

スキマ時間でやってるから、歩みは遅いけど、ちょっとずつ進めている。 #!/usr/bin/env python # coding: utf-8 # ## Utilities # In[1]: def is_in_jupyter() -> bool: ''' Determine wheather is the environment Jupyter Notebook https://blog.amedama.j…

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その23

一応実行できるが、まだまだ修正が必要。 #!/usr/bin/env python # coding: utf-8 # ## Utilities # In[1]: def is_in_jupyter() -> bool: ''' Determine wheather is the environment Jupyter Notebook https://blog.amedama.jp/entry/detect-jupyter-env '…

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その22

#!/usr/bin/env python # coding: utf-8 # ## Utilities # In[1]: def is_in_jupyter() -> bool: ''' Determine wheather is the environment Jupyter Notebook https://blog.amedama.jp/entry/detect-jupyter-env ''' if 'get_ipython' not in globals(): #…

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その21

やっっっっと通った、エラー無しで実行できた。ここからが本当の試練だ… #!/usr/bin/env python # coding: utf-8 # ## Utilities # In[1]: def is_in_jupyter() -> bool: ''' Determine wheather is the environment Jupyter Notebook https://blog.amedama.…

kabu STATION APIを使ったリアルタイムトレード用のクラスを作る その20

#!/usr/bin/env python # coding: utf-8 # ## Utilities # In[1]: def is_in_jupyter() -> bool: ''' Determine wheather is the environment Jupyter Notebook https://blog.amedama.jp/entry/detect-jupyter-env ''' if 'get_ipython' not in globals(): #…

(C) 2020 dogwood008 禁無断転載 不許複製 Reprinting, reproducing are prohibited.