2106-源碼 python 股票 提取 交易數(shù)據(jù)
產(chǎn)品說明:
1.安裝的包:
install python3.5
pip install tushare
pip install xlwt
pip install pandas
2.特點:
股票代碼 添加到配置文件:stockList.txt
3.命令行操作:
---------help content------------------------------------------------------
| -f fname [get all stock data from config file]
| -a a [all stock data save to one file 'stock.xls']
| -s 20170111 [start time,format YYYYMMDD]
| -e 20180111 [end time,format YYYYMMDD]
| for example:
| example 1: all stock data write in one file 'stock.xls
| python main.py -a a -f stockList.txt -s 20170111 -e 20180111
| example 2: all stock data write in different files
| python main.py -f stockList.txt -s 20170111 -e 20180111
| example 3: default time is now to now -365day
| python main.py -f stockList.txt
|
| stock code is 601800.SH or 300298.SZ or 000882.SZ
---------------------------------------------------------------------------------
產(chǎn)品支持定制:
1.提供功能詳細說明。
2.數(shù)據(jù)格式,存儲文件類型
3.數(shù)據(jù)表現(xiàn)形式


