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

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

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

github.com

引き続きやっているが、 jupyter のエクステンション周りで四苦八苦中…

$ docker-compose up
Recreating stock-trading-system_app_1 ... done
Attaching to stock-trading-system_app_1
app_1  | Executing the command: jupyter notebook
app_1  | [W 23:19:00.951 NotebookApp] Config option `default_jupytext_formats` not recognized by `LargeFileManager`.
app_1  | [I 23:19:01.008 NotebookApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
app_1  | [W 23:19:01.447 NotebookApp] Error loading server extension jupyter_nbextensions_configurator
app_1  |     Traceback (most recent call last):
app_1  |       File "/opt/conda/lib/python3.8/site-packages/notebook/notebookapp.py", line 1942, in init_server_extensions
app_1  |         mod = importlib.import_module(modulename)
app_1  |       File "/opt/conda/lib/python3.8/importlib/__init__.py", line 127, in import_module
app_1  |         return _bootstrap._gcd_import(name[level:], package, level)
app_1  |       File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
app_1  |       File "<frozen importlib._bootstrap>", line 991, in _find_and_load
app_1  |       File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
app_1  |     ModuleNotFoundError: No module named 'jupyter_nbextensions_configurator'
app_1  | [I 23:19:02.328 NotebookApp] JupyterLab extension loaded from /opt/conda/lib/python3.8/site-packages/jupyterlab
app_1  | [I 23:19:02.328 NotebookApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
app_1  | [I 23:19:02.332 NotebookApp] Serving notebooks from local directory: /home/jovyan/work
app_1  | [I 23:19:02.332 NotebookApp] Jupyter Notebook 6.1.4 is running at:
app_1  | [I 23:19:02.332 NotebookApp] http://397277dd90eb:8888/?token=1a95c366772982fc7bfcc82b03022b4a0374ff6bf86397e6
app_1  | [I 23:19:02.332 NotebookApp]  or http://127.0.0.1:8888/?token=1a95c366772982fc7bfcc82b03022b4a0374ff6bf86397e6
app_1  | [I 23:19:02.332 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
app_1  | [C 23:19:02.336 NotebookApp]
app_1  |
app_1  |     To access the notebook, open this file in a browser:
app_1  |         file:///home/jovyan/.local/share/jupyter/runtime/nbserver-8-open.html
app_1  |     Or copy and paste one of these URLs:
app_1  |         http://397277dd90eb:8888/?token=1a95c366772982fc7b(省略)
app_1  |      or http://127.0.0.1:8888/?token=1a95c366772982fc7bfcc82b0302(省略)

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