- Python 2.7 (Anaconda release is a better choice)
- MySQL 5.5+
- MySQL-python package (You could need to install the MySQL driver first)
- tushare 0.9+ -- A python package
- Setup your MySQL properly.
- Change $MY_STOCK_HOME/conf/conf.py to set up MySQL config
- Init the MySQL database:
cd $MY_STOCK_HOME/script python initDB.py -c all
Check this cmd:
python dump_stock.py -h