It is a program written by Python 3.7 that can analyze the current trend of taiwanese stock by analyzing candlestick data(K line).
- Redis
- Python 3.7
- Pip3
- Download the al th files.
- Install all the dependent libraries written in the "requirements.txt".
- Run
python3 setup.py. - If it's the first to run the program, change the date that is going to analyze in histroy.py and run
nohup python3 -u PATH/TO/PROJECT/history.py > nohup.out 2>&1 &. - Then wait for about 7 hours.
- In other day, just run
python3 schedule.pyto analyze daily stock data. - Find the result from the /data/result/result-xxxx.csv.
Because I am quite lazy, don't forget to change the analyzed date in schedule.py and history.py.
Discreet investment is suggested for the risk of the stock market.