Skip to main content

Stocks for Sloth.

Project description

SlothStock

PyPI version PyPI license Python Versions Downloads

Stock for Sloth.

Read this in other languages: English, 简体中文.

Getting Started

Installation

pip install -U slothstock

Usage

$ 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

Running the tests

tox

TODO

  • Fetch stock information from XueQiu.
  • MACD indicators.
  • Wechat push notification.
  • Basic unittest with postive cases and structure.
  • EBK file import and export.
  • Buy signal script.
  • Sell signal script.
  • 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


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.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

slothstock-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file slothstock-0.1.0.tar.gz.

File metadata

  • Download URL: slothstock-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 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

Hashes for slothstock-0.1.0.tar.gz
Algorithm Hash digest
SHA256 38fb5ffd5a538f2c6a05e6db31b1a21fb3a1dc2889b2bbcbc393dcf833a7cc37
MD5 702a1339cdcf4ac9f3010d1786e5b449
BLAKE2b-256 673f32629326f5c59e0e341381a7e3964940f9ca01c1ef483fdb2adde3014d2c

See more details on using hashes here.

File details

Details for the file slothstock-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: slothstock-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 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

Hashes for slothstock-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08359009f0b7d840a6d5899270b3836c07925cfa83ed544b05d8b8ad3f1a48b7
MD5 136e91f8db2764f82c4d828064f9d715
BLAKE2b-256 027311d8ebdc3ef8a8e9cea7403bc3ab05d55465aaf754a77fe37c498eefc76c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page