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] [--skip-child]
[--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
--skip-child
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] [--skip-child] [--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
--skip-child
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.1.tar.gz
(13.9 kB
view details)
Built Distribution
File details
Details for the file slothstock-0.2.1.tar.gz
.
File metadata
- Download URL: slothstock-0.2.1.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 | c99c5d3ad246cb31170a7d346fbaa16719211557aef3da31836614a3dba7d835 |
|
MD5 | f6983c7166647451e76d6918b3a8adef |
|
BLAKE2b-256 | 461d00950502446659774fe4bc8b330ea9575518033a2fc2e8f27e03b8eed747 |
File details
Details for the file slothstock-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: slothstock-0.2.1-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 | b3645bf88d5876706b1cefc921f9388969bc894a72afb55c78774ef6b4ba255e |
|
MD5 | b35ce46ebb907a498de6afd53d42480c |
|
BLAKE2b-256 | f05c313ff798cf1654740c5183e79c8d1528e4a95633fde6fcb476e9df74ea78 |