Stock for Sloth.
Project description
SlothStock
Stock for Sloth.
Read this in other languages: English, 简体中文.
Getting Started
Installation
pip install -U slothstock
Usage
$ sloth-buy -h
usage: sloth-buy [-h] [--reserve-st] [--reserve-suspend]
[--check-great-great-grandparent] [--daemon]
[--interval INTERVAL] [--ignore-empty] [--output OUTPUT] [-V]
[--ebk EBK] [--period PERIOD] [--loose]
[--child {cross,divergence}] [--title TITLE] [--token TOKEN]
[--topic-ids TOPIC_IDS] [--uids UIDS]
optional arguments:
-h, --help show this help message and exit
--daemon
--interval INTERVAL
--ignore-empty
--output OUTPUT
-V, --version show program's version number and exit
Buy:
--reserve-st
--reserve-suspend
--check-great-great-grandparent
SlothStock:
--ebk EBK
--period PERIOD
--loose
--child {cross,divergence}
WxPusher:
--title TITLE
--token TOKEN
--topic-ids TOPIC_IDS
--uids UIDS
$ sloth-sell -h
usage: sloth-sell [-h] [--daemon] [--interval INTERVAL] [--ignore-empty]
[--output OUTPUT] [-V] [--ebk EBK] [--period PERIOD]
[--loose] [--child {cross,divergence}] [--title TITLE]
[--token TOKEN] [--topic-ids TOPIC_IDS] [--uids UIDS]
optional arguments:
-h, --help show this help message and exit
--daemon
--interval INTERVAL
--ignore-empty
--output OUTPUT
-V, --version show program's version number and exit
SlothStock:
--ebk EBK
--period PERIOD
--loose
--child {cross,divergence}
WxPusher:
--title TITLE
--token TOKEN
--topic-ids TOPIC_IDS
--uids UIDS
Running the tests
tox
TODO
- Fetch stock information from XueQiu.
- MACD indicators.
- Wechat push notification.
- Basic unittest with positive cases and structure.
- EBK file import and export.
- Daemon mode.
- Buy signal script.
- Sell signal script.
- Add cache for frequent fetched data.
- logger.
- Cronjob guide or something similar.
- Monitored stocks management.
- Documentation.
- More robust unittest.
Contribution
- Comments or suggestions via github issues.
- Pull requests are welcome absolutely.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
slothstock-0.3.1.tar.gz
(13.9 kB
view hashes)
Built Distribution
slothstock-0.3.1-py3-none-any.whl
(15.1 kB
view hashes)
Close
Hashes for slothstock-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e82450f42b8326ae000ae8e9ffb9369a427e141df35d89db9c8dfdb52e2d1c2 |
|
MD5 | 25a66ed2d74db5faeaa73c6ac1ed4ee0 |
|
BLAKE2b-256 | 2817bf12b6e8ca187d54741bbdfdc838c38049e286dc85c475ad0f45303f78c8 |