Skip to content

Latest commit

 

History

History
70 lines (54 loc) · 1.72 KB

README-zh.md

File metadata and controls

70 lines (54 loc) · 1.72 KB

SlothStock

PyPI version PyPI license Python Versions Downloads

懒人股票

其他语言版本: English, 简体中文.

入门指南

安装

pip install -U slothstock

使用

$ sloth-buy -h

usage: sloth-buy [-h] [--token TOKEN] [--filter-st] [--filter-suspend]
                 [--topic-ids TOPIC_IDS] [--uids UIDS] [-e EBK] [-i INTERVAL]
                 [-o OUTPUT] [-p PERIOD] [-s] [-v]

optional arguments:
  -h, --help            show this help message and exit
  --token TOKEN
  --filter-st
  --filter-suspend
  --topic-ids TOPIC_IDS
  --uids UIDS
  -e EBK, --ebk EBK
  -i INTERVAL, --interval INTERVAL
  -o OUTPUT, --output OUTPUT
  -p PERIOD, --period PERIOD
  -s, --strict
  -v, --version         show program's version number and exit

运行测试

tox

TODO

  • 从雪球获取股票信息。
  • MACD 指标。
  • 微信消息推送。
  • 基本的单元测试,包括正例和基本框架。
  • EBK 文件的导入导出。
  • 后台模式。
  • 买点信号脚本。
  • 卖点信号脚本。
  • 缓存频繁爬取的数据。
  • 日志。
  • 类似于 Cronjob 的指引。
  • 监控股票管理。
  • 文档。
  • 更完备的单元测试。

贡献

  • 通过 Github Issues 提交评论或建议。
  • 直接提交 Pull Requests 必须没问题。