stockTray / stock_filter / main /
bello authored on 4 Nov 2020
..
__pycache__ filter 6 years ago
README.md 调整策略规则 6 years ago
__init__.py stock filter 6 years ago
cal.py 调整策略规则 6 years ago
code.txt filter 6 years ago
code1.txt 调整策略规则 6 years ago
db.py filter 6 years ago
fp.py 调整策略规则 6 years ago
history.py 调整策略规则 6 years ago
history_fp.py 调整策略规则 6 years ago
my_thread.py stock jar 6 years ago
spider_news.py 新增板块 5 years ago
threads.py 调整策略规则 6 years ago
time_line_threads.py 调整策略规则 6 years ago
tu.py stock jar 6 years ago
tushare.sql filter 6 years ago
README.md
  • 导入sql库 (tushare.sql)

  • 配置定时任务

      sudo vi /etc/crontab
      
      # 实时行情比对
      */10 9,10,11,13,14 * * * root cd /home/ubt/workspaces/PycharmProjects/tushare3/venv/main && python tu.py
      
      # 保存每日5分线数据
      10 16 * * * root cd /home/ubt/workspaces/PycharmProjects/tushare3/venv/main && python time_line_threads.py
  • 复盘(threads.py)

        python threads.py