/investnote

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

investnote

我是老涂,这是公众号 老涂数据投研(py_invest_note) 的相关代码库。

1. 准备工作

  • 安装Python3 https://www.python.org/downloads/

  • 安装工具包

    pip install matplotlib

    pip install mplfinance

    pip install numpy

    pip install pandas

    pip install akshare

  • 安装不了的,请换国内源。

2. 运行方法

git clone https://github.com/pynote/investnote.git

cd investnote\code\2021\2021-07\2021-07-04

python trend_of_sh000001.py

首次运行后,将会缓存数据文件,若需获取实时数据,将文件夹下.pkl文件删除即可。