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] [--daemon] [--interval INTERVAL] [--ignore-empty]
[--output OUTPUT] [-V] [--ebk EBK] [--period PERIOD]
[--reserve-st] [--reserve-suspend] [--strict] [-C] [-G]
[--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
--reserve-st
--reserve-suspend
--strict
-C, --child-period
-G, --great-great-grandparent-period
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]
[--strict] [-C] [--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
--strict
-C, --child-period
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.2.0.tar.gz
(13.9 kB
view details)
Built Distribution
File details
Details for the file slothstock-0.2.0.tar.gz
.
File metadata
- Download URL: slothstock-0.2.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 128a54bf8f2f238adc9d78bd93d756e86e4372c0caa0b5d332422b93c5e6a359 |
|
MD5 | 141a06ae86c7e513a7497b12ed1ba449 |
|
BLAKE2b-256 | e8f438ce233b65dc8bd0d1994f633b9b424b412e07eb60d44acd4d6f62235806 |
File details
Details for the file slothstock-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: slothstock-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a30c5cedc5d8c2ae5a261501c29c23b971f59a445c3b43b651ea70e910e22805 |
|
MD5 | 5ba2120ed92dacbfa1185e58d0ba6ebb |
|
BLAKE2b-256 | 3058c36043f28038d37ba3e9878684a757af52bc150c1943b8c8b872ff2eb2f7 |